/* =============================================
   OUTFORCE CONSULTANCY — ULTRA-OPTIMIZED CSS
   Target: Old laptops, budget Androids, iPhones
   Philosophy:
   - will-change ONLY on things actively animating
   - backdrop-filter ONLY on cards (glassmorphism)
   - NO filter:blur on large fixed elements
   - NO infinite animations on background elements
   - transform+opacity only for all transitions
   - @media (prefers-reduced-motion) respected
   ============================================= */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
    --bg-start:      #060d0b;
    --bg-end:        #09171b;
    --logo-teal:     #00c6d6;
    --logo-lime:     #9fe761;
    --accent-white:  #ffffff;
    --card-bg:       rgba(255, 255, 255, 0.07);
    --card-border:   rgba(255, 255, 255, 0.12);
    --gradient:      linear-gradient(135deg, #00c6d6, #9fe761);
    /* Glassmorphism blur — one place to tune for perf */
    --glass-blur:    12px;
    --glass-sat:     1.2;
}

/* ── RESET ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ── BODY ──
   Static gradient background — NO fixed attachment,
   NO JS-driven orb blur. Simple, fast, beautiful. */
body {
    background-color: var(--bg-start);
    /* Two subtle radials baked in — zero runtime cost */
    background-image:
        radial-gradient(ellipse 60% 40% at 10% 15%, rgba(0, 198, 214, 0.07) 0%, transparent 100%),
        radial-gradient(ellipse 50% 35% at 90% 85%, rgba(159, 231, 97, 0.05) 0%, transparent 100%);
    background-attachment: scroll;
    color: var(--accent-white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    /* Single stacking context — no cascade of isolation layers */
    isolation: isolate;
    /* Improve text rendering on all platforms */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6,
.btn-primary, .btn-secondary, .badge {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    line-height: 1.15;
    word-break: break-word;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    margin-top: 30px;
    line-height: 1.1;
    font-weight: 800;
    padding-bottom: 8px;
    letter-spacing: -0.035em;
}

p {
    max-width: 650px;
    margin: 25px auto;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    font-size: 1.08rem;
    font-weight: 400;
}

.gradient-text {
    background: linear-gradient(90deg, var(--logo-teal), var(--logo-lime));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── MAIN CONTENT ── */
main#content-wrapper {
    padding-top: 100px;
}


/* =============================================
   BACKGROUND LAYER
   OLD APPROACH (removed): fixed orbs with filter:blur(60-80px)
   → each orb = full compositor layer + repaint budget
   NEW APPROACH: CSS gradient on body (zero runtime cost)
   dot pattern stays — it's a CSS bg-image, no layer
   ============================================= */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -1;
    /* NO will-change here — it's static, promoting wastes VRAM */
}

.dot-pattern {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Interactive orbs: blur REMOVED.
   Use a simple radial gradient instead — same visual vibe,
   zero compositor layer cost, works on ANY hardware. */
.interactive-orb {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    /* NO filter:blur — replaced with soft radial gradient */
    opacity: 0.18;
    pointer-events: none;
    z-index: -1;
    /* NO will-change — static element, no animation */
}

.interactive-orb.teal {
    background: radial-gradient(circle, rgba(0, 198, 214, 0.35) 0%, transparent 70%);
    top: -10%;
    left: -5%;
}

.interactive-orb.lime {
    background: radial-gradient(circle, rgba(159, 231, 97, 0.28) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
}

/* Universe particle canvas */
#universe-particles {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* Floating orbs (JS-driven) — keep small, no blur */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    opacity: 0.35;
    background: white;
    /* NO will-change on many orbs = no VRAM leak */
}

.orb-t { background: var(--logo-teal); }
.orb-l { background: var(--logo-lime); }


/* =============================================
   NEWS TICKER
   ============================================= */
.news-channel-ticker.top-ticker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: #000;
    border-bottom: 2px solid var(--logo-teal);
    display: flex;
    align-items: center;
    z-index: 1001;
    overflow: hidden;
    /* Promote only this strip — not its children */
    contain: layout style;
}

.breaking-label {
    background: var(--logo-teal);
    color: white;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 0.65rem;
    letter-spacing: 1px;
    flex-shrink: 0;
    z-index: 10;
}

.ticker-wrapper {
    overflow: hidden;
    flex: 1;
}

/* Ticker: translateX is GPU-composited ✓
   will-change only on the moving element, not parent */
.ticker-move {
    display: flex;
    white-space: nowrap;
    width: max-content;
    animation: news-scroll 180s linear infinite;
    will-change: transform;
}

@keyframes news-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.news-item {
    padding: 0 150px;
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 15px;
}


/* =============================================
   NAVBAR
   - NO backdrop-filter (causes full-page repaint)
   - width transition replaced with padding tweak
     (width change triggers layout; padding is cheaper)
   - will-change removed from navbar itself
   ============================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 45px;
    width: 95%;
    max-width: 1250px;
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
    /* Only shadow in transition — no width, no background */
    transition: box-shadow 0.4s ease;
}

.navbar:hover {
    box-shadow: 0 8px 32px rgba(0, 168, 173, 0.18);
}

/* ── LOGO ── */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 2;
}

.main-logo {
    height: 48px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.05);
}

/* ── NAV LINKS ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-links a {
    color: #051411 !important;
    text-decoration: none;
    margin: 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--logo-teal) !important;
}

/* ── NAV BUTTON ── */
.btn-nav {
    background: linear-gradient(135deg, #051411, #0a2a23);
    color: white;
    border: none;
    padding: 11px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 10px;
    letter-spacing: 0.3px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-nav:hover {
    background: linear-gradient(135deg, var(--logo-teal), #008e92);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 173, 0.28);
}

/* ── HAMBURGER ── */
.menu-icon {
    display: none;
    flex-direction: column;
    gap: 3px;
    cursor: pointer;
    z-index: 2100;
    padding: 4px;
}

.menu-icon span {
    width: 28px;
    height: 3px;
    background: #051411;
    border-radius: 10px;
    transition: transform 0.35s ease, opacity 0.35s ease;
}


/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 20px 60px;
    position: relative;
    overflow: visible;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.hero-content {
    flex: 1.2;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
    text-align: left;
}

.hero-content p {
    margin: 20px 0 !important;
    max-width: 580px;
}

.hero-content h1 {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
    justify-content: flex-start;
}

/* Hero features card — GLASS effect here is fine (single element) */
.hero-features {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.7s cubic-bezier(0.23, 1, 0.32, 1) 0.5s forwards;
    will-change: transform, opacity; /* removed after animation completes via animation-fill-mode */
}

/* GLASS CARD — glassmorphism kept only here and on cards */
.features-glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    padding: 35px;
    border-radius: 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.08);
    width: 100%;
    max-width: 450px;
}

.features-glass-card h3 {
    color: var(--logo-lime);
    font-size: 1.6rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.features-glass-card ul {
    list-style: none;
    padding: 0;
}

.features-glass-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: transform 0.25s ease;
}

.features-glass-card li:hover {
    transform: translateX(6px);
}

.features-glass-card li span {
    color: var(--logo-teal);
    font-size: 1.1rem;
    margin-top: 2px;
}


/* =============================================
   BADGE
   ============================================= */
.badge {
    background: rgba(0, 168, 173, 0.1);
    color: var(--logo-teal);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 168, 173, 0.2);
    display: inline-block;
}


/* =============================================
   BUTTONS
   Ripple via transform:scale (GPU only, no layout)
   ============================================= */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    /* NO will-change here — too many buttons on page */
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: inherit;
    opacity: 0;
    transform: scale(0);
    transform-origin: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    transform: scale(1);
    opacity: 1;
}

.btn-primary {
    background: rgba(0, 168, 173, 0.92);
    color: #ffffff;
    border: 1px solid rgba(0, 168, 173, 0.8);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 168, 173, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.13);
    transform: translateY(-2px);
}


/* =============================================
   FLOATING CHIPS
   float animation on chips = cheap (small elements)
   but we reduce to 2 keyframes for perf
   ============================================= */
.floating-chips {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.chip {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.chip:hover {
    border-color: var(--logo-lime);
    transform: translateY(-6px);
    background: rgba(159, 231, 97, 0.09);
}

/* Staggered float — transform only, GPU-composited
   Kept on chips because they're small and few */
.floating-chips .chip:nth-child(1) { animation: float 3.5s ease-in-out infinite; }
.floating-chips .chip:nth-child(2) { animation: float 3.5s ease-in-out 1.1s infinite; }
.floating-chips .chip:nth-child(3) { animation: float 3.5s ease-in-out 2.2s infinite; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}


/* =============================================
   SECTION CONTAINERS
   contain:layout tells browser "nothing inside
   affects outside" → massive repaint reduction
   ============================================= */
.how-work,
.industries-section,
.why-choose-us,
.mission-vision,
.home-overview {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
    position: relative;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    /* Key perf win: isolate section repaints */
    contain: layout style;
}

.home-cta-strip {
    border-bottom: none !important;
}

/* ── SECTION INTRO ── */
.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-intro h2 {
    color: white;
    font-size: 3rem;
    line-height: 1.12;
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 900;
    letter-spacing: -0.02em;
    overflow: visible;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.85) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-intro p {
    color: rgba(248, 251, 255, 0.85);
    font-size: 1.1rem;
    margin: 18px auto 0;
    line-height: 1.7;
    font-weight: 400;
    max-width: 650px;
}


/* =============================================
   GLASS CARDS — THE STAR OF THE SHOW
   Glassmorphism applied HERE and only here.

   Why it works on these cards but not sections:
   - Cards are small → compositor layer is tiny
   - Cards are few per viewport (3–4 visible max)
   - backdrop-filter on a 320px card ≠ backdrop-filter
     on a 1200px section (cost is proportional to area)

   Safari/iOS: fully supported since iOS 9
   Android Chrome: supported since Chrome 76
   Old laptops: blur(12px) is half the cost of blur(20px+)
   ============================================= */
.overview-card,
.why-card,
.mv-card,
.process-card,
.industry-card {
    /* Glass base */
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    /* The glass effect — tuned for old hardware */
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    /* Inset highlight for depth */
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    /* contain prevents this card's repaint from
       bubbling up to parent/sibling elements */
    contain: layout style;
    /* transition: only compositor-safe props */
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

/* Card padding */
.overview-card { padding: 30px; min-height: 240px; }
.why-card      { padding: 30px; min-height: 240px; }
.mv-card       { padding: 40px; }
.process-card  { padding: 28px; }
.industry-card { padding: 28px; }

/* Shimmer — translateX (GPU), not left (layout) */
.overview-card::before,
.why-card::before,
.mv-card::before,
.process-card::before,
.industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.06) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.55s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

.overview-card:hover::before,
.why-card:hover::before,
.mv-card:hover::before,
.process-card:hover::before,
.industry-card:hover::before {
    transform: translateX(100%);
}

/* Hover — unified, minimal */
.overview-card:hover,
.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 198, 214, 0.35);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.22),
        0 0 20px rgba(0, 198, 214, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.09);
}

.mv-card:hover {
    transform: translateY(-8px);
    border-color: rgba(159, 231, 97, 0.4);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.25),
        0 0 24px rgba(159, 231, 97, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.09);
}

.process-card:hover,
.industry-card:hover {
    transform: translateY(-6px);
    border-color: rgba(159, 231, 97, 0.28);
    box-shadow:
        0 14px 36px rgba(0, 0, 0, 0.2),
        0 0 18px rgba(159, 231, 97, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.09);
}

/* Card headings */
.overview-card h3,
.why-card h3,
.process-card h3,
.industry-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.mv-card h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 0;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.overview-card:hover h3,
.why-card:hover h3,
.process-card:hover h3,
.industry-card:hover h3,
.mv-card:hover h3 {
    color: var(--logo-teal);
}

/* Card paragraphs */
.overview-card p,
.why-card p,
.mv-card p,
.process-card p,
.industry-card p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Subtle glow accent on process cards */
.process-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(159, 231, 97, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Section h2/p overrides */
.how-work h2,
.industries-section h2,
.why-choose-us h2,
.mission-vision h2,
.home-overview h2 {
    color: #ffffff !important;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: var(--gradient) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.how-work p,
.industries-section p,
.why-choose-us p,
.mission-vision p,
.home-overview p {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 1.1rem;
    line-height: 1.7;
}


/* =============================================
   GRID LAYOUTS
   ============================================= */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.process-grid,
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 36px;
}


/* =============================================
   HOME OVERVIEW SECTION
   ============================================= */
.home-overview {
    padding: 100px 20px 80px;
    max-width: 1180px;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 168, 173, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(159, 231, 97, 0.03) 0%, transparent 50%) !important;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
}


/* =============================================
   HOME CTA STRIP
   ============================================= */
.home-cta-strip {
    background: linear-gradient(135deg,
        rgba(0, 168, 173, 0.12),
        rgba(159, 231, 97, 0.07)) !important;
    border: 1px solid rgba(0, 168, 173, 0.15) !important;
    border-radius: 32px !important;
    padding: 36px 40px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
}

.home-cta-strip .cta-copy h2 {
    color: white;
    font-size: 2rem;
    margin: 0;
}

.home-cta-strip .cta-copy p {
    color: rgba(255, 255, 255, 0.7);
    margin: 12px 0 0;
    max-width: 560px;
}


/* =============================================
   SECTION ICONS
   ============================================= */
.process-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--logo-teal);
}

.ind-visual {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #a3ff12, #00d2ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    /* drop-shadow removed from large emoji — causes layer promotion */
}


/* =============================================
   ENTRANCE ANIMATIONS
   opacity + transform = 100% GPU-composited.
   will-change set, then auto-removed via forwards.
   ============================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.home-overview,
.why-choose-us,
.mission-vision,
.home-cta-strip {
    animation: fadeInUp 0.65s ease-out forwards;
    opacity: 0;
}

.home-overview  { animation-delay: 0.1s; }
.why-choose-us  { animation-delay: 0.22s; }
.mission-vision { animation-delay: 0.34s; }
.home-cta-strip { animation-delay: 0.46s; }


/* =============================================
   REDUCED MOTION — respect user OS setting
   Falls back to instant appearance, no animation
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-features,
    .home-overview,
    .why-choose-us,
    .mission-vision,
    .home-cta-strip {
        opacity: 1;
        transform: none;
    }

    .ticker-move { animation: none; }
    .floating-chips .chip { animation: none; }
}


/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    width: 100%;
    padding: 30px 0;
    margin-top: 80px;
    background: linear-gradient(180deg, transparent, rgba(0, 168, 173, 0.03));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left { flex: 1; }

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.footer-right h4 {
    color: var(--logo-teal);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.social-icons-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 4px;
}

.social-icons-row a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.25s ease, transform 0.25s ease;
}

.social-icons-row a:hover {
    color: var(--logo-lime);
    transform: translateY(-2px);
}


/* =============================================
   FLASH MESSAGES
   ============================================= */
.site-message {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 18px 24px;
    border-radius: 18px;
    background: rgba(0, 168, 173, 0.12);
    color: #e8fbfb;
    border: 1px solid rgba(0, 168, 173, 0.25);
    font-size: 0.95rem;
}

.site-message.error {
    background: rgba(255, 90, 90, 0.14);
    border-color: rgba(255, 90, 90, 0.22);
}


/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section {
    padding: 90px 24px;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-panel {
    width: min(100%, 1180px);
    display: grid;
    gap: 36px;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
}

.contact-copy {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-copy h2 {
    font-size: 3rem;
    line-height: 1.05;
    max-width: 620px;
}

.contact-highlights { display: grid; gap: 18px; }

/* Glass card — same treatment as content cards */
.highlight-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    border-radius: 22px;
    padding: 24px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.highlight-card h3 {
    margin-bottom: 10px;
    color: #00f5ff;
}

.contact-details {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.contact-details h4 { margin-bottom: 8px; color: #a4f3f2; }

.contact-details a {
    color: #ffffff;
    text-decoration: none;
}

/* Contact form — glass treatment */
.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    border-radius: 28px;
    padding: 32px;
    display: grid;
    gap: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.field-group { display: grid; gap: 10px; }
.field-group.full-width { grid-column: 1 / -1; }

.form-input,
.form-textarea {
    width: 100%;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 15px 18px;
    background: rgba(255, 255, 255, 0.05);
    color: #f4fbfb;
    outline: none;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--logo-teal);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 198, 214, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.38);
    font-weight: 400;
}

.contact-form button {
    justify-self: start;
    width: fit-content;
}


/* =============================================
   CHATBOT
   No backdrop-filter inside scrollable container
   (each scroll tick would trigger a repaint)
   ============================================= */
#chat-circle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00a8ad;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(0, 168, 173, 0.38);
    z-index: 1000;
    transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.25s ease;
    /* will-change ONLY on this one element — justified (it's animated on click) */
    will-change: transform;
}

#chat-circle:hover {
    transform: scale(1.1) rotate(5deg);
    background: #008e92;
}

#chat-overlay { display: none; }

.chat-box {
    position: fixed;
    top: 50%;
    right: 5%;
    transform: translate(0%, -50%);
    width: 420px;
    height: 580px;
    background: linear-gradient(135deg, #0b141a 0%, #122c34 100%);
    border: 1.5px solid rgba(0, 168, 173, 0.28);
    border-radius: 20px;
    display: none;
    flex-direction: column;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65);
    overflow: hidden;
    animation: chatFadeIn 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes chatFadeIn {
    from { opacity: 0; transform: translate(0%, -50%) scale(0.9); }
    to   { opacity: 1; transform: translate(0%, -50%) scale(1); }
}

.chat-box-header {
    background: linear-gradient(135deg, #00a8ad 0%, #008e92 100%);
    padding: 20px 24px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.chat-box-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.chat-box-toggle {
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.chat-box-toggle:hover { opacity: 1; color: #ff4d4d; }

/* Chat body: NO backdrop-filter in scrollable area
   solid background prevents per-scroll compositor issues */
.chat-box-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #0d1a20;
    /* Smooth scroll on iOS */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.chat-box-body::-webkit-scrollbar { width: 4px; }
.chat-box-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Chat messages — solid, no blur (scrollable context) */
.cm-msg-text {
    padding: 14px 18px;
    border-radius: 18px;
    transition: transform 0.2s ease;
}

.cm-msg-text:hover {
    transform: translateY(-1px);
}

.chat-msg.ai .cm-msg-text {
    background: #1f2c33;
    color: #e9edef;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0, 168, 173, 0.15);
}

.chat-msg.user .cm-msg-text {
    background: #005c4b;
    color: #ffffff;
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    border: 1px solid rgba(0, 168, 173, 0.2);
}

.chat-input-box {
    padding: 12px 15px;
    background: #111b21;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(0, 168, 173, 0.18);
    position: relative;
    width: 100%;
}

#chat-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(0, 168, 173, 0.2);
    border-radius: 25px;
    padding: 12px 55px 12px 18px;
    color: white;
    width: 100%;
    outline: none;
    font-size: 0.95rem;
    transition: border-color 0.25s ease, background 0.25s ease;
}

#chat-input:focus {
    border-color: var(--logo-teal);
    background: rgba(255, 255, 255, 0.08);
}

.chat-submit {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #00a8ad 0%, #008e92 100%);
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 168, 173, 0.28);
    z-index: 10;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
    will-change: transform; /* justified — button animates on every send */
}

.chat-submit:hover {
    transform: translateY(-50%) scale(1.12) rotate(10deg);
    box-shadow: 0 6px 18px rgba(0, 168, 173, 0.45);
}

.chat-submit:active {
    transform: translateY(-50%) scale(0.9);
}


/* =============================================
   RESPONSIVE — 1200px (Tablet landscape)
   ============================================= */
@media (max-width: 1200px) {
    .navbar {
        width: 92%;
        padding: 8px 15px;
        top: 50px;
    }

    .main-logo { height: 35px; }

    .nav-links {
        position: absolute;
        top: 75px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: 300px;
        background: rgba(255, 255, 255, 0.98);
        /* Small dropdown: blur acceptable here */
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        flex-direction: column;
        padding: 20px;
        border-radius: 24px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.4);
        transform: scale(0.9) translateY(-16px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                    opacity 0.35s ease,
                    visibility 0.35s ease;
        display: flex !important;
    }

    .nav-links.active {
        transform: scale(1) translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links a {
        margin: 0 8px;
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        width: 100%;
        padding: 8px;
        transition: background 0.25s ease, color 0.25s ease;
    }

    .nav-links a:hover {
        background: rgba(0, 168, 173, 0.06);
        border-radius: 8px;
    }

    .btn-nav {
        font-size: 0.75rem;
        margin: 10px 0 0 0;
        width: 100%;
        padding: 8px 18px;
    }

    .menu-icon { display: flex !important; }
    .menu-icon span { background: #051411 !important; }

    h1 { font-size: 3.4rem; }
}


/* =============================================
   RESPONSIVE — 992px
   ============================================= */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        align-items: center !important;
        text-align: center !important;
    }

    .hero-actions { justify-content: center !important; }

    .hero-features {
        justify-content: center;
        width: 100%;
    }

    .overview-grid { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
    .why-grid      { grid-template-columns: repeat(2, minmax(240px, 1fr)); }
    .mv-container  { grid-template-columns: 1fr; }
}


/* =============================================
   RESPONSIVE — 768px (Mobile)
   ============================================= */
@media (max-width: 768px) {
    main#content-wrapper { padding-top: 120px; }

    .section-intro h2 { font-size: 2.2rem; line-height: 1.2; }
    h1 { font-size: 2.5rem; }

    .home-overview,
    .why-choose-us,
    .mission-vision,
    .how-work,
    .industries-section {
        padding: 60px 20px 40px !important;
        border-radius: 25px;
        margin: 0 15px 30px;
    }

    .overview-grid,
    .why-grid,
    .process-grid,
    .industry-grid,
    .mv-container {
        grid-template-columns: 1fr !important;
        gap: 18px;
    }

    .mv-card { padding: 30px; }
    .mv-card h3 { font-size: 1.6rem; }

    .home-cta-strip {
        flex-direction: column !important;
        text-align: center;
        padding: 36px 24px !important;
        margin: 0 15px;
    }

    .home-cta-strip .cta-copy h2 { font-size: 1.8rem; }
    .home-cta-strip .cta-copy p  { margin: 15px auto; }
    .home-cta-strip .btn-primary  { width: 100%; }

    .contact-panel { grid-template-columns: 1fr; gap: 40px; }
    .contact-section { padding: 60px 20px; }
    .contact-copy h2 { font-size: 2.5rem; text-align: center; }
    .contact-form { padding: 25px; }
    .form-grid { grid-template-columns: 1fr; }

    .site-footer { padding: 40px 20px; margin-top: 60px; }
    .footer-container {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    .footer-left  { order: 2; }
    .footer-right { order: 1; align-items: center; width: 100%; }
    .social-icons-row { justify-content: center; gap: 28px; }
    .copyright-text { font-size: 0.8rem; opacity: 0.5; }

    .chat-box { width: 90%; right: 5%; height: 70vh; }

    /* On mobile, reduce glass blur for perf */
    :root { --glass-blur: 8px; }
}


/* =============================================
   RESPONSIVE — 480px
   ============================================= */
@media (max-width: 480px) {
    .footer-right h4 { font-size: 0.65rem; }
    .social-icons-row a { font-size: 1.3rem; }

    .home-cta-strip .cta-copy h2 { font-size: 1.5rem; }
    .home-cta-strip { padding: 22px 14px !important; }

    .nav-links a {
        font-size: 1rem;
        font-weight: 700;
        text-align: center;
        width: 100%;
        padding: 6px;
        margin: 2px 0;
    }

    .menu-icon { display: flex !important; padding: 2px; }
    .menu-icon span { width: 25px; height: 2px; margin-bottom: 5px; }

    #chat-circle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 22px;
    }

    .chat-box {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95vw;
        max-width: 420px;
        height: 85vh;
        max-height: 580px;
        border-radius: 16px;
    }

    .chat-box-header { padding: 18px; }
    .chat-box-body   { padding: 14px; }
    .chat-input-box  { padding: 14px 14px 28px; }

    /* iOS auto-zoom prevention: must be ≥16px */
    #chat-input { font-size: 16px; padding-right: 52px; }

    .chat-submit {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        right: 20px;
    }

    /* Reduce glass blur further on small screens */
    :root { --glass-blur: 6px; }
}


/* =============================================
   RESPONSIVE — 420px
   ============================================= */
@media (max-width: 420px) {
    .hero-section {
        padding: 120px 15px 40px;
        height: auto;
        overflow: visible;
    }

    h1 { font-size: 2.4rem !important; line-height: 1.25; padding-bottom: 4px; }
    p  { font-size: 0.85rem; padding: 0 10px; }

    .floating-chips { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .chip { padding: 8px 15px; font-size: 0.8rem; }
}


/* =============================================
   RESPONSIVE — 410px
   ============================================= */
@media (max-width: 410px) {
    .hero-section {
        padding: 150px 15px 60px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    h1 { font-size: 1.8rem !important; line-height: 1.15; margin-top: 10px; }
    p  { font-size: 0.9rem; padding: 0 5px; line-height: 1.5; }
    .badge { font-size: 0.65rem; letter-spacing: 1px; }

    .floating-chips { flex-wrap: wrap; gap: 8px; margin-top: 28px; }
    .chip { padding: 10px 18px; font-size: 0.75rem; }
}


/* =============================================
   RESPONSIVE — 320px
   ============================================= */
@media (max-width: 320px) {
    .navbar { width: 98%; padding: 6px 10px; top: 10px; }
    .main-logo { height: 28px; }

    .hero-section {
        padding-top: 100px !important;
        padding-left: 10px;
        padding-right: 10px;
    }

    h1 { font-size: 1rem !important; line-height: 1.1; letter-spacing: -0.5px; }
    p  { font-size: 0.62rem; margin: 15px auto; line-height: 1.4; }

    .badge { font-size: 0.45rem; padding: 4px 8px; }

    .floating-chips { gap: 5px; margin-top: 20px; }
    .chip { padding: 6px 12px; font-size: 0.65rem; border-radius: 20px; }

    /* Disable glass on very old/small devices */
    :root { --glass-blur: 0px; --glass-sat: 1; }
}