/* ============================================
   EDEX INSTITUTE - Homepage Styles
   ============================================ */

:root {
    --navy: #0B2D4F;
    --navy-dark: #082440;
    --navy-darker: #051829;
    --gold: #C9A227;
    --gold-hover: #B08F1F;
    --white: #ffffff;
    --text-dark: #1C2B3A;
    --text-muted: #5C6B7A;
    --green: #2D8B57;
    --green-light: #EBF6F0;
    --purple: #7B3FA0;
    --purple-light: #F5EDFA;
    --blue: #2B6CB0;
    --blue-light: #EBF3FA;
    --border-light: #E2E8F0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s, background 0.2s, opacity 0.2s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.text-navy { color: var(--navy) !important; }

/* ============================================
   TOP UTILITY BAR
   ============================================ */
.top-bar {
    background: var(--navy);
    color: var(--white);
    font-size: 13px;
    padding: 10px 0;
    width: 100%;
}

.top-bar-right { gap: 14px; }

.social-icons { gap: 6px; margin-left: 6px; }

.top-bar-tagline {
    font-weight: 400;
    letter-spacing: 0.2px;
}

.top-bar-link {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
}

.top-bar-link:hover { color: var(--gold); }

.top-bar-link i { font-size: 14px; }

.top-bar-divider {
    color: rgba(255,255,255,0.35);
    font-size: 13px;
}

.social-icons a {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 12px;
    transition: background 0.2s, border-color 0.2s;
}

.social-icons a:hover {
    background: var(--gold);
    border-color: var(--gold);
}

/* ============================================
   MAIN NAVIGATION — FULL WIDTH
   ============================================ */
.main-nav {
    background: var(--white);
    box-shadow: 0 1px 8px rgba(0,0,0,0.07);
    width: 100%;
}

.main-nav .navbar { padding: 0; }

.nav-inner {
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.logo-img-white {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.nav-menu .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 11px !important;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy) !important;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    position: relative;
    white-space: nowrap;
}

.nav-menu .nav-link:hover,
.nav-menu .nav-link.active {
    color: var(--gold) !important;
}

.nav-menu .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 11px;
    right: 11px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.nav-menu .nav-link .fa-chevron-down {
    font-size: 9px;
    margin-top: 1px;
    opacity: 0.7;
}

.btn-get-started {
    background: var(--gold);
    color: var(--white);
    padding: 12px 26px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-block;
}

.btn-get-started:hover {
    background: var(--gold-hover);
    color: var(--white);
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        padding: 12px 0 8px;
    }

    .nav-menu .nav-link.active::after { display: none; }

    .btn-get-started {
        display: block;
        text-align: center;
        margin-top: 10px;
    }
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-heading {
    text-align: center;
    margin-bottom: 36px;
}

.section-heading .heading-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
}

.section-heading .heading-lines::before,
.section-heading .heading-lines::after {
    content: '';
    width: 80px;
    height: 2px;
    background: var(--gold);
}

.section-heading h2 {
    font-size: 26px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    white-space: nowrap;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 16px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.png') center right/cover no-repeat;
    overflow: hidden;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 35%, rgba(255,255,255,0.75) 55%, rgba(255,255,255,0.35) 72%, rgba(255,255,255,0.1) 88%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 1;
    padding-top: 60px;
    padding-bottom: 60px;
}

.hero-content { max-width: 100%; }

.hero > .container > .row > [class*="col"] > .hero-content > h1,
.hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.22;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.hero > .container > .row > [class*="col"] > .hero-content > p,
.hero-content > p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 28px;
    max-width: 620px;
}

.hero-subheading {
    display: inline-block;
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.hero-features { margin-bottom: 28px; }

.hero-feature-item {
    height: 100%;
    gap: 12px;
}

.hero-feature-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.hero-feature-text h5 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
    line-height: 1.3;
}

.hero-feature-text p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}

.hero-buttons { gap: 12px; }

.btn-navy {
    background: var(--navy);
    color: var(--white);
    padding: 13px 26px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border: 2px solid var(--navy);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-navy:hover {
    background: transparent;
    color: var(--navy);
}

.btn-outline {
    background: var(--white);
    color: var(--navy);
    padding: 13px 26px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border: 2px solid var(--navy);
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-outline .play-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
}

.btn-outline:hover .play-icon {
    background: var(--white);
    color: var(--navy);
}

/* ============================================
   ABOUT US STORY — content left, image right
   ============================================ */
.about-us-story { background: var(--white); }

.about-us-content { }

.about-us-heading {
    font-size: 32px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.about-us-underline {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 24px;
}

.about-us-content p {
       font-size: 15px;
    color: var(--navy);
    line-height: 1.65;
    margin-bottom: 16px;
    font-weight: 500;
}

.about-us-image-wrapper {
    position: relative;
}

.about-us-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.about-us-quote-box {
    background: var(--navy);
    padding: 24px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    width: 220px;
    margin-left: -72px;
}

.about-us-quote-mark {
    color: var(--gold);
    font-size: 32px;
    margin-bottom: 12px;
    line-height: 1;
}

.about-us-quote-text {
      color: var(--white);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .about-us-quote-box {
        position: relative;
    }
}

/* ============================================
   OUR DIVISIONS
   ============================================ */
.divisions { background: var(--white); }

.division-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px 24px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    background: var(--white);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.division-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.division-icon-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
}

.division-card.healthcare h3 { color: var(--green); }
.division-card.muslim h3 { color: var(--purple); }
.division-card.community h3 { color: var(--blue); }

.division-card h3 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
}

.division-card .card-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.65;
}

.division-list {
    text-align: left;
    margin-bottom: 24px;
    flex: 1;
    padding: 0 4px;
}

.division-list li {
    gap: 10px;
    align-items: center;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.division-list li i {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}

.division-card.healthcare .division-list li i {
    color: var(--green);
    border-color: var(--green);
}

.division-card.muslim .division-list li i {
    color: var(--purple);
    border-color: var(--purple);
}

.division-card.community .division-list li i {
    color: var(--blue);
    border-color: var(--blue);
}

.btn-division {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    margin-top: auto;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--white);
    border: none;
    border-radius: 0 0 11px 11px;
}

.btn-division i { font-size: 12px; }
.btn-division:hover { opacity: 0.92; }
.btn-division.green { background: var(--green); }
.btn-division.purple { background: var(--purple); }
.btn-division.blue { background: var(--blue); }

/* ============================================
   WHY LEARNERS CHOOSE
   ============================================ */
.why-choose { background: var(--white); }

.why-item {
    padding: 12px 16px;
    position: relative;
    text-align: left;
}

.why-icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 14px;
    display: block;
}

.why-item h4 {
    font-size: 11px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
    line-height: 1.35;
}

.why-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .why-choose-row > .col {
        position: relative;
    }

    .why-choose-row > .col:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 55%;
        background: var(--border-light);
    }
}

/* ============================================
   STATISTICS BAR
   ============================================ */
.stats-bar {
    background: var(--white);
    width: 100%;
}

.stats-bar-inner {
   background: var(--navy);
    border-radius: 12px;
    padding: 50px;
    overflow: visible;
}

.stats-row {
    overflow: visible;
}

.stat-item {
    gap: 14px;
    color: var(--white);
    min-height: 56px;
}

.stat-icon-img {
      width: 58px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.stat-text strong {
    display: block;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 0px;
    letter-spacing: 0.2px;
    line-height: 30px;
}

.stat-text span {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 600;
    color: #CF9C44;
}

@media (min-width: 768px) {
    .stats-row > [class*="col-"] {
        position: relative;
    }

    .stats-row > [class*="col-"] + [class*="col-"]::before {
        content: '';
        position: absolute;
        left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background: rgba(255,255,255,0.12);
        z-index: 2;
        pointer-events: none;
    }
}

/* ============================================
   FEATURED PROGRAMS
   ============================================ */
.featured-programs { background: var(--white); }

.program-card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    gap: 16px;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.program-img {
    width: 170px;
    flex-shrink: 0;
    object-fit: cover;
   height: 185px;
    border-radius: 10px;
}

.program-content {
    padding: 4px 4px 4px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-content h4 {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    line-height: 1.35;
}

.program-green .program-content h4 { color: var(--green); }
.program-purple .program-content h4 { color: var(--purple); }
.program-blue .program-content h4 { color: var(--blue); }

.program-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.55;
    flex: 1;
}

.btn-learn-more {
    display: inline-block;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    background: transparent;
    align-self: flex-start;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.btn-learn-more.green {
    color: var(--green);
    border: 1.5px solid var(--green);
}

.btn-learn-more.green:hover {
    background: var(--green);
    color: var(--white);
}

.btn-learn-more.purple {
    color: var(--purple);
    border: 1.5px solid var(--purple);
}

.btn-learn-more.purple:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-learn-more.blue {
    color: var(--blue);
    border: 1.5px solid var(--blue);
}

.btn-learn-more.blue:hover {
    background: var(--blue);
    color: var(--white);
}

/* ============================================
   LEARNING NETWORK
   ============================================ */
.learning-network { background: var(--white); }

.network-section-desc {
    white-space: nowrap;
    max-width: none;
}

.network-column h4 {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.network-column.healthcare h4 { color: var(--green); }
.network-column.community h4 { color: var(--blue); }
.network-column.muslim h4 { color: var(--purple); }

.network-column ul li { margin-bottom: 7px; }

.network-column ul li a {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    transition: color 0.2s;
    word-break: break-word;
    line-height: 1.4;
}

.network-column ul li a i {
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 3px;
}

.network-column.healthcare ul li a i { color: var(--green); }
.network-column.community ul li a i { color: var(--blue); }
.network-column.muslim ul li a i { color: var(--purple); }

.network-column.healthcare ul li a:hover { color: var(--green); }
.network-column.community ul li a:hover { color: var(--blue); }
.network-column.muslim ul li a:hover { color: var(--purple); }

.network-column .view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.network-column.healthcare .view-all-link { color: var(--green); }
.network-column.community .view-all-link { color: var(--blue); }
.network-column.muslim .view-all-link { color: var(--purple); }

.network-column.healthcare .view-all-link:hover { opacity: 0.8; }
.network-column.community .view-all-link:hover { opacity: 0.8; }
.network-column.muslim .view-all-link:hover { opacity: 0.8; }

.learning-network .container {
    overflow: visible;
}

.network-row {
    overflow: visible;
}

@media (min-width: 992px) {
    .network-row > [class*="col-"] {
        position: relative;
    }

    .network-row > [class*="col-"]:not(:last-child)::after {
        content: '';
        position: absolute;
        right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 160px;
        max-height: 55%;
        background: #D1D5DB;
        z-index: 5;
        pointer-events: none;
        display: block;
                left: -10px;
    }
}

.network-info-col {
    max-width: 100%;
}

@media (min-width: 992px) {
    .network-info-col {
        flex: 0 0 auto;
        width: 300px;
        max-width: 300px;
    }
}

.network-info {
    background: #F4F6F8;
    border: none;
    border-radius: 10px;
    padding: 28px 22px;
    text-align: center;
    width: 100%;
}

.network-globe-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 14px;
    display: block;
}

.network-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
}

@media (max-width: 991px) {
    .network-section-desc { white-space: normal; }
}

/* ============================================
   WHAT WE DO — image boxes with titles and text
   ============================================ */
.what-we-do { background: var(--white); }

.what-we-do .container {
    background: #f4f6f83d;
    padding: 40px 24px;
  
}

.what-we-do-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
}

.what-we-do-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
}

.what-we-do-box h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 10px;
    line-height: 1.35;
}

.what-we-do-box p {
    font-size: 14px;
    color: var(--navy);
    line-height: 1.55;
    margin-bottom: 0;
}

/* ============================================
   OUR LEARNING ECOSYSTEM — 3-column cards
   ============================================ */
.our-learning-ecosystem { background: var(--white); }

.our-learning-ecosystem .container {
    background: #f4f6f83d;
    padding: 40px 24px;
   
}

.ecosystem-inner { }

.ecosystem-card {
    background: var(--white);
    border-radius: 5px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 20px;
    gap: 16px;
    display: flex;
    flex-direction: row;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.ecosystem-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.ecosystem-card-image {
    flex-shrink: 0;
    display: flex;
    align-items: top;
    justify-content: center;
    min-width: 100px;
}

.ecosystem-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.ecosystem-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ecosystem-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ecosystem-title.green { color: var(--green); }
.ecosystem-title.purple { color: var(--purple); }
.ecosystem-title.blue { color: var(--blue); }

.ecosystem-card-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 12px;
    flex: 1;
}

.btn-ecosystem {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1.5px solid;
    border-radius: 3px;
    text-align: center;
    align-self: flex-start;
    transition: background 0.2s, color 0.2s;
}

.btn-ecosystem.green {
    color: var(--green);
    border-color: var(--green);
}

.btn-ecosystem.green:hover {
    background: var(--green);
    color: var(--white);
}

.btn-ecosystem.purple {
    color: var(--purple);
    border-color: var(--purple);
}

.btn-ecosystem.purple:hover {
    background: var(--purple);
    color: var(--white);
}

.btn-ecosystem.blue {
    color: var(--blue);
    border-color: var(--blue);
}

.btn-ecosystem.blue:hover {
    background: var(--blue);
    color: var(--white);
}

@media (max-width: 991px) {
    .ecosystem-card {
        flex-direction: row;
    }

    .ecosystem-card-image {
        min-width: 80px;
    }

    .ecosystem-img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 576px) {
    .ecosystem-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .ecosystem-card-image {
        min-width: auto;
    }

    .btn-ecosystem {
        align-self: center;
    }
}

/* ============================================
   TRUSTED BY — icon left / heading right layout
   ============================================ */
.trusted-by { background: #F4F6F8; }

.trusted-item {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.trusted-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trusted-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

.trusted-text { min-width: 0; }

.trusted-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.2px;
}

.trusted-title.green { color: var(--green); }
.trusted-title.purple { color: var(--purple); }
.trusted-title.blue { color: var(--blue); }

@media (max-width: 576px) {
    .trusted-item { gap: 10px; }
    .trusted-title { font-size: 13px; }
}

/* ============================================
   INFO SECTION — left content + right 4-item list
   ============================================ */
.info-section {
    padding: 60px 0;
}

.info-section .container {
    background: var(--navy);
    padding: 40px 24px;
    border-radius: 8px;
}

.info-inner {
    padding: 0;
}

.info-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.info-left-image {
    flex-shrink: 0;
}

.info-img-small {
    width: 50px;
    height: 50px;
    object-fit: contain;
    display: block;
}

.info-left-content { }

.info-left-text {
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    line-height: 1.65;
    margin-bottom: 0;
}

.info-right {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.info-right-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 calc(25% - 12px);
    min-width: 140px;
}

.info-right-image {
    flex-shrink: 0;
}

.info-right-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.info-right-content { }

.info-right-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.2px;
    margin-bottom: 4px;
    line-height: 1.2;
}

.info-right-text {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .info-left {
        margin-bottom: 30px;
    }

    .info-img-small {
        width: 100px;
        height: 100px;
    }

    .info-right-item {
        flex: 1 1 calc(50% - 8px);
    }
}

@media (max-width: 576px) {
    .info-section {
        padding: 40px 0;
    }

    .info-left {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .info-right-item {
        flex: 1 1 calc(50% - 8px);
        margin-bottom: 16px;
    }
}

/* ============================================
   BLOG HERO SECTION
   ============================================ */
.blog-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
}

.blog-hero-overlay {
    display: none;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
}

.blog-hero-content { }

.blog-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.blog-hero-paragraph {
    font-size: 16px;
    color: var(--navy);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.blog-search-wrapper {
    margin-bottom: 0;
}

.blog-search-form {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    border: 1px solid #0000004a;
    border-radius: 6px;
    padding: 0;
    max-width: 450px;
}

.blog-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 18px;
    font-size: 15px;
    color: var(--white);
    font-family: inherit;
    outline: none;
}

.blog-search-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.blog-search-btn {
    background: transparent;
    border: none;
    padding: 14px 18px;
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
}

.blog-search-btn:hover {
    color: var(--white);
}
.blog-search-btn i{
    color: var(--navy);
}
/* Blog Hero Info Box - bottom right */
.blog-hero-info-box {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: var(--navy);
    border-radius: 8px;
    padding: 20px;
    max-width: 280px;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    justify-content: center;
}
.blog-search-input::placeholder{
    color:var(--navy)
}
.blog-info-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.blog-info-text {
    font-size: 13px;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 500;
    text-align: center;
}

/* ============================================
   BLOG ARTICLES SECTION
   ============================================ */

.blog-articles {
    background: var(--white);
}

.blog-section-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 32px;
    text-align: left;
}

/* Featured Blog Card */
.featured-blog-card {
    background: white;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.featured-blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.featured-blog-image {
    width: 280px;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.featured-blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px 0;
}

.featured-blog-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin: 12px 0;
    line-height: 1.4;
}

.featured-blog-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.blog-category.healthcare {
    background: var(--green-light);
    color: var(--green);
}

.blog-category.education {
    background: var(--blue-light);
    color: var(--blue);
}

.blog-category.nonprofit {
    background: var(--purple-light);
    color: var(--purple);
}

.blog-category.professional {
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold);
}

/* Blog Meta */
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    margin: 0;
}

.author-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

.author-title {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}

.blog-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Read More Link */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.2s;
}

.blog-read-more:hover {
    color: var(--gold);
}

.blog-read-more i {
    font-size: 12px;
}

/* Small Blog Cards */
.blog-small-cards-row {
    margin-bottom: 0;
}

.small-blog-card {
    background: white;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.small-blog-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.small-blog-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 14px;
}

.small-blog-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.small-blog-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.small-blog-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.small-blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.blog-read-more-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    transition: color 0.2s;
}

.blog-read-more-small:hover {
    color: var(--gold);
}

.blog-read-more-small i {
    font-size: 10px;
}

/* Sidebar */
.blog-sidebar-section {
    margin-bottom: 32px;
}

.blog-sidebar-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

/* Category Box */
.category-box {
    background: #f4f6f83d;
    border-radius: 6px;
    padding: 0;
    overflow: hidden;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background 0.2s;
}

.category-item:last-child {
    border-bottom: none;
}

.category-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.category-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    font-size: 18px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.category-icon.healthcare-icon {
    background: var(--green-light);
    color: var(--green);
}

.category-icon.education-icon {
    background: var(--blue-light);
    color: var(--blue);
}

.category-icon.nonprofit-icon {
    background: var(--purple-light);
    color: var(--purple);
}

.category-icon.professional-icon {
    background: rgba(201, 162, 39, 0.15);
    color: var(--gold);
}

.category-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

.category-count {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Subscription Box */
.subscription-section {
    margin-bottom: 0;
}

.subscription-box {
    background: var(--navy);
    border-radius: 6px;
    padding: 28px 24px;
    text-align: center;
}

.subscription-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    text-transform: capitalize;
    margin-bottom: 10px;
}

.subscription-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.subscription-input {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: background 0.2s, border-color 0.2s;
}

.subscription-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.subscription-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.subscription-btn {
    padding: 12px 24px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.subscription-btn:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

/* ============================================
   LATEST ARTICLES SECTION
   ============================================ */

.latest-articles {
    background: var(--white);
}

.latest-articles-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.latest-articles-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0;
    white-space: nowrap;
}

.heading-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Articles Box */
.articles-box {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 32px;
}

.article-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s;
}

.article-row:last-child {
    border-bottom: none;
}

.article-row:hover {
    background: rgba(245, 247, 250, 0.5);
}

.article-thumbnail {
    width: 170px;
    height: 65px;
    object-fit: cover;
    border-radius: 5px;
    flex-shrink: 0;
}

.article-content {
    flex: 1;
}

.article-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.article-description {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

.article-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
}

.article-time {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-time::before {
    content: '•';
    margin-right: 2px;
}

/* View All Button */
.articles-button-wrapper {
    display: flex;
    justify-content: center;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 45px;
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--green);
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}

.view-all-btn:hover {
    background: var(--green);
    color: var(--white);
}

.view-all-btn i {
    font-size: 12px;
}

/* Latest Articles Responsive */
@media (max-width: 768px) {
    .latest-articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 28px;
    }

    .latest-articles-heading {
        font-size: 22px;
    }

    .article-row {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .article-thumbnail {
        width: 100%;
        height: 150px;
    }

    .article-meta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .article-date,
    .article-time {
        font-size: 12px;
    }

    .view-all-btn {
        padding: 12px 32px;
        font-size: 13px;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .featured-blog-image {
        width: 200px;
        height: 180px;
    }

    .blog-section-heading {
        font-size: 24px;
    }

    .featured-blog-title {
        font-size: 18px;
    }

    .small-blog-image {
        height: 140px;
    }

    .small-blog-title {
        font-size: 14px;
    }

    .featured-blog-excerpt {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .featured-blog-card {
        flex-direction: column;
        gap: 16px;
        padding: 14px;
    }

    .featured-blog-image {
        width: 100%;
        height: 240px;
    }

    .blog-small-cards-row .col-md-6 {
        margin-bottom: 20px;
    }

    .blog-section-heading {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .small-blog-image {
        height: 160px;
    }

    .small-blog-title {
        font-size: 15px;
    }

    .featured-blog-title {
        font-size: 18px;
    }

    .blog-articles {
        padding: 40px 0;
    }

    .blog-sidebar-section {
        margin-bottom: 28px;
        margin-top: 28px;
    }

    .subscription-box {
        padding: 24px 20px;
    }

    .subscription-heading {
        font-size: 16px;
    }

    .subscription-text {
        font-size: 13px;
        margin-bottom: 16px;
    }
}

@media (max-width: 1199px) {
    .blog-hero-info-box {
        bottom: 30px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        min-height: 450px;
    }

    .blog-hero-title {
        font-size: 36px;
    }

    .blog-hero-subtitle {
        font-size: 24px;
    }

    .blog-hero-paragraph {
        font-size: 15px;
    }

    .blog-search-form {
        max-width: 100%;
    }

    .blog-hero-info-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }
}

/* ============================================
   NEWSLETTER — full width
   ============================================ */
.newsletter {
    background: var(--navy);
    padding: 32px 0;
    width: 100%;
}


.newsletter-left {
    gap: 14px;
    color: var(--white);
}

.newsletter-left-text h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 4px;
}

.newsletter-subtext {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin: 0;
}

.newsletter-left i {
    font-size: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #54a6f9;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 12px;
}

.newsletter-form .form-control {
    padding: 0 18px;
    font-size: 15px;
    font-family: inherit;
    box-shadow: none;
    height: 52px;
    border-radius: 28px;
    border: none;
    flex: 1 1 auto;
    margin-right: 12px;
}

.btn-subscribe {
    background: var(--gold);
    color: var(--white);
    border: none;
    padding: 0 28px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    height: 52px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-subscribe:hover { background: var(--gold-hover); color: var(--white); }

@media (max-width: 991px) {
    .newsletter-form { flex-direction: column; gap: 10px; }
    .newsletter-form .form-control { margin-right: 0; width: 100%; }
    .btn-subscribe { width: 100%; }
}

/* ============================================
   FOOTER — full width
   ============================================ */
.main-footer {
    background: var(--navy-darker);
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
    width: 100%;
}

.footer-grid { padding-bottom: 36px; }

.footer-logo { margin-bottom: 14px; }

.footer-about {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.6);
}

.footer-social { gap: 7px; }

.footer-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 13px;
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.footer-col h5 {
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 7px; }

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.footer-col ul li a:hover { color: var(--gold); }

.contact-item {
    gap: 9px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.6);
}

.contact-item i {
    color: var(--gold);
    margin-top: 2px;
    font-size: 14px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
    background: rgba(0,0,0,0.15);
    font-size: 14px;
    color: rgba(255,255,255,0.45);
}

.footer-bottom-links { gap: 18px; }

.footer-bottom-links a {
    color: rgba(255,255,255,0.45);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199.98px) {
    .nav-menu .nav-link {
        padding: 8px 0 !important;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        background-position: center center;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.92) 70%, rgba(255,255,255,0.85) 100%);
    }

    .hero h1 { font-size: 32px; }

    .hero-feature-item {
        margin-bottom: 8px;
    }
    .program-card { flex-direction: column; }
    .program-img { width: 100%; min-height: 180px; height: auto; }
}

@media (max-width: 480px) {
    .top-bar-tagline { display: none; }
}
