/* IDIRLION AFRICA — XtraCorporate Style Theme (2026) */
/* Fonts loaded via async <link rel="preload"> in HTML — Roboto */

:root {
    /* Color Palette — XtraCorporate */
    --bg-body: #FFFFFF;
    --bg-surface: #f5f7fa;
    --bg-surface-alt: #eef1f5;
    --bg-dark: #01131c;
    --text-primary: #1A1A2E;
    --text-secondary: #636363;
    --text-light: #aaaaaa;
    --accent-primary: #002699;
    --accent-green: #002699;
    --accent-green-end: #002699;
    --accent-green-light: rgba(0, 38, 153, 0.06);
    --accent-gradient: #002699;
    --border-color: #eaeaea;
    --border-light: #f3f4f6;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 9px 20px rgba(0, 0, 0, 0.13);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 10px 60px rgba(0, 0, 0, 0.1);
    --shadow-green: 0 10px 50px rgba(0, 0, 0, 0.14);

    /* Spacing & Layout */
    --container-width: 1200px;
    --space-md: 2rem;
    --space-lg: 4rem;
    --radius-sm: 3px;
    --radius-md: 3px;
    --radius-lg: 3px;

    /* Typography */
    --font-display: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Fluid Typography Tokens */
    --fs-display: clamp(2.25rem, 5vw + 1rem, 4.5rem);
    --fs-h2: clamp(1.75rem, 3vw + 0.5rem, 3rem);
    --fs-body: clamp(0.95rem, 1vw + 0.5rem, 1.125rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Offset anchor scrolls to account for fixed navbar */
html {
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

/* WCAG Focus States */
:focus-visible {
    outline: 3px solid #002699;
    outline-offset: 3px;
}

/* Skip-to-Content Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;
    background: #002699;
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 3px 3px;
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

html {
    background-color: #FFFFFF;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.2;
}

/* [8] Modern Typography — tighter headings, gradient hero text */
.display-text {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: var(--accent-primary);
}

.display-text.gradient-text {
    color: #002699;
    -webkit-text-fill-color: #002699;
}

.subtext {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   NAVBAR — Professional Top Bar
   ======================================== */
.fixed-logo {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    z-index: 1001;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.fixed-cta {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    z-index: 1001;
}

/* Navbar — XtraCorporate dark style */
.navbar {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 30px;
    height: 80px;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.navbar-logo img {
    height: 80px;
    width: auto;
    display: block;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0) invert(1);
}

/* ── Search icon button (rightmost in navbar) ── */
.nav-search-toggle {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    cursor: pointer;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    margin-left: 0.5rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-search-toggle:hover {
    color: #FFFFFF;
}

/* ── Search overlay ── */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: #01131c;
    padding: 0 30px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    pointer-events: none;
}
.search-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.search-overlay-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 700px;
    gap: 1rem;
}
.search-overlay-form {
    display: flex;
    flex: 1;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}
.search-overlay-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #FFFFFF;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    font-family: 'Roboto', sans-serif;
}
.search-overlay-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.search-overlay-submit {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.75rem;
    transition: color 0.3s ease;
}
.search-overlay-submit:hover {
    color: #FFFFFF;
}
.search-overlay-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}
.search-overlay-close:hover {
    color: #FFFFFF;
}

/* ── Scrolled state: solid bar slides down ── */
.navbar.scrolled {
    top: 0;
    height: 64px;
    background: #01131c;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    animation: navSlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Prevent re-animation flicker when scrolling near threshold */
.navbar:not(.scrolled) {
    animation: none;
}

.navbar.scrolled .navbar-logo img {
    height: 48px;
}

.navbar.scrolled .nav-links {
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
    flex: 1;
    transition: gap 0.4s ease;
}

.nav-links > .menu-item {
    position: relative;
    list-style: none;
}

.nav-links > .menu-item > a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    font-size: 16px;
    white-space: nowrap;
    position: relative;
    padding-bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-links > .menu-item > a span {
    position: relative;
}

.nav-links > .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: #FFFFFF;
    transition: width 0.3s ease;
}

.nav-links > .menu-item > a:hover,
.nav-links > .menu-item.current-menu-item > a,
.nav-links > .menu-item.current-menu-ancestor > a {
    color: #FFFFFF;
}

.nav-links > .menu-item > a:hover::after,
.nav-links > .menu-item.current-menu-item > a::after,
.nav-links > .menu-item.current-menu-ancestor > a::after {
    width: 100%;
}

/* Dropdown Menus — WordPress/XtraCorporate style */
.nav-links > .menu-item-has-children > a.sf-with-ul .cz_indicator {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.nav-links > .menu-item-has-children:hover > a.sf-with-ul .cz_indicator {
    transform: rotate(180deg);
}

.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background: #01131c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1010;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-links > .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-links .sub-menu .menu-item {
    list-style: none;
}

.nav-links .sub-menu .menu-item a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.nav-links .sub-menu .menu-item a::after {
    display: none;
}

.nav-links .sub-menu .menu-item a:hover,
.nav-links .sub-menu .menu-item.current-menu-item a {
    color: #ffffff;
    background: rgba(0, 38, 153, 0.3);
    padding-left: 25px;
}

/* Mobile menu — WordPress-style classes */
.mobile-nav-links .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-links .menu-item-has-children .mobile-sub-menu {
    list-style: none;
    padding: 0 0 0 1.5rem;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-links .menu-item-has-children.open .mobile-sub-menu {
    max-height: 300px;
}

.mobile-nav-links .menu-item-has-children .mobile-sub-menu .menu-item a {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    opacity: 0.8;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
    border: none;
}

/* Buttons — XtraCorporate solid blue style */
.btn-primary {
    background: #002699;
    color: #FFFFFF;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    font-weight: 700;
}

.btn-primary {
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-primary:hover {
    background: #01131c;
    color: #FFFFFF;
}

.btn-primary span,
.btn-primary>* {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    border-radius: 3px;
}

.btn-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 38, 153, 0.06);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 0;
}

.btn-outline:hover {
    border-color: #002699;
    color: #002699;
}

.btn-outline:hover::after {
    transform: scaleX(1);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--space-lg) 0;
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

/* ========================================
   CARD SYSTEM — [4] Enhanced Hover States
   ======================================== */
.glass-panel,
.card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s ease;
    position: relative;
}

.glass-panel:hover,
.card:hover {
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.13);
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(0, 38, 153, 0.3);
}

/* ========================================
   BENTO GRID
   ======================================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
}

.bento-item {
    position: relative;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.2) 0%, rgba(10, 37, 64, 0.85) 100%);
    z-index: 0;
    transition: opacity 0.3s ease;
}

.bento-item:hover::before {
    background: linear-gradient(180deg, rgba(10, 37, 64, 0.1) 0%, rgba(10, 37, 64, 0.75) 100%);
}

.bento-item>* {
    position: relative;
    z-index: 1;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-tall {
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-size: 1.5rem;
}

/* ========================================
   ANIMATIONS — Professional Reveals
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: show all reveals if JS hasn't activated them after 4s */
@keyframes revealFallback {
    to { opacity: 1; transform: translateY(0); }
}
.reveal:not(.active) {
    animation: revealFallback 0s 4s forwards;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ========================================
   FORM STYLES
   ======================================== */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(0, 38, 153, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-large {
        grid-column: span 2;
        grid-row: auto;
        height: 300px;
    }

    .bento-tall {
        grid-row: auto;
        height: 300px;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .nav-links {
        display: none;
    }

    .display-text {
        font-size: 2.5rem;
    }

    .fixed-cta {
        display: none;
    }
}

@media (max-width: 600px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }
}

/* ========================================
   MOBILE MENU (Hamburger - Side Drawer)
   ======================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1100;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu — Clean Side Drawer */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 85vw);
    height: 100%;
    background: #FFFFFF;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--text-secondary);
    transition: background-color 0.3s ease;
}

.mobile-menu-close::before {
    transform: rotate(45deg);
}

.mobile-menu-close::after {
    transform: rotate(-45deg);
}

.mobile-menu-close:hover::before,
.mobile-menu-close:hover::after {
    background-color: var(--accent-green);
}

.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-overlay .mobile-nav-links {
    list-style: none;
    padding: 5rem 2rem 0;
    margin: 0;
    flex: 1;
}

.mobile-menu-overlay .mobile-nav-links li {
    margin: 0;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.05s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(6) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay .mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 1rem 0;
    position: relative;
    transition: color 0.25s ease;
    border-bottom: 1px solid var(--border-light);
}

.mobile-menu-overlay .mobile-nav-links a:hover,
.mobile-menu-overlay .mobile-nav-links a.active {
    color: var(--accent-green);
}

.mobile-menu-overlay .mobile-cta {
    margin: auto 2rem 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s;
}

.mobile-menu-overlay.active .mobile-cta {
    opacity: 1;
    transform: translateY(0);
}

/* Show hamburger on mobile */
@media (max-width: 1024px) {
    .hamburger {
        display: flex;
        position: fixed;
        top: 1.5rem;
        left: 2rem;
        z-index: 1100;
    }

    .navbar {
        display: none;
    }

    .topbar {
        display: none;
    }
}

/* Mobile Spacing */
@media (max-width: 768px) {
    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
        min-height: 70vh;
    }

    .section {
        padding: 2.5rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .display-text {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .subtext {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        min-height: 44px;
    }

    /* Hero CTA buttons stack on mobile */
    .hero .reveal[style*="display: flex"] {
        flex-direction: column;
        gap: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .fixed-logo img {
        height: 50px !important;
    }

    .fixed-logo {
        top: 1rem;
        right: 1rem;
    }

    .hamburger {
        top: 1.2rem;
        left: 1rem;
    }

    .display-text {
        font-size: 1.6rem;
    }

    .mobile-menu-overlay {
        width: min(280px, 85vw);
    }
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 280px;
}

.cookie-consent-text p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .cookie-consent {
        padding: 1rem;
    }

    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-consent-text {
        min-width: 0;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-consent-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

/* ========================================
   BACK-TO-TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: #01131c;
    border: none;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #002699;
    border-color: #002699;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #FFFFFF;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.back-to-top:hover svg {
    stroke: #FFFFFF;
}

.whatsapp-float~.back-to-top,
.back-to-top.with-whatsapp {
    bottom: 6rem;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.25rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }

    .whatsapp-float~.back-to-top,
    .back-to-top.with-whatsapp {
        bottom: 5rem;
    }

    /* Shift up when cookie consent is visible to avoid overlap */
    .cookie-consent.show~.back-to-top {
        bottom: 5.5rem;
    }
}

/* ========================================
   HOW IT WORKS SECTION
   ======================================== */
.how-it-works {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-surface);
}

.how-it-works .section-heading {
    text-align: center;
    margin-bottom: 4rem;
}

.how-it-works .section-heading h2 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--accent-primary);
}

.how-it-works .section-heading p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Dashboard Panel for Steps */
.dashboard-panel {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

.step-stat {
    flex: 1;
    text-align: center;
    padding: 1.5rem;
}

.stat-ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.ring-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 4;
}

.ring-fill {
    fill: none;
    stroke: var(--accent-green);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 1.5s ease;
}

.step-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-primary);
}

.step-icon {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-bottom: 0.75rem;
}

.step-stat h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-stat p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 250px;
    margin: 0 auto;
}

.stat-divider {
    width: 1px;
    height: 120px;
    background: var(--border-color);
    align-self: center;
}

.how-it-works .cta-row {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
        margin: 0 auto;
    }

    .step-stat {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }

    .stat-ring {
        width: 80px;
        height: 80px;
    }

    .step-number {
        font-size: 1.4rem;
    }

    .dashboard-panel {
        padding: 2rem 1rem;
    }
}

/* ========================================
   SECTION HEADINGS — Professional Style
   ======================================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bbb;
    margin-bottom: 1rem;
}

.section-label::before {
    display: none;
}

/* Ensure section labels stack above headings in centered sections */
.section-heading .section-label {
    display: block;
    margin-bottom: 0.5rem;
}

/* ========================================
   UTILITY TOPBAR
   ======================================== */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 0 30px;
    border-bottom: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.topbar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
}

.topbar.topbar-hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.topbar-contact {
    display: flex;
    gap: 0;
    align-items: center;
}

.topbar-contact a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-contact a:last-child {
    padding-right: 0;
}

.topbar-contact a i {
    color: #FFFFFF;
}

.topbar-contact a:hover {
    color: #FFFFFF;
}

.topbar-social {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.topbar-social a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.topbar-social a:hover {
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* Mobile contact info inside mobile menu (visible when topbar is hidden) */
.mobile-menu-contact {
    display: none;
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.mobile-menu-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    min-height: 44px;
    transition: color 0.3s ease;
}

.mobile-menu-contact a:hover {
    color: var(--accent-primary);
}

.mobile-menu-contact a i {
    width: 20px;
    text-align: center;
    color: var(--accent-primary);
}

@media (max-width: 1024px) {
    .mobile-menu-contact {
        display: block;
    }
}

/* ========================================
   STATS / IMPACT COUNTERS
   ======================================== */
.stats-section {
    background: #01131c;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 38, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(0, 38, 153, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-number .stat-suffix {
    color: var(--accent-green);
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .stats-section {
        padding: 3.5rem 0;
    }
}

/* ========================================
   ABOUT PREVIEW (Homepage)
   ======================================== */
.about-preview {
    padding: 6rem 0;
    background: #FFFFFF;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-preview-content .section-label {
    display: flex;
}

.about-preview-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.about-preview-content h2 span {
    color: var(--accent-green);
}

.about-preview-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.about-preview-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.about-preview-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.about-preview-list li i {
    color: var(--accent-green);
    font-size: 0.75rem;
}

.about-preview-image {
    position: relative;
}

.about-preview-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.about-preview-image::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    right: -1.5rem;
    bottom: -1.5rem;
    border: 3px solid var(--accent-green);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-preview-image {
        order: -1;
    }

    .about-preview-image::after {
        display: none;
    }

    .about-preview-list {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BLOG / NEWS PREVIEW (Homepage)
   ======================================== */
.blog-preview {
    padding: 6rem 0;
    background: var(--bg-surface);
}

.blog-preview .section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-preview .section-heading .section-label {
    display: flex;
    justify-content: center;
}

.blog-preview .section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.blog-preview .section-heading h2 span {
    color: var(--accent-green);
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-preview-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.blog-preview-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 38, 153, 0.3);
}

.blog-preview-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-preview-card .card-body {
    padding: 1.5rem;
}

.blog-preview-card .card-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.blog-preview-card .card-category {
    background: var(--accent-green-light);
    color: var(--accent-green);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.blog-preview-card .card-date {
    color: var(--text-light);
    font-size: 0.8rem;
}

.blog-preview-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-preview-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-preview-card h3 a:hover {
    color: var(--accent-green);
}

.blog-preview-card .card-link {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}

.blog-preview-card .card-link:hover {
    gap: 0.75rem;
}

.blog-preview .view-all {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .blog-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-preview-card:last-child {
        display: none;
    }
}

@media (max-width: 600px) {
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }

    .blog-preview-card:last-child {
        display: block;
    }
}

/* ========================================
   NEWSLETTER CTA
   ======================================== */
/* Newsletter styles moved to footer.css */

/* ========================================
   CARD HOVER ARROW LINKS
   ======================================== */
.holo-card .card-arrow {
    position: absolute;
    bottom: 1.25rem;
    right: 1.25rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
    z-index: 2;
}

.holo-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   [2] SUBTLE BACKGROUND TEXTURES
   ======================================== */
.section-textured {
    position: relative;
    background-image:
        radial-gradient(circle, rgba(10, 37, 64, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ========================================
   [3] WAVE SVG SECTION DIVIDERS
   ======================================== */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
    pointer-events: none;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 60px;
}

.wave-divider.wave-top {
    bottom: auto;
    top: 0;
}

.wave-divider.wave-top svg {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .wave-divider svg {
        height: 35px;
    }
}

/* ========================================
   [5] STATS COUNTER RING — Enhanced
   ======================================== */
.how-it-works.in-view .ring-fill {
    transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.how-it-works.in-view .step-stat {
    animation: stepFadeUp 0.6s ease forwards;
    opacity: 0;
}

.how-it-works.in-view .step-stat[data-step="1"] {
    animation-delay: 0.1s;
}

.how-it-works.in-view .step-stat[data-step="2"] {
    animation-delay: 0.4s;
}

.how-it-works.in-view .step-stat[data-step="3"] {
    animation-delay: 0.7s;
}

@keyframes stepFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-ring::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 38, 153, 0.06) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.8s ease 1s;
}

.how-it-works.in-view .stat-ring::after {
    opacity: 1;
}

/* ========================================
   [7] CLIENT LOGO MARQUEE
   ======================================== */
.logo-marquee-section {
    padding: 3.5rem 0;
    background: #FFFFFF;
    overflow: hidden;
    position: relative;
}

.logo-marquee-section .section-label {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    color: #999;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.logo-track {
    display: flex;
    gap: 4.5rem;
    align-items: center;
    animation: marqueeScroll 35s linear infinite;
    width: max-content;
}

.logo-track:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0;
    border: none;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.logo-item .logo-text {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A2E;
    letter-spacing: 0.06em;
    white-space: nowrap;
    user-select: none;
    text-transform: uppercase;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logo-track {
        gap: 3rem;
    }

    .logo-item .logo-text {
        font-size: 0.85rem;
    }
}

/* ========================================
   [9] SMOOTH PAGE LOAD FADE-IN
   ======================================== */
body {
    opacity: 0;
    transition: opacity 0.4s ease;
}

body.loaded {
    opacity: 1;
}

/* Safety: show content after 2s even if JS fails */
@keyframes forceShow {
    to { opacity: 1; }
}
body {
    animation: forceShow 0s 2s forwards;
}


/* ========================================
   SERVICE ICON-BOXES (Business-4 Style)
   ======================================== */
.services-section {
    padding: 6rem 0;
    background: var(--bg-surface);
}

.services-section .section-heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.services-section .section-heading .section-label {
    display: flex;
    justify-content: center;
}

.services-section .section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-primary);
}

.services-section .section-heading h2 span {
    color: var(--accent-green);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-icon-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 38, 153, 0.2);
}

.service-icon-box:hover::before {
    transform: scaleY(1);
}

.service-icon-box .icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--accent-green-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background 0.3s ease;
}

.service-icon-box:hover .icon-wrap {
    background: var(--accent-green);
}

.service-icon-box .icon-wrap i {
    font-size: 1.5rem;
    color: var(--accent-green);
    transition: color 0.3s ease;
}

.service-icon-box:hover .icon-wrap i {
    color: #FFFFFF;
}

.service-icon-box h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-icon-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.service-icon-box .box-link {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s ease;
}

.service-icon-box .box-link:hover {
    gap: 0.75rem;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SKILL / PROGRESS BARS
   ======================================== */
.skill-bars {
    margin-top: 1.5rem;
}

.skill-bar-item {
    margin-bottom: 1.25rem;
}

.skill-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.skill-bar-header span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.skill-bar-header .skill-percent {
    font-weight: 700;
    color: var(--accent-green);
    font-size: 0.85rem;
}

.skill-bar-track {
    height: 8px;
    background: var(--bg-surface-alt);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.skill-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 100px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Note: .skill-bars.animated .skill-bar-fill widths are set via JavaScript */

/* ========================================
   PROCESS STEPS (Horizontal Numbered)
   ======================================== */
.process-section {
    padding: 6rem 0;
    background: #FFFFFF;
}

.process-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.process-intro .section-label {
    display: flex;
}

.process-intro h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.process-intro h2 span {
    color: var(--accent-green);
}

.process-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    background: #FFFFFF;
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 38, 153, 0.2);
    transform: translateX(4px);
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-green);
    line-height: 1;
    min-width: 50px;
    opacity: 0.8;
}

.step-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .process-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ========================================
   PORTFOLIO / PROJECTS GALLERY
   ======================================== */
.portfolio-section {
    padding: 6rem 0;
    background: var(--bg-surface);
}

.portfolio-section .section-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-section .section-heading .section-label {
    display: flex;
    justify-content: center;
}

.portfolio-section .section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-primary);
}

.portfolio-section .section-heading h2 span {
    color: var(--accent-green);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 37, 64, 0) 0%, rgba(10, 37, 64, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.portfolio-overlay span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.portfolio-section .view-all {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   TESTIMONIALS CAROUSEL
   ======================================== */
/* ── Testimonials — 3-card grid ── */
.testimonials-section {
    padding: 6rem 0;
    background: #f8f9fb;
}
.testimonials-section .section-heading {
    text-align: center;
    margin-bottom: 3rem;
}
.testimonials-section .section-heading .section-label {
    display: flex;
    justify-content: center;
}
.testimonials-section .section-heading h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #1A1A2E;
}
.testimonials-section .section-heading h2 span {
    color: #002699;
}

/* Grid */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

/* Card */
.testimonial-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 36px 30px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* Blue top accent on hover */
.testimonial-card {
    border-top: 3px solid transparent;
}
.testimonial-card:hover {
    border-top-color: #002699;
}

/* Top: Avatar + Author info */
.testimonial-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #002699;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.testimonial-author-info .author {
    font-weight: 700;
    color: #1A1A2E;
    font-size: 0.95rem;
    line-height: 1.3;
}
.testimonial-author-info .role {
    color: #002699;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Stars */
.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}
.testimonial-stars i {
    color: #f5a623;
    font-size: 13px;
}

/* Quote */
.testimonial-card blockquote {
    font-size: 0.95rem;
    line-height: 1.75;
    color: #636363;
    font-style: italic;
    margin: 0;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
}

/* ========================================
   HERO STAT BADGES
   ======================================== */
.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

.hero-stat-badge .badge-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 38, 153, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-green);
    font-size: 0.9rem;
}

.hero-stat-badge .badge-text {
    display: flex;
    flex-direction: column;
}

.hero-stat-badge .badge-number {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.2;
}

.hero-stat-badge .badge-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 0.75rem;
    }

    .hero-stat-badge {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   RESTYLED CTA BANNER
   ======================================== */
.cta-banner {
    padding: 5rem 0;
    background: #01131c;
    text-align: center;
    position: relative;
    overflow: hidden;
    overflow: hidden;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 19, 28, 0.92);
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 25% 50%, rgba(0, 38, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 50%, rgba(0, 38, 153, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.cta-banner .container {
    position: relative;
    z-index: 2;
}

.cta-banner .section-label {
    display: flex;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.cta-banner .section-label::before {
    background: rgba(255, 255, 255, 0.3);
}

.cta-banner h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

.cta-banner h2 span {
    color: #4d88ff;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========================================
   PREFERS REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    body {
        opacity: 1 !important;
        transition: none !important;
    }

    .logo-track {
        animation: none !important;
    }
}

/* iOS Safari: background-attachment:fixed causes blank/broken bg */
@supports (-webkit-touch-callout: none) {
    .cta-banner-bg {
        background-attachment: scroll;
    }
}