:root {
    /* Core Brand System - Tesla meets Cyberpunk Corporate */
    --matte-black: #0B0C10;
    --deep-black: #0d0d0d;
    --charcoal: #1C1F24;
    --section-alt: #141414;
    --contrast-gray: #1E1E1E;
    --navy-gray: #1A1A1A;
    --structural-gray: #2B2B2B;
    
    /* Brand Identity Colors */
    --v6it-red: #B22222; /* Deep Red - Security & Power */
    --accent-start: #FFA500; /* Electric Orange */
    --accent-end: #FFCC00; /* Vibrant Yellow */
    --safety-orange: #FF6600; /* Safety Orange - Alerts/CTA highlights */
    
    /* Highlight / Glow Effects (Electric Blue) */
    --electric-blue: #007BFF;
    --neon-blue: #00CFFF;
    --glow-blue: rgba(0, 207, 255, 0.3);
    --glow-blue-soft: 0 8px 24px rgba(0, 123, 255, 0.15);
    
    /* UI & Text Colors */
    --text-primary: #F5F7FA; /* Light Silver */
    --text-secondary: #E6E7E8;
    --text-muted: #A0A0A0;
    --text-dark-muted: #BFC6CA;
    --steel-gray: #B0B0B0;
    
    /* Glassmorphism & Effects */
    --glass-bg: rgba(20, 20, 20, 0.7);
    --glass-light: rgba(255, 255, 255, 0.03);
    --glass-panel: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.1);
    --divider: rgba(255, 255, 255, 0.06);
    
    /* Glow & Shadow Effects */
    --glow-red: rgba(178, 34, 34, 0.5);
    --glow-orange: rgba(255, 204, 0, 0.3);
    --glow-soft: 0 8px 24px rgba(255, 120, 0, 0.08);
    --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-card: 0 6px 20px rgba(2, 2, 2, 0.6);
    
    /* Component Sizing */
    --logo-height: 56px;
    --logo-height-mobile: 48px;
    --button-radius: 50px;
    --card-radius: 16px;
    --divider-height: 2px;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-standard: 0.3s ease;
    --transition-micro: 0.18s ease;

    /* Aliases for consistency (fix undefined vars used below) */
    --text: var(--text-secondary);
    --muted: var(--text-muted);
    --panel: var(--glass-panel);
    --accent: var(--accent-start);
    --accent-weak: rgba(255, 165, 0, 0.08);
    --v6it-accent-start: var(--accent-start);
}

/* ===================================
   GLOBAL RESETS & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-secondary);
    background: linear-gradient(145deg, var(--matte-black), var(--charcoal));
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    line-height: 1.6;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.6px;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.2; }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-micro);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure all images are responsive */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Prevent table overflow */
table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

@media (max-width: 767px) {
    table {
        font-size: 0.875rem;
    }
}

/* ===================================
   SECTION BACKGROUNDS & ALTERNATING
   =================================== */
.section-black {
    background: var(--matte-black);
}

.section-alt {
    background: linear-gradient(180deg, var(--section-alt), var(--contrast-gray));
}

.section-contrast {
    background: var(--contrast-gray);
}

/* Glowing Section Dividers */
.section-divider {
    height: var(--divider-height);
    background: linear-gradient(90deg, var(--v6it-red), var(--accent-end));
    margin: 0;
    opacity: 0.6;
}

/* ===================================
   PARALLAX & FLOATING ELEMENTS
   =================================== */
.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    opacity: 0.12;
    animation: float 10s ease-in-out infinite;
    will-change: transform;
}

.shape-1 {
    width: min(500px, 40vw);
    height: min(500px, 40vw);
    background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    top: -120px;
    left: -120px;
    animation-duration: 8s;
}

.shape-2 {
    width: min(400px, 35vw);
    height: min(400px, 35vw);
    background: linear-gradient(135deg, var(--v6it-red), var(--accent-end));
    bottom: -100px;
    right: -100px;
    animation-duration: 11s;
    animation-delay: -3s;
}

.shape-3 {
    width: min(350px, 30vw);
    height: min(350px, 30vw);
    background: linear-gradient(135deg, var(--navy-gray), var(--v6it-red));
    top: 40%;
    right: 15%;
    animation-duration: 13s;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-40px) translateX(30px) rotate(8deg);
    }
    66% {
        transform: translateY(30px) translateX(-20px) rotate(-8deg);
    }
}

/* ===================================
   NAVBAR - HEADER SYSTEM
   =================================== */
.navbar {
    padding: 0.75rem 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-standard);
    background: linear-gradient(180deg, rgba(13,13,13,0.90), rgba(13,13,13,0.75));
    border-bottom: 1px solid var(--divider);
    z-index: 1000;
}

.navbar .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 575.98px) {
    .navbar .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .navbar {
        padding: 0.5rem 0;
    }
}

.navbar.scrolled {
    background: linear-gradient(180deg, rgba(0,0,0,0.98), rgba(13,13,13,0.95));
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* ===================================
   NAVBAR - BRAND STACK
   =================================== */
.brand-stack { 
    display: block;
    white-space: nowrap;
}
.brand-stack div {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.6px;
    line-height: 1.2;
}

/* ===================================
   NAVBAR: PHONES - EXTRA SMALL (<375px)
   =================================== */
@media (max-width: 374px) {
    .brand-stack div:last-child {
        display: none;
    }
    .brand-stack div:first-child {
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }
    .logo-img {
        max-height: 28px;
        width: auto;
    }
    .navbar-brand {
        margin-right: 0.5rem;
    }
}

/* ===================================
   NAVBAR: PHONES - SMALL (375px - 575px)
   =================================== */
@media (min-width: 375px) and (max-width: 575.98px) {
    .brand-stack div {
        font-size: 0.70rem;
        letter-spacing: 0.35px;
    }
    .logo-img {
        max-height: 32px;
        width: auto;
    }
}

/* ===================================
   NAVBAR: PHONES - LANDSCAPE & SMALL TABLETS (576px - 767px)
   =================================== */
@media (min-width: 576px) and (max-width: 767px) {
    .brand-stack div {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
    .logo-img {
        max-height: 40px;
        width: auto;
    }
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.8px;
    transition: transform var(--transition-standard);
    color: var(--text-primary);
    text-transform: uppercase;
    max-width: 75%;
    flex-shrink: 1;
}

@media (max-width: 575.98px) {
    .navbar-brand {
        max-width: 70%;
    }
}

.navbar-toggler {
    border: 1px solid var(--glass-border);
    padding: 0.5rem 0.75rem;
    flex-shrink: 0;
    margin-left: auto;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 165, 0, 0.25);
}

@media (max-width: 374px) {
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
    }
}

.navbar-brand:hover {
    transform: scale(1.06);
    color: var(--text-primary);
}

.navbar-brand img {
    filter: drop-shadow(0 6px 18px var(--glow-red));
    transition: filter var(--transition-standard);
}

.navbar-brand:hover img {
    filter: drop-shadow(0 8px 24px var(--glow-orange));
}

.nav-link {
    position: relative;
    padding: 0.6rem 1.1rem !important;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color var(--transition-micro);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
    transform: translateX(-50%);
    transition: width var(--transition-standard);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 65%;
}
/* ===================================
   NAVBAR - DROPDOWN MENU
   =================================== */
.dropdown-menu {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    transition: all var(--transition-micro);
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--glass-light);
    color: var(--text-primary);
}

.dropdown-item.active,
.dropdown-item:active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
}

.dropdown-item.active i,
.dropdown-item:active i {
    color: white;
}

.dropdown-item i {
    color: var(--accent-start);
}

/* ===================================
   NAVBAR - COLLAPSED STATE
   =================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: linear-gradient(180deg, rgba(13,13,13,0.98), rgba(20,20,20,0.98));
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .navbar-nav {
        align-items: stretch !important;
    }
    
    .nav-item {
        margin: 0.25rem 0;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
    }
    
    .nav-link:hover {
        background: var(--glass-light);
    }
    
    .dropdown-menu {
        background: var(--glass-light);
        border: 1px solid var(--divider);
        margin-top: 0.25rem;
        margin-left: 1rem;
    }
    
    .navbar-nav .btn {
        margin-top: 1rem;
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   NAVBAR - EXTRA SMALL SCREENS
   =================================== */
@media (max-width: 575.98px) {
    .navbar-collapse {
        max-height: 70vh;
        padding: 0.75rem;
    }
    
    .nav-link {
        padding: 0.65rem 0.75rem !important;
        font-size: 0.9rem;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===================================
   HERO SECTION - Full Screen Parallax
   =================================== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&h=1080&fit=crop') center/cover;
    position: relative;
    padding-top: 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ===================================
   COMMAND-CENTER OVERLAYS
   =================================== */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 40px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.03) 0px,
            rgba(255,255,255,0.03) 1px,
            transparent 1px,
            transparent 40px
        );
    pointer-events: none;
}

.radar-sweep {
    position: absolute;
    width: 70vmin;
    height: 70vmin;
    border-radius: 50%;
    left: 15%;
    top: 15%;
    background: conic-gradient(from 0deg, rgba(0, 207, 255, 0.25), rgba(0, 207, 255, 0) 40%);
    filter: blur(6px) saturate(1.1);
    animation: radarRotate 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes radarRotate {
    to { transform: rotate(360deg); }
}

.hero-section h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    background: linear-gradient(90deg, var(--v6it-red) 0%, var(--accent-start) 50%, var(--accent-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 6px 20px var(--glow-red));
    animation: heroTitleGlow 3s ease-in-out infinite alternate;
}

@keyframes heroTitleGlow {
    from { filter: drop-shadow(0 6px 20px var(--glow-red)); }
    to { filter: drop-shadow(0 8px 28px var(--glow-orange)); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8), rgba(26,26,26,0.65));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* ===================================
   HERO - PAGE BACKGROUNDS
   =================================== */
.hero-section.hero-guards {
    /* Use only JPEG until WebP exists; path relative to css dir */
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('../img/guards-hero.jpg') center/cover;
}

.hero-section.hero-v6it {
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('../img/access-granted.jpg') center/cover;
}

.hero-section.hero-gates {
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('../img/smart-gates.jpg') center/cover;
}

.hero-section.hero-v6it {
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('/assets/img/v6it-hero.jpg') center/cover;
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                image-set(
                    url('/assets/img/v6it-hero.webp') type('image/webp') 1x,
                    url('/assets/img/v6it-hero.jpg')  type('image/jpeg') 1x
                ) center/cover;
}

.hero-section.hero-gates {
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('/assets/img/gates-hero.jpg') center/cover;
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                image-set(
                    url('/assets/img/gates-hero.webp') type('image/webp') 1x,
                    url('/assets/img/gates-hero.jpg')  type('image/jpeg') 1x
                ) center/cover;
}

.hero-section.hero-about {
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('/assets/img/about-hero.jpg') center/cover;
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                image-set(
                    url('/assets/img/about-hero.webp') type('image/webp') 1x,
                    url('/assets/img/about-hero.jpg')  type('image/jpeg') 1x
                ) center/cover;
}

.hero-section.hero-partner {
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('/assets/img/partner-hero.jpg') center/cover;
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                image-set(
                    url('/assets/img/partner-hero.webp') type('image/webp') 1x,
                    url('/assets/img/partner-hero.jpg')  type('image/jpeg') 1x
                ) center/cover;
}

.hero-section.hero-case-studies {
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('/assets/img/case-studies-hero.jpg') center/cover;
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                image-set(
                    url('/assets/img/case-studies-hero.webp') type('image/webp') 1x,
                    url('/assets/img/case-studies-hero.jpg')  type('image/jpeg') 1x
                ) center/cover;
}

.hero-section.hero-training {
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                url('/assets/img/training-hero.jpg') center/cover;
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(13,13,13,0.75)),
                image-set(
                    url('/assets/img/training-hero.webp') type('image/webp') 1x,
                    url('/assets/img/training-hero.jpg')  type('image/jpeg') 1x
                ) center/cover;
}

.logo-watermark {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.035;
    width: clamp(400px, 65vmin, 800px);
    height: auto;
    pointer-events: none;
    filter: blur(3px) saturate(0.7);
    z-index: 0;
    animation: watermarkFloat 20s ease-in-out infinite;
}

@keyframes watermarkFloat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -52%) scale(1.05); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ===================================
   TEAM SECTION - CLEAN CARD STYLE
   =================================== */
.team-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.team-carousel-container {
    overflow: hidden;
    flex: 1;
}

.team-carousel {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card {
    min-width: calc(50% - 1rem);
    max-width: calc(50% - 1rem);
    flex-shrink: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-card);
    transition: all 0.25s var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: var(--shadow-deep), 0 0 40px var(--glow-orange);
    border-color: rgba(255,165,0,0.3);
}

.team-card-inner {
    padding: 2rem 1.5rem;
    text-align: center;
}

.team-photo-wrapper {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
}

.team-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.team-role {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #3b82f6;
    text-decoration: none;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.team-role:hover {
    color: #2563eb;
    text-decoration: underline;
}

.team-bio {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 60px;
}

.team-social-icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-icon {
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-icon:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.team-nav-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    font-size: 1.2rem;
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.team-nav-arrow:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--v6it-red), var(--accent-start));
    color: white;
    border-color: transparent;
    transform: scale(1.1);
    box-shadow: 0 8px 20px var(--glow-orange);
}

.team-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===================================
   TABLET - ADJUSTMENTS
   =================================== */
@media (max-width: 991.98px) {
    .team-card {
        min-width: calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
    
    .team-carousel {
        gap: 1rem;
    }
    
    .team-carousel-wrapper {
        gap: 1rem;
    }
    
    .team-photo-wrapper {
        width: 120px;
        height: 120px;
    }
    
    .team-card-inner {
        padding: 1.5rem 1rem;
    }
}

/* ===================================
   MOBILE - ADJUSTMENTS
   =================================== */
@media (max-width: 575.98px) {
    .team-card {
        min-width: calc(100% - 0.5rem);
        max-width: calc(100% - 0.5rem);
    }
    
    .team-carousel {
        gap: 0.75rem;
    }
    
    .team-carousel-wrapper {
        gap: 0.75rem;
    }
    
    .team-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .team-photo-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .team-card-inner {
        padding: 1.25rem 1rem;
    }
    
    .team-icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    
    .team-bio {
        min-height: auto;
    }
}

/* ===================================
   BUTTONS & CTA SYSTEM
   =================================== */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: var(--button-radius);
    padding: 0.75rem 2rem;
    transition: all var(--transition-standard) var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary,
.btn-gradient,
.glow-button {
    background: linear-gradient(90deg, var(--v6it-red) 0%, var(--accent-start) 100%);
    color: #ffffff;
    box-shadow: var(--glow-soft);
    border: none;
}

.btn-primary:hover,
.btn-gradient:hover,
.glow-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px var(--glow-orange), 0 0 20px var(--glow-red);
    background: linear-gradient(90deg, var(--v6it-red) 0%, var(--accent-end) 100%);
}

.btn-outline,
.btn-outline-light {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(4px);
}

.btn-outline:hover,
.btn-outline-light:hover {
    background: var(--glass-bg);
    border-color: var(--accent-start);
    color: var(--accent-start);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,165,0,0.15);
}

/* ===================================
   CARDS & GLASSMORPHISM PANELS
   =================================== */
.card,
.product-card,
.solution-card {
    background: var(--glass-bg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    transition: all 0.25s var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.card-3d,
.product-card:hover,
.solution-card:hover {
    transform: translateY(-12px) rotateX(2deg);
    box-shadow: var(--shadow-deep), 0 0 40px var(--glow-orange);
    border-color: rgba(255,165,0,0.3);
}

/* ===================================
   ICON SYSTEM - 3D DEPTH
   =================================== */
.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--v6it-red), var(--accent-start));
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #ffffff;
    box-shadow: var(--glow-soft);
    transition: all 0.3s var(--transition-smooth);
}

.solution-card:hover .icon-box,
.product-card:hover .icon-box {
    transform: scale(1.12) rotateY(8deg);
    box-shadow: 0 12px 32px var(--glow-orange);
}

/* ===================================
   LINK ARROWS - MICRO-INTERACTIONS
   =================================== */
.btn-link-arrow {
    color: var(--accent-start);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-micro);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link-arrow:hover {
    color: var(--accent-end);
    gap: 0.8rem;
}

.btn-link-arrow i {
    transition: transform var(--transition-standard);
}

.btn-link-arrow:hover i {
    transform: translateX(6px);
}

.card-3d:hover {
    transform: perspective(1000px) translateY(-10px) rotateX(2deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* ===================================
   HOW IT WORKS
   =================================== */
.how-it-works-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2.5rem 2rem;
    border-radius: var(--card-radius);
    border: 1px solid var(--glass-border);
    position: relative;
    transition: all 0.3s var(--transition-smooth);
    box-shadow: var(--shadow-card);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--v6it-red), var(--accent-start));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    color: white;
    box-shadow: 0 8px 20px var(--glow-orange);
    border: 2px solid rgba(255,255,255,0.1);
}

.how-it-works-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-deep), 0 0 30px var(--glow-orange);
    border-color: var(--accent-start);
}

.how-it-works-card:hover .step-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 12px 30px var(--glow-red);
}

.how-it-works-card i {
    transition: all 0.3s var(--transition-smooth);
}

.how-it-works-card:hover i {
    transform: scale(1.1);
    color: var(--accent-start) !important;
}

/* ===================================
   STATS - COUNTER
   =================================== */
.stat-box {
    padding: 2rem;
}

.counter {
    display: inline-block;
    transition: all 0.3s ease;
}

/* ===================================
   CTA - BANNER
   =================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--accent), var(--charcoal));
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,165,0,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   FOOTER
   =================================== */
footer {
    background: var(--charcoal);
    color: var(--muted);
}

.social-icons a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--v6it-red);
    transform: translateY(-5px);
}

/* ===================================
   CAROUSEL - CUSTOM STYLING
   =================================== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--v6it-red);
    border-radius: 50%;
    padding: 1rem;
}

/* ===================================
   NAVBAR - RESPONSIVE IMPROVEMENTS
   =================================== */
@media (max-width: 991.98px) {
    .navbar-nav .btn {
        margin-top: 1rem;
        margin-left: 0 !important;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding-top: 70px;
    }
    
    .display-3 {
        font-size: 2.2rem;
    }
    
    .shape {
        width: min(180px, 25vw) !important;
        height: min(180px, 25vw) !important;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        min-height: 70vh;
        padding-top: 60px;
    }
    
    .display-3, .display-4 {
        font-size: 1.75rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* ===================================
   LOGO SIZING (CENTRALIZED)
   =================================== */
.navbar-brand img,
.navbar-brand .logo-img {
    height: var(--logo-height);
    object-fit: contain;
}

@media (max-width: 576px) {
    :root { --logo-height: 48px; }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Page Transitions */
.page-transition {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading Spinner (for future use) */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--text-secondary);
    border-top-color: var(--v6it-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Preloader Overlay */
#preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(145deg, rgba(0,0,0,0.96), rgba(20,20,20,0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Scroll to Top Button */
#scrollToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--v6it-red), var(--v6it-accent-start));
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

#scrollToTop.show {
    opacity: 1;
    visibility: visible;
}

#scrollToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(178, 34, 34, 0.4);
}

/* Contact Icon Hover Effects with Electric Blue */
.icon-box.contact-icon {
    transition: all 0.3s var(--transition-smooth);
}

.icon-box.contact-icon:hover {
    background: linear-gradient(135deg, var(--electric-blue), var(--neon-blue));
    box-shadow: var(--glow-blue-soft), 0 0 30px var(--glow-blue);
    transform: scale(1.15) rotateY(15deg);
}

/* ===================================
   ABOUT SECTION - FLOATING SECURITY ICONS
   =================================== */
.floating-security-icons {
    position: relative;
    height: 500px;
    width: 100%;
}

.security-icon-float {
    position: absolute;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--glass-bg), var(--glass-light));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--v6it-red);
    box-shadow: var(--shadow-card);
    animation: iconFloat 4s ease-in-out infinite;
    transition: all 0.3s var(--transition-smooth);
}

.security-icon-float:hover {
    transform: scale(1.15) rotateY(15deg);
    background: linear-gradient(135deg, var(--v6it-red), var(--accent-start));
    color: white;
    box-shadow: var(--shadow-deep), 0 0 40px var(--glow-orange);
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Footer Dark Theme */
.footer-dark {
    background: linear-gradient(0deg, var(--matte-black), rgba(0,0,0,0.95));
    border-top: 1px solid var(--divider);
    padding: 4rem 0 2rem;
}

.footer-dark h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-dark a {
    color: var(--text-muted);
    transition: color var(--transition-micro);
}

.footer-dark a:hover {
    color: var(--accent-start);
}

.footer-dark .social-icons a {
    font-size: 1.3rem;
    margin-right: 1.2rem;
    opacity: 0.9;
    transition: all var(--transition-micro);
    display: inline-block;
}

.footer-dark .social-icons a:hover {
    color: var(--v6it-red);
    transform: translateY(-4px);
    opacity: 1;
}

/* Dropdown Menu Dark Theme (high-contrast on black) */
.dropdown-menu {
    background: linear-gradient(180deg, rgba(0,0,0,0.98), rgba(20,20,20,0.95));
    border: 1px solid var(--divider);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    padding: 0.5rem;
}

.dropdown-item {
    color: var(--text-secondary);
    transition: all 0.25s var(--transition-smooth);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(180deg, var(--v6it-red), var(--accent-end));
    transition: width 0.25s var(--transition-smooth);
    opacity: 0.9;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--text-primary);
    background: linear-gradient(90deg, rgba(255,165,0,0.12), rgba(255,204,0,0.08));
    box-shadow: 0 6px 18px rgba(255,165,0,0.12), 0 0 0 1px rgba(255,165,0,0.25) inset;
}

.dropdown-item:hover::before,
.dropdown-item:focus::before {
    width: 4px;
}

.dropdown-divider {
    border-top-color: var(--divider);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Spacing & Contrast tweaks: headings, CTAs, card shadows */
:root {
    --accent-dark: #E6602A; /* slightly darker CTA on hover */
    --cta-glow: rgba(230,96,42,0.16);
}

/* Headings: tighter leading and slightly stronger weight for dark background */
h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    line-height: 1.08;
    letter-spacing: -0.01em;
}

.display-3, .display-4, .display-5 {
    margin-bottom: 0.6rem;
}

/* Slightly tighter paragraph spacing for a compact, modern look */
p { margin-bottom: 0.9rem; }

/* Primary CTA: stronger contrast and clearer hover state */
.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #0b0b0b;
    box-shadow: 0 10px 30px var(--cta-glow);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    box-shadow: 0 14px 40px rgba(230,96,42,0.18);
    transform: translateY(-3px);
}

/* Secondary gradient buttons: slightly reduced padding to tighten layout */
.btn-gradient { padding: 0.6rem 1.6rem; }

/* Cards: increase subtle contrast and lift on dark background */
.solution-card, .how-it-works-card, .card {
    border: 1px solid rgba(255,255,255,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-3d:hover {
    transform: perspective(1000px) translateY(-14px) rotateX(2.25deg);
    box-shadow: 0 35px 80px rgba(0,0,0,0.6);
}

/* Make muted text a touch brighter for readability */
.text-muted, .text-white-50 { color: var(--muted) !important; }

/* Slightly reduce hero top padding to keep content above the fold tighter */
.hero-section { padding-top: 80px; }

/* Slightly tighten section vertical spacing (only visual tweak, not to break layout) */
section.py-5 { padding-top: 2.5rem; padding-bottom: 2.5rem; }

/* Small-screen adjustments: ensure headings remain readable */
@media (max-width: 768px) {
    .display-3 { font-size: 2.2rem; }
    section.py-5 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
    
    :root {
        --logo-height: var(--logo-height-mobile);
    }
    
    .navbar-brand img,
    .logo-img {
        height: var(--logo-height-mobile);
    }
    
    /* Improve card and icon box sizing on tablets */
    .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .solution-card, .product-card {
        margin-bottom: 1.5rem;
    }
}

/* Additional mobile optimizations */
@media (max-width: 575.98px) {
    /* Reduce icon sizes on small screens */
    .icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    /* Make cards more compact */
    .card-body {
        padding: 1rem !important;
    }
    
    /* Adjust footer layout */
    .footer-dark .col-lg-3,
    .footer-dark .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Improve form spacing */
    .mb-3 {
        margin-bottom: 1rem !important;
    }
    
    /* Reduce gap in flex containers */
    .d-flex.gap-3 {
        gap: 0.75rem !important;
    }
    
    .flex-wrap {
        flex-wrap: wrap !important;
    }
}

/* ===================================
   COMPREHENSIVE LOGO SYSTEM
   =================================== */
.navbar-brand img,
.navbar-brand .logo-img,
.logo-img {
    height: var(--logo-height);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px var(--glow-red));
    transition: filter var(--transition-standard);
}

/* ===================================
   STATS & COUNTERS
   =================================== */
.stat-box,
.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--divider);
    border-radius: var(--card-radius);
    transition: all var(--transition-standard);
}

.stat-box:hover,
.stat-card:hover {
    background: var(--glass-light);
    border-color: var(--accent-start);
    transform: translateY(-6px);
}

.stat-box h2,
.stat-card h3 {
    color: var(--accent-start);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* ===================================
   CTA BANNER SPECIAL STYLING
   =================================== */
.cta-banner {
    background: linear-gradient(90deg, rgba(178,34,34,0.15), rgba(255,204,0,0.08));
    border-top: 2px solid var(--divider);
    border-bottom: 2px solid var(--divider);
    position: relative;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--v6it-red), var(--accent-end));
    opacity: 0.6;
}

/* ===================================
   ABOUT US SLIDER
   =================================== */
.about-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.about-slide.active {
    opacity: 1;
    z-index: 1;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot:hover {
    background: rgba(255, 165, 0, 0.6);
    border-color: rgba(255, 165, 0, 1);
    transform: scale(1.2);
}

.slider-dots .dot.active {
    background: var(--accent-start);
    border-color: var(--accent-start);
    width: 14px;
    height: 14px;
}

/* ===================================
   SCROLL INDICATORS & ANIMATIONS
   =================================== */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-size: 1.8rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-15px);
    }
}
