/* ============================================
   GEETA COMPUTER — Design System
   Modern, Professional, Premium
   ============================================ */

/* Google Fonts — distinctive pairing: Sora (display) + Plus Jakarta Sans (body) */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ---- 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 & NAVIGATION
   ============================================ */
.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 .hamburger span {
    background-color: var(--white);
}

.header.scrolled .hamburger 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;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.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;
}

.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;
}



.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 4px;
    background: none;
    border: none;
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   HERO SECTION
   ============================================ */
/* ---- Hero Particles Canvas ---- */
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(rgba(5, 15, 40, 0.65), rgba(10, 20, 50, 0.70)), url('images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 140px 24px 80px;
}

/* Animated background glow */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(11, 102, 195, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(245, 135, 31, 0.08) 0%, transparent 40%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

/* Subtle grid pattern */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
    pointer-events: none;
}

@keyframes heroGlow {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

.hero-content.centered {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ---- Centered Hero Logo Badge ---- */
.hero-logo-badge-center {
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 50px rgba(11, 102, 195, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 24px;
    animation: floatCenteredLogo 6s ease-in-out infinite;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hero-logo-badge-center:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 60px rgba(11, 102, 195, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-logo-badge-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes floatCenteredLogo {

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

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

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-light);
    letter-spacing: 0.08em;
    margin-bottom: 24px;
    text-transform: uppercase;
    animation: fadeInUp 0.6s ease 0.15s both;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* ---- Typewriter Effect ---- */
.typewriter-wrapper {
    display: inline-flex;
    align-items: center;
}

.typewriter-text {
    color: var(--white);
    font-weight: 700;
}

.typewriter-cursor {
    color: var(--primary-light);
    font-weight: 300;
    animation: cursorBlink 0.7s steps(1) infinite;
    margin-left: 1px;
}

@keyframes cursorBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-content.centered h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
}

.centered-desc {
    margin: 0 auto 36px;
    max-width: 620px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.centered-ctas {
    justify-content: center;
    width: 100%;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.25s both;
}

.centered-stats {
    justify-content: center;
    width: 100%;
    gap: 64px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

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

.hero-stat .stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat .stat-number span {
    color: var(--primary);
}

.hero-stat .stat-label {
    font-size: 0.85rem;
    color: var(--surface-400);
    font-weight: 400;
}

/* Hero floating decorative elements */
.hero-visual.centered-visual {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.hero-visual .circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(11, 102, 195, 0.15);
}

.hero-visual .circle-1 {
    width: 100%;
    height: 100%;
    animation: spinSlow 30s linear infinite;
}

.hero-visual .circle-2 {
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    border-color: rgba(245, 135, 31, 0.12);
    animation: spinSlow 25s linear infinite reverse;
}

.hero-visual .circle-3 {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    border-color: rgba(11, 102, 195, 0.1);
    animation: spinSlow 20s linear infinite;
}

.hero-visual .center-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(11, 102, 195, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: breathe 4s ease-in-out infinite;
}

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

@keyframes breathe {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* ============================================
   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;
}

/* ============================================
   SOLUTIONS SECTION (Services + Products Merged)
   ============================================ */
.solutions {
    position: relative;
    padding: 100px 24px;
    background: var(--surface-50);
    background-image: radial-gradient(var(--surface-200) 1px, transparent 1px);
    background-size: 24px 24px;
    overflow: hidden;
}

/* Ambient Glow Nodes */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: plus-lighter;
    animation: bounceSlow 18s infinite alternate ease-in-out;
}

.glow-1 {
    top: 8%;
    left: 4%;
    width: 350px;
    height: 350px;
    background: var(--primary);
}

.glow-2 {
    bottom: 12%;
    right: 5%;
    width: 400px;
    height: 400px;
    background: var(--accent);
    animation-delay: -6s;
}

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

    100% {
        transform: translate(45px, 25px) scale(1.15);
    }
}

/* ---- Tab Switcher ---- */
.solutions-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-full);
    padding: 6px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-sm);
    z-index: 5;
    position: relative;
}

.solutions-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-full);
    background: transparent;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    white-space: nowrap;
    flex: 1;
    justify-content: center;
}

.solutions-tab:hover {
    color: var(--primary);
    background: rgba(11, 102, 195, 0.04);
}

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

.solutions-tab.active:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.solutions-tab svg {
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.solutions-tab.active svg {
    color: var(--white);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 22px;
    padding: 0 7px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.solutions-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

/* ---- Tab Panels ---- */
.solutions-panels {
    position: relative;
}

.solutions-panel {
    display: none;
    animation: panelFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.solutions-panel.active {
    display: block;
}

@keyframes panelFadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

/* ---- Filter Chips ---- */
.filter-chips-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
    z-index: 5;
    position: relative;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
}

.filter-chip {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--surface-200);
    background: rgba(255, 255, 255, 0.75);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    backdrop-filter: blur(8px);
}

.filter-chip:hover {
    border-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.filter-chip.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(11, 102, 195, 0.25);
}

/* ---- Service Cards ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 440px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.service-image-wrapper {
    position: relative;
    height: 180px;
    background: var(--surface-100);
    overflow: hidden;
    margin-bottom: 24px;
}

.service-card:nth-child(odd) .service-image-wrapper {
    border-radius: 80px 15px 80px 15px;
}

.service-card:nth-child(even) .service-image-wrapper {
    border-radius: 15px 80px 15px 80px;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.08);
}

.service-image-wrapper .service-tag-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--text-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--surface-200);
    z-index: 5;
    box-shadow: var(--shadow-sm);
}

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

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary-light), 0 15px 35px rgba(11, 102, 195, 0.12);
    background: var(--white);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotate(8deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(11, 102, 195, 0.2);
}

.service-card:hover .service-icon svg {
    filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 0.3));
}

.service-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
    transition: color var(--transition-base);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-footer {
    margin-top: auto;
    border-top: 1px solid var(--surface-100);
    padding-top: 16px;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
    transition: all var(--transition-base);
}

.service-cta:hover {
    color: var(--accent);
}

.cta-arrow {
    transition: transform var(--transition-base);
}

.service-cta:hover .cta-arrow {
    transform: translateX(4px);
}

/* If the last card is alone on its row (e.g. 10th card in 3-column grid), span across all columns on desktop */
@media (min-width: 1025px) {
    .services-grid .service-card:last-child:nth-child(3n+1) {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        text-align: left;
        padding: 36px 40px;
        min-height: auto;
    }

    .services-grid .service-card:last-child:nth-child(3n+1) .service-image-wrapper {
        width: 240px;
        height: 160px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .services-grid .service-card:last-child:nth-child(3n+1) .service-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .services-grid .service-card:last-child:nth-child(3n+1) .service-info-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
        flex-grow: 1;
    }

    .services-grid .service-card:last-child:nth-child(3n+1) .service-info-text p {
        margin-bottom: 0;
    }

    .services-grid .service-card:last-child:nth-child(3n+1) h3 {
        margin-bottom: 4px;
    }

    .services-grid .service-card:last-child:nth-child(3n+1) .service-footer {
        margin-top: 0;
        border-top: none;
        padding-top: 0;
        padding-left: 24px;
        border-left: 1px solid var(--surface-100);
        display: flex;
        align-items: center;
    }
}


/* ============================================
   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;
}

/* ============================================
   ABOUT US SECTION
   ============================================ */
.about {
    padding: 100px 24px;
    background: var(--white);
}

/* About image reveal animation */

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(11, 102, 195, 0.12);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, 0.45) 100%);
    z-index: 1;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image-wrapper:hover img {
    transform: scale(1.04);
}

/* Experience badge floating on image */
.about-experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 10px 30px rgba(11, 102, 195, 0.4);
    line-height: 1.2;
}

.about-experience-badge .exp-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
}

.about-experience-badge .exp-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.9;
    margin-top: 2px;
}

/* About content column */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-tagline {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 10px;
}

.tagline-line {
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.about-title-serif {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

/* Decorative divider with dots */
.about-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 24px;
}

.divider-line {
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--surface-300), transparent);
}

.divider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.about-quote-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.85;
    text-align: center;
    margin-bottom: 20px;
    max-width: 520px;
}

.about-body-text-modern {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 520px;
}

/* Mini stats row */
.about-stats-row {
    display: flex;
    gap: 28px;
    width: 100%;
    justify-content: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.about-mini-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--surface-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--surface-200);
    transition: all var(--transition-base);
}

.about-mini-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.mini-stat-icon {
    width: 38px;
    height: 38px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mini-stat-icon svg {
    width: 18px;
    height: 18px;
    color: var(--white);
}

.mini-stat-info {
    display: flex;
    flex-direction: column;
}

.mini-stat-info strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.mini-stat-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.about-cta-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Responsive Overrides for About Us */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrapper {
        aspect-ratio: 16 / 9;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 64px 16px;
    }

    .about-image-wrapper {
        aspect-ratio: 4 / 3;
    }

    .about-stats-row {
        gap: 12px;
    }

    .about-mini-stat {
        padding: 10px 14px;
    }
}

/* Responsive Overrides for About Us */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-image-wrapper {
        aspect-ratio: 16 / 9;
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 64px 16px;
    }

    .about-image-wrapper {
        aspect-ratio: 4 / 3;
    }
}

/* ============================================
   PRODUCTS (within Solutions section)
   ============================================ */

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

.product-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 510px;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary-light), 0 15px 35px rgba(11, 102, 195, 0.12);
    background: var(--white);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: var(--radius-full);
    z-index: 5;
    text-transform: uppercase;
}

.product-image-wrapper {
    position: relative;
    height: 180px;
    background: var(--surface-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 24px 24px 0 24px;
}

.product-card:nth-child(odd) .product-image-wrapper {
    border-radius: 80px 15px 80px 15px;
}

.product-card:nth-child(even) .product-image-wrapper {
    border-radius: 15px 80px 15px 80px;
}

.product-image-wrapper img {
    width: auto;
    height: 85%;
    max-width: 85%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.06) translateY(-4px);
}

.product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-body h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.product-body .product-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.product-rating .stars {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--success);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.product-rating .count {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-dark);
    padding-left: 10px;
    border-left: 1px solid var(--surface-200);
}

.product-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--surface-50);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--surface-100);
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.spec-item svg {
    color: var(--success);
    flex-shrink: 0;
}

.product-footer {
    margin-top: auto;
}

.btn-enquire-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    color: var(--white) !important;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    box-shadow: 0 4px 12px rgba(11, 102, 195, 0.2);
    border: none;
    cursor: pointer;
}

.btn-enquire-now:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 102, 195, 0.35);
}

.btn-enquire-now svg {
    transition: transform var(--transition-fast);
}

.btn-enquire-now:hover svg {
    transform: translate(2px, -2px) scale(1.05);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 24px;
    background: linear-gradient(rgba(30, 50, 45, 0.82), rgba(25, 40, 38, 0.88)), url('images/contact_bg.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
    z-index: 2;
}

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

.contact-form-card,
.contact-info-side {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.contact-main-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.contact-subheading {
    font-size: 1.15rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details-direct p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
}

.contact-details-direct strong {
    color: var(--white);
}

.contact-form-heading {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 32px;
    line-height: 1.3;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

/* Hide icons in input wrappers for the contact section to match screenshot */
.contact .input-icon {
    display: none;
}

.contact .input-wrapper input,
.contact .input-wrapper textarea {
    width: 100%;
    padding: 12px 0 !important;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--white);
    background: transparent !important;
    transition: border-bottom-color var(--transition-base);
    outline: none;
}

.contact .input-wrapper input::placeholder,
.contact .input-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact .input-wrapper input:focus,
.contact .input-wrapper textarea:focus {
    border-bottom-color: var(--white);
    background: transparent !important;
    box-shadow: none;
    transform: none !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact #submitBtn {
    background: var(--white);
    color: var(--text-primary);
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    transition: all var(--transition-base);
}

.contact #submitBtn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
}

/* Contact Section Details Text Color Overrides for Dark Keyboard Background */
.contact .section-header .about-title-serif {
    background: none;
    -webkit-text-fill-color: var(--white);
    color: var(--white);
}

.contact .section-header .about-quote-text {
    color: rgba(255, 255, 255, 0.85);
}

.contact .about-tagline {
    color: var(--white);
}

.contact .tagline-line {
    background: var(--white);
}

.contact .about-divider .divider-line {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.contact .about-divider .divider-dot {
    background: var(--white);
}

.contact .contact-form-card h3 {
    color: var(--white);
}

.contact .contact-form-card .form-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.contact .contact-info-side h3 {
    color: var(--white);
}

.contact .contact-info-side .info-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.contact .info-card-content h4 {
    color: var(--white);
}

.contact .info-card-content p {
    color: rgba(255, 255, 255, 0.8);
}

.contact .social-links-wrapper span {
    color: var(--white);
}

.form-message {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    animation: fadeInUp 0.3s ease;
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.contact-info-side h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-info-side .info-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.info-card {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.info-card-content h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.info-card-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.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;
}

/* ============================================
   CONTACT STYLES & INTERACTION
   ============================================ */

/* Contact Input Wrapper & Icons */
.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    pointer-events: none;
}

.input-icon svg {
    width: 20px;
    height: 20px;
}

.form-group input {
    padding-left: 48px !important;
}

.textarea-wrapper .textarea-icon {
    top: 18px;
    transform: none;
}

.form-group textarea {
    padding-left: 48px !important;
}

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

.form-message.processing {
    display: block;
    background: rgba(11, 102, 195, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(11, 102, 195, 0.2);
}



/* Interactive Map Card */
.contact-map-card {
    width: 100%;
    height: 280px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
}

.contact-map-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.4);
}

.contact-map-card iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(1) contrast(1.1) brightness(0.95);
    transition: filter 0.5s ease;
}

.contact-map-card:hover iframe {
    filter: grayscale(0) contrast(1) brightness(1);
}

/* Social Links Wrapper */
.social-links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--surface-200);
}

.social-links-wrapper span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.social-links-wrapper .social-links {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}


/* ============================================
   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);
}



/* ============================================
   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;
    }

    .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: 180px;
    }

    .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.centered 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; 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.centered 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.centered 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: 24px;
}
.hero-logo-badge-center:hover {
    background: #ffffff;
}
.hero-logo-badge-center img {
    object-fit: contain;
    border-radius: 0;
}

/* --- Contact: deep brand navy + soft blue/amber glow ---
   Replaces the muddy green overlay so the section matches the
   hero & footer. The desk photo stays faintly underneath for texture. --- */
.contact {
    background:
        radial-gradient(circle at 12% 16%, rgba(11, 102, 195, 0.42), transparent 46%),
        radial-gradient(circle at 88% 86%, rgba(245, 135, 31, 0.24), transparent 46%),
        linear-gradient(rgba(12, 22, 38, 0.92), rgba(21, 35, 58, 0.95)),
        url('images/contact_bg.jpg') no-repeat center center / cover;
    background-attachment: fixed, fixed, fixed, fixed;
}
/* keep the form/info above the glows */
.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, scroll, scroll, scroll; }
}