/* ==========================================================================
   JAAGAT JANNI MAHILA BIKASH FOUNDATION - Modern Logo-Inspired Theme CSS
   Primary Navy: #1B2B5A | Vibrant Orange: #F36F21 | Green: #27AE60 | Pink: #E91E63
   ========================================================================== */

:root {
  --primary-navy: #1B2B5A;
  --navy-dark: #0D193A;
  --accent-orange: #F36F21;
  --orange-light: #FFF2EC;
  --accent-green: #27AE60;
  --green-light: #EBF7F0;
  --accent-pink: #E91E63;
  --pink-light: #FDF0F5;
  --bg-light: #F8F9FA;
  --card-bg: #FFFFFF;
  --text-dark: #2C3E50;
  --text-muted: #6C757D;
  --border-color: #E2E8F0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(27, 43, 90, 0.08), 0 4px 6px -2px rgba(27, 43, 90, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(27, 43, 90, 0.12), 0 10px 10px -5px rgba(27, 43, 90, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--navy-dark);
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 0.88rem;
  border-bottom: 2px solid var(--accent-orange);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-info span {
  margin-right: 20px;
}
.top-bar-info i {
  color: var(--accent-orange);
  margin-right: 6px;
}

/* Navbar & Header */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.navbar-brand img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.navbar-brand:hover img {
  transform: scale(1.05);
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  letter-spacing: -0.3px;
  text-transform: uppercase;
}
.brand-subtitle {
  font-size: 0.78rem;
  color: var(--accent-orange);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-navy);
  padding: 8px 14px;
  border-radius: 20px;
  position: relative;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-orange) !important;
  background: var(--orange-light) !important;
}

.btn-donate {
  background: linear-gradient(135deg, var(--accent-orange), #FF7D32);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(243, 111, 33, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(243, 111, 33, 0.45);
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0D193A 0%, #1B2B5A 60%, #2A4080 100%) !important;
  color: #FFFFFF !important;
  padding: 100px 0 120px;
  overflow: hidden;
}
.hero-shape-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(243, 111, 33, 0.25) 0%, rgba(243, 111, 33, 0) 70%);
  border-radius: 50%;
}
.hero-shape-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(39, 174, 96, 0.25) 0%, rgba(39, 174, 96, 0) 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border: 1px solid rgba(243, 111, 33, 0.3);
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero-title span {
  background: linear-gradient(135deg, #FF9E66, var(--accent-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary-custom {
  background: var(--accent-orange);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(243, 111, 33, 0.3);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary-custom:hover {
  background: #E05218;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(243, 111, 33, 0.4);
}
.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.hero-card img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}

/* Statistics Counter Grid */
.stats-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  margin-bottom: 80px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-card {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  border-top: 4px solid var(--accent-orange);
  transition: var(--transition);
}
.stat-card:nth-child(2) { border-color: var(--accent-green); }
.stat-card:nth-child(3) { border-color: var(--accent-pink); }
.stat-card:nth-child(4) { border-color: var(--primary-navy); }
.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.stat-icon {
  font-size: 2.2rem;
  color: var(--primary-navy);
  margin-bottom: 12px;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary-navy);
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Feature Cards Grid */
.section-padding {
  padding: 80px 0;
}
.section-title-wrapper {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-subtitle {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.4rem;
  color: var(--primary-navy);
  margin-bottom: 16px;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.custom-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.custom-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.custom-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}
.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Forms */
.form-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-navy);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(243, 111, 33, 0.15);
}

/* Footer */
.main-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
  margin-top: 80px;
  border-top: 4px solid var(--accent-orange);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand img {
  height: 65px;
  margin-bottom: 20px;
}
.footer-heading {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-orange);
  border-radius: 2px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Advanced Micro-Animations & Glow Effects */
@keyframes floatAnim {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 111, 33, 0.4); }
  50% { box-shadow: 0 0 0 16px rgba(243, 111, 33, 0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.hero-shape-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(243, 111, 33, 0.3) 0%, rgba(243, 111, 33, 0) 70%);
  border-radius: 50%;
  animation: floatAnim 8s infinite ease-in-out;
}

.hero-shape-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(39, 174, 96, 0.25) 0%, rgba(39, 174, 96, 0) 70%);
  border-radius: 50%;
  animation: floatAnim 10s infinite ease-in-out reverse;
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: floatAnim 6s infinite ease-in-out;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 35px 60px rgba(243, 111, 33, 0.3);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 111, 33, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  color: #FF8F42;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 24px;
  border: 1px solid rgba(243, 111, 33, 0.4);
  animation: pulseGlow 3s infinite ease-in-out;
}

.stat-card {
  background: var(--card-bg);
  padding: 32px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  border-top: 4px solid var(--accent-orange);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(243, 111, 33, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.stat-card:hover::after {
  opacity: 1;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

.custom-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 35px rgba(27, 43, 90, 0.12);
  border-color: rgba(243, 111, 33, 0.3);
}

.custom-card .card-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.custom-card .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-card:hover .card-img-wrapper img {
  transform: scale(1.1) rotate(1deg);
}

/* Shimmer Button */
.btn-shimmer {
  background: linear-gradient(90deg, #F36F21 0%, #FF8F42 50%, #F36F21 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

/* Activity Badge & Interactive Icon */
.icon-box-animated {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.custom-card:hover .icon-box-animated {
  transform: scale(1.15) rotate(-5deg);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .hero-title { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
