

/* ---- CSS Variables ----
   Brand: confident deep "signal blue" + warm amber accent.
   Solid, ownable colors instead of the generic cyan→purple gradient. */
:root {
    --primary: #0b66c3;
    --primary-dark: #08498f;
    --primary-light: #3b8fe0;
    --accent: #f5871f;
    --accent-dark: #d96e0a;

    --surface-900: #0c1626;
    --surface-800: #15233a;
    --surface-700: #2c3e57;
    --surface-600: #475569;
    --surface-400: #94a3b8;
    --surface-300: #cbd5e1;
    --surface-200: #e2e8f0;
    --surface-100: #f1f5f9;
    --surface-50: #f7f8fa;
    --white: #ffffff;

    --text-primary: #111c2e;
    --text-secondary: #4a5568;
    --text-muted: #64748b;
    --text-light: #f7f8fa;

    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Single-hue depth gradients — no rainbow. Amber stays a sharp solid accent. */
    --gradient-primary: linear-gradient(135deg, #1277d6 0%, #08498f 100%);
    --gradient-dark: linear-gradient(135deg, #0c1626 0%, #15233a 100%);
    --gradient-hero: linear-gradient(135deg, #0c1626 0%, #15233a 45%, #0c1626 100%);
    --gradient-card: linear-gradient(135deg, rgba(11, 102, 195, 0.07) 0%, rgba(245, 135, 31, 0.06) 100%);

    --shadow-sm: 0 1px 3px rgba(12, 22, 38, 0.08);
    --shadow-md: 0 4px 14px rgba(12, 22, 38, 0.08);
    --shadow-lg: 0 10px 30px rgba(12, 22, 38, 0.1);
    --shadow-xl: 0 20px 50px rgba(12, 22, 38, 0.15);
    --shadow-glow: 0 0 30px rgba(11, 102, 195, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Sora', 'Plus Jakarta Sans', sans-serif;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--surface-50);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 102, 195, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(11, 102, 195, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 2px solid var(--surface-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}


/* ---- Shine sweep on primary buttons — on hover only (feels intentional) ---- */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 45%;
    height: 200%;
    background: linear-gradient(105deg,
            transparent 30%,
            rgba(255, 255, 255, 0.35) 50%,
            transparent 70%);
    transform: skewX(-20deg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn-primary:hover::after {
    opacity: 1;
    animation: shineSweep 0.75s ease-out;
}

@keyframes shineSweep {
    0% {
        left: -75%;
    }

    100% {
        left: 140%;
    }
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--surface-900);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: preloaderSpin 1.5s linear infinite;
}

.preloader-ring:nth-child(1) {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary);
    animation-duration: 1.5s;
}

.preloader-ring:nth-child(2) {
    width: 75%;
    height: 75%;
    border-right-color: var(--accent);
    animation-duration: 2s;
    animation-direction: reverse;
}

.preloader-ring:nth-child(3) {
    width: 50%;
    height: 50%;
    border-bottom-color: var(--primary-light);
    animation-duration: 1s;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--surface-400);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    position: absolute;
    bottom: -36px;
    white-space: nowrap;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloaderPulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

/* Nav links start white, go dark on scroll */
.header .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.header .nav-link:hover,
.header .nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.header.scrolled .nav-link {
    color: var(--text-secondary);
}

.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--primary);
    background: rgba(11, 102, 195, 0.08);
}

/* Hamburger bars start white */
.header .menu-icon span {
    background-color: var(--white);
}

.header.scrolled .menu-icon span {
    background-color: var(--text-primary);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(12, 22, 38, 0.08);
    box-shadow: 0 4px 30px rgba(12, 22, 38, 0.08);
}

.navbar {
    padding: 0;
}

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

/* ---- Logo Wrapper (Header) ---- */
.logo-wrapper {
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    transition: transform var(--transition-base);
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

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

/* ---- Hero Logo Badge ---- */
.hero-logo-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 125px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(11, 102, 195, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.9);
    animation: floatGently 6s ease-in-out infinite;
    z-index: 2;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-logo-badge:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 80px rgba(11, 102, 195, 0.5);
    transform: translate(-50%, -50%) scale(1.05);
}

.hero-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes floatGently {

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

    50% {
        transform: translate(-50%, -50%) translateY(-12px);
    }
}

/* ---- Footer Logo Wrapper ---- */
.footer-logo-wrapper {
    background: #ffffff;
    padding: 8px 20px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.footer-logo-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 102, 195, 0.2);
}

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

/* ---- Desktop Nav Links ---- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    position: relative;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(11, 102, 195, 0.08);
}

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

.nav-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.nav-call-btn:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 135, 31, 0.3);
}

.header.scrolled .nav-call-btn {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(11, 102, 195, 0.2);
}

.header.scrolled .nav-call-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 6px 15px rgba(8, 73, 143, 0.3);
}

@media (max-width: 480px) {
    .nav-call-btn {
        padding: 8px;
    }

    .nav-call-btn .call-number {
        display: none;
    }
}

/* ---- Menu Icon (Hamburger) ---- */
.menu-icon {
    display: none;
    /* hidden on desktop */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 4px;
    background: none;
    border: none;
    z-index: 1001;
}

.menu-icon span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

/* ---- Nav Overlay (backdrop) ---- */
.nav-overlay {
    display: none;
    /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 22, 38, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ---- Nav Drawer (mobile slide-out) ---- */
.nav-drawer {
    display: none;
    /* hidden by default */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 80%;
    background: linear-gradient(185deg, #051d2e 0%, #082d47 100%);
    flex-direction: column;
    padding: 30px 24px;
    z-index: 1100;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.45);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer.active {
    transform: translateX(0);
}

/* Drawer Header */
.drawer-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.drawer-logo .logo-circle {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #0b66c3 0%, #8b5cf6 100%);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(11, 102, 195, 0.3);
}

.drawer-logo .logo-text {
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition-fast);
}

.drawer-close-btn:hover {
    color: var(--white);
}

/* Drawer Links */
.drawer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.drawer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 16px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    background: transparent;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.drawer-link:hover,
.drawer-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-left: 3px solid #0b66c3;
    padding-left: 13px;
}

/* Drawer Footer */
.drawer-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    width: 100%;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    padding-top: 24px;
}

.drawer-footer svg {
    animation: bounceUpDown 2s infinite;
}

@keyframes bounceUpDown {

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

    50% {
        transform: translateY(5px);
    }
}


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

    .menu-icon {
        display: flex;
    }

    /* Hide desktop links */
    .nav-links {
        display: none !important;
    }

    /* Show overlay & drawer as flex (still offscreen until .active) */
    .nav-overlay {
        display: block;
    }

    .nav-drawer {
        display: flex;
    }
}

/* Hide drawer & overlay on desktop */
@media (min-width: 769px) {

    .nav-drawer,
    .nav-overlay {
        display: none !important;
    }

    .menu-icon {
        display: none !important;
    }
}

/* Header & Navigation styled via navbar.css import at top */


/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--gradient-card);
    border: 1px solid rgba(11, 102, 195, 0.1);
    border-radius: var(--radius-full);

    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* ============================================
   WAVE DIVIDER
   ============================================ */
.wave-divider {
    position: relative;
    margin-top: -2px;
    z-index: 3;
    line-height: 0;
    color: var(--white);
}

.wave-divider svg {
    width: 100%;
    height: 60px;
    display: block;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--surface-900);
    color: var(--surface-400);
    padding: 72px 24px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand h3 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--surface-400);
    transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--surface-200);
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Original Brand Colors for Social Links */
.social-link[aria-label="Facebook"] {
    color: #1877F2;
    border-color: rgba(24, 119, 242, 0.4);
    background: rgba(24, 119, 242, 0.08);
}
.social-link[aria-label="Facebook"]:hover {
    background: #1877F2;
    color: #ffffff;
    border-color: #1877F2;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.4);
}

.social-link[aria-label="Instagram"] {
    color: #F56040;
    border-color: rgba(245, 96, 64, 0.4);
    background: rgba(245, 96, 64, 0.08);
}
.social-link[aria-label="Instagram"]:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(228, 64, 95, 0.4);
}

.social-link[aria-label="TikTok"] {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}
.social-link[aria-label="TikTok"]:hover {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

.social-link[aria-label="YouTube"] {
    color: #FF0000;
    border-color: rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.08);
}
.social-link[aria-label="YouTube"]:hover {
    background: #FF0000;
    color: #ffffff;
    border-color: #FF0000;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
}

.social-link[aria-label="WhatsApp"] {
    color: #25D366;
    border-color: rgba(37, 211, 102, 0.4);
    background: rgba(37, 211, 102, 0.08);
}
.social-link[aria-label="WhatsApp"]:hover {
    background: #25D366;
    color: #ffffff;
    border-color: #25D366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}


/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(11, 102, 195, 0.3);
}

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

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(11, 102, 195, 0.4);
}

.scroll-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   WHATSAPP BUTTON
   ============================================ */
.whatsapp-btn {
    display: none;
    /* Hidden — no WhatsApp number configured */
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    top: 88px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--white);
    border: 1px solid var(--surface-200);
    border-left: 4px solid var(--success);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3000;
    transform: translateX(120%);
    transition: transform var(--transition-base);
    font-size: 0.9rem;
    font-weight: 500;
    max-width: 380px;
}

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

.toast-icon {
    width: 32px;
    height: 32px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--success);
}

.toast-icon svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   ANIMATIONS - PROFESSIONAL & SMOOTH
   ============================================ */

/* ENTRANCE ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-24px);
    }

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

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

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-8deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* CONTINUOUS ANIMATIONS */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes float {

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

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

@keyframes floatSlow {

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

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

@keyframes floatLarge {

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

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

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(11, 102, 195, 0.3), 0 4px 15px rgba(11, 102, 195, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(11, 102, 195, 0.5), 0 4px 25px rgba(11, 102, 195, 0.3);
    }
}

@keyframes glowAccent {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(245, 135, 31, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(245, 135, 31, 0.5);
    }
}

@keyframes shimmer {

    0%,
    100% {
        left: -60%;
    }

    50% {
        left: 120%;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

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

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-12px);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

@keyframes slideRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

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

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

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

/* GRADIENT & EFFECT ANIMATIONS */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes colorPulse {

    0%,
    100% {
        color: var(--text-primary);
    }

    50% {
        color: var(--primary);
    }
}

@keyframes colorWave {
    0% {
        color: var(--primary);
    }

    50% {
        color: var(--accent);
    }

    100% {
        color: var(--primary);
    }
}

@keyframes shake {

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

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

@keyframes bounce {

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

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

@keyframes swing {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(1.5deg);
    }

    75% {
        transform: rotate(-1.5deg);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.1);
    }

    28% {
        transform: scale(1);
    }
}

/* CONFETTI & PARTICLES */
@keyframes confettiFall {
    to {
        transform: translateY(100vh) rotateZ(360deg);
        opacity: 0;
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) translateX(20px);
    }
}

/* STAGGER ANIMATIONS */
@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* SMOOTH TRANSITIONS */
@keyframes smoothPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes smoothGrow {
    from {
        transform: scaleX(0);
        opacity: 0;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes smoothBounce {

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

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

/* ENHANCED HOVER STATES */
@keyframes hoverLift {
    from {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(11, 102, 195, 0.2);
    }

    to {
        transform: translateY(-6px);
        box-shadow: 0 12px 30px rgba(11, 102, 195, 0.35);
    }
}

@keyframes hoverScale {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

@keyframes hoverRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(8deg);
    }
}

/* Reveal animation for cards — enhanced with directions */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Directional reveal variants */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.reveal-rotate {
    opacity: 0;
    transform: rotate(-8deg) scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-rotate.visible {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* SECTION ENTRANCE ANIMATIONS */
.section-header {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.section-tag {
    animation: slideInLeft 0.6s ease 0.1s both;
}

.section-title {
    animation: slideInUp 0.8s ease 0.15s both;
}

.section-subtitle {
    animation: slideInUp 0.8s ease 0.2s both;
}

/* SERVICE & PRODUCT CARD ENHANCED ANIMATIONS */
.service-card,
.product-card {
    animation: slideInUp 0.6s ease both;
    will-change: transform, box-shadow;
}

.service-card:hover,
.product-card:hover {
    animation: none;
}

/* Icon animations */
.service-icon,
.service-image-wrapper img,
.product-image-wrapper img {
    will-change: transform;
}

.service-card .service-icon {
    animation: fadeInUp 0.6s ease 0.3s both;
    transition: all var(--transition-base);
}

.product-badge {
    animation: slideInDown 0.6s ease 0.2s both;
    will-change: transform;
}

/* TEXT ANIMATIONS */
.service-card h3,
.product-card h3 {
    animation: slideInUp 0.5s ease 0.25s both;
}

.service-card p,
.product-card .product-desc {
    animation: fadeInUp 0.5s ease 0.3s both;
}

.service-cta,
.btn-enquire-now {
    animation: slideInUp 0.5s ease 0.35s both;
    transition: all var(--transition-base);
}

/* BUTTON ANIMATIONS */
.btn {
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    transition: all var(--transition-base);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.4s ease;
    pointer-events: none;
}

.btn:hover::before {
    left: 100%;
}

/* HEADER & NAV ANIMATIONS */
.logo-wrapper {
    animation: slideInLeft 0.6s ease both;
    will-change: transform;
}

.nav-link {
    position: relative;
    transition: all var(--transition-base);
}

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

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

/* HERO SECTION ANIMATIONS */
.hero-logo-badge-center {
    animation: floatLarge 6s ease-in-out infinite;
    will-change: transform;
}

.hero-logo-badge-center:hover {
    animation: none;
}

.hero h1 {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
}

.hero-subtitle {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-description {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-ctas {
    animation: slideInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-visual .circle {
    will-change: transform;
}

.center-glow {
    animation: breathe 4s ease-in-out infinite;
    will-change: transform;
}

/* TYPEWRITER ANIMATIONS */
.typewriter-text {
    animation: typewriter-fade 0.3s ease;
}

@keyframes typewriter-fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.typewriter-cursor {
    animation: cursorBlink 0.7s steps(1) infinite;
    will-change: opacity;
}

/* FILTER CHIPS ANIMATION */
.filter-chips {
    animation: slideInUp 0.6s ease both;
}

.filter-chip {
    animation: fadeInUp 0.5s ease both;
    will-change: transform;
    transition: all var(--transition-base);
}

.filter-chip:active {
    animation: pulse 0.3s ease;
}

/* TAB SWITCHER ANIMATIONS */
.solutions-tab {
    position: relative;
    transition: all var(--transition-base);
    will-change: transform, box-shadow;
}

.solutions-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
    border-radius: 2px;
}

.solutions-tab:hover::after {
    width: 40%;
}

.solutions-tab.active::after {
    width: 100%;
}

/* PANEL TRANSITION */
.solutions-panel {
    animation: fadeInUp 0.5s ease both;
    will-change: opacity, transform;
}

/* ABOUT SECTION ANIMATIONS */
.about-image-wrapper img {
    will-change: transform;
}

.about-experience-badge {
    animation: float 4s ease-in-out infinite;
    will-change: transform;
}

.about-mini-stat {
    transition: all var(--transition-base);
}

/* CONTACT FORM ANIMATIONS */
.info-card {
    transition: all var(--transition-base);
}

/* FOOTER ANIMATIONS */
.footer-col ul li a {
    position: relative;
    transition: all var(--transition-base);
}

.footer-col ul li a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-light);
    transition: width var(--transition-base);
}

.footer-col ul li a:hover::before {
    width: 100%;
}

/* SCROLL-TO-TOP & WHATSAPP ANIMATIONS */
.scroll-top,
.whatsapp-btn {
    animation: slideInUp 0.6s ease both;
    will-change: transform;
}


/* ---- 3D Tilt Effect on Cards ---- */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-card .service-icon,
.tilt-card .product-badge,
.tilt-card h3 {
    transform: translateZ(20px);
    will-change: transform;
}

/* MOBILE-SPECIFIC ANIMATIONS */
@media (max-width: 768px) {

    /* Reduce animation complexity on mobile for better performance */
    .hero-visual,
    .ambient-glow {
        animation: none !important;
    }

    /* Simplify stagger animations */
    .service-card,
    .product-card {
        animation: slideInUp 0.5s ease both !important;
    }

    /* Disable 3D transforms on mobile */
    .tilt-card {
        transform-style: flat;
    }

    .tilt-card .service-icon,
    .tilt-card .product-badge,
    .tilt-card h3 {
        transform: none !important;
    }

    /* Mobile-optimized transitions */
    .btn {
        transition: all var(--transition-base);
    }

}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .solutions-tabs {
        max-width: 100%;
    }

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

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

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 40px;
    }

    .nav-menu.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 24px;
        color: var(--surface-200);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--white);
        background: rgba(255, 255, 255, 0.08);
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 24px 60px;
        background-image: url('../images/home.png');
    }
    .hero-content {
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
    .hero-subtitle {
        justify-content: center;
    }
    .hero-ctas {
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .hero-stats .hero-stat {
        flex: 1;
        min-width: 80px;
    }

    .solutions {
        padding: 64px 16px;
    }

    .solutions-tabs {
        flex-direction: column;
        border-radius: var(--radius-lg);
        max-width: 320px;
    }

    .solutions-tab {
        padding: 12px 20px;
    }

    .contact {
        padding: 64px 16px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }


    .contact-form-card {
        padding: 0;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }

    /* WhatsApp button hidden globally — no mobile override needed */

}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar .container {
        height: 64px;
    }

    .logo-wrapper {
        height: 48px;
        padding: 0;
    }

    .logo-wrapper img {
        height: 46px;
    }

    .hero {
        padding: 110px 16px 48px;
    }

    .hero-logo-badge-center {
        width: 100px;
        height: 100px;
        padding: 14px;
        margin-bottom: 16px;
        animation: floatSlow 5s ease-in-out infinite !important;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.05em;
        margin-bottom: 16px;
    }

    .hero h1 {
        font-size: 1.8rem;
        animation: slideInUp 0.6s ease 0.1s both !important;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 24px;
        animation: slideInUp 0.6s ease 0.2s both !important;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        animation: slideInUp 0.6s ease 0.3s both !important;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .section-header {
        margin-bottom: 40px;
        animation: fadeInUp 0.6s ease both !important;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .product-body {
        padding: 16px;
    }

    /* Mobile-optimized animations */
    .service-card,
    .product-card {
        animation: slideInUp 0.5s ease both !important;
    }

    .filter-chip {
        animation: fadeInUp 0.4s ease both !important;
        margin: 4px 2px;
    }

    .about-mini-stat {
        animation: slideInUp 0.4s ease both !important;
    }

    .info-card {
        animation: slideInUp 0.4s ease both !important;
    }

    /* Disable hover animations on mobile */
    .service-card:hover,
    .product-card:hover {
        transform: translateY(0) !important;
    }

    .btn:hover,
    .social-link:hover {
        transform: none !important;
    }

    /* Reduce animation duration on mobile */
    :root {
        --transition-fast: 0.15s !important;
        --transition-base: 0.25s !important;
        --transition-slow: 0.35s !important;
    }

    /* Disable expensive animations */
    .hero-visual,
    .ambient-glow {
        display: none !important;
    }

    .hero::before {
        animation: none !important;
    }

    .center-glow {
        animation: none !important;
    }

    .hero-particles {
        display: none !important;
    }
}

/* ANIMATIONS FOR DYNAMIC CONTENT */
@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

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

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

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

@keyframes cartFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(300px, -300px) scale(0.5);
        opacity: 0;
    }
}

/* ============================================
   REFINED MICRO-INTERACTIONS (added)
   Quality over quantity — a few intentional touches
   that replace the older scattered/looping animations.
   ============================================ */

/* Accent line sweeps across the top of cards on hover */
.service-card,
.product-card {
    position: relative;
}

.service-card::after,
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 3px 3px 0 0;
    z-index: 3;
    pointer-events: none;
}

.service-card:hover::after,
.product-card:hover::after {
    transform: scaleX(1);
}

/* Nav links: a clean underline that grows from the left on hover */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Consistent, subtle hover lift for social + whatsapp (replaces JS bounce/heartbeat) */
.social-link,
.whatsapp-btn {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.whatsapp-btn:hover {
    transform: translateY(-3px) scale(1.04);
}

/* Respect reduced-motion for the added effects too */
@media (prefers-reduced-motion: reduce) {

    .service-card::after,
    .product-card::after,
    .nav-link::after,
    .btn-primary::after {
        transition: none;
        animation: none;
    }
}

/* ============================================
   ACCESSIBILITY (added)
   ============================================ */

/* Skip link — hidden until a keyboard user tabs to it */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 2000;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    transition: top 0.25s ease;
}

.skip-link:focus {
    top: 16px;
    outline: none;
}

/* Clear, visible keyboard focus on all interactive elements
   (mouse clicks stay clean — only keyboard navigation shows the ring) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
.solutions-tab:focus-visible,
.filter-chip:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Make sure inputs show a clear focus state too */
.input-wrapper:focus-within {
    box-shadow: 0 0 0 3px rgba(11, 102, 195, 0.18);
    border-radius: var(--radius-md);
}

/* Offset anchor targets so the fixed header doesn't cover section headings */
#home,
#about,
#solutions,
#contact {
    scroll-margin-top: 88px;
}

/* ============================================================
   ✦ PREMIUM ENHANCEMENTS LAYER  (appended — overrides above)
   Adds: animated hero, glass scroll-spy header, scroll progress,
   refined card glow + reveals, gradient counters, polished
   footer, custom scrollbar, grain texture, floating WhatsApp.
   New keyframes are prefixed gx* to avoid any collisions.
   ============================================================ */

/* ---- Reusable easing tokens ---- */
:root {
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   1 · SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 2000;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    box-shadow: 0 0 12px rgba(11, 102, 195, 0.6);
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ============================================================
   2 · GRAIN / NOISE TEXTURE OVERLAY (adds depth)
   ============================================================ */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   3 · CUSTOM SCROLLBAR
   ============================================================ */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--surface-100);
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--primary-dark));
    border-radius: 99px;
    border: 2px solid var(--surface-100);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(var(--primary-light), var(--primary));
}

::selection {
    background: rgba(11, 102, 195, 0.22);
    color: var(--text-primary);
}

/* ============================================================
   4 · HERO — richer animated atmosphere
   ============================================================ */
/* Drifting aurora blobs (decorative, behind content) */
.hero-aurora {
    position: absolute;
    inset: -10%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.55;
    will-change: transform;
}

.hero-aurora .a1 {
    width: 480px;
    height: 480px;
    top: -8%;
    left: -6%;
    background: radial-gradient(circle, rgba(59, 143, 224, 0.55), transparent 70%);
    animation: gxAurora1 16s ease-in-out infinite alternate;
}

.hero-aurora .a2 {
    width: 420px;
    height: 420px;
    bottom: -10%;
    right: -4%;
    background: radial-gradient(circle, rgba(245, 135, 31, 0.40), transparent 70%);
    animation: gxAurora2 20s ease-in-out infinite alternate;
}

.hero-aurora .a3 {
    width: 360px;
    height: 360px;
    top: 30%;
    right: 22%;
    background: radial-gradient(circle, rgba(11, 102, 195, 0.45), transparent 70%);
    animation: gxAurora3 24s ease-in-out infinite alternate;
}

@keyframes gxAurora1 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(80px, 60px) scale(1.18);
    }
}

@keyframes gxAurora2 {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-90px, -50px) scale(1.22);
    }
}

@keyframes gxAurora3 {
    from {
        transform: translate(0, 0) scale(0.9);
    }

    to {
        transform: translate(-60px, 70px) scale(1.15);
    }
}

/* Slowly drifting grid for subtle motion (overrides static ::after feel) */
.hero::after {
    animation: gxGridDrift 40s linear infinite;
}

@keyframes gxGridDrift {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 60px 60px;
    }
}

/* Animated shimmer sweep across the headline — stays light & legible on dark */
.hero-content h1 {
    background: linear-gradient(100deg, #ffffff 30%, #bfe0ff 50%, #ffffff 70%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: fadeInUp 0.6s ease 0.1s both, gxShimmer 6s linear 1.2s infinite;
    text-shadow: none;
}

@keyframes gxShimmer {
    to {
        background-position: -220% center;
    }
}

/* Glassy logo badge gets a slow rotating sheen ring */
.hero-logo-badge-center::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0%, rgba(59, 143, 224, 0.9) 18%, transparent 38%, transparent 60%, rgba(245, 135, 31, 0.8) 78%, transparent 96%);
    z-index: -1;
    animation: gxSpinRing 7s linear infinite;
    filter: blur(2px);
}

.hero-logo-badge-center {
    position: relative;
    isolation: isolate;
}

@keyframes gxSpinRing {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll-down indicator */
.hero-scroll-cue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease 1s both;
}

.hero-scroll-cue .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    position: relative;
}

.hero-scroll-cue .mouse::before {
    content: '';
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 4px;
    background: var(--primary-light);
    animation: gxScrollDot 1.8s ease-in-out infinite;
}

@keyframes gxScrollDot {
    0% {
        opacity: 0;
        transform: translateY(0);
    }

    35% {
        opacity: 1;
    }

    70% {
        opacity: 1;
        transform: translateY(12px);
    }

    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

/* ============================================================
   5 · HEADER — glass refinement + animated nav underline
   ============================================================ */
.header.scrolled {
    background: rgba(247, 248, 250, 0.78);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    backdrop-filter: blur(22px) saturate(150%);
}

/* moving gradient hairline under scrolled header */
.header.scrolled::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary) 30%, var(--accent) 70%, transparent);
    background-size: 200% 100%;
    animation: gxHairline 6s linear infinite;
    opacity: 0.7;
}

@keyframes gxHairline {
    to {
        background-position: 200% 0;
    }
}

.header .nav-link {
    position: relative;
    transition: color var(--transition-base), background var(--transition-base);
}

.header .nav-link::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    width: auto;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out-expo);
}

.header .nav-link:hover::after,
.header .nav-link.active::after {
    transform: scaleX(1);
}

/* ============================================================
   6 · BUTTONS — refined glow + ripple support
   ============================================================ */
.btn {
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 45%, var(--primary-dark) 100%);
    background-size: 180% 180%;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background-position 0.6s ease;
}

.btn-primary:hover {
    background-position: 100% 100%;
    box-shadow: 0 10px 30px rgba(11, 102, 195, 0.45), 0 0 0 1px rgba(59, 143, 224, 0.4);
}

.btn .gx-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    background: rgba(255, 255, 255, 0.45);
    pointer-events: none;
    animation: gxRipple 0.65s var(--ease-out-expo);
}

@keyframes gxRipple {
    to {
        transform: scale(2.6);
        opacity: 0;
    }
}

/* ============================================================
   7 · SECTION TITLES — animated draw-in underline accent
   ============================================================ */
.section-header {
    position: relative;
}

.section-header .section-title {
    position: relative;
    display: inline-block;
}

.section-header .section-title::after {
    content: '';
    display: block;
    height: 4px;
    width: 0;
    margin: 14px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.9s var(--ease-out-expo) 0.2s;
}

.section-header.visible .section-title::after,
.reveal-scale.visible .section-title::after {
    width: 72px;
}

/* fallback: if reveal class never fires, still show after load */
.section-header .section-title::after {
    width: 72px;
}

/* ============================================================
   8 · SERVICE / PRODUCT CARDS — animated glow edge + reveal blur
   ============================================================ */
.service-card,
.product-card {
    transition: box-shadow 0.45s var(--ease-out-expo), border-color 0.45s var(--ease-out-expo), background var(--transition-base);
}

/* top accent that expands on hover */
.service-card::after,
.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.5s var(--ease-out-expo);
    z-index: 6;
}

.service-card:hover::after,
.product-card:hover::after {
    width: 100%;
}

.service-card:hover,
.product-card:hover {
    box-shadow: 0 0 0 1px rgba(59, 143, 224, 0.55), 0 22px 48px rgba(11, 102, 195, 0.18), 0 0 60px rgba(11, 102, 195, 0.10);
}

/* CTA arrow nudges on hover */
.service-cta {
    transition: gap 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-cta .cta-arrow,
.service-cta:hover .cta-arrow {
    animation: gxArrowNudge 0.9s ease-in-out infinite;
}

@keyframes gxArrowNudge {

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

    50% {
        transform: translateX(5px);
    }
}

/* product badge gentle pulse */
.product-badge {
    animation: gxBadgePulse 2.6s ease-in-out infinite;
}

@keyframes gxBadgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(245, 135, 31, 0.45);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(245, 135, 31, 0);
    }
}

/* tab switcher active glow */
.solutions-tab.active {
    box-shadow: 0 8px 22px rgba(11, 102, 195, 0.28);
}

/* ============================================================
   9 · REVEAL ANIMATIONS — add a soft blur-in on top of existing
   ============================================================ */
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-rotate {
    filter: blur(6px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo), filter 0.8s var(--ease-out-expo);
}

.reveal-left:not(.visible) {
    opacity: 0;
    transform: translateX(-46px);
}

.reveal-right:not(.visible) {
    opacity: 0;
    transform: translateX(46px);
}

.reveal-scale:not(.visible) {
    opacity: 0;
    transform: scale(0.94);
}

.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible,
.reveal-rotate.visible {
    filter: blur(0);
}

/* ============================================================
   10 · ABOUT — experience badge pulse ring + counter gradient
   ============================================================ */
.about-experience-badge {
    position: relative;
    isolation: isolate;
}

.about-experience-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--accent);
    animation: gxRingPulse 2.4s ease-out infinite;
    z-index: -1;
}

@keyframes gxRingPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.28);
        opacity: 0;
    }
}

.about-mini-stat .mini-stat-info strong,
.hero-stat .stat-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 130%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ============================================================
   11 · CONTACT FORM — focus glow + animated submit
   ============================================================ */
.contact .input-wrapper {
    transition: transform 0.3s var(--ease-spring);
}

.contact .input-wrapper:focus-within {
    transform: translateY(-2px);
}

.contact .input-wrapper input:focus,
.contact .input-wrapper textarea:focus {
    box-shadow: 0 0 0 4px rgba(11, 102, 195, 0.14);
}

.contact .input-wrapper:focus-within .input-icon {
    color: var(--primary);
}

/* ============================================================
   12 · FOOTER — gradient top accent + link slide
   ============================================================ */
.footer {
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: gxHairline 8s linear infinite;
}

.footer-col ul li a {
    position: relative;
    transition: color 0.3s ease, padding-left 0.3s var(--ease-out-expo);
}

.footer-col ul li a:hover {
    padding-left: 14px;
    color: var(--primary-light);
}

.footer-col ul li a::before {
    content: '→';
    position: absolute;
    left: -4px;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s var(--ease-out-expo);
}

.footer-col ul li a:hover::before {
    opacity: 1;
    left: 0;
}

/* ============================================================
   13 · SCROLL-TOP + FLOATING WHATSAPP
   ============================================================ */
.scroll-top {
    transition: opacity 0.4s ease, transform 0.4s var(--ease-spring), box-shadow 0.3s ease;
}

.scroll-top:hover {
    transform: translateY(-5px) scale(1.06);
}

.float-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 96px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c4b);
    color: #fff;
    z-index: 1400;
    box-shadow: 0 10px 26px rgba(18, 140, 75, 0.45);
    transform: scale(0);
    transition: transform 0.45s var(--ease-spring), box-shadow 0.3s ease;
}

.float-whatsapp.visible {
    transform: scale(1);
}

.float-whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 14px 32px rgba(18, 140, 75, 0.6);
}

.float-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: gxRingPulse 2.2s ease-out infinite;
}

.float-whatsapp svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   14 · PRELOADER — slightly richer text shimmer
   ============================================================ */
.preloader-text {
    background: linear-gradient(90deg, var(--primary-light), #fff, var(--accent), var(--primary-light));
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: gxShimmer 2.5s linear infinite;
}

/* ============================================================
   15 · ACCESSIBILITY — respect reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {

    .hero-aurora span,
    .hero::after,
    .hero-content h1,
    .hero-logo-badge-center::before,
    .hero-scroll-cue .mouse::before,
    .header.scrolled::after,
    .footer::before,
    .preloader-text,
    .product-badge,
    .about-experience-badge::before,
    .float-whatsapp::before {
        animation: none !important;
    }

    .hero-content h1 {
        background-position: 0 center;
    }
}

/* ============================================================
   16 · RESPONSIVE TWEAKS for new elements
   ============================================================ */
@media (max-width: 600px) {
    .hero-aurora span {
        filter: blur(60px);
        opacity: 0.4;
    }

    .float-whatsapp {
        right: 16px;
        bottom: 84px;
        width: 50px;
        height: 50px;
    }

    .float-whatsapp svg {
        width: 25px;
        height: 25px;
    }

    .hero-scroll-cue {
        display: none;
    }
}


/* ============================================================
   ✦ FIXES — hero logo visibility + on-brand contact background
   ============================================================ */

/* --- Hero logo: show the full circuit-G mark, never crop it ---
   The badge becomes a crisp white medallion; the icon is contained
   so the whole mark is visible (logo colors unchanged). --- */
.hero-logo-badge-center {
    background: #ffffff;
    overflow: hidden;
    padding: 10px;
}

.hero-logo-badge-center:hover {
    background: #ffffff;
}

.hero-logo-badge-center img {
    object-fit: contain;
    border-radius: 50%;
}

/* --- Contact: gradient overlay matching keyboard reference --- */

/* keep the form/info above the background */
.contact>.container {
    position: relative;
    z-index: 2;
}

/* mobile: fixed attachment is janky on phones — pin it normally */
@media (max-width: 768px) {
    .contact {
        background-attachment: scroll;
    }
}


