/*
Theme Name: Qsera Theme
Description: A premium WordPress theme for Qsera.
Version: 1.0
Author: Antigravity
Text Domain: qsera-theme
*/

:root {
    --bg-body: #F8FAFC;
    --bg-dark: #0F172A;
    --bg-card: #FFFFFF;
    --text-main: #0F172A;
    --text-light: #F8FAFC;
    --text-muted: #64748B;
    --brand-red: #EF4444;
    --brand-gold: #F59E0B;
    --brand-blue: #3B82F6;
    --gradient-primary: linear-gradient(135deg, #EF4444 0%, #F59E0B 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-lg: 1.5rem;
    --radius-pill: 9999px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);

    /* Fluid Spacing & Typography */
    --gap-base: clamp(1rem, 3vw, 2.5rem);
    --section-padding: clamp(3rem, 10vw, 8rem);
    --h1-size: clamp(2.5rem, 8vw, 5rem);
    --h2-size: clamp(2rem, 6vw, 3.5rem);
    --p-size: clamp(1rem, 2vw, 1.15rem);
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: 0.3s;
}

.mobile-dropdown-toggle:hover,
.nav-item.dropdown.active .mobile-dropdown-toggle {
    color: var(--brand-red);
    transform: rotate(180deg);
}

/* Prevent horizontal overflow globally */
html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Lock body when mobile menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

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

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

h1 {
    font-size: var(--h1-size);
}

h2 {
    font-size: var(--h2-size);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-muted);
    font-size: var(--p-size);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s var(--ease-out);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto clamp(3rem, 8vw, 5rem);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.1;
}

.section-title span {
    color: var(--brand-red);
}

/* --- NAVIGATION --- */
/* Mobile-First: Start with mobile styles, then override for desktop */

.nav-floating {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.98);
    /* backdrop-filter removed to prevent fixed positioning containment issues */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: 0.3s var(--ease-out);
    overflow: visible !important;
}

/* Hamburger Menu Toggle - Visible on mobile/tablet only */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle .bar {
    width: 26px;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 3px;
    transition: 0.3s ease;
    display: block;
}

/* Hamburger Animation when active */
.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Logo Styling */
.nav-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-floating .logo-img {
    flex-shrink: 0;
}

.nav-floating .logo-img img {
    height: 45px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    object-fit: contain;
}

.nav-floating .logo-img:hover img {
    transform: scale(1.05);
}

.nav-logo span {
    color: var(--brand-red);
}

/* Mobile Navigation Menu */
.nav-links {
    position: fixed;
    top: 70px !important;
    left: 0 !important;
    right: 0;
    width: 100% !important;
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    /* Dynamic viewport height for mobile browsers */
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    /* display: flex; */
    display: none;
    /* Forced hidden initially for debugging */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    gap: 1.5rem;
    /* transform: translateX(100%); */
    /* transition: transform 0.4s var(--ease-out); */
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.nav-links.active {
    display: flex !important;
    /* transform: translateX(0) !important; */
    visibility: visible !important;
    opacity: 1 !important;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.nav-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--brand-red);
}

/* Desktop Book Demo CTA - Hidden on mobile */
.nav-cta {
    display: none;
}

/* Dropdown Menu - Mobile */
.nav-item.dropdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dropdown-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    background: rgba(241, 245, 249, 0.9);
    padding: 0;
    margin: 0;
    /* Reset margin */
    width: 100%;
    margin-top: 0.5rem;
}

.nav-item.dropdown.active .dropdown-menu {
    display: flex;
}

/* Ensure no CSS arrow on mobile */
.nav-link.dropdown-toggle::after {
    display: none !important;
    content: none !important;
}

/* Mobile Nav Row Support */
.nav-label-row {
    display: flex;
    align-items: center;
    gap: 2px;
    /* Tighter gap */
    width: 100%;
    justify-content: center;
}

.nav-label-row .nav-link {
    padding-right: 2px;
    /* Reduce padding between text and arrow */
    margin: 0;
}

.dropdown-item {
    padding: 12px 0;
    /* Vertical padding only, let width handle horizontal */
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    text-align: center !important;
    /* Force center alignment */
    width: 100%;
    display: flex !important;
    /* Flexbox for robust centering */
    justify-content: center;
    align-items: center;
    transition: color 0.3s ease;
    margin-left: 0;
}

@media (max-width: 768px) {

    .dropdown-menu {
        position: static;
        transform: none;
        width: 100%;
        box-shadow: none;
        background: transparent;
        display: none;
        margin-left: 365px;
    }
}

@media (min-width: 300px)and (max-width: 600px) {

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


.dropdown-item:hover {
    color: var(--brand-red);
}

/* ==========================================================================
   DESKTOP STYLES (min-width: 1024px)
   ========================================================================== */
@media (min-width: 1024px) {
    .nav-floating {
        height: 80px;
        padding: 0 40px;
        width: 100%;
    }

    /* Hide hamburger and mobile toggle on desktop */
    .mobile-menu-toggle,
    .mobile-dropdown-toggle {
        display: none;
    }

    .nav-floating .logo-img img {
        height: 60px;
    }

    /* Desktop horizontal navigation */
    .nav-links {
        position: static;
        width: auto !important;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        display: flex !important;
        /* Restore visibility on desktop */
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        padding-top: 0;
        gap: 35px;
        transform: none;
        overflow: visible;
    }

    .nav-link {
        font-size: 0.95rem;
        padding: 0;
    }

    /* Show Book Demo CTA on desktop */
    .nav-cta {
        display: block;
        background: var(--text-main);
        color: white;
        padding: 12px 24px;
        border-radius: var(--radius-pill);
        font-size: 0.9rem;
        font-weight: 800;
        flex-shrink: 0;
        transition: 0.3s var(--ease-out);
    }

    .nav-cta:hover {
        background: var(--brand-red);
        transform: translateY(-2px);
        box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.4);
    }

    /* Desktop Dropdown */
    .nav-item.dropdown {
        position: relative;
        flex-direction: row;
        width: auto;
        height: 100%;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        background: white;
        min-width: 200px;
        width: max-content;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 10px;
        opacity: 0;
        visibility: hidden;
        transition: 0.3s ease;
        border: 1px solid rgba(0, 0, 0, 0.05);
        margin-top: 0;
        display: block;
    }

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

    .dropdown-item {
        display: block;
        padding: 10px 15px;
        color: var(--text-main);
        font-weight: 500;
        border-radius: 8px;
        font-size: 0.9rem;
        text-align: left;
        white-space: nowrap;
        width: auto;
    }

    .dropdown-item:hover {
        background: #F1F5F9;
        color: var(--brand-red);
    }

    /* Arrow indicator for dropdown */
    .nav-link.dropdown-toggle::after {
        content: '\f107';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        margin-left: 6px;
        font-size: 0.8em;
        transition: 0.3s;
    }

    .nav-item.dropdown:hover .nav-link.dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Fixed offset for sections to avoid navigation overlap */
section[id] {
    scroll-margin-top: 120px;
}

/* --- HERO (CINEMATIC) --- */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--bg-dark);
    color: var(--text-light);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero Glass Background Elements */
.hero-bg-shapes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    transition: 0.1s var(--ease-out);
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(239, 68, 68, 0.15);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.1);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: rgba(245, 158, 11, 0.08);
    top: 30%;
    left: 40%;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    text-align: center;
}

.hero-text h1 {
    font-size: var(--h1-size);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: #94A3B8;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.5;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
}

.hero-btn-primary,
.hero-btn-secondary {
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-btns {
        flex-direction: row;
        justify-content: center;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: auto;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 80px;
        text-align: left;
        align-items: center;
    }

    .hero-text p {
        margin-left: 0;
    }

    .hero-btns {
        justify-content: flex-start;
    }
}

.hero-btn-primary {
    background: var(--brand-red);
    color: white;
    padding: 20px 48px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 20px 40px -10px rgba(239, 68, 68, 0.5);
}

.hero-btn-primary:hover {
    background: #DC2626;
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.6);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 20px 48px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}

.hero-btn-secondary:hover {
    background: white;
    color: var(--brand-red);
    transform: translateY(-3px);
    border-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-visual {
    position: relative;
}

.visual-container {
    width: 100%;
    aspect-ratio: 1;
    /* background: rgba(255, 255, 255, 0.02); */
    /* border: 1px solid rgba(255, 255, 255, 0.05); */
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

#network-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* --- STATS BAR --- */
.stats-bar {
    background: var(--bg-card);
    padding: clamp(30px, 6vw, 50px) 0;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    z-index: 20;
    width: 100%;
}

.stats-flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 1.5rem);
    text-align: center;
}

@media (min-width: 1024px) {
    .stats-flex {
        display: flex;
        justify-content: space-between;
        gap: 0;
        text-align: left;
    }
}

.stat-box {
    text-align: inherit;
}

.stat-num {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    color: var(--text-main);
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: clamp(1px, 0.3vw, 2px);
}

/* --- BENTO SERVICES (DYNAMIC) --- */
.services-section {
    background: var(--bg-body);
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: minmax(320px, auto);
        grid-auto-flow: dense;
    }
}

.bento-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 40px;
    border: 1px solid rgba(117, 117, 117, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.bento-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--brand-red);
}

/* Bento Card Styles */
.bento-large {
    grid-column: span 1;
    background: var(--bg-dark);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
    .bento-large {
        grid-column: span 2;
    }
}

.bento-large:hover {
    background: #1e293b;
}

.bento-wide,
.bento-tall {
    grid-column: span 1;
    grid-row: span 1;
}

@media (min-width: 1024px) {
    .bento-wide {
        grid-column: span 2;
    }

    .bento-tall {
        grid-row: span 2;
    }
}

.bento-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: white;
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.bento-large .bento-icon {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.bento-item h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.bento-item p {
    font-size: 1.05rem;
}

.bento-large p {
    color: #94A3B8;
    font-size: 1.2rem;
}

.bento-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--brand-red);
    font-size: 1rem;
    margin-top: 24px;
}

.bento-link i {
    transition: 0.3s;
}

.bento-item:hover .bento-link i {
    transform: translateX(8px);
}

.bento-large .bento-link {
    color: var(--brand-gold);
}

/* --- PROCESS (HORIZONTAL) --- */
.process-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.process-card {
    background: white;
    padding: 48px;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.process-num {
    width: 60px;
    height: 60px;
    background: var(--brand-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 32px;
}

/* --- TESTIMONIALS (DEPLOYMENTS) --- */
.testimonial-section {
    background: white;
}

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

.testimonial-card {
    background: var(--bg-body);
    padding: 40px;
    border-radius: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card i.fa-quote-left {
    font-size: 2rem;
    color: #E2E8F0;
    margin-bottom: 24px;
}

.testimonial-card blockquote {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

.testimonial-author {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}

.testimonial-author h4 {
    font-size: 1.1rem;
}

.testimonial-author span {
    color: var(--brand-red);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* --- GLOBAL REACH --- */
.global-map-section {
    background: #F1F5F9;
    text-align: center;
}

.map-container {
    max-width: 1100px;
    width: 100%;
    aspect-ratio: 2/1;
    /* Matches widespread map aspect ratios roughly */
    margin: 60px auto 0;
    background: white;
    border-radius: 40px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-bg-dotted {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: radial-gradient(#64748B 2px, transparent 2px);
    background-size: 20px 20px;
}

.map-svg-overlay {
    position: absolute;
    inset: 0;
    background: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.1;
    filter: grayscale(1);
    pointer-events: none;
}

.hotspot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--brand-red);
    border-radius: 50%;
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0.2);
    cursor: pointer;
    cursor: pointer;
    transition: 0.3s;
}

.hotspot:hover {
    transform: scale(1.5);
    box-shadow: 0 0 0 20px rgba(239, 68, 68, 0.4);
}

.tooltip {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: white;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: 0.3s;
}

.hotspot:hover .tooltip {
    opacity: 1;
    bottom: 40px;
}

/* --- FOOTER (CINEMATIC) --- */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 100px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer ul {
    width: 100%;
}

.footer-desc {
    /* margin-left: auto; */
    margin-right: auto;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
        text-align: left;
        gap: 60px;
    }

    .footer-grid>div {
        align-items: flex-start;
    }
}

.footer h4 {
    color: white;
    margin-bottom: 32px;
    font-size: 1.25rem;
}

.footer ul li {
    margin-bottom: 16px;
    color: #94A3B8;
    font-weight: 600;
}

.footer ul li:hover {
    color: var(--brand-gold);
    cursor: pointer;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 24px;
    display: block;
}

/* Footer Logo Image */
.footer .footer-logo-img {
    display: inline-block;
    padding: 15px;
    /* background: #ffffff; */
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s var(--ease-out);
}

.footer .footer-logo-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.footer .footer-logo-img img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-desc {
    color: #94A3B8;
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--brand-red);
    transform: translateY(-5px);
}

.footer-bottom {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    color: #64748B;
    font-size: 0.9rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-large,
    .bento-wide,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .process-flow,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

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

/* --- INTERACTIVE GLOBAL MAP --- */
.world-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.conn-line {
    opacity: 0.8;
}

/* Pulsing Node Styles */
.hotspot {
    position: absolute;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 10;
}

.node-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--brand-red);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
    transition: 0.3s;
}

.hotspot:hover .node-core {
    transform: translate(-50%, -50%) scale(1.5);
    box-shadow: 0 0 20px rgba(239, 68, 68, 1);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    border: 2px solid var(--brand-red);
    border-radius: 50%;
    animation: pulse-expand 2s ease-out infinite;
    opacity: 0;
}

.pulse-ring.delay-1 {
    animation-delay: 1s;
}

@keyframes pulse-expand {
    0% {
        width: 14px;
        height: 14px;
        opacity: 0.8;
    }

    100% {
        width: 50px;
        height: 50px;
        opacity: 0;
    }
}

@media (max-width: 1024px) {
    .hotspot {
        width: 12px;
        height: 12px;
    }

    .node-core {
        width: 8px;
        height: 8px;
    }

    .pulse-ring {
        width: 8px;
        height: 8px;
        animation-name: pulse-expand-mobile;
    }

    /* Compact Tooltip for Mobile - LABEL ONLY */
    .hotspot .tooltip {
        padding: 2px 6px;
        font-size: 0.2rem;
        bottom: 22px;
        border-radius: 4px;
        gap: 0;
    }

    .hotspot .tooltip strong {
        font-size: 0.2rem;
        margin-bottom: 0;
        line-height: 1;
    }

    /* Hide details on mobile for cleanliness */
    .hotspot .tooltip .stat-line {
        display: none !important;
    }

    .hotspot:hover .tooltip {
        bottom: 5px;
    }
}

@keyframes pulse-expand-mobile {
    0% {
        width: 8px;
        height: 8px;
        opacity: 0.8;
    }

    100% {
        width: 24px;
        height: 24px;
        opacity: 0;
    }
}

/* Enhanced Tooltips */
.hotspot .tooltip {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-30%);
    background: var(--bg-dark);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s var(--ease-out);
    pointer-events: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 100;
}

.hotspot .tooltip strong {
    font-size: 0.5rem;
    color: white;
    display: block;
    margin-bottom: 2px;
}

.hotspot .tooltip .stat-line {
    color: #94A3B8;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hotspot .tooltip .stat-line i {
    color: var(--brand-red);
    width: 12px;
    font-size: 0.7rem;
}

.hotspot:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 15px;
}

/* Global Stats Bar */
.global-stats-bar {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    padding: 40px 60px;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.global-stat {
    text-align: center;
}

.g-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-red);
    display: block;
    line-height: 1;
}

.g-stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    display: block;
}

/* --- SERVICES PAGE STYLES --- */
.hero-services {
    position: relative;
    height: 80vh;
    background: var(--bg-dark);
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-top: 100px;
}

.hero-services h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 24px;
}

.hero-services h1 span {
    color: var(--brand-red);
}

.hero-services p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

.service-nav {
    background: white;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 80px;
    z-index: 900;
    padding: 20px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-nav .container {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.s-nav-item {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.s-nav-item:hover {
    color: var(--brand-red);
}

.s-nav-item i {
    color: var(--brand-red);
}

.service-detail-section {
    padding: 140px 0;
}

.service-detail-section:nth-child(even) {
    background: #F1F5F9;
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.service-info h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.1;
}

.service-info h2 span {
    color: var(--brand-red);
}

.service-info p {
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 1.15rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.feature-box {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid #E2E8F0;
    transition: 0.4s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.feature-box:hover {
    border-color: var(--brand-red);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-box i {
    font-size: 1.8rem;
    color: var(--brand-red);
    margin-bottom: 20px;
    display: block;
}

.feature-box h4 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-box p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.know-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--brand-red);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 30px;
    transition: 0.3s var(--ease-out);
}

.know-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--brand-red);
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border: 1px solid var(--brand-red);
    transition: 0.3s var(--ease-out);
}

.know-more-btn:hover {
    background: var(--brand-red);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

.know-more-btn i {
    transition: 0.3s;
}

.know-more-btn:hover i {
    transform: translateX(5px);
}

.tech-strip {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0;
    overflow: hidden;
    white-space: nowrap;
}

.tech-track {
    display: inline-flex;
    gap: 100px;
    animation: marquee 30s linear infinite;
}

.tech-item {
    font-size: 1.5rem;
    font-weight: 900;
    opacity: 0.3;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cta-box {
    background: var(--brand-red);
    padding: 100px;
    border-radius: 60px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box h2 {
    font-size: 4rem;
    margin-bottom: 30px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 50px;
}

.btn-white {
    background: white;
    color: var(--brand-red);
    padding: 24px 60px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-block;
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .cta-box {
        padding: 60px 30px;
    }

    .cta-box h2 {
        font-size: 2.5rem;
    }
}

/* --- PROJECTS PAGE STYLES --- */
.hero-projects {
    position: relative;
    height: 70vh;
    background: url('assets/images/projects_hero.png') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay-projects {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
}

.project-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-btn {
    background: white;
    border: 1px solid #E2E8F0;
    padding: 12px 30px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--brand-red);
    color: white;
    border-color: var(--brand-red);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: 0.4s var(--ease-out);
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    height: 350px;
    background-color: #eee;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s var(--ease-out);
}

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

.project-content {
    padding: 40px;
}

.project-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.tag {
    background: #F1F5F9;
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tag.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--brand-red);
}

.project-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.project-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E2E8F0;
}

.stat h5 {
    font-size: 2rem;
    color: var(--brand-red);
    margin-bottom: 4px;
}

.stat span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.featured-case {
    background: var(--bg-dark);
    color: white;
    border-radius: 40px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.featured-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.featured-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.featured-image {
    background: url('https://images.unsplash.com/photo-1556740758-90de374c12ad?auto=format&fit=crop&q=80&w=1000') center/cover;
    min-height: 500px;
}

.logo-strip {
    padding: 80px 0;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
    text-align: center;
}

.logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0.5;
    filter: grayscale(100%);
}

.logo-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
}

/* --- ABOUT PAGE STYLES --- */
.hero-about {
    position: relative;
    height: 70vh;
    background: var(--bg-dark);
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-about h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 24px;
}

.hero-about h1 span {
    color: var(--brand-red);
}

.hero-about p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.story-image {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
}

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

.story-text h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.story-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.values-section .section-title {
    color: white;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 48px;
    border-radius: 32px;
    transition: 0.4s var(--ease-out);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px);
    border-color: var(--brand-red);
}

.value-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--brand-red);
    margin-bottom: 24px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.value-card p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.industry-item {
    background: white;
    padding: 40px;
    border-radius: 32px;
    text-align: center;
    border: 1px solid #E2E8F0;
    transition: 0.3s;
}

.industry-item:hover {
    border-color: var(--brand-red);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.industry-item i {
    font-size: 2.5rem;
    color: var(--brand-red);
    margin-bottom: 20px;
}

.method-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .method-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

.method-step {
    position: relative;
}

.step-num {
    font-size: 5rem;
    font-weight: 900;
    color: rgba(239, 68, 68, 0.05);
    position: absolute;
    top: -30px;
    left: -10px;
    z-index: 0;
}

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

.step-content h3 {
    margin-bottom: 12px;
    color: var(--text-main);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #E2E8F0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--brand-red);
    top: 20px;
    border-radius: 50%;
    z-index: 10;
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 30px;
    background: white;
    position: relative;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    color: var(--brand-red);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

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

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

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .left {
        text-align: left;
    }

    .right {
        left: 0%;
    }
}



.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 80px;
    }
}

.form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-xl);
    position: relative;
    margin-top: 80px;
    animation: fadeInUp 0.8s var(--ease-out);
}

.form-card h2 {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.form-card>p {
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: var(--font-main);
    transition: 0.3s;
    background: #F8FAFC;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.btn-submit {
    background: var(--brand-red);
    /* Fallback */
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    width: 100%;
    transition: 0.4s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 20px -5px rgba(239, 68, 68, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, #F87171 0%, #EF4444 100%);
}

.btn-submit i {
    font-size: 1.2rem;
    transition: 0.3s;
}

.btn-submit:hover i {
    transform: rotate(-10deg) scale(1.2);
}

.contact-info {
    padding-top: 40px;
}

.info-block {
    margin-bottom: 50px;
}

.info-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-block h3 i {
    color: var(--brand-red);
    font-size: 1.2rem;
}

.info-block p,
.info-block li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

.info-block a {
    color: var(--brand-red);
    font-weight: 600;
}

.offices-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .offices-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.office-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--brand-red);
    transition: 0.3s var(--ease-out);
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.office-card h4 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.office-card h4 i {
    color: var(--brand-red);
}

.office-card p {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.office-card .phone {
    font-weight: 700;
    color: var(--text-main);
}

.trust-section {
    background: var(--bg-dark);
    color: white;
    text-align: center;
}

.trust-section h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

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

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

.trust-item i {
    font-size: 3rem;
    color: var(--brand-red);
    margin-bottom: 20px;
}

.trust-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

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

/* --- SERVICES PAGE MISSING STYLES --- */



.service-nav {
    position: sticky;
    top: 80px !important;
    /* Accounts for floating nav */
    z-index: 900;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: 0.3s;
}

.service-nav .container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.s-nav-item {
    font-weight: 700;
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    transition: 0.3s;
}

.s-nav-item:hover,
.s-nav-item.active {
    background: var(--brand-red);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.service-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .service-layout {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.service-detail-section {
    padding: 100px 0;
    border-bottom: 1px solid #E2E8F0;
}

.know-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    color: var(--brand-red);
    font-weight: 800;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

.feature-box i {
    font-size: 1.5rem;
    color: var(--brand-red);
    margin-bottom: 16px;
}

.feature-box h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.feature-box p {
    font-size: 0.9rem;
}



.project-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    background: white;
    border: 1px solid #E2E8F0;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--brand-red);
    color: white;
    border-color: var(--brand-red);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

.project-card {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.project-image {
    height: 300px;
    overflow: hidden;
}

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

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

.project-content {
    padding: 40px;
}

.project-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.tag {
    background: #F1F5F9;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.tag.red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--brand-red);
}

.project-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E2E8F0;
}

.stat h5 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

/* --- ABOUT, CONTACT, PROJECTS, SERVICES HERO STYLES --- */
.hero-about,
.hero-voice,
.hero-security,
.hero-cloud,
.hero-connectivity,
.hero-contact,
.hero-projects,
.hero-services {
    position: relative;
    height: 60vh;
    min-height: 500px;
    background: var(--bg-dark);
    color: white;
    display: flex;
    align-items: center;
    /* text-align: center; Removed to allow hero-content grid alignment */
    overflow: hidden;
    padding-top: 100px;
}

#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.tech-marquee {
    background: var(--brand-red);
    padding: 24px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.tech-item {
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 40px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    .service-layout,
    .projects-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }



    .nav-floating {
        padding: 0 20px;
        width: 100%;
    }
}

/* --- SECURITY PAGE STYLES --- */
.threat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.threat-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.threat-icon {
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.threat-icon i {
    color: var(--brand-red);
    font-size: 1.5rem;
}

.threat-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.threat-item p {
    font-size: 0.95rem;
    margin: 0;
}

/* --- CONNECTIVITY PAGE STYLES --- */
.connectivity-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.conn-card {
    display: flex;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    align-items: start;
}

.conn-icon {
    width: 80px;
    height: 80px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.conn-icon i {
    color: var(--brand-red);
    font-size: 2rem;
}

.conn-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

@media (max-width: 991px) {

    .threat-grid,
    .connectivity-grid {
        grid-template-columns: 1fr;
    }
}

/* --- SERVICES PAGES SHARED STYLES --- */

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    background: #F1F5F9;
    margin-top: 70px;
    /* Offset for sticky nav */
}

.breadcrumb a {
    color: var(--brand-red);
    font-weight: 600;
}

.breadcrumb span {
    color: var(--text-muted);
}

/* Content Sections */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse>* {
    direction: ltr;
}

.content-text h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    line-height: 1.1;
}

.content-text h2 span {
    color: var(--brand-red);
}

.content-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid #E2E8F0;
    transition: 0.4s var(--ease-out);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--brand-red);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--brand-red);
    margin-bottom: 24px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* Specs Table */
.specs-section {
    background: var(--bg-dark);
    color: white;
}

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

/* Cloud page uses 4 columns, can override inline or generic class */
.specs-grid.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.spec-box {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
}

.spec-box h3 {
    font-size: 3rem;
    color: var(--brand-red);
    margin-bottom: 10px;
}

.spec-box span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    /* Ensure it wraps if needed */
}

/* CTA Section */
.cta-section {
    background: var(--brand-red);
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.btn-white {
    background: white;
    color: var(--brand-red);
    padding: 18px 50px;
    border-radius: var(--radius-pill);
    font-weight: 800;
    display: inline-block;
    cursor: pointer;
}

.btn-white:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Architecture Section (Cloud Only usually) */
.architecture-section {
    background: #F1F5F9;
}

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

.arch-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.arch-card i {
    font-size: 4rem;
    color: var(--brand-red);
    margin-bottom: 24px;
}

.arch-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* Trust Grid (Contact/Others) */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

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

.trust-item i {
    font-size: 3rem;
    color: var(--brand-red);
    margin-bottom: 20px;
}

.trust-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsiveness for new sections */
/* --- NAVBAR DROPDOWN STYLES --- */
.nav-item.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-main);
    font-weight: 500;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: left;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: #F1F5F9;
    color: var(--brand-red);
}

/* Arrow indicator for dropdown */
.nav-link.dropdown-toggle::after {
    content: '\f107';
    /* FontAwesome angle-down */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.8em;
    transition: 0.3s;
}

.nav-item.dropdown:hover .nav-link.dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Adjust nav-floating to overflow visible for dropdown */
.nav-floating {
    overflow: visible;
    width: 100%;
}

/* ==========================================================================
   UTILITIES & GLOBAL FIXES
   ========================================================================== */

/* Utility to prevent horizontal overflow on all sections */
section,
header,
footer,
.hero {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Ensure images never exceed container width */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Hide horizontal scroll on body just in case of animation overflows */
html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE STYLES - Mobile & Tablet
   ========================================================================== */

/* --- TABLET STYLES (max-width: 1023px) --- */
@media (max-width: 1023px) {

    /* Hero Section */
    .hero {
        min-height: 70vh;
        padding-top: 100px;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .hero-text h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        display: none;
    }

    .hero-btns {
        justify-content: center;
    }

    /* Stats Bar */
    .stats-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .stat-num {
        font-size: 2.5rem;
    }

    /* Process Flow */
    .process-flow {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-card {
        padding: 32px;
    }

    /* Testimonials */
    .testimonial-slider {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Global Map Stats */
    .global-stats-bar {
        flex-wrap: wrap;
        gap: 40px;
        padding: 30px 40px;
        width: 100%;
    }

    .global-stat {
        flex: 1 1 40%;
        min-width: 120px;
    }

    /* Services Layout */
    .service-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-info h2 {
        font-size: 2.5rem;
    }

    /* Feature Grid */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Content Grid */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .content-text h2 {
        font-size: 2.25rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card {
        padding: 30px;
    }

    /* Specs Grid */
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .spec-box {
        padding: 30px 20px;
    }

    .spec-box h3 {
        font-size: 2.25rem;
    }

    /* Architecture Grid */
    .architecture-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Trust Grid */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* CTA Box */
    .cta-box {
        padding: 60px 40px;
        border-radius: 40px;
    }

    .cta-box h2 {
        font-size: 2.5rem;
    }

    .cta-box p {
        font-size: 1.1rem;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 2.25rem;
    }

    /* Featured Case */
    .featured-case {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 50px 40px;
    }

    .featured-content h2 {
        font-size: 2.25rem;
    }

    .featured-image {
        min-height: 300px;
    }

    /* Dropdown for Mobile */
    .nav-item.dropdown {
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin-top: 1rem;
        min-width: auto;
        display: none;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: var(--text-muted);
        text-align: center;
        padding: 8px 12px;
        font-size: 1rem;
    }

    /* Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 250px;
    }

    /* Service Nav */
    .service-nav .container {
        gap: 15px;
        flex-wrap: wrap;
    }

    .s-nav-item {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* --- MOBILE STYLES (max-width: 767px) --- */
@media (max-width: 767px) {

    /* Container Padding */
    .container {
        padding: 0 1rem;
    }

    /* Section Padding */
    .section {
        padding: clamp(2.5rem, 8vw, 5rem) 0;
    }

    /* Navigation */
    .nav-floating {
        padding: 0 1rem;
        height: 70px;
        width: 100%;
    }

    .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-floating .logo-img img {
        height: 50px !important;
    }

    /* Hero Section */
    .hero {
        min-height: 60vh;
        padding-top: 80px;
    }

    .hero-text h1 {
        font-size: clamp(2rem, 12vw, 5rem);
        margin-bottom: 1rem;
        font-weight: 900;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        padding: 16px 32px;
        font-size: 1rem;
    }

    /* Page Heroes */
    .hero-about,
    .hero-voice,
    .hero-security,
    .hero-cloud,
    .hero-connectivity,
    .hero-contact,
    .hero-projects,
    .hero-services {
        height: auto;
        min-height: 50vh;
        padding: 100px 0 60px;
    }

    .hero-about h1,
    .hero-services h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-about p,
    .hero-services p {
        font-size: 1rem;
    }

    /* Section Header */
    .section-header {
        margin-bottom: clamp(2rem, 6vw, 4rem);
    }

    .section-title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
        font-weight: 900;
    }

    /* Stats Bar */
    .stats-bar {
        padding: 30px 0;
        width: 100%;
    }

    .stats-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
    }

    .stat-num {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .bento-item {
        padding: 28px;
        border-radius: 24px;
    }

    .bento-large,
    .bento-wide,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        border-radius: 16px;
    }

    .bento-item h3 {
        font-size: 1.35rem;
    }

    .bento-item p {
        font-size: 0.95rem;
    }

    /* Process Cards */
    .process-flow {
        gap: 1.5rem;
    }

    .process-card {
        padding: 24px;
        border-radius: 24px;
    }

    .process-num {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
        margin-bottom: 20px;
    }

    .process-card h3 {
        font-size: 1.25rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 28px;
        border-radius: 24px;
    }

    .testimonial-card blockquote {
        font-size: 1rem;
    }

    /* Map Container */
    .map-container {
        border-radius: 24px;
        margin-top: 40px;
    }

    /* Global Stats Bar */
    .global-stats-bar {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
        border-radius: 16px;
        margin-top: 40px;
        width: 100%;
    }

    .global-stat {
        flex: 1 1 100%;
    }

    .g-stat-num {
        font-size: 2rem;
    }

    .g-stat-label {
        font-size: 0.75rem;
    }

    /* Footer */
    .footer {
        padding: 60px 0 40px;
    }

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

    .footer-logo {
        font-size: 1.5rem;
    }

    .footer .footer-logo-img img {
        height: 50px !important;
    }

    .footer h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .footer-bottom {
        margin-top: 50px;
        padding-top: 30px;
        flex-direction: column;
        gap: 1rem;
    }

    /* Story Grid (About Page) */
    .story-grid {
        gap: 2rem;
    }

    .story-text h2 {
        font-size: 2rem;
    }

    .story-image {
        border-radius: 24px;
    }

    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .value-card {
        padding: 32px;
        border-radius: 24px;
    }

    .value-card h3 {
        font-size: 1.25rem;
    }

    /* Industry Grid */
    .industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .industry-item {
        padding: 24px;
        border-radius: 20px;
    }

    .industry-item i {
        font-size: 2rem;
    }

    .industry-item h3 {
        font-size: 1rem;
    }

    /* Method Grid */
    .method-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-num {
        font-size: 3rem;
        top: -15px;
    }

    /* Timeline */
    .timeline::after {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
    }

    .timeline-item::after {
        left: 11px;
        width: 16px;
        height: 16px;
    }

    .left,
    .right {
        left: 0;
        text-align: left;
    }

    .timeline-content {
        padding: 20px;
        border-radius: 16px;
    }

    .timeline-content h3 {
        font-size: 1.4rem;
    }

    /* Contact Form */
    .form-card {
        padding: 32px 24px;
        border-radius: 24px;
    }

    .form-card h2 {
        font-size: 1.75rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn-submit {
        padding: 16px 32px;
        font-size: 1rem;
    }

    /* Contact Grid */
    .contact-grid {
        gap: 2rem;
    }

    .contact-info {
        padding-top: 20px;
    }

    /* Offices Grid */
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .office-card {
        padding: 28px;
    }

    /* Trust Grid */
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .trust-item i {
        font-size: 2.5rem;
    }

    /* Service Info */
    .service-info h2 {
        font-size: 2rem;
    }

    .service-info p {
        font-size: 1rem;
    }

    /* Feature Box */
    .feature-box {
        padding: 24px;
    }

    .feature-box h4 {
        font-size: 1rem;
    }

    /* Know More Button */
    .know-more-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    /* CTA Box */
    .cta-box {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .cta-box h2 {
        font-size: 1.75rem;
    }

    .cta-box p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .btn-white {
        padding: 16px 40px;
        font-size: 1rem;
    }

    /* CTA Section */
    .cta-section h2 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 24px;
    }

    .feature-card i {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .feature-card h3 {
        font-size: 1.15rem;
    }

    /* Specs Grid */
    .specs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .specs-grid.four-col {
        grid-template-columns: 1fr;
    }

    .spec-box {
        padding: 24px;
    }

    .spec-box h3 {
        font-size: 2rem;
    }

    /* Architecture Grid */
    .architecture-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .arch-card {
        padding: 32px 24px;
    }

    .arch-card i {
        font-size: 3rem;
    }

    /* Threat Grid */
    .threat-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .threat-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .threat-icon {
        margin: 0 auto;
    }

    /* Connectivity Grid */
    .connectivity-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .conn-card {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 28px;
    }

    .conn-icon {
        margin: 0 auto;
    }

    /* Project Card */
    .project-card {
        border-radius: 24px;
    }

    .project-image {
        height: 200px;
    }

    .project-content {
        padding: 24px;
    }

    .project-content h3 {
        font-size: 1.4rem;
    }

    .project-stats {
        flex-direction: column;
        gap: 16px;
    }

    .project-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    /* Featured Case */
    .featured-content {
        padding: 32px 24px;
    }

    .featured-content h2 {
        font-size: 1.75rem;
    }

    .featured-image {
        min-height: 200px;
    }

    /* Service Nav */
    .service-nav {
        padding: 15px 0;
    }

    .service-nav .container {
        gap: 10px;
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .s-nav-item {
        font-size: 0.75rem;
        padding: 6px 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Tech Marquee */
    .tech-marquee {
        padding: 16px 0;
    }

    .tech-item {
        font-size: 1rem;
        margin: 0 24px;
    }

    /* Project Filter */
    .project-filter {
        gap: 10px;
        margin-bottom: 40px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    /* Logos */
    .logos {
        flex-wrap: wrap;
        gap: 24px;
        justify-content: center;
    }

    .logo-item {
        font-size: 1.25rem;
    }

    /* Logo Strip */
    .logo-strip {
        padding: 50px 0;
    }
}

/* --- EXTRA SMALL MOBILE (max-width: 374px) --- */
@media (max-width: 374px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .stat-num {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .bento-item {
        padding: 20px;
    }

    .bento-item h3 {
        font-size: 1.2rem;
    }

    .process-card {
        padding: 20px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .value-card {
        padding: 24px;
    }

    .form-card {
        padding: 24px 16px;
    }

    .cta-box {
        padding: 30px 16px;
    }

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