@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --teal: #1a7a7a;
    --purple: #5b2d8e;
    --sage: #7eb8a4;
    --dark: #1a1a2e;
    --black: #111;
    --white: #fff;
    --off-white: #f7f7f7;
    --light-grey: #f0f0f0;
    --mid-grey: #999;
    --text: #333;
    --text-light: #666;
    --border: #ddd;
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 15px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.25;
    color: var(--black);
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

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

a:hover {
    color: var(--purple);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border: 2px solid var(--teal);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    background: var(--white);
    color: var(--teal);
}

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

.btn-purple {
    border-color: var(--purple);
    color: var(--purple);
    background: var(--white);
}

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

.btn-dark {
    border-color: var(--dark);
    color: var(--dark);
    background: var(--white);
}

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

.btn-filled {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}

.btn-filled:hover {
    background: #15696a;
    border-color: #15696a;
    color: var(--white);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.78rem;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--light-grey);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 42px;
}

.nav-logo-text {
    line-height: 1.15;
}

.nav-logo-text span {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    display: block;
}

.nav-logo-text small {
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--mid-grey);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal);
}

.nav-cta {
    border: 2px solid var(--teal) !important;
    border-radius: 50px !important;
    padding: 8px 22px !important;
}

.nav-cta:hover {
    background: var(--teal) !important;
    color: var(--white) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    position: absolute;
    left: 4px;
    transition: var(--transition);
}

.mobile-toggle span:nth-child(1) {
    top: 8px;
}

.mobile-toggle span:nth-child(2) {
    top: 14px;
}

.mobile-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 14px;
}

/* ========== HERO ========== */
.hero {
    margin-top: 70px;
    position: relative;
    min-height: 100vh;

    /* Full background image */
    background: linear-gradient(rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)),
        url("../images/hero-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 40px 20px;
}

/* ========== HERO CONTENT ========== */
.hero-text {
    max-width: 850px;
    padding: 0;
    color: #fff;
}

/* Hide EST pill */
.hero-label {
    display: none;
}

/* Main heading */
.hero h1 {
    margin-bottom: 18px;
    color: #fff;

    /* Reduced heading size */
    font-size: clamp(2.2rem, 4vw, 4rem);

    line-height: 1.15;
    font-weight: 800;

    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Subtitle text */
.hero-sub {
    color: rgba(255, 255, 255, 0.9);

    font-size: 1rem;
    line-height: 1.7;

    /* Prevent long text stretching */
    max-width: 600px;

    margin: 0 auto 32px auto;

    text-align: center;
}

/* ========== BUTTONS ========== */
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;

    margin-bottom: 35px;
}

/* Hide old side image */
.hero-image {
    display: none;
}

/* ========== HERO QUOTE ========== */
.hero-quote {
    margin: 40px auto 0;
    padding: 24px 28px;

    max-width: 700px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);

    border-left: 3px solid var(--teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-quote blockquote {
    font-style: italic;
    font-size: 1rem;
    color: #fff;
    line-height: 1.8;
}

.hero-quote cite {
    display: block;
    margin-top: 10px;

    font-style: normal;
    font-size: 0.85rem;
    font-weight: 600;

    color: #d8f3ef;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
    .hero {
        padding: 30px 18px;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .hero-sub {
        font-size: 0.95rem;
        max-width: 95%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-quote {
        padding: 20px;
    }

    .hero-quote blockquote {
        font-size: 0.95rem;
    }
}

/* ========== SECTIONS ========== */
.section {
    padding: 90px 0;
}

.section-sm {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header.centered {
    text-align: center;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid var(--teal);
    color: var(--teal);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-header p {
    color: var(--text-light);
    margin-top: 12px;
    font-size: 0.95rem;
}

.bg-grey {
    background: var(--off-white);
}

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

.bg-dark h2,
.bg-dark h3 {
    color: var(--white);
}

.bg-dark p {
    color: rgba(255, 255, 255, 0.75);
}

.bg-dark .section-label {
    border-color: var(--sage);
    color: var(--sage);
}

/* ========== IMAGE CARDS (like inspo) ========== */
.img-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    transition: var(--transition);
    border: 1px solid var(--light-grey);
}

.img-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

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

.img-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-card:hover .img-card-image img {
    transform: scale(1.05);
}

.img-card-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.img-card-body {
    padding: 22px 20px;
}

.img-card-body h3 {
    margin-bottom: 8px;
}

.img-card-body p {
    color: var(--text-light);
    font-size: 0.88rem;
}

.img-card-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--teal);
}

.img-card-link:hover {
    color: var(--purple);
}

/* ========== SPLIT SECTION (text + image) ========== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.split-text {
    padding: 60px;
}

.split-text h2 {
    margin-bottom: 16px;
}

.split-text p {
    color: var(--text-light);
    margin-bottom: 16px;
}

.split-image {
    position: relative;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

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

.split-image.rounded {
    border-radius: 50% 50% 0 50%;
    overflow: hidden;
    margin: 40px;
    height: auto;
    min-height: auto;
}

/* ========== GRID LAYOUTS ========== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ========== FEATURE CARDS (simple) ========== */
.feature-card {
    padding: 32px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--light-grey);
    background: var(--white);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--teal);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.feature-card h3 {
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.88rem;
}

/* ========== STATS ========== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.stat-item {
    text-align: center;
    padding: 36px 16px;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--teal);
    line-height: 1;
    margin-bottom: 6px;
}

.bg-dark .stat-number {
    color: var(--sage);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

.bg-dark .stat-label {
    color: rgba(255, 255, 255, 0.65);
}

/* ========== PARTNERS ========== */
.partners-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.partner-tag {
    padding: 10px 22px;
    border-radius: 50px;
    border: 1px solid var(--border);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.partner-tag:hover {
    border-color: var(--teal);
    color: var(--teal);
}

/* ========== CTA ========== */
.cta-section {
    padding: 80px 0;
    background: var(--teal);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 14px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 550px;
    margin: 0 auto 28px;
}

.cta-section .btn {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.cta-section .btn:hover {
    background: var(--white);
    color: var(--teal);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer p {
    font-size: 0.85rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--sage);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.78rem;
}

/* ========== PAGE HERO (inner) ========== */
.page-hero {
    padding: 130px 0 70px;
    background: var(--dark);
    text-align: center;
    margin-top: 0;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.82rem;
}

.breadcrumb a {
    color: var(--sage);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.35);
}

/* ========== TIMELINE ========== */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--light-grey);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--teal);
    border: 3px solid var(--white);
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-content {
    width: 44%;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius);
}

.timeline-year {
    font-weight: 700;
    color: var(--teal);
    font-size: 1rem;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.85rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(26, 122, 122, 0.1);
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

/* ========== FLASH ========== */
.flash {
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
    font-size: 0.88rem;
}

.flash-success {
    background: #e8f8ef;
    color: #1a7a4a;
    border: 1px solid #c3e8d0;
}

.flash-danger {
    background: #fde8e8;
    color: #991b1b;
    border: 1px solid #f5c6c6;
}

.flash-info {
    background: #e8f0fd;
    color: #1a3a7a;
    border: 1px solid #c6d6f5;
}

/* ========== SCROLL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-text {
        padding: 40px 0;
        order: 2;
    }

    .hero-image {
        height: 350px;
        border-radius: 0 0 40px 40px;
        order: 1;
    }

    .split {
        grid-template-columns: 1fr;
    }

    .split-text {
        padding: 40px 0;
    }

    .split-image {
        min-height: 350px;
        border-radius: var(--radius);
        overflow: hidden;
    }

    .split-image.rounded {
        margin: 0;
        border-radius: var(--radius);
    }

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

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

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

    .timeline::before {
        left: 24px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        padding-left: 50px;
    }

    .timeline-dot {
        left: 24px;
    }

    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 40px;
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .hero-image {
        height: 280px;
    }
}