:root {
    /* Brand Colors — matched to TELEEXPRO logo */
    --clr-primary: #007BFF;
    /* Electric Blue */
    --clr-secondary: #0D1B2A;
    /* Dark Navy (logo text color) */
    --clr-background: #F5F7FA;
    /* Off-white / light grey */
    --clr-bg-darker: #EAECF0;
    /* Slightly darker off-white */
    --clr-accent: #007BFF;
    /* Electric Blue (matches logo) */
    --clr-highlight: #0056CC;
    /* Deeper Blue for hover */

    /* Text Colors */
    --clr-text-main: #0D1B2A;
    /* Dark navy — matches logo */
    --clr-text-muted: #4A5568;
    /* Medium grey */

    /* Card / Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(0, 123, 255, 0.15);
    --glass-blur: blur(16px);
    --glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);

    /* Effects */
    --glow-cyan: 0 0 16px rgba(0, 123, 255, 0.25);
    --glow-emerald: 0 0 16px rgba(0, 86, 204, 0.25);

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =========================================
   Reset & Base
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--clr-background);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   Typography
   ========================================= */
h1,
h2,
h3,
h4 {
    color: #0D1B2A;
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--clr-primary);
    text-shadow: none;
}

/* =========================================
   Layout & Containers
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.bg-darker {
    background-color: #EAECF0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Utility: transparent bg so underlying canvas shows through */
.bg-transparent {
    background: transparent !important;
}

/* Utility spacing */
.mt-8 {
    margin-top: 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-description {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
}

/* =========================================
   Canvas Background (Fixed)
   ========================================= */
.canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    /* Behind content, but in front of 3D canvas */
    background-color: var(--clr-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   3D WebGL Canvas (Three.js)
   ========================================= */
.webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    /* Deepest background layer */
    outline: none;
    pointer-events: none;
    /* Let clicks pass through to sections below */
    background-color: #060B14;
    /* Deep, dark space blue */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.canvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Tint only the right half — left stays clear for the video/man */
    background: linear-gradient(to right,
            transparent 0%,
            transparent 45%,
            rgba(0, 0, 0, 0.35) 65%,
            rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}


/* =========================================
   Main Content Wrapper
   ========================================= */
.content-wrapper {
    position: relative;
    z-index: 10;
    /* Hero section needs a transparent background to see the canvas */
    background: transparent;
}

/* Section backgrounds */
/* Hero has NO background, letting the 3D canvas show entirely */

.wfh {
    position: relative;
    z-index: 10;
    /* Soft frosted glass effect so 3D shows blurred behind it */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.services {
    position: relative;
    z-index: 10;
    background-color: #FFFFFF;
}

/* =========================================
   About Section (Transparent Overlay)
   ========================================= */
.about {
    position: relative;
    z-index: 10;
    padding: 8rem 0 6rem;
    /* Solid black tint to dramatically darken the bright hero video behind it */
    background: rgba(0, 0, 0, 0.75);
    text-align: center;
}

.about-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.about-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.about-content .section-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.text-white {
    color: #ffffff !important;
}

.text-light {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Founders */
.about-founders {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.founder-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 2.5rem;
    border-radius: 99px;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.founder-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.15rem;
}

.founder-role {
    font-size: 0.8rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.founder-divider {
    width: 2px;
    height: 54px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer {
    position: relative;
    z-index: 10;
    background-color: #F5F7FA;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.bg-darker {
    background-color: #EAECF0;
}

/* =========================================
   Navigation
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 123, 255, 0.12);
    padding: 1rem 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================================
   TELEEXPRO Brand Logo Mark
   ========================================= */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    height: 60px;
    width: auto;
    display: block;
}

.logo-svg--lg {
    height: 90px;
}

.nav-logo-img {
    height: 36px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.logo-mark {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    gap: 4px;
}

/* Large variant for footer */
.logo-mark--lg .logo-text {
    font-size: 1.8rem;
}

.logo-mark--lg .logo-underline {
    height: 3px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #0D1B2A;
    font-family: 'Barlow Condensed', 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
}

.logo-x-letter {
    display: inline-block;
    position: relative;
    color: #0D1B2A;
}

/* The blue diagonal slash layered over the X */
.logo-x-slash {
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%) rotate(-10deg);
    width: 3px;
    height: 110%;
    background: linear-gradient(135deg, #007BFF 0%, #00C8FF 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
}

/* Blue accent underline below the wordmark */
.logo-underline {
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #007BFF 0%, #00C8FF 60%, transparent 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

.logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-brand .logo img {
    height: 48px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    /* Default: white text on dark hero background */
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

/* When navbar has scrolled (white bg), switch to dark text */
.navbar.scrolled .nav-links a {
    color: var(--clr-text-main);
}

.nav-links a:not(.nav-cta):hover {
    color: var(--clr-accent);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--clr-accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--clr-accent);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    border: 1px solid var(--clr-primary);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    color: var(--clr-primary) !important;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: rgba(0, 123, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 123, 255, 0.2);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 200;
    position: relative;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #0D1B2A;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

/* Scrolled state — spans are dark on white nav */
.navbar.scrolled .mobile-menu-btn span {
    background-color: #0D1B2A;
}

/* On the dark hero, use white spans */
.mobile-menu-btn span {
    background-color: #FFFFFF;
}

/* Hamburger → X animation */
.mobile-menu-btn.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background: var(--clr-primary);
    color: #FFF;
    border: 1px solid var(--clr-primary);
}

.btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #0D1B2A;
    border: 1px solid rgba(13, 27, 42, 0.3);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(13, 27, 42, 0.6);
    transform: translateY(-2px);
}

.glow-btn {
    background: transparent;
    border: 1px solid var(--clr-accent);
    color: var(--clr-accent);
    position: relative;
    overflow: hidden;
}

.glow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--clr-accent);
    opacity: 0.1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.glow-btn:hover {
    box-shadow: var(--glow-cyan);
    color: #FFF;
    background: rgba(0, 240, 255, 0.2);
    border-color: transparent;
}

.glow-btn:hover::before {
    transform: scaleX(1);
}

/* =========================================
   Glass Card & Premium UI
   ========================================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0%;
    background: var(--clr-accent);
    transition: height 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 0 20px rgba(0, 123, 255, 0.08);
}

.glass-card:hover::before {
    height: 100%;
    box-shadow: 0 0 12px rgba(0, 123, 255, 0.3);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
}

/* Two-column layout: left spacer | right text panel */
.hero .container {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

/* Left column — larger spacer to push content further right */
.hero-spacer {
    flex: 1 1 52%;
    min-width: 0;
}

/* Right column — floating text on full tinted hero */
.hero-content {
    flex: 0 0 46%;
    max-width: 560px;
    position: relative;
    z-index: 10;
    padding: 2.5rem 3rem 2.5rem 2.5rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    border: none;
    box-shadow: none;
}


/* Small glowing tag above headline */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--clr-accent);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    margin-bottom: 1.75rem;
    background: rgba(0, 240, 255, 0.06);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.1);
}

/* =========================================
   Shutter Brand Text (TELEEXPRO hero effect)
   ========================================= */
.shutter-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 1.75rem;
    user-select: none;
}

.shutter-char {
    position: relative;
    overflow: hidden;
    display: inline-block;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* The slice layers — animated sweeping overlays */
.shutter-char .slice {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    letter-spacing: inherit;
    opacity: 0;
    pointer-events: none;
    will-change: transform, opacity;
}

.shutter-char .slice-top {
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
    color: #007BFF;
    animation: shutterSweepRight 0.7s ease-in-out forwards;
}

.shutter-char .slice-mid {
    clip-path: polygon(0 35%, 100% 35%, 100% 65%, 0 65%);
    color: #ffffff;
    animation: shutterSweepLeft 0.7s ease-in-out 0.1s forwards;
}

.shutter-char .slice-bot {
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
    color: #007BFF;
    animation: shutterSweepRight 0.7s ease-in-out 0.2s forwards;
}

@keyframes shutterSweepRight {
    0% {
        transform: translateX(-110%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(110%);
        opacity: 0;
    }
}

@keyframes shutterSweepLeft {
    0% {
        transform: translateX(110%);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateX(-110%);
        opacity: 0;
    }
}

/* Main char fade in */
@keyframes shutterFadeIn {
    0% {
        opacity: 0;
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

.shutter-char .char-main {
    animation: shutterFadeIn 0.8s ease forwards;
    opacity: 0;
    display: block;
}

/* Logo image above the headline in hero */
.hero-logo-img {
    height: 52px;
    width: auto;
    display: block;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.6));
}

.hero-title {
    font-size: clamp(1.8rem, 2.8vw, 3rem);
    line-height: 1.18;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
    font-weight: 800;
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    max-width: 420px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn-ghost {
    background: transparent;
    color: #FFFFFF;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    display: inline-block;
    text-decoration: none;
}

.btn-ghost:hover {
    color: var(--clr-primary);
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .hero .container {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        height: 100%;
        padding-bottom: 3rem;
    }

    .hero-spacer {
        display: none;
    }

    .hero-content {
        flex: unset;
        max-width: 100%;
        border-left: none;
        border-top: 2px solid rgba(0, 240, 255, 0.4);
        border-radius: 0;
        padding: 2rem 1.5rem;
    }
}

/* =========================================
   Work From Home Section
   ========================================= */
.wfh-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.wfh-features {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wfh-features li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--clr-accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--clr-accent);
    border-radius: 50%;
    box-shadow: var(--glow-cyan);
}

.wfh-features h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.wfh-features p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

.wfh-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.wfh-cta p {
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
}

/* Abstract visual for WFH block */
.wfh-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
}

.wfh-visual>* {
    position: relative;
    z-index: 1;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.1), 0 0 30px rgba(0, 240, 255, 0.05);
}

.orb-1 {
    width: 250px;
    height: 250px;
    animation: float 6s ease-in-out infinite;
}

.orb-2 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 10%;
    animation: float 8s ease-in-out infinite alternate;
    border-color: rgba(0, 230, 118, 0.2);
    box-shadow: inset 0 0 20px rgba(0, 230, 118, 0.1);
}

.orb-3 {
    width: 100px;
    height: 100px;
    bottom: 15%;
    left: 15%;
    animation: float 7s ease-in-out infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* =========================================
   Services Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 123, 255, 0.07);
    border-radius: 14px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 123, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: var(--clr-primary);
}

.service-icon svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.service-card:hover .service-icon {
    background: rgba(0, 123, 255, 0.14);
    border-color: var(--clr-primary);
    box-shadow: 0 0 18px rgba(0, 123, 255, 0.18);
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   Newsletter Section
   ========================================= */
.newsletter-section {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, #0D1B2A 0%, #0a2744 50%, #0D1B2A 100%);
    padding: 6rem 0;
    overflow: hidden;
}

.newsletter-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(0, 123, 255, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.newsletter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.newsletter-content {
    text-align: center;
    max-width: 640px;
}

.newsletter-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #007BFF;
    border: 1px solid rgba(0, 123, 255, 0.35);
    border-radius: 50px;
    padding: 0.3rem 1rem;
    margin-bottom: 1.25rem;
    background: rgba(0, 123, 255, 0.08);
}

.newsletter-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.newsletter-highlight {
    background: linear-gradient(90deg, #007BFF, #40a9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Input + Button */
.newsletter-form {
    width: 100%;
}

.newsletter-input-wrap {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.35);
    box-shadow: 0 0 24px rgba(0, 123, 255, 0.1);
    transition: box-shadow 0.3s;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter-input-wrap:focus-within {
    box-shadow: 0 0 32px rgba(0, 123, 255, 0.25);
    border-color: rgba(0, 123, 255, 0.7);
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: var(--font-main);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.newsletter-btn {
    padding: 1rem 1.75rem;
    background: #007BFF;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s, transform 0.2s;
    white-space: nowrap;
    font-family: var(--font-main);
}

.newsletter-btn:hover {
    background: #0056CC;
    transform: translateX(2px);
}

.newsletter-btn .btn-arrow {
    transition: transform 0.3s;
}

.newsletter-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.newsletter-privacy {
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* Success message */
.newsletter-success {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(0, 200, 83, 0.12);
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 8px;
    color: #00c853;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

/* Stats strip */
.newsletter-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nl-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.nl-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
}

.nl-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nl-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.12);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    padding: 4rem 0 2rem;
    background: #0D1B2A !important;
    border-top: 3px solid #007BFF;
    position: relative;
    z-index: 20;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.75rem;
}

.footer-email {
    color: var(--clr-primary);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-email:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 0.5rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-style: italic;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon svg {
    width: 16px;
    height: 16px;
}

.social-icon:hover {
    background: #007BFF;
    color: #fff;
    border-color: #007BFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

/* Quick links inside footer */
.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s;
    display: block;
}

.footer-links a:hover {
    color: #007BFF;
}

/* Contact items */
.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact-item {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.contact-icon {
    font-size: 1rem;
}

/* =========================================
   Scroll Animations
   ========================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 900px) {
    .wfh-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wfh-visual {
        display: none;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}

/* ── Tablet / Large Mobile ─────────────────────────────── */
@media (max-width: 768px) {

    /* Show hamburger, hide desktop links */
    .mobile-menu-btn {
        display: flex;
    }

    /* Slide-down full-width mobile nav */
    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(13, 27, 42, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        justify-content: center;
        z-index: 150;
        /* Hidden by default */
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-links.nav-open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0);
    }

    .nav-links a {
        color: #FFFFFF;
        font-size: 1.35rem;
        font-weight: 600;
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links .nav-cta {
        margin-top: 1rem;
        border: 1px solid var(--clr-primary);
        border-radius: 4px;
        color: var(--clr-primary) !important;
        width: auto;
    }

    /* Mobile hero: push content to bottom-center */
    .hero .container {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        height: 100%;
        padding-bottom: 3rem;
    }

    .hero-spacer {
        display: none;
    }

    .hero-content {
        flex: unset;
        max-width: 100%;
        border-left: none;
        border-top: none;
        border-radius: 0;
        padding: 2rem 1.25rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
    }

    /* On mobile, overlay fades from bottom up instead of side */
    .canvas-overlay {
        background: linear-gradient(to top,
                rgba(0, 0, 0, 0.65) 0%,
                rgba(0, 0, 0, 0.25) 50%,
                rgba(0, 0, 0, 0.15) 100%);
    }

    .hero-title {
        font-size: clamp(1.9rem, 7vw, 2.5rem);
    }

    .hero-ctas {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .btn-ghost {
        width: auto;
        text-align: left;
        padding: 0.75rem 0;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* About section: reduce padding on mobile */
    .about {
        padding: 4rem 0;
    }

    /* Founders stack vertically on mobile */
    .about-founders {
        gap: 1rem;
    }

    .founder-divider {
        width: 60px;
        height: 2px;
    }

    /* Services: reduce card padding */
    .service-card {
        padding: 1.75rem 1.5rem;
    }

    /* WFH grid collapses */
    .wfh-features li {
        gap: 0.75rem;
    }

    /* Footer: single column on mobile */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Newsletter input: stack vertically */
    .newsletter-input-wrap {
        flex-direction: column;
        border-radius: 8px;
    }

    .newsletter-btn {
        border-radius: 0 0 7px 7px;
        justify-content: center;
    }
}

/* ── Small Phones (≤ 480px) ────────────────────────────── */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 9vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .shutter-char {
        font-size: clamp(1.6rem, 9vw, 2.5rem) !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .glass-card {
        padding: 1.75rem 1.25rem;
    }

    .founder-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .nl-stat-divider {
        display: none;
    }

    .newsletter-stats {
        gap: 1.25rem;
    }
}