/* ============================================================
   ApexCore Systems & Technologies — Main Stylesheet
   Premium Corporate ICT Website Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b;
    background: #fff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: color 0.25s ease;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ── Design Tokens ────────────────────────────────────────── */
:root {
    /* Brand Palette */
    --blue-900: #061540;
    --blue-800: #092056;
    --blue-700: #0f3b9c;
    --blue-600: #1656d6;
    --cyan:     #00d2ff;
    --cyan-dim: rgba(0, 210, 255, 0.15);

    /* Neutrals */
    --white:    #ffffff;
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-600: #475569;
    --gray-800: #1e293b;

    /* Status */
    --success:  #10b981;
    --warning:  #f59e0b;

    /* Easing */
    --ease:     all 0.3s ease;
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:  0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg:  0 20px 60px rgba(0,0,0,0.12);
    --shadow-xl:  0 30px 80px rgba(0,0,0,0.16);

    /* Gradients */
    --hero-grad: linear-gradient(135deg, #061540 0%, #0f3b9c 60%, #1656d6 100%);
    --card-grad: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    /* Icon tokens */
    --icon-size: 20px;
    --icon-stroke-width: 1.5;
    --icon-color: var(--gray-800);
}

/* Social / icon utilities */
.social-icon {
    color: var(--icon-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.social-icon svg {
    width: var(--icon-size);
    height: var(--icon-size);
    display: inline-block;
    vertical-align: middle;
}
.share-btn svg,
.social-icon svg {
    fill: none;
}
.social-icon svg path,
.share-btn svg path {
    stroke: currentColor;
    stroke-width: var(--icon-stroke-width);
    stroke-linecap: round;
    stroke-linejoin: round;
}
.social-icon:focus {
    outline: 2px solid rgba(22,86,156,0.18);
    outline-offset: 3px;
}

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: 1440px; margin: 0 auto; padding: 0 40px; }

.section {
    padding: 90px 0;
}

.section:nth-child(even) {
    background-color: var(--gray-50);
}

/* ══════════════════════════════════════════════════════════════
   HARDCOVER BOOK OPENING PRELOADER
   ══════════════════════════════════════════════════════════════
   Layout:  Two full-height panels side-by-side.
            Left panel  → transform-origin: right center  (hinges from the spine)
            Right panel → transform-origin: left center   (hinges from the spine)
   Open:    Left swings  rotateY(90deg) outward  (away from viewer on left side)
            Right swings rotateY(-90deg) outward (away from viewer on right side)
   Logo:    A fixed-position circle floats at the screen center.
═══════════════════════════════════════════════════════════════ */

.book-preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    pointer-events: all;
    /* perspective on parent makes the 3D transforms look realistic */
    perspective: 1800px;
    perspective-origin: center center;
}

/* Invisible until panels swing away — uses step-end so
   it stays visible for the full animation duration */
.book-preloader.hidden {
    pointer-events: none;
    /* delay removal of visibility until the cover has fully swung away */
    animation: bookDone 0s 0.9s forwards;
}
@keyframes bookDone {
    to { visibility: hidden; }
}

/* ── Panel Shared ──────────────────────────────────────────── */
.book-half {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(160deg, #061540 0%, #092056 50%, #0f3b9c 100%);
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1) 0.05s,
                box-shadow 0.8s cubic-bezier(0.77, 0, 0.18, 1) 0.05s;
    will-change: transform;
    transform-style: preserve-3d;
}

/* Dot-grid texture on the cover */
.book-half::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 0;
}

/* Glowing cyan orb — left half bottom-left */
.book-half.left::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,210,255,0.12) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* Glowing cyan orb — right half top-right */
.book-half.right::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,210,255,0.10) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* ── Left panel: hinge from right edge (spine) ─────────────── */
.book-half.left {
    transform-origin: right center;
    border-right: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: 4px 0 40px rgba(0,0,0,0.5),
                inset -8px 0 30px rgba(0,0,0,0.2);
}

/* ── Right panel: hinge from left edge (spine) ─────────────── */
.book-half.right {
    transform-origin: left center;
    border-left: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: -4px 0 40px rgba(0,0,0,0.5),
                inset 8px 0 30px rgba(0,0,0,0.2);
}

/* ── OPEN: swing panels outward ────────────────────────────── */
.book-preloader.hidden .book-half.left {
    transform: rotateY(90deg);
    box-shadow: none;
}
.book-preloader.hidden .book-half.right {
    transform: rotateY(-90deg);
    box-shadow: none;
}

/* ── Glowing spine line at center seam ─────────────────────── */
.book-spine {
    position: fixed;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    transform: translateX(-50%);
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,210,255,0.5) 20%,
        rgba(0,210,255,0.8) 50%,
        rgba(0,210,255,0.5) 80%,
        transparent 100%
    );
    z-index: 9999999;
    transition: opacity 0.3s ease 0.1s;
    pointer-events: none;
}
.book-preloader.hidden .book-spine {
    opacity: 0;
}

/* ── Logo medallion at the spine ───────────────────────────── */
.book-logo-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999999;
    width: 160px;
    height: 160px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow:
        0 0 0 4px rgba(0,210,255,0.3),
        0 0 0 8px rgba(0,210,255,0.12),
        0 20px 60px rgba(0,0,0,0.5);
    transition:
        opacity  0.8s cubic-bezier(0.77, 0, 0.175, 1),
        transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
    animation: bookLogoPulse 2.4s ease-in-out infinite;
    pointer-events: none;
}

.book-logo-center img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

@keyframes bookLogoPulse {
    0%, 100% {
        box-shadow:
            0 0 0 4px rgba(0,210,255,0.3),
            0 0 0 8px rgba(0,210,255,0.12),
            0 20px 60px rgba(0,0,0,0.5);
    }
    50% {
        box-shadow:
            0 0 0 6px rgba(0,210,255,0.45),
            0 0 0 14px rgba(0,210,255,0.15),
            0 25px 70px rgba(0,210,255,0.2);
    }
}

/* Logo shrinks, spins, & fades as the book opens */
.book-preloader.hidden .book-logo-center {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.1) rotate(1080deg);
}

/* ── Hero Wrapper — Premium Animated Background ─────────────── */
.hero-wrapper {
    position: relative;
    background: var(--hero-grad);
    color: var(--white);
    overflow: visible;
    padding-bottom: 30px;
}

@media (max-width: 768px) {
    .hero-wrapper {
        padding-bottom: 20px;
    }
}

/* Animated mesh gradient overlay — slow, organic color movement */
.hero-wrapper::before {
    content: '';
    position: absolute;
    inset: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(22,86,214,0.55) 0%, transparent 55%),
        radial-gradient(ellipse 60% 80% at 80% 70%, rgba(0,210,255,0.22) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 50% 10%, rgba(6,21,64,0.8) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 90% 20%, rgba(15,59,156,0.4) 0%, transparent 55%);
    animation: meshFlow 18s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
}

@keyframes meshFlow {
    0%   { transform: translate(0%, 0%) rotate(0deg) scale(1); }
    25%  { transform: translate(-3%, 2%) rotate(1deg) scale(1.04); }
    50%  { transform: translate(2%, -3%) rotate(-1deg) scale(1.02); }
    75%  { transform: translate(-1%, 4%) rotate(0.5deg) scale(1.05); }
    100% { transform: translate(3%, -1%) rotate(-0.5deg) scale(1.03); }
}

/* Glowing orbs — top-right anchor */
.hero-wrapper::after {
    content: '';
    position: absolute;
    top: -140px;
    right: -140px;
    width: 560px;
    height: 560px;
    background:
        radial-gradient(circle at 40% 40%, rgba(0,210,255,0.25) 0%, transparent 55%),
        radial-gradient(circle at 70% 70%, rgba(22,86,214,0.2) 0%, transparent 50%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: orbDrift 12s ease-in-out infinite alternate;
}

@keyframes orbDrift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-30px, 20px) scale(1.08); }
    100% { transform: translate(20px, -30px) scale(0.95); }
}

/* Mobile optimization: reduce orb size and animation speed */
@media (max-width: 768px) {
    .hero-wrapper::before {
        animation: meshFlow 28s ease-in-out infinite alternate;
    }
    
    .hero-wrapper::after {
        top: -80px;
        right: -80px;
        width: 320px;
        height: 320px;
        animation: orbDrift 16s ease-in-out infinite alternate;
        opacity: 0.7;
    }
    
    #heroCanvas {
        opacity: 0.8;
    }
}

/* Canvas sits above CSS backgrounds but below content */
#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
    position: relative;
    z-index: 100;
    padding: 0;
    background: rgba(6, 21, 64, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 21, 64, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    animation: navbarSlideDown 0.3s ease-out;
}

@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Top strip: brand on left, contact/social on right */
.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 12px 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Bottom strip: full-width nav links */
.nav-links-bar {
    display: flex;
    align-items: stretch;
    width: 100%;
    background: rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* The container inside nav-links-bar holds the full-width ul */
.nav-links-bar .container {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    padding: 0 40px;
}

.nav-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-social a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
    transition: background 0.22s ease, transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.nav-social a:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.26);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.14);
    transform: translateY(-1px);
}

.nav-social svg {
    width: 18px;
    height: 18px;
    display: block;
    color: #ffffff;
}

.nav-social a:focus-visible {
    outline: 2px solid rgba(0,210,255,0.36);
    outline-offset: 4px;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.78);
    font-size: 0.88rem;
}

.nav-contact a {
    color: rgba(255,255,255,0.92);
    transition: color 0.25s ease;
}

.nav-contact a:hover {
    color: var(--cyan);
}

/* Logo + Company Name */
.nav-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 6px;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    flex-shrink: 0;
}

.nav-brand:hover .logo-img {
    transform: scale(1.04);
    opacity: 0.92;
}

/* Company name beside the logo */
.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    white-space: nowrap;
}

.brand-name-top {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

.brand-name-sub {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(0, 210, 255, 0.85);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-brand:hover .brand-name-top { color: #00d2ff; }

/* Ensure dropdowns don't overflow viewport and adapt width */
/* Note: Additional dropdown styling is below in the "Dropdown Menu" section */

/* align dropdown left edge with parent by default */
.has-dropdown { position: relative; }
.has-dropdown > .dropdown-menu { left: 0; right: auto; }

/* Flip to open-left when there's no room on the right */
.dropdown-menu.open-left { left: auto; right: 0; }

/* Prevent dropdown from covering top-level nav links: increase stacking context on hover */
.nav-menu > li { position: relative; z-index: 10; }
.nav-menu > li:hover { z-index: 600; }

/* Mega menu panels: make them flow within viewport */
.dropdown-menu .mega-panel {
    max-width: 900px;
    width: auto;
}

/* Small screens: stack menu and use mobile toggle */
@media (max-width: 1024px) {
    .nav-main {
        padding: 8px 16px;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }
    .nav-info {
        display: none;
    }
    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 1300;
    }
    .nav-links-bar {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(6, 21, 64, 0.96);
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 18px 40px rgba(0,0,0,0.24);
    }
    .nav-links-bar.active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0 10px;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 1300;
    }
    .nav-links-bar .container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }
    .nav-menu { flex-direction: column; width: 100%; }
    .nav-menu > li { display: block; width: 100%; }
    .nav-menu > li > a { border-bottom: none; padding: 12px 16px; border-radius: 8px; width: 100%; }
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0 0 0 14px;
    }
    .nav-menu > li > a.active,
    .nav-menu > li > a:hover {
        background: rgba(255,255,255,0.08);
    }
}
.nav-brand:hover .brand-name-sub  { color: rgba(255,255,255,0.9); }

/* Hide subtitle on very small screens to avoid overflow */
@media (max-width: 480px) {
    .brand-name-sub { display: none; }
}

/* Navigation Links — full-width bar */
.nav-menu {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    margin-left: 0;
}

.nav-menu > li {
    position: relative;
    white-space: nowrap;
}

.nav-menu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 12px 14px;
    border-radius: 0;
    transition: var(--ease);
    letter-spacing: 0.01em;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
    border-bottom-color: var(--cyan);
}

/* Dropdown arrow */
.has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 2px;
    transition: transform 0.25s ease;
}

.has-dropdown:hover > a::after {
    transform: rotate(-180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0; /* anchor to parent by default */
    transform: translateX(0);
    background: rgba(6, 21, 64, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 14px 0 8px;
    min-width: 180px;
    max-width: 420px; /* prevent overly wide panels */
    width: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

/* Invisible bridge fills gap between nav link and dropdown */
.has-dropdown > a {
    position: relative;
}

.has-dropdown > a::before {
    content: '';
    position: absolute;
    bottom: -14px; left: 0; right: 0;
    height: 14px;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* When dropdown is near the right edge, flip it to avoid overflow */
.dropdown-menu.open-left {
    left: auto;
    right: 0;
    transform: translateX(0);
}

/* Large mega panels should be constrained and positioned below the link */
.dropdown-mega {
    min-width: 320px;
    max-width: 760px;
    width: clamp(320px, 46vw, 760px);
}

/* Ensure nav sits above content */
.nav-main { z-index: 1000; }

/* Make sure dropdown list items wrap and don't cause horizontal scroll */
.dropdown-menu li { white-space: normal; }

.dropdown-menu li a {
    display: block;
    padding: 9px 18px;
    color: rgba(255,255,255,0.82);
    font-size: 0.875rem;
    font-weight: 400;
    transition: var(--ease);
    border-left: 2px solid transparent;
}

.dropdown-menu li a:hover {
    color: var(--cyan);
    background: rgba(255,255,255,0.06);
    border-left-color: var(--cyan);
    padding-left: 22px;
}

/* Client Portal Icon Button */
.nav-user-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    flex-shrink: 0;
    transition: var(--ease);
    padding: 0;
}

.nav-user-btn:hover {
    background: var(--cyan);
    color: var(--blue-900);
    transform: scale(1.08);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 200;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Page Header Content (inside hero-wrapper on subpages) ── */
.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px 0 20px;
    color: var(--white);
}

.page-header-content .eyebrow {
    display: inline-block;
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.page-header-content h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.page-header-content p {
    color: rgba(255,255,255,0.82);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ── Animation Utilities ──────────────────────────────────── */
.animate-fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.animate-fade-in.appear {
    opacity: 1;
    transform: none;
}

/* ── Section Headings ─────────────────────────────────────── */
.section-label {
    text-align: center;
    margin-bottom: 56px;
}

.section-label .eyebrow {
    display: inline-block;
    color: var(--blue-600);
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-label h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--blue-800);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-label p {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 660px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #e0edff 0%, #c7dfff 100%);
    color: var(--blue-700);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.card:hover .card-icon {
    background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
    color: var(--white);
    transform: rotate(-4deg) scale(1.05);
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blue-800);
    margin-bottom: 10px;
}

.card p {
    font-size: 0.925rem;
    color: var(--gray-600);
    line-height: 1.75;
}

/* ── Grids ────────────────────────────────────────────────── */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    border: none;
    transition: var(--ease);
}

.btn-primary {
    background: var(--blue-700);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(15,59,156,0.3);
}

.btn-primary:hover {
    background: var(--blue-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15,59,156,0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.6);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--ease);
}

.btn-ghost:hover {
    background: var(--white);
    color: var(--blue-800);
    border-color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--blue-700);
    border: 1.5px solid var(--blue-700);
}

.btn-outline:hover {
    background: var(--blue-700);
    color: var(--white);
}

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-top: 40px;
}

.stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--gray-100);
    transition: background 0.3s ease;
}

.stat-item:last-child { border-right: none; }

.stat-item:hover {
    background: var(--gray-50);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue-700);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Tabs ─────────────────────────────────────────────────── */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: var(--ease);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--blue-700);
    color: var(--white);
    border-color: var(--blue-700);
    box-shadow: 0 4px 14px rgba(15,59,156,0.25);
}

.tab-content {
    display: none;
    animation: fadeUp 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* ── Team / Member Cards ──────────────────────────────────── */
.member-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan);
}

.member-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 18px;
    box-shadow: 0 6px 20px rgba(15,59,156,0.3);
}

.member-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 4px;
}

.member-card .position {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    background: var(--cyan-dim);
    padding: 3px 10px;
    border-radius: 20px;
}

.member-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ── Client / Testimonial Node Stage ─────────────────────── */
.section-clients {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 20%, rgba(0, 210, 255, 0.10), transparent 28%),
                radial-gradient(circle at 90% 10%, rgba(22, 86, 214, 0.14), transparent 25%),
                linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(245,250,255,0.98) 100%);
}

.section-clients::before,
.section-clients::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
    pointer-events: none;
}

.section-clients::before {
    top: -90px;
    left: -60px;
    background: radial-gradient(circle, rgba(0,210,255,0.22) 0%, transparent 55%);
}

.section-clients::after {
    bottom: -140px;
    right: -60px;
    background: radial-gradient(circle, rgba(6,21,64,0.16) 0%, transparent 52%);
}

.section-clients-header {
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-clients-header .eyebrow {
    display: inline-flex;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blue-700);
    font-weight: 700;
    font-size: 0.82rem;
}

.section-clients-header h2 {
    font-size: clamp(3rem, 4.4vw, 4.8rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 18px 0 16px;
    color: var(--blue-900);
}

.section-clients-header p {
    font-size: 1.08rem;
    color: var(--gray-600);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.85;
}

.clients-stage {
    position: relative;
    min-height: 620px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: center;
    z-index: 1;
}

.clients-stage__glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
}

.clients-stage__glow--left {
    top: 20%;
    left: 5%;
    background: radial-gradient(circle, rgba(0,210,255,0.24) 0%, transparent 60%);
}

.clients-stage__glow--right {
    bottom: 5%;
    right: 10%;
    background: radial-gradient(circle, rgba(15,59,156,0.18) 0%, transparent 55%);
}

.clients-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0,210,255,0.16);
    filter: blur(0.8px);
    opacity: 0.8;
    animation: particleFloat 12s ease-in-out infinite;
}

.particle-1 { top: 18%; left: 12%; animation-delay: 0s; }
.particle-2 { top: 70%; left: 18%; width: 14px; height: 14px; animation-delay: 2s; opacity: 0.7; }
.particle-3 { top: 36%; right: 16%; animation-delay: 4s; }
.particle-4 { bottom: 24%; left: 44%; width: 12px; height: 12px; animation-delay: 1.5s; opacity: 0.65; }
.particle-5 { bottom: 14%; right: 20%; width: 9px; height: 9px; animation-delay: 3.2s; opacity: 0.6; }

@keyframes particleFloat {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(0, -18px); }
}

.testimonial-node {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 16px;
}

.testimonial-node--1 { transform: translateY(-20px); }
.testimonial-node--2 { transform: translateY(10px); }
.testimonial-node--3 { transform: translateY(-10px); }

.testimonial-node:hover .testimonial-card {
    transform: translateY(-8px) scale(1.02);
}

.testimonial-node:hover .glide-svg path {
    stroke-opacity: 1;
}

.testimonial-card {
    position: relative;
    width: min(100%, 360px);
    padding: 34px 34px 30px;
    background: rgba(255,255,255,0.72);
    border-radius: 32px;
    box-shadow: 0 40px 110px rgba(15,59,156,0.09);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(255,255,255,0.75);
    overflow: hidden;
    z-index: 2;
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.testimonial-icon {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 18px 42px rgba(15,59,156,0.12);
    color: var(--blue-800);
    font-size: 2rem;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-node:hover .testimonial-icon {
    transform: scale(1.05);
    box-shadow: 0 24px 60px rgba(15,59,156,0.18);
}

.testimonial-card h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 16px;
    color: var(--blue-900);
}

.testimonial-card p {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.85;
    letter-spacing: -0.01em;
}

.testimonial-path {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.glide-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.glide-svg path {
    fill: none;
    stroke: rgba(0,210,255,0.25);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: blur(0.5px);
    transition: stroke-opacity 0.35s ease;
}

.glide-orb {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0,210,255,1);
    box-shadow: 0 0 22px rgba(0,210,255,0.65);
    filter: blur(0.8px);
    transform: translate(-50%, -50%);
    animation: orbMove 10s ease-in-out infinite;
}

.glide-orb--1 { animation-duration: 11s; animation-delay: 0s; }
.glide-orb--2 { animation-duration: 9.2s; animation-delay: 1.2s; }
.glide-orb--3 { animation-duration: 10.8s; animation-delay: 0.7s; }

.testimonial-node:hover .glide-orb {
    box-shadow: 0 0 32px rgba(0,210,255,0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes orbMove {
    0%, 100% { transform: translate(-50%, -50%) translateX(0) translateY(0); }
    25% { transform: translate(-50%, -50%) translateX(12px) translateY(-18px); }
    50% { transform: translate(-50%, -50%) translateX(140px) translateY(-70px); }
    75% { transform: translate(-50%, -50%) translateX(260px) translateY(-32px); }
}

@keyframes floatNode {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

.testimonial-node--1 { animation: floatNode 6s ease-in-out infinite; }
.testimonial-node--2 { animation: floatNode 6.4s ease-in-out infinite; animation-delay: 0.3s; }
.testimonial-node--3 { animation: floatNode 5.8s ease-in-out infinite; animation-delay: 0.15s; }

.testimonial-node {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.testimonial-node.appear {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-node--1.appear { transition-delay: 0.12s; }
.testimonial-node--2.appear { transition-delay: 0.24s; }
.testimonial-node--3.appear { transition-delay: 0.36s; }

@media (max-width: 1024px) {
    .clients-stage { display: grid; grid-template-columns: 1fr; gap: 40px; min-height: auto; }
    .section-clients-header { margin-bottom: 40px; }
    .testimonial-node { padding: 18px 10px; }
    .testimonial-card { width: 100%; padding: 30px 26px; }
    .clients-stage__glow { width: 320px; height: 320px; }
    .testimonial-icon { width: 76px; height: 76px; font-size: 1.9rem; }
}

@media (max-width: 768px) {
    .section-clients { padding: 70px 0; }
    .section-clients-header h2 { font-size: clamp(2.4rem, 7vw, 3.4rem); }
    .testimonial-card { padding: 28px 22px; border-radius: 28px; }
    .glide-svg path { stroke-width: 2.2; }
    .glide-orb { width: 14px; height: 14px; }
    .testimonial-icon { width: 70px; height: 70px; }
}

@media (max-width: 580px) {
    .section-clients-header { text-align: center; }
    .testimonial-node { padding: 12px 0; }
    .clients-stage { gap: 32px; }
    .testimonial-card { padding: 24px 18px; }
    .testimonial-card h3 { font-size: 1.15rem; }
    .testimonial-card p { font-size: 0.98rem; }
    .glide-svg { display: none; }
    .glide-orb { display: none; }
    .particle { opacity: 0.4; }
}

/* ── Highlight / Feature Strip ────────────────────────────── */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-strip-item {
    padding: 36px 28px;
    background: var(--white);
    border-right: 1px solid var(--gray-100);
    transition: background 0.3s ease;
}

.feature-strip-item:last-child { border-right: none; }
.feature-strip-item:hover { background: var(--gray-50); }

.feature-strip-item .icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.feature-strip-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 8px;
}

.feature-strip-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ── Products Grid ────────────────────────────────────────── */
.product-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue-600);
    background: var(--cyan-dim);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

/* ── Services List ────────────────────────────────────────── */
.service-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}

/* ── Timeline ─────────────────────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 36px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--blue-700), var(--cyan));
}

.timeline-item {
    position: relative;
    margin-bottom: 36px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue-700);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--blue-700);
}

.timeline-year {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.timeline-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 6px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ── Contact Elements ─────────────────────────────────────── */
.contact-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: var(--ease);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--cyan);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 4px;
}

.contact-card p, .contact-card a {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-card a:hover { color: var(--blue-600); }

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--gray-800);
    background: var(--white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--blue-600);
    box-shadow: 0 0 0 3px rgba(22,86,214,0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 130px;
}

/* ── Gallery ──────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-100);
    position: relative;
    cursor: pointer;
}

.gallery-item-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 100%);
    color: rgba(255,255,255,0.6);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item-inner {
    transform: scale(1.05);
}

/* ── News Cards ───────────────────────────────────────────── */
.news-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card-img {
    height: 180px;
    background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.5);
}

.news-card-body {
    padding: 24px;
}

.news-meta {
    font-size: 0.78rem;
    color: var(--gray-400);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.news-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-body p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-700);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.read-more:hover { color: var(--blue-600); }

/* ── Highlight Box ────────────────────────────────────────── */
.highlight-box {
    background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
    color: var(--white);
    border-radius: 18px;
    padding: 60px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 28px 28px;
}

.highlight-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    position: relative;
}

.highlight-box p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto 28px;
    line-height: 1.8;
    position: relative;
}

.highlight-box .btn-ghost {
    position: relative;
}

/* ── Projects Cards ───────────────────────────────────────── */
.project-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-card-header {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.5);
}

.project-card-body {
    padding: 24px;
}

.project-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.badge-completed { background: rgba(16,185,129,0.1); color: var(--success); }
.badge-ongoing   { background: rgba(245,158,11,0.1);  color: var(--warning); }

.project-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blue-800);
    margin-bottom: 8px;
}

.project-card-body p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
    background: linear-gradient(135deg, #061540 0%, #0a2060 100%);
    color: rgba(255,255,255,0.8);
    padding: 70px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.footer-brand-logo {
    height: 70px;
    width: 70px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 10px;
    margin-bottom: 16px;
    display: block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--ease);
}

.footer-social a:hover {
    background: var(--cyan);
    color: var(--blue-900);
    border-color: var(--cyan);
}

.footer-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: var(--ease);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a::before {
    content: '›';
    color: var(--cyan);
    font-size: 1rem;
    opacity: 0;
    transition: var(--ease);
    margin-right: -4px;
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
    margin-right: 0;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}

.footer-contact-item .icon {
    color: var(--cyan);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    position: relative;
}

/* ── Scroll To Top ────────────────────────────────────────── */
#scrollToTopBtn {
    position: fixed !important;
    bottom: 28px !important;
    right: 28px !important;
    width: 44px !important;
    height: 44px !important;
    background: var(--blue-700) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 1.1rem !important;
    cursor: pointer !important;
    z-index: 999 !important;
    box-shadow: 0 4px 14px rgba(15,59,156,0.35) !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

#scrollToTopBtn:hover {
    background: var(--blue-600) !important;
    transform: translateY(-3px) !important;
}

/* Tablet and smaller: additional responsive adjustments */
@media (max-width: 768px) {
    .container, .container-lg {
        padding: 0 16px !important;
    }
    .has-dropdown .dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: rgba(255,255,255,0.05);
        box-shadow: none;
        border: none;
        border-radius: 8px;
        margin-top: 4px;
        padding: 4px 0;
    }

    .has-dropdown:hover > a::after,
    .has-dropdown > a::after { display: none; }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .feature-strip { grid-template-columns: 1fr; }
    .feature-strip-item { border-right: none; border-bottom: 1px solid var(--gray-100); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .grid-3 { grid-template-columns: 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .highlight-box { padding: 40px 24px; }
    
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
        grid-template-columns: unset;
    }
    
    .footer-grid > div:not(:first-child) {
        display: none;
    }
    
    .footer-brand-logo {
        height: 50px;
        width: 50px;
        margin-bottom: 12px;
    }
    
    .footer-brand-desc {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .footer-social {
        gap: 8px;
        margin-bottom: 24px;
    }
    
    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .footer-col {
        display: none;
    }
    
    .footer-col:first-child {
        display: block;
    }
    
    .footer-col h4 {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
    
    .footer-col ul li {
        margin-bottom: 4px;
    }
    
    .footer-col ul li a {
        font-size: 0.75rem;
    }
    
    .footer-contact-item {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .footer-bottom {
        padding: 16px 0;
        font-size: 0.7rem;
        flex-direction: column;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .tab-nav { gap: 6px; }
    .tab-btn { padding: 8px 16px; font-size: 0.82rem; }
}


/* ══════════════════════════════════════════════════════════════
   PREMIUM GALLERY OVERHAUL
   ══════════════════════════════════════════════════════════════ */

/* Featured Swiper Carousel */
.featured-swiper {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: var(--shadow-lg);
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-img-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(6,21,64,0.85) 0%, rgba(6,21,64,0.1) 60%, rgba(0,0,0,0) 100%);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    z-index: 10;
    color: var(--white);
}

.carousel-caption h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--cyan);
}

.carousel-caption p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Pagination & Nav */
.swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: var(--cyan);
    opacity: 1;
}
.swiper-button-next, .swiper-button-prev {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: var(--cyan);
    color: var(--blue-900);
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 30px;
    color: var(--gray-600);
    font-weight: 500;
    cursor: pointer;
    transition: var(--ease);
    font-size: 0.95rem;
}

.filter-btn:hover {
    border-color: var(--cyan);
    color: var(--blue-700);
}

.filter-btn.active {
    background: var(--blue-700);
    color: var(--white);
    border-color: var(--blue-700);
    box-shadow: var(--shadow-md);
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.media-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--ease);
    display: flex;
    flex-direction: column;
}

.media-item.hide {
    display: none;
}

.media-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Video Wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 5;
    pointer-events: none;
}

/* Photo Items */
.media-item.photo {
    cursor: zoom-in;
    flex: 1;
}

.media-item.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    aspect-ratio: 16 / 9;
}

.media-item.photo:hover img {
    transform: scale(1.08);
}

/* Image Caption - Appears Below Image */
.media-caption {
    padding: 12px 16px;
    background: var(--white);
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid #f1f5f9;
    word-break: break-word;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 21, 64, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--ease);
}

.media-item.photo:hover .media-overlay {
    opacity: 1;
}

.media-icon {
    font-size: 2rem;
    color: var(--cyan);
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.media-overlay h4 {
    color: var(--white);
    font-size: 1.2rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.media-item.photo:hover .media-icon,
.media-item.photo:hover .media-overlay h4 {
    transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(6, 21, 64, 0.95);
    backdrop-filter: blur(8px);
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

#lightboxCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--white);
    padding: 15px 0;
    height: 150px;
    font-size: 1.1rem;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: var(--gray-400);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}


/* Global Admin Login Modal */
.admin-login-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6, 21, 64, 0.9);
    backdrop-filter: blur(8px);
    z-index: 100000;
    align-items: center;
    justify-content: center;
}
.admin-login-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}
.admin-login-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.admin-login-content h2 {
    color: var(--blue-900);
    margin-bottom: 10px;
}
.admin-login-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    font-size: 0.9rem;
}
.admin-login-content input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 1rem;
}
.admin-login-content input:focus {
    outline: none;
    border-color: var(--cyan);
}


/* NEW Pin Badge */
.badge-new {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #ff3b30;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(255, 59, 48, 0.4);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Category Headers */
.category-header {
    font-size: 2rem;
    color: var(--blue-900);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--cyan);
    display: inline-block;
    padding-bottom: 5px;
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 3s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    animation: none;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive adjustment for Mobile */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
    }
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}


/* ============================================================
   HOMEPAGE CUSTOM COMPONENT STYLES
   ============================================================ */

/* ── Hero Content Layout ── */
.hero-content { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; padding: 24px 0 20px 0; position: relative; z-index: 10; }

.hero-text h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    letter-spacing: -1px;
}

.hero-text h1 span {
    color: var(--cyan);
}

.hero-text .subhead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--ease);
    cursor: pointer;
    text-decoration: none;
}

.btn-cta.btn-solid {
    background: var(--cyan);
    color: var(--blue-900);
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

.btn-cta.btn-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 210, 255, 0.5);
    background: var(--white);
    color: var(--blue-900);
}

.btn-cta.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: transparent;
}

.btn-cta.btn-outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* ── Hero Stats ── */










/* ── Hero Image & Frame ── */
.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.hero-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--cyan);
    opacity: 0.8;
}

.hero-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: 10%;
    left: -5%;
    background: rgba(10, 25, 41, 0.85);
    backdrop-filter: blur(12px);
    color: var(--white);
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 20;
    border: 1px solid rgba(255,255,255,0.1);
    border-left: 4px solid var(--cyan);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.badge-num {
    color: var(--cyan);
}

.hero-badge .badge-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cyan);
    margin-bottom: 4px;
    line-height: 1;
}

/* ── Tech Partner Strip ── */
.tech-strip {
    background: var(--blue-900);
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.tech-strip-label {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 600;
    margin-bottom: 16px;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

.tech-logos {
    display: flex;
    gap: 50px;
    padding-right: 50px;
    flex-shrink: 0;
}

.tech-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--ease);
}

.tech-logo:hover {
    color: var(--cyan);
}

.tech-logo-icon {
    font-size: 1.1rem;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Products Grid & Cards ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    text-align: left;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cyan);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    display: inline-block;
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-card p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ── Admin Login Modal ── */
.admin-login-modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 21, 64, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-login-modal.active {
    display: flex;
    opacity: 1;
}

.admin-login-content {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-xl);
    border: 1.5px solid rgba(0, 210, 255, 0.25);
    text-align: center;
    animation: modalSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.admin-login-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 10px;
}

.admin-login-content p {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.admin-login-content input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--ease);
    text-align: center;
    background: var(--gray-50);
}

.admin-login-content input[type="password"]:focus {
    border-color: var(--blue-600);
    outline: none;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(22, 86, 214, 0.15);
}

/* ── Responsive Homepage Overrides ── */
@media (max-width: 992px) {
    .hero-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: start;
        padding: 40px 0;
        position: relative;
        z-index: 10;
    }

    .hero-text .subhead {
        margin-left: auto;
        margin-right: auto;
        max-width: 700px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-circle {
        width: 320px;
        height: 320px;
        margin: 0 auto;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 24px 16px;
    }

    .hero-text h1 {
        font-size: clamp(1.6rem, 6.5vw, 2.2rem);
        margin-bottom: 8px;
        line-height: 1.15;
        font-weight: 800;
        letter-spacing: -0.02em;
    }

    .hero-text .subhead {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 12px;
        color: rgba(255, 255, 255, 0.8);
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 12px;
        justify-content: flex-start;
    }

    .btn-cta {
        padding: 12px 22px;
        font-size: 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 20px;
        width: 100%;
    }

    .h-stat {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
        text-align: center;
        padding: 16px 12px;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(0, 210, 255, 0.12);
        border-radius: 12px;
        min-width: 0;
        transition: all 0.3s ease;
    }

    .h-stat:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(0, 210, 255, 0.3);
    }

    .h-stat-icon {
        font-size: 1.4rem;
        flex-shrink: 0;
        background: rgba(0, 210, 255, 0.2);
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
    }

    .h-stat-content {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .h-stat-num {
        font-size: 1.3rem;
        font-weight: 800;
        color: var(--white);
        word-break: break-word;
        line-height: 1.2;
    }

    .h-stat-label {
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.2;
        word-break: break-word;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        font-weight: 600;
    }

    .hero-circle {
        width: 160px;
        height: 160px;
        margin: 0 auto 12px;
        flex-shrink: 0;
        border: 6px solid rgba(255, 255, 255, 0.08);
    }

    .hero-circle::after {
        border: 2px solid var(--cyan);
    }

    .hero-image-wrap {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 0;
        margin-bottom: 8px;
    }

    .hero-badge {
        position: static;
        transform: none;
        bottom: auto;
        left: auto;
        width: calc(100% - 20px);
        max-width: 260px;
        padding: 10px 12px;
        box-sizing: border-box;
        margin: 0 auto;
        font-size: 0.75rem;
        text-align: center;
        border-radius: 10px;
    }

    .hero-badge .badge-num {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}


/* ── Additional Homepage Classes ── */
.bg-alt {
    background-color: var(--gray-50) !important;
}

.tab-section {
    position: relative;
}

.cta-strip {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.15) 0%, transparent 50%);
    z-index: -1;
}

.cta-strip h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-strip p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-strip .btn-ghost {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--cyan);
    color: var(--cyan);
    border-radius: 30px;
    font-weight: 600;
    transition: var(--ease);
    text-decoration: none;
}

.cta-strip .btn-ghost:hover {
    background: var(--cyan);
    color: var(--blue-900);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
    transform: translateY(-2px);
}

/* Enterprise Services Upgrades */
.container-lg { max-width: 1440px; margin: 0 auto; padding: 0 40px; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Accent color variations */
.service-card.card-accent-blue {
    border-top: 4px solid #1656d6;
}

.service-card.card-accent-purple {
    border-top: 4px solid #8b5cf6;
}

.service-card.card-accent-green {
    border-top: 4px solid #10b981;
}

.service-card.card-accent-orange {
    border-top: 4px solid #f97316;
}

.service-card.card-accent-cyan {
    border-top: 4px solid #00d2ff;
}

.service-card.card-accent-red {
    border-top: 4px solid #ef4444;
}

.service-card.card-accent-navy {
    border-top: 4px solid #001f5c;
}

.service-card.card-accent-pink {
    border-top: 4px solid #ec4899;
}

.service-card.card-accent-slate {
    border-top: 4px solid #64748b;
}

.service-card.card-accent-teal {
    border-top: 4px solid #14b8a6;
}

.service-card.card-accent-amber {
    border-top: 4px solid #f59e0b;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.12);
    border-top-width: 6px;
}

.service-card .card-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    width: fit-content;
}

.service-card.card-accent-blue .card-badge {
    background: rgba(22, 86, 214, 0.1);
    color: #1656d6;
}

.service-card.card-accent-purple .card-badge {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.service-card.card-accent-green .card-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.service-card.card-accent-orange .card-badge {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.service-card.card-accent-cyan .card-badge {
    background: rgba(0, 210, 255, 0.1);
    color: #00d2ff;
}

.service-card.card-accent-red .card-badge {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.service-card.card-accent-navy .card-badge {
    background: rgba(0, 31, 92, 0.1);
    color: #001f5c;
}

.service-card.card-accent-pink .card-badge {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.service-card.card-accent-slate .card-badge {
    background: rgba(100, 116, 139, 0.1);
    color: #64748b;
}

.service-card.card-accent-teal .card-badge {
    background: rgba(20, 184, 166, 0.1);
    color: #14b8a6;
}

.service-card.card-accent-amber .card-badge {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.service-card .card-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 20px;
    background: rgba(22, 86, 214, 0.08);
    border-radius: 14px;
    width: fit-content;
    transition: all 0.4s ease;
    line-height: 1;
}

.service-card.card-accent-blue .card-icon {
    background: rgba(22, 86, 214, 0.1);
}

.service-card.card-accent-purple .card-icon {
    background: rgba(139, 92, 246, 0.1);
}

.service-card.card-accent-green .card-icon {
    background: rgba(16, 185, 129, 0.1);
}

.service-card.card-accent-orange .card-icon {
    background: rgba(249, 115, 22, 0.1);
}

.service-card.card-accent-cyan .card-icon {
    background: rgba(0, 210, 255, 0.1);
}

.service-card.card-accent-red .card-icon {
    background: rgba(239, 68, 68, 0.1);
}

.service-card.card-accent-navy .card-icon {
    background: rgba(0, 31, 92, 0.1);
}

.service-card.card-accent-pink .card-icon {
    background: rgba(236, 72, 153, 0.1);
}

.service-card.card-accent-slate .card-icon {
    background: rgba(100, 116, 139, 0.1);
}

.service-card.card-accent-teal .card-icon {
    background: rgba(20, 184, 166, 0.1);
}

.service-card.card-accent-amber .card-icon {
    background: rgba(245, 158, 11, 0.1);
}

.service-card:hover .card-icon {
    transform: scale(1.12) rotate(2deg);
}

.service-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
    line-height: 1.35;
}

.service-card p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--gray-600);
    margin-bottom: 18px;
    flex-grow: 1;
}

/* Card features list */
.service-card .card-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-card .card-features li {
    font-size: 0.95rem;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.service-card .card-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--gray-400);
}

.service-card.card-accent-blue .card-features li::before { color: #1656d6; }
.service-card.card-accent-purple .card-features li::before { color: #8b5cf6; }
.service-card.card-accent-green .card-features li::before { color: #10b981; }
.service-card.card-accent-orange .card-features li::before { color: #f97316; }
.service-card.card-accent-cyan .card-features li::before { color: #00d2ff; }
.service-card.card-accent-red .card-features li::before { color: #ef4444; }
.service-card.card-accent-navy .card-features li::before { color: #001f5c; }
.service-card.card-accent-pink .card-features li::before { color: #ec4899; }
.service-card.card-accent-slate .card-features li::before { color: #64748b; }
.service-card.card-accent-teal .card-features li::before { color: #14b8a6; }
.service-card.card-accent-amber .card-features li::before { color: #f59e0b; }

/* CTA Button */
.btn-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.service-card.card-accent-blue .btn-card-cta {
    color: #1656d6;
    border-color: #1656d6;
    background: transparent;
}

.service-card.card-accent-blue .btn-card-cta:hover {
    background: #1656d6;
    color: white;
    transform: translateX(4px);
}

.service-card.card-accent-purple .btn-card-cta {
    color: #8b5cf6;
    border-color: #8b5cf6;
}

.service-card.card-accent-purple .btn-card-cta:hover {
    background: #8b5cf6;
    color: white;
    transform: translateX(4px);
}

.service-card.card-accent-green .btn-card-cta {
    color: #10b981;
    border-color: #10b981;
}

.service-card.card-accent-green .btn-card-cta:hover {
    background: #10b981;
    color: white;
    transform: translateX(4px);
}

.service-card.card-accent-orange .btn-card-cta {
    color: #f97316;
    border-color: #f97316;
}

.service-card.card-accent-orange .btn-card-cta:hover {
    background: #f97316;
    color: white;
    transform: translateX(4px);
}

.service-card.card-accent-cyan .btn-card-cta {
    color: #00d2ff;
    border-color: #00d2ff;
}

.service-card.card-accent-cyan .btn-card-cta:hover {
    background: #00d2ff;
    color: #000;
    transform: translateX(4px);
}

.service-card.card-accent-red .btn-card-cta {
    color: #ef4444;
    border-color: #ef4444;
}

.service-card.card-accent-red .btn-card-cta:hover {
    background: #ef4444;
    color: white;
    transform: translateX(4px);
}

.service-card.card-accent-navy .btn-card-cta {
    color: #001f5c;
    border-color: #001f5c;
}

.service-card.card-accent-navy .btn-card-cta:hover {
    background: #001f5c;
    color: white;
    transform: translateX(4px);
}

.service-card.card-accent-pink .btn-card-cta {
    color: #ec4899;
    border-color: #ec4899;
}

.service-card.card-accent-pink .btn-card-cta:hover {
    background: #ec4899;
    color: white;
    transform: translateX(4px);
}

.service-card.card-accent-slate .btn-card-cta {
    color: #64748b;
    border-color: #64748b;
}

.service-card.card-accent-slate .btn-card-cta:hover {
    background: #64748b;
    color: white;
    transform: translateX(4px);
}

.service-card.card-accent-teal .btn-card-cta {
    color: #14b8a6;
    border-color: #14b8a6;
}

.service-card.card-accent-teal .btn-card-cta:hover {
    background: #14b8a6;
    color: white;
    transform: translateX(4px);
}

.service-card.card-accent-amber .btn-card-cta {
    color: #f59e0b;
    border-color: #f59e0b;
}

.service-card.card-accent-amber .btn-card-cta:hover {
    background: #f59e0b;
    color: white;
    transform: translateX(4px);
}

/* Tablet & Mobile adjustments */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
    .service-card {
        padding: 28px 24px;
    }
    .service-card .card-icon {
        font-size: 3rem;
        padding: 16px;
    }
    .service-card h3 {
        font-size: 1.25rem;
    }
}

/* Hero Stats Upgrade — Desktop baseline */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
}

/* Mobile override: 2x2 grid */
@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 16px;
    }
}

.h-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.h-stat-icon {
    font-size: 1.25rem;
    background: rgba(0, 210, 255, 0.15);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.h-stat-content {
    display: flex;
    flex-direction: column;
}

.h-stat-num {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 2px;
    display: flex;
    align-items: baseline;
}

.h-stat-num .plus {
    color: var(--cyan);
    font-size: 1.25rem;
    margin-left: 2px;
}

.h-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}
