/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0054A6;
    --green: #00A651;
    --teal: #007C74;
    --navy: #0A1A2F;
    --gray-text: #3C3C3C;
    --gray-bg: #F4F6F8;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-text);
    background-color: var(--white);
}

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

h1 {
    font-size: 3.75rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
}

/* Container */
@media (max-width: 768px) {
    .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 1.5rem;
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 896px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 50;
    border-bottom: 1px solid #e5e7eb;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 7rem; /* 5rem; */
    flex-wrap: nowrap;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-badge {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom right, var(--primary-blue), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.brand-title {
    /* color: var(--navy); */
    font-size: 20px;
    font-weight: 600;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--gray-text);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.nav-link {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon,
.close-icon {
    width: 24px;
    height: 24px;
    color: var(--navy);
}

.close-icon {
    display: none;
}

.mobile-menu-btn.active .menu-icon {
    display: none;
}

.mobile-menu-btn.active .close-icon {
    display: block;
}

.mobile-menu {
    display: none;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.mobile-menu.active {
    display: block;
}

.mobile-link {
    display: block;
    padding: 0.75rem 0;
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--primary-blue);
}

@media (min-width: 1200px) {
    .nav-links {
        display: flex !important;
        gap: 22px;
        white-space: nowrap;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    .mobile-menu {
        display: none !important;
    }

    .nav-content {
        flex-wrap: nowrap;
    }
}


/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--green);
}

.btn-outline {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
}

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

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

.btn-outline-white {
    border: 2px solid white;
    color: white;
    background-color: transparent;
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    /* min-height: 840px; */
    padding: 50px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 7rem; /* 5rem; */
    background: linear-gradient(to bottom right, var(--primary-blue), var(--green));
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('https://images.unsplash.com/photo-1762075314731-10fa03d2727a?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHx0ZWNobm9sb2d5JTIwaW5ub3ZhdGlvbiUyMGNhbXB1c3xlbnwxfHx8fDE3NjM3MTgyNDR8MA&ixlib=rb-4.1.0&q=80&w=1080');
    background-size: cover;
    background-position: center;
}

.hero-content {
    /* padding: 1rem 1.5rem !important; */
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-logo {
    width: 120px;
    height: 120px;
    background-color: white;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-logo-inner {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom right, var(--primary-blue), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-title {
    font-size: 64px !important;
    color: white;
    line-height: 1.3;
    font-weight: 600 !important;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.75;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.badge {
    white-space: wrap;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    display: none;
}

.hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-white {
    background-color: var(--white);
}

.section-gray {
    background-color: var(--gray-bg);
}

.section-title {
    font-size: 50px;
    color: black;
    margin-bottom: 3rem;
    font-weight: 400;
}

.section-title.fund {
    margin-bottom: 20px;
}

.section-title.investment {
    margin-bottom: 20px;
}

.section-title.center {
    text-align: center;
}

/* Benefits Grid */


.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-card {
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    border-color: #2ecc71;
}


.benefit-title {
    font-size: 20px;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 400 !important;
}

.benefit-desc {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Investment Committee */
.committee-note {
    font-size: 0.875rem;
    color: var(--gray-text);
    font-style: italic;
    margin-bottom: 3rem;
}

.members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.member-card {
    width: 220px;
    /* text-align: center; */
}

.member-photo {
    width: 100%;
    height: 210px;
    border-radius: 12px;
    object-fit: cover;
}

.member-name {
    font-size: 20px;
    font-weight: 400 !important;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.member-designation {
    color: #666;
    margin-bottom: 0;
    font-weight: 400 !important;
    font-size: 18px;
    line-height: 22px;
    margin-top: 10px;

}

.member-organisation {
    color: #0056b3;
    font-weight: 500;
    margin-top: 10px;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400 !important;
}

/* Mobile â€” 2 cards per row */
@media (max-width: 575px) {
    .member-card {
        width: calc(50% - 1rem);
    }
}

/* Desktop â€” 5 cards per row */
@media (min-width: 1200px) {
    .member-card {
        width: calc(20% - 2rem);
        /* 100% / 5 cards */
    }
}


/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-paragraph {
    font-size: 1.125rem;
    color: var(--gray-text);
    line-height: 1.75;
    margin-top: -20px;
}

.about-image {
    position: relative;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 84, 166, 0.1), rgba(0, 166, 81, 0.1));
}

/* Mission Cards */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.mission-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.mission-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(to bottom right, var(--primary-blue), var(--green));
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.mission-title {
    font-size: 1.25rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.mission-text {
    font-size: 1rem;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Investment Approach */
.approach-content {
    max-width: 896px;
}

.approach-intro {
    font-size: 1.125rem;
    color: var(--gray-text);
    line-height: 1.75;
    margin-bottom: 2rem;
}

.approach-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.approach-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--green);
    flex-shrink: 0;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.approach-item p {
    font-size: 1.125rem;
    color: var(--gray-text);
}

/* Sector Cards */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    /* explicit row flow as default to avoid other rules interfering */
    /* grid-auto-flow: row; */
}

.sector-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    /* light border normally */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: #2ecc71;
    /* ðŸŸ¢ green border on hover */
}


.sector-icon {
    width: 125px;
    height: 125px;
    background: #FFE4EC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.sector-icon svg {
    color: #0056b3;
    transition: color 0.1s ease;
    
    /* make SVG behave like a block and avoid baseline shift */
    display: block;

    /* match visual size to the EV icon */
    width: 75px;
    height: 75px;
    max-width: 100%;
    max-height: 100%;
    box-sizing: content-box;

    /* keep stroke width visually consistent when scaled */
    vector-effect: non-scaling-stroke;
}

/* Responsive: mobile single-column + explicit row ordering */
@media (max-width: 640px) {
  .sectors-grid {
    /* force single column so cards stack vertically in DOM order */
    grid-template-columns: 1fr !important;
    grid-auto-flow: row;          /* ensures row-major placement */
    gap: 1rem;
  }

  /* Optional: smaller card padding for mobile */
  .sector-card {
    /* allow the card to keep its "desktop-like" visual width up to container size */
    width: auto;                  /* let content determine width */
    max-width: var(--sector-card-max); /* match desktop card width */
    margin: 0 auto;               /* center the tile in the single-column flow */
    padding: 1.25rem;             /* keep comfortable padding */
    box-shadow: 0 6px 12px -6px rgba(0,0,0,0.08);
    box-sizing: border-box;
    display: flex;                /* keep contents centered & stacked */
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Scale icons down so the layout feels balanced on mobile */
  .sector-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 1rem;
  }

  .sector-icon svg {
    width: 90px;
    height: 90px;
  }
}

/* Fallback if some other rules change display to non-grid on small screens */
@media (max-width: 640px) {
  .sectors-grid.fallback-block {
    display: block !important;
  }
  .sectors-grid.fallback-block .sector-card {
    margin-bottom: 1rem;
  }
}

/* hover effect */
.sector-card:hover .sector-icon {
    background: linear-gradient(to bottom right, var(--primary-blue), var(--green));
}

.sector-card:hover .sector-icon svg {
    color: #ffffff;
}

.sector-card:hover .sector-title {
    color: #0056b3;
}

.sector-title {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 400;
}

/* What We Look For */
.lookfor-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 896px;
}

.lookfor-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: var(--gray-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.check-icon-blue {
    width: 24px;
    height: 24px;
    color: var(--primary-blue);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.lookfor-item p {
    font-size: 1.125rem;
    color: var(--gray-text);
}

/* Timeline */
/* ----------------------------------------------- */
/* DESKTOP TIMELINE (UNCHANGED â€” EXACTLY AS GIVEN) */
/* ----------------------------------------------- */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 3rem auto;
}

/* Numbered circle */
.timeline-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(to bottom right, var(--primary-blue), var(--green));
    border-radius: 50%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 2;
    margin: 0 12px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Title size */
.timeline-title {
    font-size: 1rem;
    font-weight: 600;
    max-width: 80px;
    line-height: 1.1;
    margin-top: 10px;
}

.timeline-number.four {
    margin-top: -33px;
}

.timeline-number.three {
    margin-top: 2.5px;
}

.timeline-number.two {
    margin-top: 20px;
}

.timeline-number.one {
    margin-top: 2.5px;
}

.timeline-connector {
    flex: 1;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--green));
    align-self: center;   /* center the connector vertically within the flex row */
    transform: translateY(-30px);
    z-index: 1;
    margin-top: 0.5rem;
}

.center {
    display: flex;
    justify-content: center;
}


/* ---------------------------------------------------- */
/*  TOGGLE VISIBILITY â€” DESKTOP VS MOBILE TIMELINE      */
/* ---------------------------------------------------- */

/* Default â€” desktop visible / mobile hidden */
.timeline-mobile {
    display: none;
}

/* 767px se niche â€” mobile visible / desktop hidden */
@media (max-width: 767px) {
    .timeline-desktop {
        display: none;
    }

    .timeline-mobile {
        display: block;
    }
}

/* ---------------------------------------------------- */
/* MOBILE TIMELINE STYLING â€” VERTICAL VERSION           */
/* ---------------------------------------------------- */









@media (max-width: 768px) {

    .mob-timeline {
        /* display: flex; */
        flex-direction: column;
        gap: 1.5rem;
    }

    .mob-timeline .timeline-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mob-timeline .timeline-item {
        display: flex;
        align-items: center;
        gap: 1.3rem;
        width: 100%;
        flex-direction: row;
        margin-top: 0;
    }

    .mob-timeline .timeline-number {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        font-weight: 700;
        background: linear-gradient(to bottom right, var(--primary-blue), var(--green));
        flex-shrink: 0;
        
        /* NEW: add margin on top of the circle in mobile layout */
        margin-top: 8px; /* adjust value (e.g. 8–20px) to taste */
    }

    .mob-timeline .timeline-content {
        flex: 1;
        width: auto;
        display: flex;
        align-items: center;
        margin-top: -12px;
    }

    .mob-timeline .timeline-title {
        font-size: 1.125rem;
        color: var(--navy);
        font-weight: 600;
        line-height: 1.3;
        text-align: left;
        white-space: nowrap;
        /* text-overflow: ellipsis; */
        font-size: 16px !important;
        margin-left: -8px !important;
        margin-top: 16pt !important;
    }

    .mob-timeline .timeline-connector {
        width: 3.5px;
        height: 30px !important;
        background-color: #e5e7eb;
        margin-left: 12px !important;                    /* remove fixed left offset */
        /* margin-top: 18px !important;       keep vertical spacing */
        align-self: flex-start;            /* allow transform to reposition from start */
        transform: translateX(calc((var(--tl-num-size, 50px) / 2) - 1px));
        /* explanation:
           - var(--tl-num-size, 50px) uses the circle size (default 50px) and divides by 2
             to get the center. subtract 1px to account for connector width (2px).
           - using translateX keeps the element centered under the circle regardless of
             container padding. */
    }
}



/* .mobile-step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.step-number {
    background: var(--primary-blue);
    color: white;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.step-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
} */

@media (max-width: 767px) {
    .timeline-desktop {
        display: none;
    }

    .timeline-mobile {
        display: block;
    }
}



/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--gray-bg);
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    padding: 0;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    color: var(--navy);
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(0, 84, 166, 0.05);
}

.accordion-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-header {
    background: none;
    /* open hone par background disable */
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    color: var(--gray-text);
    line-height: 1.75;
}

/* Footer */
.footer {
    background-color: var(--navy);
    color: white;
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 64px;
    height: 64px;
    border-radius: 0.5rem;
    background: linear-gradient(to bottom right, var(--primary-blue), var(--green));
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
}

.footer-heading {
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.footer-info-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* Responsive Design */
@media (min-width: 768px) {
    /* .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    } */

    .committee-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sectors-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image {
        display: block;
    }

    .hero-title {
        font-size: 3.75rem;
    }

    /* .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    } */

    .committee-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .container {
        padding: 0 7.5rem;
    }

    .container-narrow {
        padding: 0 7.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@media (max-width:768px) {
    .section-title {
        font-size: 40px;
        color: var(--navy);
        margin-bottom: 5rem;
        font-weight: 400;
    }

    .timeline-title {
        font-size: 14px !important;
    }
    .hero-badges {
        margin-left: 0px !important;
    }
}


/* 768px ke niche mobile view */
@media (max-width: 768px) {

    /* Desktop nav hide */
    .nav-links {
        display: none;
    }

    .nav-brand {
        margin-left: -30px;
    }

    /* Mobile menu button left side aayega */
    .mobile-menu-btn {
        margin-left: auto;
        /* right pe chipka hua na rahe */
        margin-right: 0;
    }

    /* Brand (logo + text) aur button ka gap adjust */
    .nav-content {
        gap: 10px;
    }

    /* Mobile menu full width dikhe */
    .mobile-menu {
        width: 100%;
    }

}



@media (max-width: 768px) {
    .nav-content {
        flex-direction: row;
    }

    /* Button left side brand ke just baad */
    .mobile-menu-btn {
        order: 2;
        /* brand ke baad */
        margin-right: 4px;
    }

    /* Desktop nav hide */
    .nav-links {
        display: none;
    }
}





/* --------------------------- */
/* RESPONSIVE PATCH â€” PART 1   */
/* --------------------------- */

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
}

/* Extra safe container padding on mobile */
@media (max-width: 575px) {
    .container, .container-narrow {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* --------------------------- */
/* NAVBAR RESPONSIVE           */
/* --------------------------- */
@media (max-width: 768px) {
    /* mobile-specific navbar height variable (tweak if needed) */
    :root {
        --mobile-navbar-height: 4.5rem; /* change to 4rem / 5rem if you prefer */
    }
    
    .navbar {
        height: var(--mobile-navbar-height);
        padding: 0;              /* keep compact; spacing handled by nav-content */
        /* keep background / border rules as-is */
    }

    .nav-content {
        height: var(--mobile-navbar-height);
        min-height: 0;
        padding: 0 0.4rem;       /* horizontal breathing room only */
        display: flex;
        align-items: center;
    }

    .nav-brand {
        margin-left: 0; /* safe alignment */
        gap: 0.4rem;
    }

    .mobile-menu-btn {
        margin-left: auto;
        margin-right: 0;
    }

    /* Mobile menu full width dropdown */
    /* .mobile-menu {
        width: 100%;
        background: white;
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 0.5rem;
    } */

    .mobile-link {
        font-size: 1rem;
        padding: 0.9rem;
    }
}

/* --------------------------- */
/* HERO RESPONSIVE             */
/* --------------------------- */
@media (max-width: 768px) {
    .hero {
        margin-top: 0; /* remove the large manual offset */
        /* offset hero content by the fixed navbar using padding-top */
        padding-top: calc(var(--mobile-navbar-height) + 0.5rem);
        padding-bottom: 2.5rem;
        /* text-align: center; */
    }

    .hero-logo {
        width: 90px;
        height: 90px;
    }

    .hero-logo-inner {
        width: 60px;
        height: 60px;
    }

    .hero-title {
        /* font-size: 2rem !important; */
        line-height: 1.25;
        margin-top: 0.3rem;
        max-width: 95%;
    }

    .hero-description {
        font-size: 1.1rem;
        /* max-width: 90%; */
        margin: 0 auto;
    }

    .hero-badges {
        width: 100%;
        gap: 0.6rem;
    }

    .hero-buttons {
        /* justify-content: center; */
        flex-wrap: wrap;
    }

    /* Image hide on mobile (as requested) */
    .hero-image {
        display: none !important;
    }
    .logo-iaf{
    width: 80px !important;
}
}

/* For very small displays */
@media (max-width: 420px) {
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
}


.svg-icon {
    width: 40px;
    height: 40px;
    display: block;
}
.logo-iaf{
    width: 110px;
}

@media (min-width: 1024px) and (max-width: 1200px) {
     .nav-links{
        margin-left: 85px !important;
        gap: 14px !important;
    }
}


.footnote {
    font-size: 9pt;     /* smaller font size */
    color: #555;        /* optional: lighter text typical of footnotes */
    margin-top: 4px;    /* optional spacing tweak */
    /* white-space: nowrap; */
}


.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 40px;
    /* grid-auto-rows: 300px; 1fr */
}
.icon{
    width: 50px;
}

/* Normal card style */
.why-card {
    width: 100%;
    height: 345px;           /* fill the grid row set above */
    box-sizing: border-box; /* include padding in height/width */
    display: flex;
    flex-direction: column;
    /* justify-content: center;  optional */
    background: #f8f8f8;
    border-radius: 12px;
    padding: 35px;
    transition: .3s;
    
    /* background: #f8f8f8;
    border-radius: 12px;
    padding: 35px;
    transition: .3s;
    display: flex;
    flex-direction: column; */
}
.why-card.full {
    padding: 38px !important;  
}
.why-card {
    padding: 38px !important;  
}

.why-card .icon {
    font-size: 40px;
    margin-bottom: 10px;
}
.why-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
}
.why-card p {
    font-size: 16px;
    line-height: 1.6;
}

/* Blue big card */
.why-card.blue {
    background: #1e3783;
    color: #fff;
    grid-row: span 2 !important;
    grid-column: auto !important;
    height: 629px;
}
.why-card.blue .icon {
    color: #fff;
}

.why-card.bottom-small {
    grid-column: span 2;
}

/* Hover effect */
.why-card:hover {
    transform: translateY(-4px);
}

.why-card.full {
    grid-column: 1 / span 2;
    grid-row: auto !important;
    height: 270px;
    padding: 38px !important;
}
.why-card.blue h3 {
    color: #fff;
    font-size: 28px;
}
.why-card.blue p {
    color: #fff;
    font-size: 18px;
    margin-top: 16px;
}

/* 1024px and below */
@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: 1fr 1fr;
    }
    .why-card.blue {
        grid-row: span 1;
        grid-column: span 2;
    }
    .why-card.bottom-small {
        grid-column: span 2;
    }
}

/* Mobile */


/* @media (max-width: 600px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-card.blue,
    .why-card.bottom-small {
        grid-column: span 1;
    }
} */


/* Mobile 600px and below â€” 1 card per full screen */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .why-card {
        grid-column: span 1 !important;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: left;

        /* ADDED: reliable spacing between stacked cards when grid-gap is ignored */
        margin-bottom: 20px;

        /* ADDED: ensure inner content participates in normal flow and is padded */
        padding: 28px 22px;      /* pushes content away from card edges */
        box-sizing: border-box;  /* padding counted within width */
        position: relative;      /* make this the positioned ancestor */
    }

    /* ADDED: remove extra space after the last card */
    .why-card:last-child {
        margin-bottom: 0;
    }

    /* ADDED: ensure common inner containers are not absolutely positioned */
    .why-card > * ,
    .why-card .content,
    .why-card .card-body,
    .why-card .inner {
        position: relative !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
    }

    .why-card.blue {
        grid-row: span 1 !important;
    }

    .why-card .icon {
        margin-bottom: 16px;
    }

    .why-card.full,
    .why-card.bottom-small {
        grid-column: span 1 !important;
        height: 400px;
    }

    .why-card.blue {
        order: 4;   /* blue card last */
        margin-top: 20px !important;
        height: 550px;
    }
}

@media (max-width: 992px) and (min-width: 768px) {
    .why-card.blue {
        grid-row: auto !important; 
    }
}