/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors */
    --primary: #2563eb;
    --primary-rgb: 37, 99, 235;
    --secondary: #1e40af;
    --dark: #0f172a;
    --dark-rgb: 15, 23, 42;
    --dark-accent: #1e293b;
    --light: #f8fafc;
    --light-rgb: 248, 250, 252;
    --accent: #38bdf8;
    --accent-rgb: 56, 189, 248;
    --success: #10b981;
    --danger: #ef4444;
    --muted: #64748b;
    
    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.08);
    
    /* Dark Glassmorphism (For dark sections) */
    --dark-glass-bg: rgba(15, 23, 42, 0.65);
    --dark-glass-border: rgba(255, 255, 255, 0.08);
    --dark-glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    /* Glow Effects */
    --neon-glow: 0 0 15px rgba(37, 99, 235, 0.35);
    --neon-glow-accent: 0 0 15px rgba(56, 189, 248, 0.5);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Timing & Curves */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
    
    /* Heights */
    --header-height: 80px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
}

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

ul {
    list-style: none;
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 24px;
    padding-left: 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

/* Glassmorphism utility class */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Hover Lift Effect */
.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

/* ==========================================================================
   1. PRELOADER
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    position: relative;
    color: #ffffff;
    width: 300px;
}

.radar-pulse {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid var(--primary);
    animation: radar-pulse-anim 2s infinite ease-out;
}

.loader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.security-shield {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 12px;
    text-shadow: var(--neon-glow-accent);
    animation: shield-beat 2.5s infinite ease-in-out;
}

.loader-logo .brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.loader-logo .brand-text span {
    color: var(--primary);
    text-shadow: var(--neon-glow);
}

.loader-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.loader-bar-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    box-shadow: var(--neon-glow-accent);
    animation: loader-fill 2s forwards cubic-bezier(0.1, 0.8, 0.1, 1);
}

.loader-status {
    font-size: 0.8rem;
    color: var(--muted);
    font-family: monospace;
    letter-spacing: 1px;
}

@keyframes radar-pulse-anim {
    0% {
        width: 60px;
        height: 60px;
        opacity: 1;
    }
    100% {
        width: 160px;
        height: 160px;
        opacity: 0;
    }
}

@keyframes shield-beat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes loader-fill {
    0% { width: 0%; }
    40% { width: 45%; }
    70% { width: 85%; }
    100% { width: 100%; }
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 70px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--primary);
    filter: drop-shadow(0 2px 5px rgba(37, 99, 235, 0.2));
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-text .highlight {
    color: var(--primary);
}

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

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--dark-accent);
    padding: 8px 0;
    position: relative;
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    z-index: 1100;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile responsive navigation state */
@media (max-width: 991px) {
    .nav-cta {
        display: none; /* Hide consultation button inside header on mobile/tablet */
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
        padding: 100px 40px 40px;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 25px;
    }
    
    .nav-link {
        font-size: 1.15rem;
        display: block;
    }
    
    .mobile-toggle.open .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.open .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #0c111d; /* High-tech dark background */
    color: #ffffff;
    overflow: hidden;
}

.hero-bg-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glowing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
}

.orb-1 {
    top: -10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    animation: float-orb 15s infinite alternate ease-in-out;
}

.orb-2 {
    bottom: -10%;
    left: 10%;
    width: 350px;
    height: 350px;
    background-color: var(--accent);
    animation: float-orb 12s infinite alternate-reverse ease-in-out;
}

.tech-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.7;
}

.hero-container {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

/* Left side content */
.hero-content {
    display: flex;
    flex-direction: column;
}

.badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 0.95rem;
}

.hero-title {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 36px;
    max-width: 540px;
}

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

.hero-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.hero-buttons .btn-outline:hover {
    background: #ffffff;
    color: var(--dark);
    border-color: #ffffff;
}

/* Stats grid inside hero */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

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

.stat-number {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-suffix {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Right side graphic */
.hero-graphic {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-wrapper {
    width: 100%;
    position: relative;
    padding: 20px;
}

.dashboard-mockup {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    overflow: hidden;
}

.dashboard-header {
    background: rgba(15, 23, 42, 0.9);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-dots {
    display: flex;
    gap: 6px;
    margin-right: 20px;
}

.header-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.header-dots .dot.red { background-color: var(--danger); }
.header-dots .dot.yellow { background-color: #fbbf24; }
.header-dots .dot.green { background-color: var(--success); }

.dashboard-header .header-title {
    font-family: monospace;
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-body {
    padding: 12px;
}

.feed-grid {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.feed-card {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000000;
}

.feed-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.feed-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.75);
    padding: 4px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #ffffff;
    z-index: 10;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--danger);
    border-radius: 50%;
    animation: active-pulse 1.5s infinite;
}

.feed-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.scanline {
    width: 100%;
    height: 4px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0) 0%, rgba(37, 99, 235, 0.25) 50%, rgba(37, 99, 235, 0) 100%);
    position: absolute;
    animation: scanline-anim 6s infinite linear;
}

.crosshairs {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 50%;
}

.crosshairs::before, .crosshairs::after {
    content: '';
    position: absolute;
    background: rgba(56, 189, 248, 0.4);
}

.crosshairs::before {
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
}

.crosshairs::after {
    top: 50%;
    left: 0;
    height: 1px;
    width: 100%;
}

.coords {
    position: absolute;
    bottom: 12px;
    left: 12px;
    font-family: monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    z-index: 10;
}

/* Floating status widgets */
.floating-card {
    position: absolute;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    width: 200px;
    background: var(--dark-glass-bg);
    border-color: var(--dark-glass-border);
    color: #ffffff;
    box-shadow: var(--dark-glass-shadow);
}

.status-online {
    top: -15px;
    left: -25px;
    animation: float-slow 4s infinite alternate ease-in-out;
}

.threat-level {
    bottom: 40px;
    right: -25px;
    animation: float-slow 5s infinite alternate-reverse ease-in-out;
}

.cam-count {
    bottom: -25px;
    left: 40px;
    animation: float-slow 4.5s infinite alternate ease-in-out 1s;
}

.floating-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.floating-card-icon.success { background: rgba(16, 185, 129, 0.2); color: var(--success); }
.floating-card-icon.alert { background: rgba(56, 189, 248, 0.2); color: var(--accent); }
.floating-card-icon.info { background: rgba(37, 99, 235, 0.2); color: var(--primary); }

.floating-card-info {
    display: flex;
    flex-direction: column;
}

.card-tag {
    font-size: 0.65rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-value {
    font-size: 0.85rem;
    font-weight: 700;
}

/* Animated radar dot floaters */
.tech-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent);
    box-shadow: var(--neon-glow-accent);
}

.node-1 {
    top: 25%;
    right: -5px;
    animation: pulse-glow 2s infinite;
}

.node-2 {
    bottom: 35%;
    left: -15px;
    animation: pulse-glow 2.5s infinite 1s;
}

/* Keyframes for Hero Animations */
@keyframes float-orb {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(40px) rotate(15deg); }
}

@keyframes float-slow {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-12px); }
}

@keyframes scanline-anim {
    0% { top: 0%; }
    100% { top: 100%; }
}

@keyframes active-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.3); }
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(1); opacity: 0.6; box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4); }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 15px 4px rgba(56, 189, 248, 0.6); }
}

/* Responsive Hero Layout */
@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .badge {
        align-self: center;
    }
    
    .hero-title {
        font-size: 2.85rem;
    }
    
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-grid {
        justify-content: center;
    }
    
    .hero-graphic {
        margin-top: 20px;
        max-width: 580px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin-right: auto;
        margin-left: auto;
        gap: 12px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .status-online { left: -10px; }
    .threat-level { right: -10px; }
}

/* ==========================================================================
   4. TRUSTED BY CAROUSEL
   ========================================================================== */
.trusted-by {
    background: #090d16;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.trusted-title {
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-align: center;
    margin-bottom: 24px;
}

.trusted-slider {
    width: 100%;
    position: relative;
}

.trusted-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: marquee-scroll 25s infinite linear;
}

.client-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-weight: 600;
    font-size: 1.15rem;
    transition: var(--transition-fast);
}

.client-logo .logo-icon {
    font-size: 1.35rem;
    color: #334155;
    transition: var(--transition-fast);
}

.client-logo:hover {
    color: var(--accent);
    filter: drop-shadow(var(--neon-glow-accent));
}

.client-logo:hover .logo-icon {
    color: var(--accent);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   5. SOLUTIONS SECTION
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-description {
    color: var(--muted);
}

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

.solution-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.solution-card-bg-glow {
    position: absolute;
    top: var(--mouse-y, 0px);
    left: var(--mouse-x, 0px);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.solution-card:hover .solution-card-bg-glow {
    opacity: 1;
}

.solution-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(37, 99, 235, 0.15);
    transition: var(--transition-smooth);
}

.solution-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.solution-card-title {
    font-size: 1.35rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.solution-card-text {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.solution-features li {
    font-size: 0.85rem;
    color: var(--dark-accent);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.solution-features li i {
    font-size: 0.65rem;
    color: var(--primary);
}

.solution-card:hover .solution-icon-wrapper {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
}

.solution-card:hover .solution-icon {
    color: #ffffff;
}

@media (max-width: 991px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==========================================================================
   6. ABOUT US SECTION
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
}

.main-about-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
}

.badge-overlay {
    position: absolute;
    bottom: 25px;
    right: 25px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.award-icon {
    font-size: 2.25rem;
    color: var(--primary);
    filter: drop-shadow(0 2px 10px rgba(37, 99, 235, 0.25));
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.badge-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-desc {
    color: var(--muted);
    margin-bottom: 30px;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-marker {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-accent);
}

@media (max-width: 991px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ==========================================================================
   7. WHY CHOOSE US
   ========================================================================== */
.why-choose {
    background-color: #f1f5f9;
}

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

.why-card {
    padding: 36px 24px;
    border-radius: 16px;
    height: 100%;
}

.why-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.why-card-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.why-card-text {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.why-card:hover .why-icon-box {
    background-color: var(--primary);
    color: #ffffff;
    transform: rotateY(180deg);
}

@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==========================================================================
   8. PROJECTS GALLERY
   ========================================================================== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 45px;
}

.filter-btn {
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--muted);
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

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

.project-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    background: #ffffff;
    height: 320px;
    transition: var(--transition-smooth);
}

.project-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.project-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Custom design grids representing security layers in projects */
.custom-project-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-grad-retail { background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%); }
.bg-grad-hotel { background: linear-gradient(135deg, #111827 0%, #1e40af 100%); }
.bg-grad-warehouse { background: linear-gradient(135deg, #0f172a 0%, #4f46e5 100%); }
.bg-grad-smart { background: linear-gradient(135deg, #0c111d 0%, #0369a1 100%); }

.tech-wireframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 0);
    background-size: 16px 16px;
    opacity: 0.6;
}

.tech-icon-center {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.15);
    z-index: 2;
    transition: var(--transition-smooth);
}

.project-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 5;
}

.project-details {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #ffffff;
}

.project-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.project-desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 16px;
    line-height: 1.4;
}

.project-action-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.project-action-link i {
    font-size: 0.75rem;
}

/* Hover States for Projects */
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

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

.project-card:hover .tech-icon-center {
    color: var(--accent);
    transform: scale(1.15);
}

.project-card:hover .project-hover-overlay {
    opacity: 1;
}

.project-card:hover .project-details {
    transform: translateY(0);
}

@media (max-width: 991px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==========================================================================
   9. TIMELINE PROCESS
   ========================================================================== */
.process {
    background-color: #0c111d;
    color: #ffffff;
}

.process .section-title {
    color: #ffffff;
}

.process-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: dashed rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--dark-accent);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 24px;
    box-shadow: 0 0 0 6px #0c111d;
    transition: var(--transition-smooth);
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
    padding: 24px;
    text-align: center;
    color: #ffffff;
    width: 100%;
}

.step-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin: 0 auto 16px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.step-title {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.step-desc {
    color: #94a3b8;
    font-size: 0.8rem;
    line-height: 1.5;
}

/* Active/Hover states in process */
.timeline-step:hover .step-num {
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 6px #0c111d, var(--neon-glow);
}

.timeline-step:hover .step-card {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(37, 99, 235, 0.2);
}

@media (max-width: 991px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-line {
        top: 10%;
        left: 22px;
        width: 2px;
        height: 80%;
    }
    
    .timeline-step {
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }
    
    .step-num {
        margin-bottom: 0;
        flex-shrink: 0;
        box-shadow: 0 0 0 6px #0c111d;
    }
    
    .step-card {
        text-align: left;
    }
    
    .step-icon-wrapper {
        margin: 0 0 16px 0;
    }
}

/* ==========================================================================
   10. SECURITY PACKAGES (PRICING)
   ========================================================================== */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    margin-top: 50px;
}

.package-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.popular-package {
    border: 2px solid var(--primary);
    transform: scale(1.03);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 18px;
    border-radius: 50px;
    box-shadow: var(--neon-glow);
}

.package-header {
    margin-bottom: 24px;
}

.package-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.package-subtitle {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.package-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.package-price .amount {
    font-size: 2.85rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.package-price .period {
    font-size: 0.8rem;
    color: var(--muted);
    margin-left: 6px;
    font-weight: 500;
}

.package-divider {
    height: 1px;
    background-color: rgba(15, 23, 42, 0.08);
    margin: 24px 0;
}

.package-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.package-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    flex-grow: 1;
}

.package-features li {
    font-size: 0.9rem;
    color: var(--dark-accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.package-features li.disabled {
    color: #94a3b8;
    text-decoration: line-through;
    opacity: 0.6;
}

.package-btn {
    width: 100%;
}

@media (max-width: 991px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .popular-package {
        transform: scale(1);
    }
}

/* ==========================================================================
   11. TESTIMONIALS
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    padding: 36px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 2.5rem;
    color: rgba(37, 99, 235, 0.06);
    line-height: 1;
}

.stars {
    color: #fbbf24;
    font-size: 0.9rem;
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--dark-accent);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    font-style: italic;
}

.client-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.client-info {
    display: flex;
    flex-direction: column;
}

.client-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.client-position {
    font-size: 0.75rem;
    color: var(--muted);
}

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

/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */
.faq-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

.faq-left {
    display: flex;
    flex-direction: column;
}

.faq-intro-text {
    color: var(--muted);
    margin-bottom: 30px;
}

.faq-cta-box {
    padding: 24px;
    border-radius: 12px;
}

.faq-cta-box h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.faq-cta-box p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 18px;
}

.faq-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: none;
    transition: var(--transition-fast);
}

.faq-question {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-accent);
}

.faq-toggle-icon {
    font-size: 0.85rem;
    color: var(--muted);
    transition: var(--transition-smooth);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer {
    padding: 0 24px 20px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Open Accordion State */
.faq-item.open {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.faq-item.open .faq-question {
    color: var(--primary);
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--primary);
}

@media (max-width: 991px) {
    .faq-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ==========================================================================
   13. CTA BANNER
   ========================================================================== */
.cta-banner {
    background-color: #0c111d;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-container {
    position: relative;
    z-index: 5;
    max-width: 780px;
}

.cta-shield-glow {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.15);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin: 0 auto 24px;
    box-shadow: var(--neon-glow-accent);
    animation: shield-beat 3s infinite ease-in-out;
}

.cta-title {
    color: #ffffff;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-desc {
    color: #94a3b8;
    margin-bottom: 36px;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.cta-buttons .btn-outline:hover {
    background: #ffffff;
    color: var(--dark);
    border-color: #ffffff;
}

@media (max-width: 575px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ==========================================================================
   14. CONTACT SECTION
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: start;
}

.contact-form-wrapper {
    padding: 40px;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-accent);
}

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--muted);
    pointer-events: none;
    transition: var(--transition-fast);
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    padding: 12px 18px 12px 48px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 14px;
}

.text-area-wrapper .input-icon {
    top: 20px;
}

.input-wrapper textarea {
    resize: none;
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.input-wrapper textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-wrapper input:focus + .input-icon,
.input-wrapper select:focus + .input-icon,
.input-wrapper textarea:focus + .input-icon {
    color: var(--primary);
}

/* Form Validation Styling */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.invalid .input-icon {
    color: var(--danger);
}

.error-msg {
    display: none;
    font-size: 0.75rem;
    color: var(--danger);
    font-weight: 500;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Contact information cards */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    padding: 36px 30px;
}

.info-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-details {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-accent);
}

.info-list a.info-value:hover {
    color: var(--primary);
}

.info-divider {
    height: 1px;
    background-color: rgba(15, 23, 42, 0.08);
    margin: 24px 0;
}

.hours-title {
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--dark-accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 500;
}

/* Local Map Canvas design */
.map-mockup {
    border-radius: 16px;
    overflow: hidden;
    height: 180px;
}

.map-header {
    background: rgba(15, 23, 42, 0.05);
    padding: 10px 18px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.map-heading {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-canvas {
    width: 100%;
    height: calc(100% - 37px);
}

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

@media (max-width: 575px) {
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.footer {
    background-color: #090d16;
    color: #94a3b8;
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-icon {
    font-size: 1.8rem;
    color: var(--accent);
}

.footer-logo .logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-logo .logo-text .highlight {
    color: var(--primary);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: var(--transition-fast);
}

.social-links a:hover {
    color: #ffffff;
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.newsletter-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-input-group {
    display: flex;
    width: 100%;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: var(--transition-fast);
}

.newsletter-input-group:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.05);
}

.newsletter-input-group input {
    flex-grow: 1;
    padding: 12px 16px;
    font-size: 0.85rem;
    color: #ffffff;
}

.newsletter-input-group input::placeholder {
    color: #475569;
}

.newsletter-input-group button {
    background-color: var(--primary);
    color: #ffffff;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.newsletter-input-group button:hover {
    background-color: var(--secondary);
}

.newsletter-error {
    display: none;
    font-size: 0.72rem;
    color: var(--danger);
    font-weight: 500;
}

.newsletter-form.invalid .newsletter-error {
    display: block;
}

.newsletter-form.invalid .newsletter-input-group {
    border-color: var(--danger);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    margin-top: 60px;
    font-size: 0.82rem;
}

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

.bottom-links {
    display: flex;
    gap: 12px;
}

.bottom-links a:hover {
    color: #ffffff;
}

.separator {
    color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 575px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ==========================================================================
   INTERACTION ELEMENTS & TOASTS
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

/* Premium Toast Styling */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    width: 320px;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    transform: translateX(-40px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #ffffff;
    border-left: 4px solid var(--primary);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.15rem;
    margin-top: 2px;
}

.toast.success { border-left-color: var(--success); }
.toast.success .toast-icon { color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.error .toast-icon { color: var(--danger); }

.toast-body {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.4;
}

/* ==========================================================================
   SCROLL REVEAL TRIGGERS (Observer Based)
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-reveal.fade-left {
    transform: translateX(-50px);
}

.scroll-reveal.fade-right {
    transform: translateX(50px);
}

.scroll-reveal.zoom-in {
    transform: scale(0.92);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ==========================================================================
   KONSULTASI MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    width: 520px;
    max-width: 94%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px;
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.open .modal-container {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--muted);
    background: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: rgba(15, 23, 42, 0.05);
    color: var(--dark);
}

.modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.modal-shield {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 0.88rem;
    color: var(--muted);
}

/* Progress Bar */
.modal-progress {
    margin-bottom: 32px;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 8px;
}

.progress-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.progress-step.active {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.progress-step.done {
    background: var(--success);
    color: #ffffff;
}

.progress-line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 8px;
    border-radius: 2px;
    transition: var(--transition-smooth);
    max-width: 60px;
}

.progress-line.done {
    background: var(--success);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 4px;
}

.progress-labels span {
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 500;
    text-align: center;
    flex: 1;
}

/* Steps */
.consult-form {
    display: flex;
    flex-direction: column;
}

.consult-step {
    display: none;
}

.consult-step.active {
    display: block;
    animation: stepFadeIn 0.35s ease;
}

@keyframes stepFadeIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.consult-step-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Confirmation Step */
.confirm-icon {
    text-align: center;
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 8px;
}

.confirm-title {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.confirm-desc {
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 20px;
}

.confirm-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px 20px;
    border: 1px solid #e2e8f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.88rem;
    border-bottom: 1px solid #e2e8f0;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row span:first-child {
    color: var(--muted);
    font-weight: 500;
}

.summary-row span:last-child {
    color: var(--dark);
    font-weight: 600;
    text-align: right;
}

/* Modal Navigation */
.modal-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.modal-nav .btn {
    min-width: 140px;
}

.modal-nav .btn-prev {
    background: transparent;
    color: var(--muted);
    border-color: #e2e8f0;
}

.modal-nav .btn-prev:hover {
    color: var(--dark);
    border-color: var(--muted);
}

@media (max-width: 575px) {
    .modal-container {
        padding: 28px 20px;
        max-height: 95vh;
    }
    
    .modal-nav .btn {
        min-width: 110px;
        font-size: 0.85rem;
    }
    
    .progress-labels span {
        font-size: 0.6rem;
    }
}
