:root {
    --primary-blue: #116dff;
    --primary-orange: var(--primary-blue);
    --primary-orange-glow: rgba(17, 109, 255, 0.2);
    --primary-orange-soft: rgba(17, 109, 255, 0.05);
    --bg-black: #ffffff;
    --bg-grid: rgba(0, 0, 0, 0.025);
    --surface-slate: rgba(255, 255, 255, 0.15);
    --border-white: rgba(0, 0, 0, 0.08);
    --text-gray: #4b5563;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}
::selection {
    background-color: var(--primary-blue);
    color: #ffffff;
}

body {
    background-color: var(--bg-black);
    color: #222222;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    position: relative;
}

/* Premium Light Grid Background */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -3;
    pointer-events: none;
}

h1, h2, h3, h4, h5, .font-heading {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: #0f0f0f;
    letter-spacing: -0.02em;
}

/* Helper styles */
.text-orange {
    color: var(--primary-blue);
}

.bg-orange {
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-blue), #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-glow {
    text-shadow: 0 0 20px rgba(17, 109, 255, 0.1);
}

/* Wix-style Background Ambient Glow Blobs */
.ambient-glow-1 {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(17, 109, 255, 0.08) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -2;
    animation: float-glow-1 25s infinite alternate ease-in-out;
}

.ambient-glow-2 {
    position: fixed;
    bottom: -20%;
    right: -20%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(17, 109, 255, 0.06) 0%, transparent 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: -2;
    animation: float-glow-2 30s infinite alternate ease-in-out;
}

@keyframes float-glow-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, -40px) scale(1.15); }
}

@keyframes float-glow-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 40px) scale(1.1); }
}

/* Interactive Cursor Trail Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(17, 109, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    transition: transform 0.15s cubic-bezier(0.1, 0.8, 0.3, 1);
    transform: translate(-50%, -50%);
}

/* Text compatibility overrides for light theme */
.text-white {
    color: #0f0f0f !important;
}

.text-white-50, .text-secondary {
    color: #4b5563 !important;
}

.text-gray {
    color: #4b5563 !important;
}

/* Ensure light theme elements in containers stay legible */
.alert.glass-card .text-white {
    color: #0f0f0f !important;
}

.alert.glass-card .text-white-50 {
    color: #4b5563 !important;
}

/* Glassmorphism panel cards */
.glass-card {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(17, 109, 255, 0.12) !important;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
}

.glass-card:hover {
    border-color: rgba(17, 109, 255, 0.25) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px);
}

/* Premium Buttons styling */
.btn-orange-glow {
    background: linear-gradient(135deg, var(--primary-blue), #0052ff);
    color: #ffffff !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 24px rgba(17, 109, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-orange-glow:hover {
    box-shadow: 0 12px 30px rgba(17, 109, 255, 0.35);
    transform: scale(1.04);
    color: #ffffff !important;
}

.btn-outline-glass {
    background: rgba(0, 0, 0, 0.02);
    color: #111111 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    padding: 14px 28px;
    border-radius: 50px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-glass:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.2);
    transform: scale(1.04);
    color: #111111 !important;
}

/* Sticky Glass Navbar styles */
.navbar-custom {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-white);
    padding: 16px 0;
    transition: all 0.4s ease;
    z-index: 1000;
}

.navbar-custom.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(17, 109, 255, 0.15);
}

.nav-link-custom {
    color: rgba(15, 15, 15, 0.7) !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-custom:hover {
    color: var(--primary-blue) !important;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    bottom: -5px;
    left: 0;
    transition: all 0.3s ease;
}

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

.navbar-toggler-icon {
    filter: invert(1);
}

/* Interactive Map Coordinates styling */
.map-section {
    background: radial-gradient(circle at center, rgba(17, 109, 255, 0.02) 0%, transparent 80%);
}

.map-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    aspect-ratio: 500 / 600;
    background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    background-color: rgba(255, 255, 255, 0.85); /* Premium glass background */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(17, 109, 255, 0.12); /* Subtle blue glow outline */
    border-radius: 28px;
    padding: 20px;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.04), 
        0 12px 24px rgba(17, 109, 255, 0.03), 
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 108%;
    height: 108%;
    background: radial-gradient(circle, rgba(17, 109, 255, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    filter: blur(24px);
    transition: all 0.5s ease;
}

.map-container:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(17, 109, 255, 0.35);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.08), 
        0 20px 40px rgba(17, 109, 255, 0.08), 
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.map-container:hover::before {
    width: 115%;
    height: 115%;
    background: radial-gradient(circle, rgba(17, 109, 255, 0.15) 0%, transparent 70%);
}

.map-container svg image {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.06));
    transition: all 0.5s ease;
}

.map-container:hover svg image {
    filter: drop-shadow(0 20px 30px rgba(17, 109, 255, 0.12));
    opacity: 0.85 !important;
}

.map-pins-container {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    pointer-events: none;
}

.map-pin {
    position: absolute;
    pointer-events: auto;
    width: 12px;
    height: 12px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--primary-blue);
}

.map-pin::after {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    top: -10px;
    left: -10px;
    animation: pulse-ring 2.2s infinite ease-out;
    opacity: 0;
    pointer-events: none;
}

.map-pin:hover {
    transform: translate(-50%, -50%) scale(1.4);
    background-color: #ffffff;
    box-shadow: 0 0 18px var(--primary-blue);
    z-index: 15;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.3);
        opacity: 0.8;
    }
    80%, 100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.map-tooltip {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(17, 109, 255, 0.3);
    border-radius: 12px;
    padding: 12px;
    width: 220px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.map-tooltip h5 {
    color: #111111 !important;
}

.map-tooltip .text-secondary {
    color: #4b5563 !important;
}

.map-tooltip.active {
    opacity: 1;
    visibility: visible;
}

.zone-btn {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-white);
    color: #111111;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.zone-btn.active, .zone-btn:hover {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

/* Service filter grids */
.filter-btn {
    background: transparent;
    border: none;
    color: #71717a;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 8px 16px;
    position: relative;
    transition: all 0.3s ease;
}

.filter-btn.active {
    color: #0f0f0f;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--primary-blue);
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
}

.service-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.01);
}

.service-card .service-icon {
    font-size: 32px;
    background: linear-gradient(135deg, var(--primary-blue), #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dynamic quiz indicator lines */
.quiz-indicator {
    display: flex;
    gap: 6px;
    width: 100%;
    margin-bottom: 24px;
}

.quiz-bar {
    flex-grow: 1;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.quiz-bar.active {
    background-color: var(--primary-blue);
    box-shadow: 0 0 10px rgba(17, 109, 255, 0.2);
}

.quiz-option-btn {
    width: 100%;
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid var(--border-white);
    color: #111111;
    border-radius: 14px;
    padding: 15px 20px;
    text-align: left;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s ease;
}

.quiz-option-btn:hover {
    background: rgba(17, 109, 255, 0.04);
    border-color: rgba(17, 109, 255, 0.35);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.form-dark {
    background: rgba(0, 0, 0, 0.015);
    border: 1px solid var(--border-white);
    color: #111111;
    border-radius: 12px;
    padding: 14px;
}

.form-dark:focus {
    background: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(17, 109, 255, 0.15);
    color: #111111;
    outline: none;
}

/* Counters metrics */
.stat-number {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.section-separator {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
    margin: 0;
    border: none;
}

/* Timeline components */
.process-node {
    position: relative;
    padding-left: 30px;
    border-left: 2px dashed rgba(0, 0, 0, 0.1);
    padding-bottom: 40px;
}

.process-node:last-child {
    border-left: none;
    padding-bottom: 0;
}

.process-number {
    position: absolute;
    left: -15px;
    top: 0;
    width: 28px;
    height: 28px;
    background: var(--bg-black);
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

/* Corporate Cards */
.founder-card {
    max-width: 380px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-white);
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.founder-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), #00d2ff);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 0 15px rgba(17, 109, 255, 0.2);
}

/* Testimonial slider customized arrow visibility */
.carousel-control-prev-icon, .carousel-control-next-icon {
    filter: invert(10%) sepia(85%) saturate(5432%) hue-rotate(215deg) brightness(95%) contrast(100%);
}

/* Image overlays override (keep texts white on top of absolute dark images) */
.position-absolute.bottom-0 .text-white {
    color: #ffffff !important;
}

.position-absolute.bottom-0 .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Dark Footer styles preservation */
footer {
    background-color: #0d0d0d !important;
}

footer h4, footer h5, footer .text-white {
    color: #ffffff !important;
}

footer .text-secondary {
    color: #9ca3af !important;
}

footer a {
    color: #9ca3af !important;
}

footer a:hover {
    color: var(--primary-blue) !important;
}

/* Hero section background automatic slideshow styles */
.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.slideshow-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: hero-fade-slide 24s infinite ease-in-out;
    filter: grayscale(100%) brightness(0.97) contrast(1.23); /* Increased contrast +15% and brightness +5% */
}

/* Delay calculations: 24s total / 6 images = 4s active interval */
.slideshow-img:nth-child(1) { animation-delay: 0s; }
.slideshow-img:nth-child(2) { animation-delay: 4s; }
.slideshow-img:nth-child(3) { animation-delay: 8s; }
.slideshow-img:nth-child(4) { animation-delay: 12s; }
.slideshow-img:nth-child(5) { animation-delay: 16s; }
.slideshow-img:nth-child(6) { animation-delay: 20s; }

@keyframes hero-fade-slide {
    0% {
        opacity: 0;
        transform: scale(1.0);
    }
    3% {
        opacity: 0.40; /* Visible watermark at 40% opacity */
    }
    16.66% {
        opacity: 0.40;
    }
    20.66% {
        opacity: 0;
        transform: scale(1.05); /* Soft Ken Burns zoom */
    }
    100% {
        opacity: 0;
    }
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(90deg, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.15) 100%),
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.4) 75%, #ffffff 100%);
    z-index: -1;
    pointer-events: none;
}

/* Dedicated solid premium glass card for right-hand hero layout */
.hero-right-card {
    background: rgba(255, 255, 255, 0.93) !important; /* Solid white/glass with 93% opacity */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 28px;
    padding: 32px !important; /* Generous padding/spacing */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
}

.hero-right-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}
