/* SportyGo Main Stylesheet */

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

:root {
    --primary-color: #001F60;
    --secondary-color: #BD0001;
    --accent-color: #FFC000;
    --dark-bg: #001F60;
    --light-bg: #F5F7FA;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --off-white: #FDF8F2;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #001F60;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: #BD0001;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #001F60;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFC000;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta {
    background: #BD0001;
    color: var(--white);
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-cta:hover {
    background: #a00001;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(189, 0, 1, 0.3);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #001F60 0%, #1a4a8a 100%);
    /* background: linear-gradient(135deg, rgba(3, 15, 59, 0.8), rgba(204, 50, 39, 0.6)); */
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-content h1 span {
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* .hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary, .btn-secondary {
    padding: 15px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 150px;
    text-align: center;
}

.btn-primary {
    background: #BD0001;
    color: var(--white);
}

.btn-primary:hover {
    background: #a00001;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(189, 0, 1, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-bg);
} */

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons a {
    flex: 1;
    max-width: 200px;
}

.btn-primary, .btn-secondary {
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 150px;
    text-align: center;
    max-height: 50px;
}

.btn-primary {
    background: #BD0001;
    color: var(--white);
}

.btn-primary:hover {
    background: #a00001;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(189, 0, 1, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-sizing: border-box;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--dark-bg);
}

/* ENHANCED: Hero Buttons Responsive Design */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .hero-buttons a {
        flex: none;
        max-width: none;
        width: 100%;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        min-width: unset;
        width: 100%;
        font-size: 15px;
        max-height: unset;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .hero-buttons {
        gap: 15px;
        justify-content: center;
    }
    
    .hero-buttons a {
        flex: 1;
        max-width: 180px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 8px 20px;
        font-size: 14px;
        min-width: 120px;
    }
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-image-bg {
    width: 100%;
    height: 400px;
    background: none !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: none;
}

/* Carousel: Only show active image */
.carousel-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.8s;
    z-index: 1;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Trust Indicators */
/* .trust-bar {
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    padding: 30px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-item {
    animation: fadeInUp 0.8s ease;
}

.trust-item h3 {
    color: #001F60;
    font-size: 32px;
    margin-bottom: 5px;
}

.trust-item p {
    color: var(--text-light);
    font-size: 14px;
} */

/* .trust-bar {
    background: var(--white);
    box-shadow: 0 8px 40px rgba(0,0,0,0.11);
    padding: 80px 0 70px 0; 
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-bottom: 3px solid #E1E8ED;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 60px; 
    text-align: center;
    align-items: center;
}

.trust-item {
    animation: fadeInUp 0.8s ease;
    padding: 24px 8px 16px 8px;
    background: #F5F7FA;
    border-radius: 18px;
    box-shadow: 0 2px 18px rgba(0,31,96,0.05);
    transition: box-shadow 0.2s;
}

.trust-item:hover {
    box-shadow: 0 4px 32px rgba(0,31,96,0.09);
}

.trust-item h3 {
    color: #001F60;
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.trust-counter {
    color: #BD0001;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: inherit;
    transition: color 0.3s;
}

.trust-item p {
    color: var(--text-light);
    font-size: 17px;
    margin-top: 8px;
    letter-spacing: 0.2px;
} */
.trust-bar {
    background: var(--white);
    box-shadow: 0 8px 40px rgba(0,0,0,0.11);
    padding: 80px 0 70px 0;  /* More height */
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-bottom: 3px solid #E1E8ED;
}

.trust-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(30px, 8vw, 60px);
    text-align: center;
    align-items: center;
}

.trust-item {
    animation: fadeInUp 0.8s ease;
    padding: 24px 8px 16px 8px;
    background: #001f60;
    border-radius: 18px;
    box-shadow: 0 2px 18px rgba(0,31,96,0.05);
    transition: box-shadow 0.2s;
}

.trust-item:hover {
    box-shadow: 0 4px 32px rgba(0,31,96,0.09);
}

.trust-item h3 {
    color: #FFC000;
    font-size: clamp(24px, 5vw, 40px);
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.trust-counter {
    color: #FFC000;
    font-family: 'Arial Black', Arial, sans-serif;
    font-size: inherit;
    transition: color 0.3s;
}

.trust-item p {
    color: var(--white);
    font-size: clamp(14px, 3vw, 17px);
    margin-top: 8px;
    letter-spacing: 0.2px;
}

/* Common sections */
  /* Epic Events Section */
  .epic-events-section {
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 60px 20px;
    margin: 48px 0;
    flex-wrap: wrap;
  }
  .epic-events-image img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow: 0 4px 32px rgba(60, 60, 130, 0.07);
    background: #fff;
    display: block;
  }
  .epic-events-content {
    max-width: 520px;
    padding: 24px 0;
  }
  .epic-events-icon {
    margin-bottom: 18px;
  }
  .epic-events-title {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #001F60;
    margin: 0 0 20px 0;
    line-height: 1.12;
    letter-spacing: 0.5px;
  }
  .epic-events-desc {
    font-size: 1.15rem;
    color: #222d44;
    line-height: 1.5;
    margin: 0;
  }
  
  @media (max-width: 1100px) {
    .epic-events-section {
      gap: 30px;
    }
    .epic-events-image img {
      width: 300px;
      height: 300px;
    }
  }
  
  @media (max-width: 800px) {
    .epic-events-section {
      flex-direction: column;
      text-align: center;
      gap: 28px;
    }
    .epic-events-content {
      padding: 0;
    }
    .epic-events-title {
      font-size: 1.5rem;
    }
  }


  .service-cta-box-horizontal {
    
    display: flex;
    align-items: left;
    justify-content: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1565c0 100%);
    color: var(--white);
    padding: 40px 0;
    border-radius: 0;
    text-align: center;
  }
  .service-cta-box-horizontal h3 {
    font-size: 28px;
    margin: 0;
    font-weight: bold;
  }

  @media (max-width: 600px) {
    .service-cta-box-horizontal {
      flex-direction: column;
      gap: 18px;
      padding: 30px 0;
    }
    .service-cta-box-horizontal h3 {
      font-size: 22px;
      text-align: center;
    }
  }
  /* Option 1: Partners Grid */
  .partners-grid-section {
    text-align: center;
    padding: 54px 0 28px 0;
    background: #fff;
  }
  .partners-grid-section h2 {
    color: #00246c;
    font-size: 2.1rem;
    margin-bottom: 10px;
    font-weight: 700;
  }
  .partners-grid-section p {
    margin-bottom: 30px;
    color: #254060;
  }
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 34px 30px;
    max-width: 950px;
    margin: 0 auto;
    justify-items: center;
  }
  .partners-grid-logo {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    width: 120px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.18s, background 0.18s;
    margin: 0 auto;
  }
  .partners-grid-logo img {
    max-width: 100px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(90%) contrast(0.7) brightness(1.2);
    transition: filter 0.2s;
  }
  /* .partners-grid-logo:hover {
    box-shadow: 0 4px 18px rgba(255,113,100,0.15);
    background: #fff6f5;
  } */
  .partners-grid-logo:hover img {
    filter: none;
  }

    /* Responsive */
    @media (max-width: 700px) {
        .partners-grid{
          grid-template-columns: repeat(2, 1fr);
          gap: 20px 10px;
          max-width: 100%;
        }
        .partners-carousel-container {
          max-width: 98vw;
        }
        .partners-grid-logo,
        .partners-carousel-logo {
          width: 90px;
          min-width: 90px;
          height: 54px;
        }
      }
      @media (max-width: 700px) {
        .partners-grid-scroll {
          display: grid;
          grid-template-columns: repeat(4, 1fr);
          grid-auto-rows: 54px; /* Or whatever height fits your logo boxes */
          gap: 12px;
          max-height: calc(4 * 54px + 3 * 12px); /* 4 rows + 3 gaps */
          overflow-y: auto;
          background: #fff;
          padding: 12px;
          border-radius: 10px;
          box-shadow: 0 1px 8px rgba(40,50,70,0.08);
        }
        .partners-grid-logo {
          width: 100%;
          min-width: 0;
          height: 54px;
          display: flex;
          align-items: center;
          justify-content: center;
          background: #f6f8fc;
          border-radius: 8px;
        }
        .partners-grid-logo img {
          max-width: 90%;
          max-height: 42px;
          object-fit: contain;
        }
      }
/* Services Section */
.services {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-light);
    font-size: 18px;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #001F60 0%, #BD0001 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}


/* Impact Stats */
.impact {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: var(--light-bg);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #001F60;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #FFC000;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-light);
    font-size: 16px;
}

/* Events Ticker */
.events-ticker {
    background: var(--dark-bg);
    color: var(--white);
    padding: 20px 0;
    overflow: hidden;
}

.ticker-content {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    padding: 0 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ticker-item span {
    color: #FFC000;
    font-weight: bold;
}

/* About Section */
.about-hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 100px 0 50px;
    margin-top: 70px;
}

.about-hero h1 {
    text-align: center;
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-hero p {
    text-align: center;
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Story Section */
.story-section {
    padding: 80px 0;
    background: var(--white);
}

.story-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.story-content p {
    margin-bottom: 20px;
}

/* Mission Vision */
.mission-vision {
    padding: 80px 0;
    background: var(--light-bg);
}

.mv-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mv-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 15px 0 0 15px;
}

.mv-card.vision::before {
    background: var(--secondary-color);
}

.mv-card h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Leadership Section */
.leadership {
    padding: 80px 0;
    background: var(--white);
}

.leader-spotlight {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

.leader-image {
    /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); */
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;

}

.leader-content h3 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.leader-title {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 20px;
}

.leader-bio {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.achievements {
    list-style: none;
    margin-bottom: 20px;
}

.achievements li {
    padding: 10px 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 30px;
}

.achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FFC000;
    font-weight: bold;
}

.leader-quote {
    background: var(--light-bg);
    padding: 20px;
    border-left: 4px solid #FFC000;
    font-style: italic;
    color: var(--text-dark);
}

.team-info .role {
    color: #BD0001;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Team Grid */
.team-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.team-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-image {
    height: 200px;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.team-info {
    padding: 25px;
}

.team-info h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-info .role {
    color: #BD0001;
    font-size: 14px;
    margin-bottom: 10px;
}

.team-info .credentials {
    color: var(--text-light);
    font-size: 13px;
}

/* Services Detail Page */
.services-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    color: var(--white);
    padding: 100px 0 50px;
    margin-top: 70px;
    text-align: center;
}

.services-detail {
    padding: 80px 0;
    background: var(--white);
}

.service-section {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.service-header {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 40px;
}

.service-icon-large {
    font-size: 64px;
    color: var(--primary-color);
}

.service-header h2 {
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-header p {
    color: var(--text-light);
    font-size: 18px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.feature-card h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.service-cta-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1565c0 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
}

.service-cta-box h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Community Impact Page */
.impact-hero {
    background: linear-gradient(135deg, #FFC000 0%, #e6ac00 100%);
    color: var(--white);
    padding: 100px 0 50px;
    margin-top: 70px;
    text-align: center;
}

.impact-dashboard {
    padding: 80px 0;
    background: var(--white);
}

.dashboard-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.dashboard-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: attr(data-icon);
    position: absolute;
    font-size: 100px;
    opacity: 0.1;
    top: -20px;
    right: -20px;
}

.dashboard-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
}

.dashboard-label {
    font-size: 16px;
    opacity: 0.9;
    position: relative;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.partners-grid {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
}
/* 
.partner-logo {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-dark);
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
} */

.partner-logo img {
    max-height: 70px;
    max-width: 180px;
    filter: grayscale(100%) contrast(1.1) brightness(1.2);
    transition: filter 0.3s, transform 0.3s;
    object-fit: contain;
    background: transparent;
}

.partner-logo:hover img {
    filter: grayscale(0%) contrast(1) brightness(1);
    transform: scale(1.05);
}

.partners-grid {
    max-width: 1100px;
    margin: 0 auto;
    /* padding: 0 10px; */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    /* gap: 10px 10px; */
    align-items: start;
    justify-items: center;
    background: #fff;
}

.partner-logo {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    height: 30px;
    /* uniform cell height, adjust as needed */
}

.partner-logo img {
    background: transparent;
    height: 150px;
    /* Force all logos to the same height */
    width: 150px;
    /* Maintain aspect ratio */
    max-width: 200px;
    /* Don't let them get too wide */
    filter: grayscale(30%) contrast(1.1) brightness(1.2);
    transition: filter 0.3s, transform 0.3s;
    object-fit: contain;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    display: block;
}

.partner-logo:hover img {
    filter: grayscale(0%) contrast(1) brightness(1);
    transform: scale(1.05);
}

@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .partner-logo {
        height: 50px;
    }

    .partner-logo img {
        height: 35px;
        max-width: 80px;
    }
}

/* Success Stories */
.stories-section {
    padding: 80px 0;
    background: var(--white);
}

.stories-carousel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    margin-bottom: 30px;
}

/* .story-card::before {
    content: '"';
    position: absolute;
    font-size: 80px;
    color: var(--secondary-color);
    opacity: 0.2;
    top: 10px;
    left: 20px;
} */

.story-card::before {
    content: "\201C";                 /* left curly quote */
    position: absolute;
    font-size: 80px;
    color: var(--secondary-color);
    opacity: 0.2;
    top: 10px;
    left: 20px;
  }
  .story-card::after {
    content: "\201D";                 /* right curly quote */
    position: absolute;
    font-size: 80px;
    color: var(--secondary-color);
    opacity: 0.2;
    /* bottom: 10px; */
    top: 10px;
    right: 20px;
  }
.story-content {
    position: relative;
    z-index: 1;
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-left: 30px;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
}

.author-info h5 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.gallery-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 250px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-light);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: var(--white);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* STORY IMAGE */
.story-image {
    text-align: center;      /* center the <img> */
    margin: 1.0rem 0;        /* space above/below */
  }
  
  .story-image img {
    width: 100%;             /* fill its container */
    max-width: 1000px;        /* never grow beyond 800px */
    height: auto;            /* keep aspect ratio */
    display: inline-block;   /* shrink-wrap the image */
    border-radius: 8px;      /* optional rounding */

  }
/* Mobile override for story image */
@media (max-width: 768px) {
    .story-image {
      margin: 0.8rem 0 !important;
      padding: 0 !important;       /* Remove any padding */
    }
    
    .story-image img {
      width: 100% !important;
      max-width: 100% !important;  /* Allow full mobile width */
      height: auto !important;
      margin: 0 !important;        /* Remove any margins */
      padding: 0 !important;       /* Remove any padding */
      border-radius: 6px !important; /* Slightly smaller radius */
    }
  }
  
  /* Story container mobile adjustments */
  @media (max-width: 768px) {
    .story-container {
      padding: 0 1rem !important;    /* Reduce container padding */
    }
    
    .story-content {
      font-size: 1rem !important;    /* Slightly smaller text */
      line-height: 1.6 !important;
      margin-bottom: 2rem !important;
    }
    
    .story-content p {
      margin-bottom: 1rem !important;
      text-align: left !important;   /* Ensure left alignment */
    }
  }
  
  /* Extra safety for image overflow */
  @media (max-width: 480px) {
    .story-image img {
      max-width: calc(100vw - 2rem) !important; /* Account for container padding */
    }
  }
  /* Impact Indicators Section */
/* Impact Indicators Section - FIXED VERSION */
.impact-section {
    padding: 4rem 1rem;
    background: #fdf8f2;
    /* FIX: Prevent section overflow */
    overflow: hidden;
    width: 100%;
}

.impact-section .container {
    max-width: 1000px;
    margin: 0 auto;
    /* FIX: Add proper padding and prevent overflow */
    padding: 0 1rem;
    box-sizing: border-box;
    width: 100%;
}

.impact-section h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #0c1d45;
    margin-bottom: 2rem;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    /* FIX: Ensure grid doesn't overflow */
    width: 100%;
    box-sizing: border-box;
}

.impact-item {
    /* FIX: Remove fixed width, use flexible sizing */
    width: 100%;
    min-width: 0; /* Allow items to shrink below content size */
    height: 120px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    
    /* Light gradient */
    background: linear-gradient(
        135deg,
        rgba(0, 31, 96, 0) 40%,
        rgba(189, 0, 1, 0.08) 100%
    );
    
    /* FIX: Add padding and ensure content fits */
    padding: 1rem 0.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.impact-number {
    font-size: 2rem;
    font-weight: 700;
    color: #001F60;
    font-family: 'Montserrat', sans-serif;
    /* FIX: Prevent number from breaking layout */
    white-space: nowrap;
    margin-bottom: 0.5rem;
}

.impact-label {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.4;
    /* FIX: Allow text to wrap properly */
    word-wrap: break-word;
    hyphens: auto;
}

/* ENHANCED: Better responsive design */
@media (max-width: 768px) {
    .impact-section {
        padding: 3rem 0.5rem;
    }
    
    .impact-section .container {
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        /* FIX: Ensure proper spacing on mobile */
        width: 100%;
        max-width: 100%;
    }
    
    .impact-item {
        /* FIX: Flexible sizing for mobile */
        width: 100%;
        min-width: 0;
        height: auto;
        min-height: 100px;
        padding: 1rem 0.75rem;
    }
    
    .impact-number {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }
    
    .impact-label {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-top: 0.25rem;
    }
    
    .impact-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
}

/* FIX: Small mobile screens */
@media (max-width: 480px) {
    .impact-section {
        padding: 2rem 0.25rem;
    }
    
    .impact-section .container {
        padding: 0 0.25rem;
    }
    
    .impact-grid {
        gap: 1rem;
        /* FIX: Consider single column on very small screens if needed */
        grid-template-columns: repeat(2, 1fr);
    }
    
    .impact-item {
        padding: 0.75rem 0.5rem;
        min-height: 90px;
        border-radius: 6px;
    }
    
    .impact-number {
        font-size: 1.5rem;
    }
    
    .impact-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .impact-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
}

/* FIX: Extra small screens - single column if needed */
@media (max-width: 360px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .impact-item {
        max-width: 280px;
        margin: 0 auto;
    }
}
/* Contact Page */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0 50px;
    margin-top: 70px;
    text-align: center;
}

.contact-content {
    padding: 80px 0;
    background: var(--white);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-placeholder {
    background: #e0e0e0;
    height: 400px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 24px;
    margin-bottom: 40px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.location-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.location-card h4 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.location-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Social Media Section */
.social-section {
    padding: 80px 0;
    background: var(--dark-bg);
    color: var(--white);
}

.social-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.social-container h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.social-container p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    background: rgba(255,255,255,0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
    border-color: var(--white);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--secondary-color);
    padding: 60px 0;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    color: var(--white);
}

.newsletter-container h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

.newsletter-container p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
}

.newsletter-form button {
    background: var(--dark-bg);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #0f0f1e;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p,
.footer-section ul {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 16px;
        width: 85vw;
        max-width: 200px;
        background: #fff;
        flex-direction: column;
        padding: 8px 0;
        box-shadow: 0 8px 32px rgba(0,0,0,0.18);
        border-radius: 12px;
        z-index: 999;
        transition: opacity 0.2s, transform 0.2s;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
    }
    .nav-menu.active {
        display: flex !important;
        opacity: 1 !important;
        pointer-events: auto;
        transform: translateY(0);
    }
    .nav-menu li {
        margin: 0;
        text-align: left;
    }
    .nav-menu a {
        display: block;
        padding: 10px 20px;
        font-size: 16px;
        border: none;
        color: #222;
        text-align: left;
        border-radius: 6px;
        transition: background 0.2s;
    }
    .nav-menu a:hover {
        background: #f5f5f5;
    }
    .menu-toggle {
        display: flex !important;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 36px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-image {
        margin-top: 40px;
    }
    /* .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-item h3{
        text-align: center;
        font-size: 32px;
    } */
    .trust-bar {
        padding: clamp(40px, 10vw, 80px) 0 clamp(35px, 8vw, 70px) 0;
    }
    
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(20px, 6vw, 40px);
        padding: 0 15px;
    }
    
    .trust-item {
        padding: clamp(16px, 4vw, 24px) clamp(6px, 2vw, 8px) clamp(12px, 3vw, 16px) clamp(6px, 2vw, 8px);
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .mv-grid {
        grid-template-columns: 1fr !important;  /* Single column on mobile */
        gap: 2rem !important;                    /* Smaller gap */
        padding: 0 1rem !important;              /* Reduce side padding */
      }
      
      .mv-card {
        padding: 2rem 1.5rem !important;        /* Reduce card padding */
        margin: 0 !important;                    /* Remove any margins */
      }
      
      .mv-card h3 {
        font-size: 1.5rem !important;           /* Smaller heading on mobile */
        margin-bottom: 1rem !important;
      }
      
      .mv-card p {
        font-size: 0.95rem !important;          /* Slightly smaller text */
        line-height: 1.5 !important;
      }
    .leader-spotlight {
        grid-template-columns: 1fr;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .newsletter-form {
        flex-direction: column;
    }
    .nav-cta {
        padding: 8px 16px;
        font-size: 14px;
        border-radius: 20px;
        min-width: unset;
        white-space: nowrap;
    }
}
@media (max-width: 480px) {
    .trust-container {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(15px, 4vw, 25px);
        padding: 0 10px;
    }
    
    .trust-item {
        padding: clamp(12px, 3vw, 20px) clamp(4px, 1vw, 6px) clamp(8px, 2vw, 12px) clamp(4px, 1vw, 6px);
        border-radius: 12px;
    }
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-cta {
        padding: 6px 12px;
        font-size: 13px;
        border-radius: 18px;
    }
    
    .logo img {
        height: 35px; /* Slightly smaller logo if needed */
    }
}

@media (max-width: 360px) {
    .trust-container {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 280px;
    }
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-cta {
        padding: 5px 10px;
        font-size: 12px;
    }
}