/* ===============================================
   WEVANTA INFOTECH - Frontend Stylesheet
   Built with Bootstrap 5 + Custom CSS + Animations
   =============================================== */

/* ========== CSS Variables ========== */
:root {
    --primary-navy: #0A2A5E;
    --accent-cyan: #00C2CB;
    --action-orange: #FF6B35;
    --bg-white: #FAFBFF;
    --dark-bg: #080C14;
    --text-dark: #1A1A2E;
    --text-gray: #6C757D;
    --gradient-1: linear-gradient(135deg, #0A2A5E 0%, #00C2CB 100%);
    --gradient-2: linear-gradient(135deg, #FF6B35 0%, #FF8F5A 100%);
    --shadow-sm: 0 2px 10px rgba(10, 42, 94, 0.1);
    --shadow-md: 0 5px 30px rgba(10, 42, 94, 0.15);
    --shadow-lg: 0 10px 50px rgba(10, 42, 94, 0.2);
    --shadow-glow: 0 0 40px rgba(0, 194, 203, 0.3);
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s ease;
}

/* ========== AOS OVERRIDE — Force all elements visible ========== */
/* AOS hides elements with [data-aos] until scroll triggers them.
   This override ensures nothing stays invisible on fast scroll or
   on elements already in viewport on page load. */
[data-aos]:not(.aos-animate) {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) scale(1) !important;
    transition: none !important;
}

/* ========== Reset & Base ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

body.dark-mode {
    --bg-white: #0D1117;
    --text-dark: #E6EDF3;
    --text-gray: #8B949E;
    background: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* ========== Custom Cursor ========== */
.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, opacity 0.3s ease;
    opacity: 0;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--accent-cyan);
    transition: transform 0.2s ease-out, opacity 0.3s ease;
}

/* Cursor Hover State */
body.cursor-hover .cursor-dot { transform: translate(-50%, -50%) scale(0.5); }
body.cursor-hover .cursor-outline { transform: translate(-50%, -50%) scale(1.5); background: rgba(0, 194, 203, 0.1); border-color: transparent; }

@media (max-width: 991px) {
    .cursor-dot, .cursor-outline { display: none; }
}

/* ========== Page Loader ========== */
.page-loader {
    position: fixed;
    inset: 0;
    background: #080C14;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.8s cubic-bezier(0.85, 0, 0.15, 1), opacity 0.5s ease;
}

.page-loader.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.loader-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.loader-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(0, 194, 203, 0.3));
    animation: loaderPulse 2s infinite ease-in-out;
}

.loader-icon {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    animation: loaderPulse 2s infinite;
}

.loader-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: -1px;
}

.loader-text .text-accent {
    color: var(--accent-cyan);
}

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

.loader-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-1);
    animation: loaderProgress 2s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.loader-status {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: loaderStatusFade 2s infinite;
}

@keyframes loaderPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 194, 203, 0)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 15px rgba(0, 194, 203, 0.5)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(0, 194, 203, 0)); }
}

@keyframes loaderProgress {
    0% { width: 0%; }
    30% { width: 40%; }
    60% { width: 70%; }
    100% { width: 100%; }
}

@keyframes loaderStatusFade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ========== Navigation ========== */
.navbar {
    padding: 1rem 0;
    background: transparent;
    transition: var(--transition-smooth);
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(250, 251, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.dark-mode .navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
}

/* Global Header Adaptive Styles for Internal Pages */
.has-dark-header #mainNav:not(.scrolled) .nav-link,
.has-dark-header #mainNav:not(.scrolled) .navbar-brand,
.has-dark-header #mainNav:not(.scrolled) .brand-text,
.has-dark-header #mainNav:not(.scrolled) .toggler-icon {
    color: white !important;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-navy) !important;
}

.navbar-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

@media (max-width: 991.98px) {
    .navbar-logo {
        height: 90px;
    }
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 194, 203, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 194, 203, 0.6); }
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-cyan);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

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

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan) !important;
}

/* Dropdown */
.dropdown-menu {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
}

.dark-mode .dropdown-menu {
    background: var(--dark-bg);
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--accent-cyan);
    color: white;
}

/* Nav CTA Button */
.btn-nav-cta {
    background: var(--gradient-1);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.toggler-icon {
    font-size: 1.5rem;
    color: var(--primary-navy);
}

/* ========== Mobile Hamburger Menu ========== */
/* Bootstrap navbar collapses below 992px (navbar-expand-lg) */
@media (max-width: 991.98px) {

    /* Hamburger button — always visible and styled */
    .navbar-toggler {
        border: 2px solid rgba(10, 42, 94, 0.3);
        padding: 0.4rem 0.7rem;
        border-radius: 10px;
        background: transparent;
        line-height: 1;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(0, 194, 203, 0.3);
        outline: none;
    }

    /* On internal pages (has-dark-header) the toggler needs white border */
    .has-dark-header #mainNav:not(.scrolled) .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
    }

    /* Collapsed menu panel */
    .navbar-collapse {
        background: rgba(250, 251, 255, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 0 0 20px 20px;
        padding: 1rem 1.5rem 1.5rem;
        box-shadow: 0 10px 30px rgba(10, 42, 94, 0.18);
        margin-top: 0.5rem;
        border-top: 2px solid rgba(0, 194, 203, 0.2);
    }

    .dark-mode .navbar-collapse {
        background: rgba(13, 17, 23, 0.97);
        border-top-color: rgba(0, 194, 203, 0.15);
    }

    /* Nav links in mobile menu */
    .navbar-collapse .nav-link {
        padding: 0.8rem 1rem !important;
        border-bottom: 1px solid rgba(10, 42, 94, 0.08);
        border-radius: 8px;
        color: var(--text-dark) !important;
    }

    .dark-mode .navbar-collapse .nav-link {
        border-bottom-color: rgba(255, 255, 255, 0.06);
        color: #E6EDF3 !important;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link.active {
        background: rgba(0, 194, 203, 0.08);
        color: var(--accent-cyan) !important;
    }

    /* Remove underline pseudo-element inside mobile — not needed vertically */
    .navbar-collapse .nav-link::after {
        display: none;
    }

    /* Services dropdown inside collapsed menu */
    .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none;
        box-shadow: none;
        background: rgba(0, 194, 203, 0.04);
        border-radius: 10px;
        padding: 0.5rem;
        margin: 0.25rem 0 0.5rem 0.5rem;
        border: none;
    }

    .dark-mode .navbar-collapse .dropdown-menu {
        background: rgba(255, 255, 255, 0.04);
    }

    .navbar-collapse .dropdown-item {
        color: var(--text-dark);
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .dark-mode .navbar-collapse .dropdown-item {
        color: #C9D1D9;
    }

    .navbar-collapse .dropdown-item:hover {
        background: var(--accent-cyan);
        color: white;
    }

    /* Get Started CTA button — full width on mobile */
    .navbar-collapse .btn-nav-cta {
        display: block;
        text-align: center;
        margin-top: 1rem;
        padding: 0.75rem 1.5rem;
    }
}

/* ========== Theme Toggle ========== */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-glow);
}

/* ========== Reading Progress ========== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #00C2CB, #FF6B35);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ========== WhatsApp Float ========== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* ========== Hero Section ========== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FAFBFF 0%, #E8F4F8 100%);
    padding-top: 100px;
}

.dark-mode .hero-section {
    background: linear-gradient(135deg, #0D1117 0%, #161B22 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    top: -200px;
    right: -200px;
    animation: float-orb 15s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--action-orange);
    bottom: -100px;
    left: -100px;
    animation: float-orb 12s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--primary-navy);
    top: 50%;
    left: 50%;
    animation: float-orb 18s ease-in-out infinite;
}

@keyframes float-orb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 194, 203, 0.1);
    color: var(--accent-cyan);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-highlight {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 550px;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-primary-hero:hover::before {
    left: 100%;
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-secondary-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--primary-navy);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-navy);
    transition: var(--transition-fast);
}

.btn-secondary-hero:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-3px);
}

/* Hero Trust */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.trust-logos {
    display: flex;
    gap: 0.75rem;
}

.trust-logo {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.trust-logo:hover {
    color: var(--primary-navy);
    transform: translateY(-3px);
}

/* Code Window */
.hero-visual {
    perspective: 1000px;
}

.code-window {
    background: #1e1e2e;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.code-window:hover {
    transform: rotateY(0) rotateX(0);
}

.window-header {
    background: #181825;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #F38BA8; }
.dot.yellow { background: #F9E2AF; }
.dot.green { background: #A6E3A1; }

.window-title {
    margin-left: auto;
    color: #6C6F93;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

.window-content {
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

.code-line { color: #CDD6F4; }
.code-indent { padding-left: 1.5rem; }
.code-keyword { color: #CBA6F7; }
.code-var { color: #F38BA8; }
.code-property { color: #89B4FA; }
.code-string { color: #A6E3A1; }
.code-number { color: #FAB387; }
.code-function { color: #F9E2AF; }
.code-method { color: #89DCEB; }

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--accent-cyan);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
    font-size: 0.85rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ========== Section Header ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 194, 203, 0.1);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Services Section ========== */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, rgba(0, 194, 203, 0.03) 100%);
}

.dark-mode .services-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(0, 194, 203, 0.05) 100%);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.75rem;
    height: 360px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 194, 203, 0.1);
    position: relative;
    overflow: hidden;
}

.dark-mode .service-card {
    background: #161B22;
    border-color: rgba(255, 255, 255, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-1);
    border-radius: 4px 0 0 4px;
    transition: var(--transition-smooth);
    z-index: 1;
}

.service-card:hover::before {
    height: 100%;
}

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

.service-icon {
    width: 58px;
    height: 58px;
    background: var(--gradient-1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.service-desc {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.service-card .service-link {
    margin-top: auto;
    padding-top: 0.75rem;
    font-size: 0.9rem;
}

.service-link {
    color: var(--accent-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.service-link:hover {
    gap: 1rem;
    color: var(--primary-navy);
}

/* ========== Stats Section — Premium Redesign ========== */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A2A5E 0%, #0d3b7a 40%, #00C2CB 100%);
    position: relative;
    overflow: hidden;
}

/* Animated dot grid background */
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 32px 32px;
    animation: bg-drift 20s linear infinite;
}
.stats-section::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,194,203,0.18) 0%, transparent 70%);
    top: -100px; right: -100px;
    border-radius: 50%;
}
@keyframes bg-drift { from { background-position: 0 0; } to { background-position: 32px 32px; } }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Individual stat card */
.stat-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.stat-item:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.stat-item:hover::before { transform: scaleX(1); }

/* Icon wrapper — glowing circle */
.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.6rem;
    position: relative;
}
.stat-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    border: 1.5px solid rgba(255,255,255,0.15);
}
.stat-icon-1 { background: linear-gradient(135deg, rgba(0,194,203,0.3), rgba(0,194,203,0.1)); color: #00C2CB; }
.stat-icon-2 { background: linear-gradient(135deg, rgba(255,107,53,0.3), rgba(255,107,53,0.1)); color: #FF8F5A; }
.stat-icon-3 { background: linear-gradient(135deg, rgba(168,85,247,0.3), rgba(168,85,247,0.1)); color: #c084fc; }
.stat-icon-4 { background: linear-gradient(135deg, rgba(34,197,94,0.3), rgba(34,197,94,0.1)); color: #4ade80; }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

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

.stat-label {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin-top: 0.4rem;
    font-weight: 500;
}

.stat-trend {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(34,197,94,0.15);
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

/* ========== Why Section ========== */
.why-section {
    padding: 100px 0;
    background: white;
}

.dark-mode .why-section {
    background: var(--dark-bg);
}

.why-text {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.why-features {
    margin-bottom: 2rem;
}

.why-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(0, 194, 203, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Why Visual */
.why-visual {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.why-visual::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    background: linear-gradient(135deg, rgba(0,194,203,0.1) 0%, rgba(10,42,94,0.06) 100%);
    border-radius: 50%;
    animation: float-orb 8s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    animation: float-card 4s ease-in-out infinite;
}

.dark-mode .floating-card {
    background: #161B22;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

.card-1 { top: 8%;    left: 8%;   animation-delay: 0s;   background: white; border-left: 3px solid #00C2CB; }
.card-2 { top: 28%;   right: 3%;  animation-delay: 0.6s; background: white; border-left: 3px solid #FF6B35; }
.card-3 { bottom: 28%; left: 3%;  animation-delay: 1.1s; background: white; border-left: 3px solid #0A2A5E; }
.card-4 { bottom: 8%; right: 10%; animation-delay: 1.6s; background: white; border-left: 3px solid #22c55e; }

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ========== Buttons ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-1);
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: var(--primary-navy);
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--primary-navy);
    transition: var(--transition-fast);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-3px);
}

/* ========== Portfolio Section ========== */
.portfolio-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(0, 194, 203, 0.03) 0%, var(--bg-white) 100%);
}

.dark-mode .portfolio-section {
    background: linear-gradient(180deg, rgba(0, 194, 203, 0.05) 0%, var(--dark-bg) 100%);
}

.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
}

.dark-mode .portfolio-card {
    background: #161B22;
}

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

.portfolio-image {
    height: 200px;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

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

.portfolio-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-size: 1.2rem;
}

.portfolio-link:hover {
    transform: rotate(45deg);
}

.portfolio-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--primary-navy);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.portfolio-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.portfolio-tech span {
    background: rgba(0, 194, 203, 0.1);
    color: var(--accent-cyan);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ========== Testimonials ========== */
.testimonials-section {
    padding: 100px 0;
    background: white;
}

.dark-mode .testimonials-section {
    background: var(--dark-bg);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 194, 203, 0.1);
    transition: var(--transition-smooth);
}

.dark-mode .testimonial-card {
    background: #161B22;
}

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

.testimonial-rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* ========== Tech Stack ========== */
.tech-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, rgba(0, 194, 203, 0.03) 100%);
}

.dark-mode .tech-section {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(0, 194, 203, 0.05) 100%);
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.tech-item {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.dark-mode .tech-item {
    background: #161B22;
}

.tech-item i {
    font-size: 2.5rem;
    color: var(--primary-navy);
}

.tech-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
}

.tech-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

.tech-item:hover i {
    color: var(--accent-cyan);
}

/* ========== Blog Section ========== */
.blog-section {
    padding: 100px 0;
    background: white;
}

.dark-mode .blog-section {
    background: var(--dark-bg);
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 194, 203, 0.1);
    height: 100%;
    transition: var(--transition-smooth);
}

.dark-mode .blog-card {
    background: #161B22;
}

.blog-image-rich {
    position: relative;
    overflow: hidden;
}

.blog-cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-cyan);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

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

.blog-image {
    height: 180px;
    background: var(--gradient-1);
    position: relative;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--primary-navy);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.dark-mode .blog-meta {
    color: rgba(255, 255, 255, 0.5);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--primary-navy);
    transition: var(--transition-fast);
}

.dark-mode .blog-content h3 {
    color: white;
}

.blog-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.dark-mode .blog-content p {
    color: rgba(255, 255, 255, 0.7);
}

.blog-link {
    color: var(--accent-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.blog-link:hover {
    gap: 1rem;
    color: var(--primary-navy);
}

/* Dark Mode Blog Post Overrides */
.dark-mode .blog-post-content {
    background: #161B22 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.dark-mode .blog-body {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.dark-mode .blog-body h1, 
.dark-mode .blog-body h2, 
.dark-mode .blog-body h3, 
.dark-mode .blog-body h4 {
    color: white !important;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.dark-mode .blog-body strong {
    color: var(--accent-cyan) !important;
}

.dark-mode .blog-body li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.dark-mode .blog-post-sidebar .card {
    background: #161B22 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.dark-mode .sidebar-title {
    color: white !important;
}

.dark-mode .related-post-title {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-1);
    position: relative;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--primary-navy);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* ========== Footer ========== */
.footer {
    background: var(--primary-navy);
    color: white;
}

.footer-main {
    padding: 80px 0 40px;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--accent-cyan);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--accent-cyan);
}

.footer-newsletter h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--accent-cyan);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent-cyan);
}

/* ========== Page Hero ========== */
.page-hero {
    padding-top: 120px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumb-item a:hover {
    color: white;
}

/* ========== Process Card ========== */
.process-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 194, 203, 0.1);
}

.dark-mode .process-card {
    background: #161B22;
}

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

.process-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.process-card h3 {
    margin-bottom: 0.75rem;
}

.process-card p {
    color: var(--text-gray);
    margin: 0;
}

/* ========== Contact Form ========== */
.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.dark-mode .contact-form-card {
    background: #161B22;
}

.form-floating > .form-control:focus ~ label {
    color: var(--accent-cyan);
}

.contact-info-card {
    background: var(--gradient-1);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    color: white;
}

.contact-info-card h3 {
    color: white;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

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

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .tech-item {
        width: 100px;
        height: 100px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 80px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-primary-hero, .btn-secondary-hero {
        width: 100%;
        justify-content: center;
    }

    .trust-logos {
        display: none;
    }

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

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-navy);
}