:root {
    /* --- COLOR PALETTE (Refined Indigo & Slate) --- */
    --c-bg: #FFFFFF;
    --c-bg-alt: #F8FAFC;
    --c-text: #0F172A;
    --c-text-muted: #64748B;
    --c-primary: #34538B;
    --c-primary-dark: #2A4270;
    --c-primary-light: #F0F4FA;
    --c-secondary: #0FA757;
    --c-border: #E2E8F0;

    /* --- LAYOUT --- */
    --nav-height: 70px;
    --radius: 16px;
    --radius-sm: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* --- FONTS (Unified) --- */
    /* We now point both variables to the same font family */
    --f-head: 'Plus Jakarta Sans', sans-serif;
    --f-body: 'Plus Jakarta Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-body);
    background: var(--c-bg);
    color: var(--c-text);
    overflow-x: hidden;
    line-height: 1.7;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
    font-family: var(--f-head);
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-text);
}

h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.03em;
}

p {
    color: var(--c-text-muted);
    font-size: 1.0625rem;
    margin-bottom: 20px;
}

strong {
    color: var(--c-text);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.text-highlight {
    color: var(--c-primary);
    display: inline-block;
}

.dot {
    color: var(--c-secondary);
}

.eyebrow {
    color: var(--c-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 16px;
}

/* --- BUTTONS --- */
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
    box-shadow: 0 4px 12px rgba(52, 83, 139, 0.3);
}

.btn-primary:hover {
    background: var(--c-primary-dark);
    border-color: var(--c-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 83, 139, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--c-text);
    background: #F1F5F9;
    color: #334155;
    border-color: var(--c-border);
    border-color: #E2E8F0;
}

.btn-secondary:hover {
    background: var(--c-bg-alt);
    border-color: var(--c-primary);
    color: var(--c-primary);
    transform: translateY(-2px);
}

.btn-white {
    background: #fff;
    color: var(--c-primary);
    border-color: #fff;
    box-shadow: var(--shadow);
}

.btn-white:hover {
    background: var(--c-bg-alt);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    height: 38px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
    font-weight: 500;
    font-size: 0.9375rem;
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--c-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--c-primary);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-right .btn-primary {
    padding: 8px 24px;
    font-size: 0.875rem;
    height: auto;
}

.nav-links a.active {
    background-color: var(--c-primary);
    /* Dark Blue Background */
    color: #ffffff !important;
    /* White Text */
    box-shadow: 0 4px 10px -3px rgba(15, 23, 42, 0.3);
    /* Subtle Shadow */
    transform: translateY(-1px);

    /* Slight Lift */
}

/* --- NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--c-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--c-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Nav Links Container */
.nav-links {
    display: flex;
    gap: 6px;
    /* Tight gap for cohesive group feel */
    background: rgba(241, 245, 249, 0.6);
    /* Subtle container background */
    padding: 5px;
    border-radius: 100px;
    border: 1px solid var(--c-border);
}

/* Individual Link Styling */
.nav-links a {
    color: var(--c-text);
    text-decoration: none;
    padding: 10px 24px;
    /* Generous padding for button feel */
    border-radius: 100px;
    /* Pill shape */
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

/* Hover State */
.nav-links a:hover {
    color: var(--c-primary);
    background: rgba(255, 255, 255, 0.8);
}

/* Active State (The Button Look) */
.nav-links a.active {
    background: var(--c-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 12px -3px rgba(15, 23, 42, 0.4);
    /* Lift effect */
    transform: translateY(-1px);
    /* Subtle press simulation */
}

/* Hide Nav on Mobile */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    top: 8px;
    left: 10px;
    width: 98%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--c-bg-alt) 0%, var(--c-bg) 100%);
    padding-top: var(--nav-height);
    background-color: #020617;
    border-radius: 50px;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Sits behind content */

    /* REPLACE WITH YOUR IMAGE URL */
    background-image: url('uploads/background.jpeg');

    background-size: cover;
    /* background-position: center; */
    background-position: center center;
    background-repeat: no-repeat;
    filter: brightness(0.9) blur(6px);
    /* Optional: Dark overlay so text remains readable */
    transform: scale(1.05);
    opacity: 1;

}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
}

.shape-1 {
    top: -15%;
    right: 10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(52, 83, 139, 0.2), transparent);
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    bottom: -15%;
    left: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 167, 87, 0.15), transparent);
    animation: float 18s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, 60px) scale(1.1);
    }
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(52, 83, 139, 0.08) 0%, rgba(15, 167, 87, 0.05) 100%);
    color: var(--c-primary);
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 40px;
    border: 1.5px solid rgba(52, 83, 139, 0.2);
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    margin-bottom: 28px;
    color: var(--c-text);
    text-wrap: balance;
    letter-spacing: -0.045em;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* background: rgba(15, 23, 42, 0.6); */
    /* Dark semi-transparent box */
    /* padding: 16px 24px;
    border-radius: 8px;
    backdrop-filter: blur(4px) */
}



.hero p {
    font-size: 1.00rem;
    color: var(--c-text-muted);
    max-width: 680px;
    margin: 0 auto 48px;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    /* font-weight: 500; */
    letter-spacing: 0.01em;


}

.btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

/* --- MODULAR CARD SYSTEM --- */
.card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-elevated {
    box-shadow: var(--shadow);
}

.card-interactive {
    cursor: pointer;
}

/* --- STATS STRIP --- */
.stats-strip {
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    padding: 80px 0;
    background: var(--c-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.stat-item {
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--c-border);
}

.stat-item:last-child::after {
    display: none;
}

.stat-item h3 {
    font-size: 3.5rem;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-muted);
    margin: 0;
}

/* --- SECTIONS --- */
.section {
    padding: 120px 0;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 1200px;
}

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

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.bg-alt {
    background: var(--c-bg-alt);
}

/* --- ABOUT SECTION --- */
.about-image-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    margin: 0 auto;
}

.about-image-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(30%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-container:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.floating-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px 24px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.floating-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(52, 83, 139, 0.3);
}

.floating-text h4 {
    font-size: 1.0625rem;
    margin: 0;
    color: var(--c-text);
    line-height: 1.3;
}

.floating-text span {
    font-size: 0.8125rem;
    color: var(--c-text-muted);
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    /* Changed from 'column' to 'row' */
    gap: 32px;
}



.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 32px 2px;
    background: var(--c-bg-alt);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all 0.3s ease;
    flex: 1;
    text-align: left;
    /* width: 50%; */
    /* Ensures text aligns with the flex-start */
}

.feature-item:hover {
    background: #fff;
    border-color: var(--c-primary);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(52, 83, 139, 0.1) 0%, rgba(15, 167, 87, 0.05) 100%);
    color: var(--c-primary);
    font-size: 24px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.125rem;
    margin-bottom: 6px;
    color: var(--c-text);
}

.feature-content p {
    font-size: 0.9375rem;
    margin: 0;
    height: 50%;
    width: 12rem;
    line-height: 1.7;
    color: var(--c-text-muted);
}

/* --- EXPERTISE SECTION --- */
.expertise-wrapper {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: start;
}

.expertise-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: calc(var(--nav-height) + 40px);
}

.exp-tab {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--c-border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.exp-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    transition: width 0.3s ease;
}

.exp-tab:hover {
    border-color: var(--c-primary);
    transform: translateX(8px);
    box-shadow: var(--shadow);
}

.exp-tab.active {
    background: linear-gradient(135deg, rgba(52, 83, 139, 0.05) 0%, rgba(15, 167, 87, 0.02) 100%);
    border-color: var(--c-primary);
    box-shadow: var(--shadow-lg);
}

.exp-tab.active::before {
    width: 4px;
}

.tab-content {
    position: relative;
    z-index: 1;
}

.tab-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--c-text);
}

.exp-tab.active .tab-content h4 {
    color: var(--c-primary);
}

.tab-content p {
    font-size: 0.875rem;
    color: var(--c-text-muted);
    margin: 0;
    line-height: 1.6;
}

.tab-icon {
    font-size: 32px;
    color: #E2E8F0;
    transition: all 0.3s ease;
}

.exp-tab.active .tab-icon {
    color: var(--c-primary);
    transform: scale(1.1);
}

.expertise-content {
    animation: fadeInUp 0.5s ease-out;
}

.exp-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.exp-image-wrapper {
    width: 100%;
    height: 380px;
    position: relative;
    background: linear-gradient(135deg, var(--c-primary-light) 0%, var(--c-bg-alt) 100%);
}

.exp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.exp-body {
    padding: 48px;
}

.exp-body h3 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: var(--c-text);
    letter-spacing: -0.03em;
}

.exp-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--c-text-muted);
    margin-bottom: 40px;
}

.tags-header {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--c-text-muted);
    margin-bottom: 16px;
    display: block;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.exp-tag {
    background: linear-gradient(135deg, rgba(52, 83, 139, 0.08) 0%, rgba(15, 167, 87, 0.05) 100%);
    color: var(--c-text);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid rgba(52, 83, 139, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.exp-tag:hover {
    background: linear-gradient(135deg, rgba(52, 83, 139, 0.15) 0%, rgba(15, 167, 87, 0.08) 100%);
    border-color: var(--c-primary);
    transform: translateY(-2px);
}

.exp-tag::before {
    content: '●';
    color: var(--c-secondary);
    font-size: 0.75rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- PROCESS (TIMELINE) --- */
.timeline-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 0;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, var(--c-border) 10%, var(--c-border) 90%, transparent 100%);
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-step {
    position: relative;
    display: flex;
    justify-content: flex-end;
    padding-bottom: 80px;
    width: 50%;
}

.timeline-step:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    margin-left: 50%;
}

.timeline-step:nth-child(odd) {
    margin-right: 50%;
}

.timeline-node {
    position: absolute;
    top: 0;
    right: -32px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    border: 4px solid #fff;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(52, 83, 139, 0.1), var(--shadow-lg);
    font-weight: 800;
    color: #fff;
    font-size: 1.125rem;
}

.timeline-step:nth-child(even) .timeline-node {
    right: auto;
    left: -32px;
}

.timeline-card {
    background: #fff;
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow);
    width: 85%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-card:hover {
    transform: translateY(-8px);
    border-color: var(--c-primary);
    box-shadow: var(--shadow-lg);
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 28px;
    right: -12px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-top: 1px solid var(--c-border);
    border-right: 1px solid var(--c-border);
    transform: rotate(45deg);
    transition: border-color 0.3s ease;
}

.timeline-card:hover::before {
    border-color: var(--c-primary);
}

.timeline-step:nth-child(even) .timeline-card::before {
    right: auto;
    left: -12px;
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--c-border);
    border-left: 1px solid var(--c-border);
}

.timeline-step:nth-child(even) .timeline-card:hover::before {
    border-color: var(--c-primary);
}

.timeline-icon {
    display: inline-flex;
    padding: 12px;
    background: linear-gradient(135deg, rgba(52, 83, 139, 0.1) 0%, rgba(15, 167, 87, 0.05) 100%);
    color: var(--c-primary);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 24px;
}

.timeline-card h3 {
    font-size: 1.375rem;
    margin-bottom: 12px;
    color: var(--c-text);
}

.timeline-card p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--c-text-muted);
    margin: 0;
}

/* --- FOOTPRINT MAP --- */
.footprint-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 650px;
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.footprint-map-container {
    width: 100%;
    height: 100%;
    background: var(--c-bg-alt);
}

#footprint-map {
    width: 100%;
    height: 100%;
}

.footprint-sidebar {
    background: var(--c-bg-alt);
    padding: 40px 32px;
    border-left: 1px solid var(--c-border);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.highlight-header {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--c-text);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--c-primary);
}

.highlight-item {
    margin-bottom: 24px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--c-primary);
}

.highlight-item h4 {
    font-size: 1.0625rem;
    color: var(--c-primary);
    margin-bottom: 8px;
}

.location-tag {
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--c-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.highlight-item p {
    font-size: 0.9375rem;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.highlight-link {
    font-size: 0.8125rem;
    color: var(--c-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.highlight-link:hover {
    gap: 10px;
}

/* --- PROJECTS GRID --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.project-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-primary);
}

.project-img-wrapper {
    height: 240px;
    width: 100%;
    background: linear-gradient(135deg, var(--c-primary-light) 0%, var(--c-bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.1);
}

.project-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-top {
    margin-bottom: 16px;
}

.card-tag {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(52, 83, 139, 0.25);
}

.project-card h3 {
    font-size: 1.375rem;
    color: var(--c-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.project-card p {
    font-size: 0.9375rem;
    color: var(--c-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* --- MARQUEE SECTION --- */
/* Label styles (Unchanged) */
.marquee-label {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--c-text-muted);
    margin-bottom: 48px;
    opacity: 0.6;
}

/* Container: Cleaned up for static grid layout */
.marquee-container {
    padding: 20px 0;
    position: relative;
    width: 100%;

    /* Center the container and limit width so items don't float too far apart */
    max-width: 1200px;
    margin: 0 auto;

    /* Allow content to wrap onto new lines */
    overflow: visible !important;
    white-space: normal;
}

/* Hide the gradients (::before/::after) because they obscure the logos in a grid */
.marquee-container::before,
.marquee-container::after {
    display: none;
}

/* Track: The Grid Logic */
.marquee-track {
    /* Grid Layout */
    display: grid;
    grid-template-columns: repeat(5, 1fr);

    /* FIX: Add 30px space vertically, but keep 0px horizontally */
    gap: 30px 0px;

    /* Ensure items don't overflow their grid cells */
    justify-items: center;
    align-items: center;

    /* Safety: Ensure the track doesn't have a fixed height that forces overlap */
    height: auto;

    width: 100%;
    animation: none !important;
    transform: none !important;
}



/* Rest of the CSS remains the same... */
/* Mobile Responsiveness: 5 items is too tiny for phones. 
   This switches to 2 items per line on smaller screens. */
@media (max-width: 768px) {
    .marquee-track {
        grid-template-columns: repeat(2, 1fr);
    }
}

.client-logo {
    height: 48px;
    width: auto;
    opacity: 0.4;
    filter: grayscale(00%);
    transition: all 0.4s ease;
    cursor: pointer;
    transform: scale(1.15);
    opacity: 0.8;
}

.client-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.5);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-33.333%);
    }
}

/* --- TEAM SECTION --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.team-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.team-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid var(--c-primary);
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(52, 83, 139, 0.2);
}

.team-card h3 {
    font-size: 1.375rem;
    margin-bottom: 6px;
}

.team-role {
    font-size: 0.875rem;
    color: var(--c-primary);
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.team-bio {
    font-size: 0.9375rem;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.read-bio-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--c-text-muted);
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    transition: all 0.3s ease;
    padding-top: 20px;
    border-top: 1px solid var(--c-border);
}

.read-bio-btn:hover {
    color: var(--c-primary);
}

.team-btn-container {
    margin-top: 60px;
    text-align: center;
    width: 100%;
}

/* --- DOMAINS & PARTNERS --- */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.domain-card {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-primary) 0%, var(--c-secondary) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.domain-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-primary);
}

.domain-card h3 {
    font-size: 1.375rem;
    margin-bottom: 16px;
    color: var(--c-text);
}

.domain-card p {
    font-size: 0.9375rem;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin: 0;
}


#partners-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    gap: 30px;
    width: 100%;
    overflow-x: auto;

}


.partner-card {
    flex: 1;
    min-width: 0;
    margin-bottom: 0 !important;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 3. Mobile Adjustment (Only stack on small phones) */
@media (max-width: 768px) {
    #partners-grid {
        flex-direction: column !important;
        /* Stack them on mobile */
    }
}

.partner-card:hover {
    border-color: var(--c-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.partner-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    flex-shrink: 0;
    padding: 12px;
    background: var(--c-bg-alt);
    border-radius: var(--radius-sm);
}

.partner-info h3 {
    font-size: 1.375rem;
    margin-bottom: 10px;
    color: var(--c-text);
}

.partner-info p {
    font-size: 0.9375rem;
    color: var(--c-text-muted);
    margin: 0;
    line-height: 1.7;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 0 0 120px !important;
    position: relative;
    z-index: 10;
}

.cta-wrapper {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    border-radius: var(--radius);
    padding: 100px 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 24px 48px -12px rgba(52, 83, 139, 0.4);
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(15, 167, 87, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

.cta-wrapper h2 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 3rem;
    letter-spacing: -0.03em;
}

.cta-wrapper p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-size: 1.25rem;
    line-height: 1.8;
}

/* --- FOOTER --- */
.footer-modern {
    background: #0F172A;
    color: #CBD5E1;
    padding: 80px 0 40px;
    border-top: 1px solid #1E293B;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 28px;
    font-weight: 700;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: #94A3B8;
    line-height: 1.8;
    max-width: 320px;
}

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

.footer-links a {
    color: #CBD5E1;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.contact-item .material-icons {
    color: var(--c-secondary);
    font-size: 22px;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid #1E293B;
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748B;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #94A3B8;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 20px;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* --- PROJECTS PAGE FILTER --- */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 80px;
    position: relative;
    z-index: 5;
}

.filter-btn {
    background: #fff;
    border: 2px solid var(--c-border);
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--c-text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    transform: translateY(-3px);
    color: var(--c-primary);
    border-color: var(--c-primary);
    box-shadow: var(--shadow);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: #fff;
    border-color: var(--c-primary);
    box-shadow: 0 10px 20px rgba(52, 83, 139, 0.3);
}

/* --- PROJECTS DECK --- */
.projects-deck {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    min-height: 500px;
}

.project-card.featured {
    grid-column: span 2;
    display: flex;
    flex-direction: row;
}

.project-card.featured .project-img-wrapper {
    width: 50%;
    height: auto;
}

.project-card.featured .project-content {
    width: 50%;
    padding: 48px;
    justify-content: center;
}

/* --- RESPONSIVE --- */
@media(max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;

    }

    .container {
        padding: 0 24px;

    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .nav-links {
        display: none;
    }

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

    .stat-item::after {
        display: none;
    }

    .expertise-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .expertise-tabs {
        position: static;
    }

    .projects-grid,
    .team-grid,
    .projects-deck {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .timeline-wrapper::before {
        left: 32px;
    }

    .timeline-step {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        justify-content: flex-start;
        padding-left: 80px;
    }

    .timeline-node {
        left: 0 !important;
        right: auto !important;
        width: 56px;
        height: 56px;
        font-size: 1rem;
    }

    .timeline-card {
        width: 100%;
    }

    .timeline-card::before {
        left: -12px !important;
        border: none;
        border-bottom: 1px solid var(--c-border);
        border-left: 1px solid var(--c-border);
    }

    .footprint-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }

    .footprint-map-container {
        height: 400px;
    }

    .footprint-sidebar {
        border-left: none;
        border-top: 1px solid var(--c-border);
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

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

    .partner-card {
        flex-direction: column;
        text-align: center;
    }

    .project-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }

    .project-card.featured .project-img-wrapper,
    .project-card.featured .project-content {
        width: 100%;
    }

    .project-card.featured .project-img-wrapper {
        height: 240px;
    }
}


/* Hero Animation Container */
.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Sit above shapes, below text */
    pointer-events: none;
    /* Let clicks pass through to buttons */
    overflow: hidden;
}

.hero-animation svg {
    width: 100%;
    height: 100%;
    /* Ensure the bus stays clear */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Ensure the hero wrapper (text) sits on top */
.hero-wrapper {
    position: relative;
    z-index: 5;
}

/* --- TECH SPECS SECTION (New) --- */
.tech-list {
    list-style: none;
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.tech-list li {
    color: #fff;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-list li::before {
    content: 'check_circle';
    font-family: 'Material Icons';
    color: var(--c-secondary);
    font-size: 1.2rem;
}

/* Ensure darker section has correct padding */
.section-dark {
    background: #0F172A;
    color: #fff;
}

@media(max-width: 768px) {
    .tech-list {
        grid-template-columns: 1fr;
    }
}

/* --- PREMIUM UI UPGRADES (Append to style.css) --- */

/* 1. Modern Hero Background */
.hero-modern {
    background: radial-gradient(circle at 10% 20%, rgba(52, 83, 139, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(15, 167, 87, 0.05) 0%, transparent 20%),
        var(--c-bg-alt);
    position: relative;
}

/* 2. Icon Boxes (Better than plain icons) */
.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    transition: transform 0.3s ease;
}

.icon-box.primary {
    background: #E0E7FF;
    color: var(--c-primary);
}

.icon-box.success {
    background: #DCFCE7;
    color: var(--c-secondary);
}

.icon-box.danger {
    background: #FEE2E2;
    color: #EF4444;
}

/* 3. Modern Cards */
.modern-card {
    background: #FFFFFF;
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--c-primary);
}

.modern-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.modern-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--c-text-muted);
    margin: 0;
}

/* 4. Workflow Step Styling */
.step-card {
    background: #FFFFFF;
    border-left: 4px solid var(--c-primary);
    border-radius: 8px;
    /* Slight radius on right */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.step-number {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    font-family: var(--f-head);
    line-height: 1;
}

/* --- PROJECT MODAL STYLES --- */
.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.project-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    /* Dark blur backdrop */
    backdrop-filter: blur(8px);
}

.modal-container {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    /* Custom Scrollbar for modal */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
    color: #64748b;
}

.modal-close:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

.modal-header {
    position: relative;
}

.modal-hero-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.modal-title-section {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-tag {
    background: var(--c-primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
}

.modal-title-section h2 {
    font-size: 2.5rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: #64748b;
}

.modal-body {
    padding: 40px;
}

.modal-section {
    margin-bottom: 40px;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-section h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-section h3 .material-icons {
    color: var(--c-accent, #3B82F6);
}

.modal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
}

/* KPI Grid inside Modal */
.modal-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.modal-kpi-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.modal-kpi-card h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 8px;
}

.modal-kpi-card p {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

/* Workflow inside Modal */
.modal-workflow {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.workflow-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.workflow-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #cbd5e1;
    min-width: 40px;
}

/* Tech Tags */
.modal-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: #f1f5f9;
    color: #475569;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

/* Responsive Modal */
@media(max-width: 768px) {
    .modal-container {
        height: 100%;
        border-radius: 0;
    }

    .modal-hero-img {
        height: 200px;
    }

    .modal-title-section,
    .modal-body {
        padding: 24px;
    }

    .modal-title-section h2 {
        font-size: 1.8rem;
    }
}

/* --- MODAL UPDATES FOR LONG CONTENT --- */

/* 1. Modal Body Typography */
.modal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    /* Increased line height for readability */
    color: #334155;
    margin-bottom: 24px;
    text-align: justify;
    /* Optional: makes large blocks look neater */
}

/* 2. Architecture/Diagram Section */
.modal-diagram-container {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
    text-align: center;
}

.modal-diagram-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: zoom-in;
    /* Hint that it might be viewable larger */
}

.diagram-caption {
    font-size: 0.85rem;
    color: #64748B;
    margin-top: 12px;
    font-style: italic;
}

/* 3. Modal Action Buttons */
.modal-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-pdf {
    background: #FFF1F2;
    /* Light Red/Pink */
    color: #E11D48;
    /* Rose Red */
    border: 1px solid #FECDD3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pdf:hover {
    background: #E11D48;
    color: #fff;
}

.btn-case-study {
    background: var(--c-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-case-study:hover {
    background: var(--c-primary-dark);
    transform: translateY(-2px);
}

/* --- GALLERY STYLES --- */
.gallery-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 0 20px 0;
    /* Padding bottom for scrollbar */
    scroll-behavior: smooth;
    /* Hide scrollbar for cleaner look in some browsers */
    scrollbar-width: thin;
    scrollbar-color: var(--c-primary) #f1f5f9;
}

.gallery-container::-webkit-scrollbar {
    height: 8px;
}

.gallery-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.gallery-container::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.7);
    color: #fff;
    font-size: 0.75rem;
    padding: 6px 12px;
    text-align: center;
    backdrop-filter: blur(4px);
}

/* --- POLICY CARDS --- */
.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
    /* Space between policies and papers */
}

.policy-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border-left: 4px solid var(--c-secondary);
    /* Green accent for compliance */
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--c-secondary);
}

.policy-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.policy-icon {
    width: 48px;
    height: 48px;
    background: #ECFDF5;
    color: var(--c-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.policy-text h4 {
    font-size: 1.1rem;
    margin: 0 0 4px 0;
    color: var(--c-primary);
}

.policy-text span {
    font-size: 0.85rem;
    color: #94A3B8;
    font-weight: 600;
}

.btn-download {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    transition: 0.2s;
}

.policy-card:hover .btn-download {
    background: var(--c-primary);
    color: #fff;
    border-color: var(--c-primary);
}

@media(max-width: 768px) {
    .policies-grid {
        grid-template-columns: 1fr;
    }

    .policy-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .btn-download {
        width: 100%;
        border-radius: 8px;
        margin-top: 10px;
    }

    .btn-download::after {
        content: " Download PDF";
        margin-left: 8px;
        font-weight: 600;
        font-size: 0.9rem;
    }
}

.res-hero-title {
    font-size: 0rem;
}

/* --- HERO TITLE: OPTION 2 (Premium Silver) --- */
/* --- HERO TITLE: OPTION 3 (Solid & Bold) --- */
#hero-title {
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: initial;

    color: #FFFFFF;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    /* Heavy black shadow behind text */

    font-weight: 800;
}

/* --- 1. Section Container --- */
#about {
    position: relative;
    padding: 6rem 0;
    /* More vertical breathing room */
    overflow: hidden;
    /* Prevents decorative elements from spilling out */
}

/* Force the split layout into a centered column stack */
#about .split-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    /* Generous space between image and text */
}

/* --- 2. Content Styling (The Text) --- */
#about .about-content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

#about .section-title {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

#about .section-title::after {
    content: '';
    display: none;
    width: 60px;
    height: 3px;
    background: var(--primary-color, #007bff);
    margin: 1rem auto 0;
    border-radius: 2px;
}

#about #about-body {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 2.5rem;
}

/* --- 3. Features Grid (Icons/Stats) --- */
#about .feature-item {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    gap: 1rem;
    padding: 2rem;
    height: 100%;
}

/* Ensure the paragraph takes full space */
#about .feature-item p {
    width: 100%;
    max-width: 100%;
    margin: 0;
    line-height: 1.6;
}

#about-features {
    gap: 30px;
}

/* --- 4. The Image/Card Area --- */
#about .about-image-container {
    order: -1;
    /* Ensures image/card sits ABOVE the text */
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Modern Glass/Elevated Look for the Card */
#about-floating-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.1),
        /* Soft drop shadow */
        0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Subtle border ring */
    max-width: 600px;
    width: 100%;
    /* Optional: Slight tilt or transform for dynamism */
    transition: transform 0.3s ease;
}

#about-floating-card:hover {
    transform: translateY(-5px);
    /* Gentle lift on hover */
}

/* --- 5. The CTA Button --- */
#about .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color, #007bff);
    text-decoration: none;
    transition: gap 0.2s ease;
}

#about .link-arrow:hover {
    gap: 0.75rem;
    /* Arrow slides right on hover */
}

#footprint-section {
    padding-top: 8rem;
    /* Adjust this number (default is likely 6rem or 100px) */
    margin-top: -0rem;
    /* OPTIONAL: Pulls it up even further if needed */
}

/* Alternatively, reduce the bottom padding of the section ABOVE it */
#expertise {
    padding-bottom: 0rem;
    /* Reduces space at the end of the previous section */
}

/* 1. Default (Desktop): Hide the hamburger */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: var(--c-text-primary);
    /* Adjust to your text color */
    cursor: pointer;
    padding: 8px;
}

.hamburger-btn .material-icons {
    font-size: 28px;
}


@media (max-width: 1024px) {


    .hamburger-btn {
        display: block;
    }

    .nav-right {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--c-bg);

        border-top: 1px solid var(--c-border);
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: center;
        z-index: 1000;
    }

    .nav-right.active {
        display: flex;
    }


    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }
}

/* Makes the map labels look like clean text, not boxes */
.leaflet-tooltip.my-map-label {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #333;
    /* Dark text color */
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    text-shadow: 2px 2px 0px white;
    /* Outline to make text readable */
}

/* Container for the icon to ensure spacing */
.team-socials {
    margin-top: 8px;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    /* Centers the icon */
}

/* The actual link/icon style */
.team-socials a {
    display: inline-block;
    transition: transform 0.2s ease, opacity 0.2s;
    opacity: 0.9;
    cursor: pointer;
}

.team-socials a:hover {
    transform: translateY(-2px);
    /* Slight lift effect */
    opacity: 1;
}

/* Ensure the SVG is visible */
.team-socials svg {
    display: block;
}

/* --- MISSION & GOAL SECTION --- */

.mission-goal-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Mission takes a bit more space */
    gap: 60px;
    align-items: center;
}

/* Mission Styles */
.mission-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--c-text-primary);
}

.mission-list li .material-icons {
    color: var(--c-primary);
    /* Brand Color */
    font-size: 24px;
    margin-top: 2px;
    /* Align with text top */
}

/* Goal Styles - Looks like a distinct card */
.goal-card {
    background: var(--c-bg-alt);
    /* Light Grey/Brand BG */
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--c-border);
}

.goal-card p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--c-text-muted);
}

/* Icons above titles */
.mb-4 {
    margin-bottom: 24px;
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.icon-box.primary {
    background: rgba(37, 99, 235, 0.1);
    /* Adjust to your brand blue */
    color: var(--c-primary);
}

.icon-box.secondary {
    background: rgba(245, 158, 11, 0.1);
    /* Adjust to your brand orange/secondary */
    color: var(--c-secondary);
}

/* Responsive */
@media (max-width: 900px) {
    .mission-goal-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- SPACING FIXES --- */
/* Target the grid directly to ensure zero bottom margin */
#partners-grid {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Target the Team grid container */
#about-team-grid {
    margin-top: 0 !important;
}

/* Target the header within the Team section specifically on the About page */
.section.bg-alt .section-header {
    margin-top: 0 !important;
    padding-top: 20px;
    /* Slight breathing room so text doesn't hit the top edge */
    margin-bottom: 40px !important;
    /* Reduces the gap between header and team cards */
}

/* =========================================
   RESOURCES PAGE STYLES
   ========================================= */

/* --- Toggle Container --- */
/* --- Toggle Container --- */
.toggle-section {
    display: flex;
    justify-content: center;

    /* CHANGED: Removed negative margin, added positive margin */
    margin-top: 20px;
    margin-bottom: 60px;

    position: relative;
    z-index: 10;
}

.toggle-pill-container {
    position: relative;
    display: flex;
    background-color: #F1F5F9;
    border-radius: 50px;
    padding: 5px;
    width: 100%;
    max-width: 460px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* --- Sliding White Pill --- */
.toggle-background {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    background-color: #FFFFFF;
    border-radius: 40px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: 1;
}

/* State: Move Right */
.toggle-pill-container.show-right .toggle-background {
    transform: translateX(100%);
}

/* --- Toggle Buttons --- */
.toggle-btn {
    flex: 1;
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    padding: 12px 0;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #64748B;
    transition: color 0.3s ease;
    text-align: center;
}

.toggle-btn.active {
    color: #0F172A;
}

/* --- Resource Card Layout --- */
.partners-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.resource-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.resource-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
    border-color: #CBD5E1;
}

/* Desktop: Row layout for cards */
@media (min-width: 768px) {
    .resource-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

/* ── ADD THIS TO YOUR style.css ──────────────────────────────
   Project card highlight animation (triggered from map/footprint links)
   ────────────────────────────────────────────────────────── */

@keyframes projectHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7), 0 0 0 0 rgba(59, 130, 246, 0.4);
        outline: 3px solid transparent;
    }

    15% {
        box-shadow: 0 0 0 8px rgba(59, 130, 246, 0.5), 0 0 30px 8px rgba(59, 130, 246, 0.25);
        outline: 3px solid #3b82f6;
    }

    50% {
        box-shadow: 0 0 0 12px rgba(59, 130, 246, 0.2), 0 0 40px 12px rgba(59, 130, 246, 0.15);
        outline: 3px solid #3b82f6;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0), 0 0 0 0 rgba(59, 130, 246, 0);
        outline: 3px solid transparent;
    }
}

.project-card--highlighted {
    animation: projectHighlight 3s ease-out forwards;
    border-radius: inherit;
    /* respect the card's existing border-radius */
    position: relative;
    z-index: 2;
}