/* ==========================================================================
   CSS Variables — Color System & Typography
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary-bg: #1B1464;
    /* EMICO Navy */
    --color-secondary-bg: #120D45;
    /* EMICO Dark Navy */
    --color-accent: #0000FD;
    /* EMICO Blue */
    --color-light-bg: #EEEEEE;
    /* EMICO Light Grey */
    --color-white: #FFFFFF;

    /* Text Colors */
    --text-primary-dark: #EEEEEE;
    /* On dark backgrounds */
    --text-primary-light: #1A1A1A;
    /* On light backgrounds */
    --text-muted-dark: #A0AAB2;
    --text-muted-light: #5A646E;

    /* Buttons & Borders */
    --btn-primary-bg: #FF0000;
    --btn-primary-hover: #CC0000;
    --border-subtle: rgba(238, 238, 238, 0.2);
    --border-light: #CCCCCC;
    --card-bg-dark: #120D45;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --section-spacing-desktop: 100px;
    --section-spacing-mobile: 60px;
    --transition-standard: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary-light);
    background-color: var(--color-light-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 48px;
    letter-spacing: 0.02em;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 20px;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   Utility Classes & Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-dark {
    background-color: var(--color-secondary-bg);
    color: var(--text-primary-dark);
}

.section-light {
    background-color: var(--color-light-bg);
    color: var(--text-primary-light);
}

.bg-white {
    background-color: var(--color-white);
    color: var(--text-primary-light);
}

section {
    padding: var(--section-spacing-desktop) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: inherit;
}

.center-content {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* Scroll Animation Classes */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 42px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    /* Slightly rounded corners */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #FF0000 0%, #D00000 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn-primary:hover::after {
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
        opacity: 1;
    }

    100% {
        transform: translateX(100%) rotate(45deg);
        opacity: 1;
    }
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--color-white);
}

.btn-outline:hover {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid var(--border-light);
    /* Thicker border */
    color: var(--text-primary-dark);
}

.btn-outline-light:hover {
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background-color: transparent;
    border: 2px solid var(--color-primary-bg);
    color: var(--color-primary-bg);
}

.btn-outline-dark:hover {
    background-color: var(--color-primary-bg);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 20, 100, 0.2);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--color-white);
    color: var(--text-primary-light);
    padding: 20px 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.header.scrolled {
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    /* Slightly larger */
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
    /* Larger tap target vertically */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary-bg);
    transition: width var(--transition-standard);
}

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

/* Active nav link — current page */
.nav-link--active {
    color: var(--color-primary-bg) !important;
    font-weight: 700;
}

.nav-link--active::after {
    width: 100% !important;
    height: 2px;
    background-color: var(--color-primary-bg);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header .btn-outline {
    border: 2px solid var(--color-primary-bg);
    color: var(--color-primary-bg);
}

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

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary-light);
    cursor: pointer;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-primary-light);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background-color: var(--color-white);
    border: 1px solid var(--border-light);
    min-width: 80px;
    display: none;
    flex-direction: column;
}

.lang-switcher.active .lang-menu {
    display: flex;
}

.lang-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    /* Larger tap target */
    font-size: 15px;
}

.lang-menu li a .fi {
    font-size: 16px;
    border-radius: 2px;
}

.lang-menu li a:hover {
    background-color: var(--color-light-bg);
}

.lang-menu li.lang-active a {
    font-weight: 700;
    color: var(--color-accent);
    background-color: var(--color-light-bg);
    pointer-events: none;
}

/* ==========================================================================
   Nav Dropdown — Capabilities submenu
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
}

/* Invisible hover bridge from nav item down to dropdown — no visual impact */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 100%;
    height: 16px;
    background: transparent;
}

.nav-link--has-dropdown {
    /* No display override — inherits inline like all other .nav-link elements */
    vertical-align: middle;
}

.nav-link--has-dropdown svg {
    vertical-align: middle;
    display: inline-block;
    margin-left: 2px;
    position: relative;
    top: -1px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.nav-item-dropdown:hover .nav-link--has-dropdown svg {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown {
    position: absolute;
    /* Start RIGHT at 100% — no gap. Visual spacing handled by padding-top below */
    top: 100%;
    left: 50%;
    background-color: var(--color-white);
    border: 1px solid var(--border-light);
    min-width: 260px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(-6px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 200;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    /* Transparent buffer at top so notch visually floats above the panel */
    padding-top: 14px;
    margin-top: 0;
}

/* Small arrow notch — now sits inside the padding-top buffer */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--color-white);
    border-left: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
    transform: translateX(-50%) rotate(45deg);
}

.nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Keep dropdown alive while hovering child menu too */
.nav-dropdown:hover {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown li {
    border-bottom: 1px solid var(--border-light);
}

.nav-dropdown li:last-child {
    border-bottom: none;
}

.nav-dropdown li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary-light);
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary-bg);
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.nav-dropdown li a:hover {
    background-color: var(--color-light-bg);
    color: var(--color-primary-bg);
    padding-left: 24px;
}

.nav-dropdown li a:hover::before {
    opacity: 1;
}

.nav-dropdown li a.dropdown-active {
    color: var(--color-primary-bg);
    background: rgba(0, 0, 253, 0.12);
}

.nav-dropdown li a.dropdown-active::before {
    opacity: 1;
}

/* ==========================================================================
   Section 1 — Hero
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset header */
    color: var(--text-primary-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 10, 30, 0.8);
    z-index: -1;
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    margin-top: 60px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 2rem;
    color: var(--text-primary-dark);
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-top: 60px;
}

.hero-stats-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 320px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number.accent {
    color: var(--color-accent);
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    line-height: 1.4;
}

.stat-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    width: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 4px;
    background: var(--color-white);
    border-radius: 50%;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* ==========================================================================
   Section 2 — Company Snapshot
   ========================================================================== */
.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.snapshot-card {
    display: flex;
    flex-direction: column;
}

.snapshot-card .icon {
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.snapshot-card h3 {
    margin-bottom: 0.5rem;
}

.snapshot-card p {
    color: var(--text-muted-light);
}

/* ==========================================================================
   Section 3 — Core Capabilities
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.capability-card {
    background-color: var(--card-bg-dark);
    border: 1px solid var(--border-subtle);
    padding: 32px 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.capability-card h3 {
    color: var(--text-primary-dark);
    font-size: 18px;
    margin-bottom: 1rem;
}

.capability-card p {
    color: var(--text-muted-dark);
    font-size: 15px;
    margin: 0;
}

.capability-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-muted-dark);
}

/* ==========================================================================
   Section 4 — Facilities & Infrastructure
   ========================================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--border-light);
}

.facility-list {
    margin-top: 2rem;
}

.facility-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-weight: 500;
}

.facility-list svg {
    color: var(--color-accent);
}

/* ==========================================================================
   Section 5 — Selected Projects
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background-color: var(--color-white);
    padding: 32px;
    border: 1px solid var(--border-light);
}

.project-card h3 {
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.project-card p {
    color: var(--text-muted-light);
    margin: 0;
}

/* ==========================================================================
   Section 6 — Global Partnerships
   ========================================================================== */
.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 3rem;
}

.partner-logo {
    width: 120px;
    color: var(--text-muted-dark);
    transition: color 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-logo.text-logo {
    width: auto;
}

.partner-logo.text-logo h3 {
    font-size: 20px;
    letter-spacing: 0.05em;
    margin: 0;
    color: var(--text-muted-dark);
    transition: color 0.3s ease;
}

.partner-logo:hover,
.partner-logo.text-logo:hover h3 {
    color: var(--color-white);
}

.partner-desc {
    color: var(--text-muted-dark);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================================================
   Section 7 — News & Insights
   ========================================================================== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

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

.insight-card {
    background-color: var(--color-white);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    /* Softer radius */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    /* More pronounced shadow on hover */
}

.insight-image {
    width: 100%;
    height: 220px;
    /* Slightly taller */
    position: relative;
    background-color: #E2E8F0;
    overflow: hidden;
}

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

.insight-card:hover .insight-image img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.insight-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.insight-content {
    padding: 28px 24px;
    /* More breathing room */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.insight-date {
    display: block;
    font-size: 14px;
    /* Larger */
    color: var(--text-muted-light);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.insight-title {
    font-size: 20px;
    /* Larger */
    margin-bottom: 1rem;
    line-height: 1.4;
}

.insight-title a {
    color: var(--text-primary-light);
}

.insight-title a:hover {
    color: var(--color-accent);
}

.insight-content p {
    color: var(--text-muted-light);
    font-size: 15px;
    /* Larger body text */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    /* Pushes read-more to bottom */
}

.read-more {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    /* Increase tap target */
}

.read-more:hover {
    color: var(--color-primary-bg);
}

/* ==========================================================================
   Section 8 — Corporate Commitment
   ========================================================================== */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.commit-item {
    text-align: center;
}

.commit-icon {
    width: 60px;
    height: 60px;
    background-color: var(--color-light-bg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-primary-light);
}

.commit-item h4 {
    font-size: 16px;
    margin: 0;
}

/* ==========================================================================
   Section 9 — Final CTA
   ========================================================================== */
.final-cta {
    padding: 80px 0;
}

.final-cta h2 {
    margin-bottom: 0.5rem;
}

.final-cta p {
    color: var(--text-muted-dark);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-primary-bg);
    color: var(--color-white);
    padding-top: 80px;
    border-top: 1px solid var(--border-subtle);
}

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

.footer-logo {
    font-size: 24px;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-col h4 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: var(--text-muted-dark);
}

.footer-col p,
.footer-contact li,
.footer-links li a {
    color: var(--text-muted-dark);
    font-size: 15px;
    line-height: 1.8;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

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

.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    padding: 24px 24px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-muted-dark);
    font-size: 14px;
}

/* ==========================================================================
   Responsive Variables & Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {

    /* Tablet */
    :root {
        --section-spacing-desktop: 80px;
    }

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

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

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

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

@media (max-width: 768px) {

    /* Mobile */
    :root {
        --section-spacing-desktop: var(--section-spacing-mobile);
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 24px;
    }

    /* Navigation Mobile */
    .mobile-toggle {
        display: block;
    }

    .nav {
        position: fixed;
        top: 70px;
        /* Below header */
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        border-bottom: 1px solid var(--border-light);
        display: none;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Layout Mobile */
    .snapshot-grid,
    .cards-grid,
    .projects-grid,
    .insights-grid,
    .commitment-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .logo-grid {
        gap: 30px;
    }

    .hero-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 40px;
    }

    .hero-visual {
        display: none;
        /* Hide on small mobile to save space */
    }

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

    .btn {
        width: 100%;
    }

    .header-actions .btn {
        display: none;
        /* Hide top CTA on small mobile to save space */
    }
}

/* ==========================================================================
   Generic Page Template
   ========================================================================== */
.page-content-section { padding: 80px 0; }
.page-content-wrap { max-width: 780px; }

/* ==========================================================================
   404 Page
   ========================================================================== */
.page-404-section { padding: 80px 0; text-align: center; }
.page-404-heading { font-size: 96px; color: var(--primary-bg); margin-bottom: 1rem; }
.page-404-message { margin-bottom: 2rem; color: var(--text-muted-light); }

/* ==========================================================================
   Pagination
   ========================================================================== */
.emico-pagination { margin-top: 2rem; text-align: center; }
.emico-pagination .page-numbers { display: inline-block; padding: 0.4rem 0.8rem; margin: 0 2px; border: 1px solid var(--border-light); color: var(--text-primary-light); }
.emico-pagination .page-numbers.current { background-color: var(--color-accent); color: var(--color-white); border-color: var(--color-accent); }
.emico-pagination .page-numbers:hover:not(.current) { border-color: var(--color-accent); color: var(--color-accent); }