/* ═══════════════════════════════════════════
   DigiVantageeks — Shared Stylesheet
   styles.css
═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #c5cdd8;
    color: #1a1a2e;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* ═══════════════════════════════════════════
   DARK MODE
═══════════════════════════════════════════ */
html.dark body { background-color: #0b0f19; color: #e2e8f0; }
html.dark .nav-container { background: rgba(15, 20, 35, 0.65); border-color: rgba(255,255,255,0.08); }
html.dark .nav-pill-active,
html.dark .nav-pill-active:link,
html.dark .nav-pill-active:visited { background: rgba(255,255,255,0.1); color: #fff !important; }
html.dark .nav-link,
html.dark .nav-link:link,
html.dark .nav-link:visited { color: #94a3b8 !important; }
html.dark .nav-link:hover { color: #fff; }
html.dark .hero-bg { background-color: #0b0f19; }
html.dark .hero-grid-line { background-color: rgba(255,255,255,0.04); }
html.dark .badge-pill { background: rgba(20, 25, 40, 0.7); border-color: rgba(255,255,255,0.1); color: #cbd5e1; }
html.dark .hero-heading { color: #f1f5f9; }
html.dark .hero-sub { color: #94a3b8; }
html.dark .hero-sub strong { color: #cbd5e1; }
html.dark .btn-secondary { background: rgba(30,35,50,0.8); border-color: rgba(255,255,255,0.1); color: #e2e8f0; }
html.dark .btn-secondary:hover { background: rgba(40,45,60,0.9); }
html.dark .social-float-circle { background: rgba(20,25,40,0.7); border-color: rgba(255,255,255,0.08); }
html.dark .social-float-label { color: #64748b; }
html.dark .glass-card { background: rgba(17,24,39,0.6); border-color: rgba(255,255,255,0.07); }
html.dark .glass-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
html.dark .text-dark { color: #f1f5f9 !important; }
html.dark .text-muted { color: #94a3b8 !important; }
html.dark .form-input { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); color: #e2e8f0; }
html.dark .footer-area { background: rgba(11,15,25,0.8); border-color: rgba(255,255,255,0.05); }
html.dark .nav-divider { background-color: rgba(255,255,255,0.1); }
html.dark .mobile-menu-panel { background: rgba(15,20,35,0.95); border-color: rgba(255,255,255,0.08); }
html.dark .mobile-link { color: #cbd5e1; }
html.dark .mobile-link:hover { background: rgba(255,255,255,0.05); }
html.dark .urgency-banner { background: linear-gradient(135deg, #1e293b, #111827); }
html.dark .offer-card { border-color: rgba(249,115,22,0.15); }
html.dark .testimonial-card::before { color: #f97316; }

/* ═══════════════════════════════════════════
   NAVBAR — Glassmorphic floating pill
═══════════════════════════════════════════ */
.nav-outer {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 24px;
    display: flex; justify-content: center;
}

.nav-container {
    display: flex; align-items: center; gap: 0;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 60px;
    padding: 8px 12px 8px 16px;
    max-width: 900px; width: 100%;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
}

/* Logo cluster */
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer; flex-shrink: 0;
    text-decoration: none;
}
.nav-logo-circle {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 14px;
    box-shadow: 0 2px 8px rgba(249,115,22,0.3);
    flex-shrink: 0;
}
.nav-logo-text {
    font-weight: 700; font-size: 16px; color: #1a1a2e;
    white-space: nowrap;
}
html.dark .nav-logo-text { color: #f1f5f9; }
.nav-logo-text span {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Divider */
.nav-divider {
    width: 1px; height: 28px; background-color: rgba(0,0,0,0.12);
    margin: 0 16px; flex-shrink: 0;
}

/* Nav links */
.nav-links {
    display: flex; align-items: center; gap: 4px;
    flex-shrink: 0;
}
.nav-link {
    padding: 8px 18px; border-radius: 40px;
    font-size: 14px; font-weight: 500; color: #374151;
    cursor: pointer; border: none; background: none;
    font-family: inherit; transition: all 0.25s ease;
    white-space: nowrap; text-decoration: none;
    display: inline-block;
}
.nav-link:link,
.nav-link:visited { color: #374151 !important; }
.nav-link:hover { color: #111827; }
.nav-pill-active,
.nav-pill-active:link,
.nav-pill-active:visited {
    background: rgba(255,255,255,0.75);
    color: #111827 !important; font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* CTA button in nav */
.nav-cta {
    padding: 10px 22px; border-radius: 40px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff; font-weight: 600; font-size: 13px;
    border: none; cursor: pointer; font-family: inherit;
    box-shadow: 0 4px 14px rgba(249,115,22,0.35);
    transition: all 0.3s ease; white-space: nowrap;
    line-height: 1.3; text-decoration: none;
    display: inline-flex; align-items: center;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,0.45); }

/* Theme toggle */
.nav-theme-btn {
    width: 38px; height: 38px; border-radius: 50%;
    border: none; background: transparent;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    color: #f97316; font-size: 18px; flex-shrink: 0;
    transition: all 0.3s;
    margin-left: 6px;
}
.nav-theme-btn:hover { background: rgba(249,115,22,0.08); }

/* Hamburger */
.nav-hamburger {
    display: none; width: 40px; height: 40px;
    border: none; background: none; cursor: pointer;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    margin-left: auto;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px;
    background: #374151; border-radius: 2px;
    transition: all 0.3s;
}
html.dark .nav-hamburger span { background: #cbd5e1; }

/* Mobile menu panel */
.mobile-menu-panel {
    display: none; position: fixed;
    top: 80px; left: 16px; right: 16px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 24px; padding: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    z-index: 99; flex-direction: column; gap: 4px;
    animation: slideDown 0.3s ease;
}
.mobile-menu-panel.open { display: flex; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.mobile-link {
    display: block; padding: 14px 20px; border-radius: 16px;
    font-size: 15px; font-weight: 500; color: #374151;
    text-decoration: none; cursor: pointer;
    border: none; background: none; font-family: inherit;
    text-align: left; width: 100%;
    transition: background 0.2s;
}
.mobile-link:hover { background: rgba(0,0,0,0.04); }
.mobile-cta {
    margin-top: 4px; padding: 14px; border-radius: 16px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff; font-weight: 600; font-size: 15px;
    border: none; cursor: pointer; font-family: inherit;
    text-align: center; width: 100%;
    text-decoration: none; display: block;
}

/* ═══════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════ */
.hero-bg {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background-color: #c5cdd8;
    transition: background-color 0.5s;
}

/* Subtle grid lines */
.hero-grid {
    position: absolute; inset: 0;
    pointer-events: none; z-index: 0;
}
.hero-grid-line {
    position: absolute; background-color: rgba(0,0,0,0.04);
}
.hero-grid-line.v { width: 1px; top: 0; bottom: 0; }
.hero-grid-line.h { height: 1px; left: 0; right: 0; }

/* Warm gradient blob */
.hero-blob {
    position: absolute;
    width: 700px; height: 700px;
    top: 50%; left: 50%;
    transform: translate(-55%, -48%);
    border-radius: 50%;
    background: transparent;
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}
html.dark .hero-blob { background: transparent; }

/* Hero content wrapper */
.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 900px; width: 100%;
}

/* Badge pill */
.badge-pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 28px; border-radius: 50px;
    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.5);
    font-size: 14px; font-weight: 500; color: #374151;
    margin-bottom: 36px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.badge-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #f97316; flex-shrink: 0;
    box-shadow: 0 0 8px rgba(249,115,22,0.4);
}

/* Hero heading */
.hero-heading {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 900; line-height: 1.08;
    color: #1a1a2e;
    letter-spacing: -1.5px;
    margin-bottom: 28px;
}
.hero-heading .accent {
    font-style: italic; font-weight: 900;
    background: linear-gradient(135deg, #f97316, #e8660a);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sub-headline */
.hero-sub {
    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 400; color: #4b5563;
    line-height: 1.65; max-width: 680px;
    margin: 0 auto 44px;
}
.hero-sub strong { font-weight: 700; color: #1a1a2e; }

/* CTA buttons */
.hero-buttons {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: 50px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff; font-weight: 600; font-size: 16px;
    border: none; cursor: pointer; font-family: inherit;
    box-shadow: 0 6px 24px rgba(249,115,22,0.35);
    transition: all 0.3s ease; text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(249,115,22,0.45); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: 50px;
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    color: #1a1a2e; font-weight: 600; font-size: 16px;
    border: 1.5px solid rgba(255,255,255,0.6);
    cursor: pointer; font-family: inherit;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease; text-decoration: none;
}
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

/* ═══════════════════════════════════════════
   FLOATING SOCIAL ICONS
═══════════════════════════════════════════ */
.social-float {
    position: absolute; z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.social-float-circle {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255,255,255,0.6);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.social-float-circle:hover { transform: scale(1.08); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.social-float-label {
    font-size: 12px; font-weight: 500; color: #6b7280;
    letter-spacing: 0.02em;
}

.social-instagram { left: 11%; top: 38%; animation: floatSocial1 6s ease-in-out infinite; }
.social-portfolio { right: 11%; top: 25%; animation: floatSocial2 7s ease-in-out infinite; }
.social-linkedin { right: 10%; top: 60%; animation: floatSocial3 5.5s ease-in-out infinite; }

@keyframes floatSocial1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes floatSocial2 { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes floatSocial3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }

.icon-instagram { width: 30px; height: 30px; color: #E1306C; }
.icon-portfolio { width: 28px; height: 28px; color: #f97316; }
.icon-linkedin { width: 28px; height: 28px; color: #0A66C2; }

/* ═══════════════════════════════════════════
   SHARED COMPONENTS
═══════════════════════════════════════════ */
.section-spacing { padding: 80px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.accent-text { background: linear-gradient(135deg, #f97316, #ea580c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.glass-card { background: rgba(255,255,255,0.65); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.5); border-radius: 20px; transition: all 0.35s; }
.glass-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.form-input { width: 100%; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.08); font-family: inherit; font-size: 14px; color: #1a1a2e; backdrop-filter: blur(8px); transition: all 0.3s; outline: none; }
.form-input:focus { border-color: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.section-label { font-size: 13px; font-weight: 600; color: #f97316; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px; }
.section-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; color: #1a1a2e; line-height: 1.15; margin-bottom: 16px; }
html.dark .section-title { color: #f1f5f9; }
.section-desc { font-size: 16px; color: #6b7280; max-width: 600px; line-height: 1.7; }
html.dark .section-desc { color: #94a3b8; }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.price-tag { display: inline-block; padding: 4px 14px; border-radius: 24px; background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; font-weight: 700; font-size: 13px; }
.offer-card { position: relative; border: 1px solid rgba(249,115,22,0.2); }
.card-wrapper { position: relative; display: flex; flex-direction: column; }
.offer-divider { display: none; }
.urgency-banner { background: linear-gradient(135deg, #1e293b, #0f172a); border: 1px solid rgba(249,115,22,0.3); border-radius: 20px; position: relative; overflow: hidden; }
.urgency-banner::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, transparent, rgba(249,115,22,0.08), transparent, transparent); animation: borderSpin 10s linear infinite; }
@keyframes borderSpin { to { transform: rotate(360deg); } }
.testimonial-card { position: relative; }
.testimonial-card::before { content: '\201C'; position: absolute; top: -4px; left: 16px; font-size: 64px; line-height: 1; opacity: 0.06; font-weight: 900; color: #1a1a2e; }
.footer-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(249,115,22,0.3), transparent); }
.liquid-click-effect { position: fixed; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle, rgba(249,115,22,0.3), transparent); pointer-events: none; transform: translate(-50%, -50%); z-index: 9999; animation: liquidPop 0.7s ease-out forwards; }
@keyframes liquidPop { 0% { transform: translate(-50%,-50%) scale(0); opacity: 1; } 100% { transform: translate(-50%,-50%) scale(8); opacity: 0; } }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (min-width: 1200px) {
    .social-instagram { left: 9%; }
    .social-portfolio { right: 9%; }
    .social-linkedin  { right: 8%; }
}
@media (max-width: 1024px) {
    .social-instagram { left: 5%; }
    .social-portfolio { right: 5%; }
    .social-linkedin  { right: 4%; }
    .social-float-circle { width: 60px; height: 60px; }
    .icon-instagram, .icon-portfolio, .icon-linkedin { width: 24px; height: 24px; }
    .social-float-label { font-size: 11px; }
}
@media (max-width: 860px) {
    .nav-container { max-width: 100%; padding: 8px 12px 8px 16px; border-radius: 50px; }
    .nav-links, .nav-divider, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }
    .nav-theme-btn { margin-left: auto; }
}
@media (max-width: 768px) {
    .hero-bg { padding: 108px 20px 48px; min-height: auto; }
    .hero-blob { width: 500px; height: 500px; }
    .social-float { display: none; }
    .badge-pill { font-size: 12px; padding: 8px 18px; margin-bottom: 20px; max-width: 92%; text-align: center; line-height: 1.4; }
    .hero-heading { letter-spacing: -0.5px; margin-bottom: 16px; }
    .hero-sub { margin-bottom: 24px; }
    .hero-buttons { gap: 12px; }
    .btn-primary, .btn-secondary { padding: 13px 26px; font-size: 14px; }
    .about-grid, .svc-detail-grid, .contact-grid { grid-template-columns: 1fr !important; }
    .form-grid-2 { grid-template-columns: 1fr !important; }
    .section-spacing { padding: 36px 0; }
}
@media (max-width: 480px) {
    .nav-outer { padding: 10px 12px; }
    .nav-logo-text { font-size: 14px; }
    .nav-logo-circle { width: 36px; height: 36px; font-size: 12px; }
    .hero-bg { padding: 96px 14px 32px; }
    .hero-blob { width: 300px; height: 300px; filter: blur(28px); }
    .badge-pill { font-size: 10px; padding: 6px 14px; gap: 6px; margin-bottom: 14px; }
    .badge-dot { width: 7px; height: 7px; }
    .hero-heading { font-size: 26px; letter-spacing: -0.2px; margin-bottom: 12px; line-height: 1.12; }
    .hero-sub { font-size: 13px; margin-bottom: 20px; line-height: 1.55; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 10px; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 12px 20px; font-size: 13px; }
    .section-spacing { padding: 24px 0; }
    .container { padding: 0 8px; }
}
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.3); } }

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE — Additional Fixes
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Reduce large card padding */
    .glass-card { padding: 20px !important; }

    /* Urgency banner padding */
    .urgency-banner { padding: 24px 18px !important; }

    /* Section header bottom spacing */
    .container > div[style*="margin-bottom:56px"],
    .container > div[style*="margin-bottom:64px"] { margin-bottom: 28px !important; }

    /* Footer top/bottom padding */
    .footer-area .container { padding-top: 32px !important; padding-bottom: 32px !important; }

    /* Footer column gap */
    .footer-area div[style*="gap:40px"] { gap: 20px !important; }

    /* Section title — tighter on tablet */
    .section-title { font-size: clamp(20px, 5vw, 30px) !important; }

    /* Section description */
    .section-desc { font-size: 14px !important; }

    /* Urgency banner CTA — full width */
    .urgency-banner .btn-primary { width: 100%; justify-content: center; }

    /* Services detail nested card */
    .svc-detail-grid .glass-card { padding: 16px !important; }

    /* About page heading */
    h2[style*="font-size:28px"] { font-size: 22px !important; }

    /* Services page service-title h2 */
    h2[style*="font-size:24px"] { font-size: 20px !important; }

    /* Offer card & contact card h3 */
    h3[style*="font-size:20px"] { font-size: 17px !important; }

    /* Remove excess top-margin gap on stacked about-grid */
    .about-grid { margin-bottom: 0 !important; }

    /* Force all auto-fit grids to single column */
    .container > div[style*="minmax(300px"],
    .container > div[style*="minmax(280px"],
    .container > div[style*="minmax(220px"] { grid-template-columns: 1fr !important; }

    /* Service icon margin */
    .svc-icon { margin-bottom: 14px !important; }
}

@media (max-width: 480px) {
    /* Glass cards — compact */
    .glass-card { padding: 16px !important; }

    /* Urgency banner */
    .urgency-banner { padding: 18px 14px !important; }

    /* Section header margins */
    .container > div[style*="margin-bottom:56px"],
    .container > div[style*="margin-bottom:64px"] { margin-bottom: 20px !important; }

    /* Section title — phone */
    .section-title { font-size: 19px !important; line-height: 1.2 !important; }

    /* Section desc — phone */
    .section-desc { font-size: 13px !important; line-height: 1.6 !important; }

    /* Section label */
    .section-label { font-size: 11px !important; letter-spacing: 1px !important; margin-bottom: 8px !important; }

    /* Footer */
    .footer-area .container { padding-top: 24px !important; padding-bottom: 24px !important; }
    .footer-area div[style*="gap:40px"] { gap: 16px !important; }

    /* About stats large numbers */
    .glass-card [style*="font-size:40px"] { font-size: 30px !important; }

    /* Service & offer card headings */
    h2[style*="font-size:28px"] { font-size: 19px !important; }
    h2[style*="font-size:24px"] { font-size: 18px !important; }
    h3[style*="font-size:20px"] { font-size: 15px !important; }
    h3[style*="font-size:18px"] { font-size: 15px !important; }

    /* Services detail price + CTA row — stack */
    .svc-detail-grid > div > div[style*="flex-wrap:wrap"] { flex-direction: column; align-items: flex-start; }

    /* Contact quick-contact email text wrap */
    .glass-card [style*="font-size:14px;font-weight:600"] { font-size: 13px !important; word-break: break-all; }

    /* Badge pill */
    .badge-pill { font-size: 10px !important; padding: 6px 14px !important; gap: 6px !important; margin-bottom: 18px !important; }

    /* Hero buttons — compact */
    .btn-primary, .btn-secondary { font-size: 13px !important; padding: 12px 20px !important; }

    /* How-it-works step titles */
    .container div[style*="text-align:center"] h3 { font-size: 14px !important; }

    /* Remove large margin-bottom on urgency-banner wrapper */
    div[style*="margin-bottom:40px"] { margin-bottom: 14px !important; }

    /* Force grids to single column + tighter gaps */
    .container > div[style*="minmax(300px"],
    .container > div[style*="minmax(280px"],
    .container > div[style*="minmax(220px"] { grid-template-columns: 1fr !important; gap: 12px !important; }
    .container > div[style*="gap:24px"],
    .container > div[style*="gap:32px"] { gap: 12px !important; }

    /* Service icon — smaller on phone */
    .svc-icon { width: 40px !important; height: 40px !important; font-size: 18px !important; margin-bottom: 10px !important; }

    /* Form input */
    .form-input { font-size: 13px !important; padding: 10px 12px !important; }

    /* Price tag */
    .price-tag { font-size: 12px !important; padding: 3px 10px !important; }

    /* Urgency banner */
    .urgency-banner { padding: 16px 14px !important; }

    /* How-it-works step numbers — slightly smaller */
    div[style*="width:56px"][style*="height:56px"][style*="border-radius:16px"] { width: 44px !important; height: 44px !important; font-size: 16px !important; margin-bottom: 12px !important; }
}

/* ═══════════════════════════════════════════
   METHODOLOGY TIMELINE SECTION
═══════════════════════════════════════════ */
#methodology-section {
    background: #c5cdd8;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
#methodology-section::before {
    content: '';
    position: absolute;
    top: -80px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 500px;
    background: radial-gradient(ellipse at 50% 0%, rgba(249,115,22,0.07) 0%, transparent 65%);
    pointer-events: none;
}
.methodology-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 40px;
}
.methodology-header {
    text-align: center;
    margin-bottom: 96px;
}
.methodology-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
}
.methodology-heading {
    font-size: clamp(38px, 5.5vw, 64px);
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 14px;
}
.methodology-sub {
    font-size: 17px;
    color: #6b7280;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.3px;
}
.timeline {
    position: relative;
    padding-left: 68px;
}
.timeline-line {
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: rgba(0,0,0,0.1);
    border-radius: 1px;
}
.timeline-progress {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
    border-radius: 1px;
    transition: height 0.06s linear;
    will-change: height;
}
.timeline-item {
    position: relative;
    padding-bottom: 80px;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: opacity, transform;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item.tl-visible {
    opacity: 0.4;
    transform: translateY(0);
}
.timeline-item.tl-active {
    opacity: 1;
    transform: translateY(0);
}
.timeline-dot-wrapper {
    position: absolute;
    left: -61px;
    top: 8px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, box-shadow, background;
}
.timeline-item.tl-active .timeline-dot {
    width: 13px;
    height: 13px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-color: transparent;
    box-shadow:
        0 0 0 4px rgba(249,115,22,0.15),
        0 0 14px rgba(249,115,22,0.4),
        0 0 28px rgba(234,88,12,0.18);
}
.timeline-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.timeline-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(26,26,46,0.3);
    transition: all 0.45s ease;
    font-variant-numeric: tabular-nums;
}
.timeline-item.tl-active .timeline-number {
    background: linear-gradient(90deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.timeline-label-badge {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(26,26,46,0.35);
    padding: 3px 10px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    transition: all 0.45s ease;
}
.timeline-item.tl-active .timeline-label-badge {
    color: #f97316;
    border-color: rgba(249,115,22,0.3);
    background: rgba(249,115,22,0.08);
}
.timeline-title {
    font-size: clamp(22px, 2.8vw, 32px);
    font-weight: 700;
    color: rgba(26,26,46,0.3);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    transition: color 0.45s ease;
}
.timeline-item.tl-active .timeline-title { color: #1a1a2e; }
.timeline-desc {
    font-size: 15px;
    line-height: 1.78;
    color: rgba(26,26,46,0.28);
    max-width: 500px;
    transition: color 0.45s ease;
}
.timeline-item.tl-active .timeline-desc { color: #4b5563; }

/* Dark mode: Methodology section */
html.dark #methodology-section { background: #0b0f19; }
html.dark #methodology-section::before { background: transparent; }
html.dark .methodology-heading { color: #f1f5f9; }
html.dark .methodology-sub { color: #94a3b8; }
html.dark .timeline-line { background: rgba(255,255,255,0.08); }
html.dark .timeline-dot { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.1); }
html.dark .timeline-number { color: rgba(255,255,255,0.3); }
html.dark .timeline-label-badge { color: rgba(255,255,255,0.3); border-color: rgba(255,255,255,0.1); }
html.dark .timeline-title { color: rgba(255,255,255,0.22); }
html.dark .timeline-item.tl-active .timeline-title { color: #f1f5f9; }
html.dark .timeline-item.tl-active .timeline-desc { color: #94a3b8; }

@media (max-width: 768px) {
    #methodology-section { padding: 72px 0; }
    .methodology-container { padding: 0 24px; }
    .methodology-header { margin-bottom: 60px; }
    .methodology-heading { font-size: 34px; letter-spacing: -1px; }
    .methodology-sub { font-size: 15px; }
    .timeline { padding-left: 48px; }
    .timeline-line { left: 5px; }
    .timeline-dot-wrapper { left: -43px; }
    .timeline-item { padding-bottom: 56px; }
    .timeline-title { font-size: 22px; }
}
@media (max-width: 480px) {
    #methodology-section { padding: 52px 0; }
    .methodology-container { padding: 0 16px; }
    .methodology-header { margin-bottom: 40px; }
    .methodology-heading { font-size: 26px; letter-spacing: -0.5px; }
    .methodology-sub { font-size: 13px; }
    .timeline { padding-left: 38px; }
    .timeline-line { left: 4px; }
    .timeline-dot-wrapper { left: -34px; top: 6px; }
    .timeline-item { padding-bottom: 40px; }
    .timeline-title { font-size: 18px; letter-spacing: -0.3px; }
    .timeline-desc { font-size: 13px; line-height: 1.65; }
    .timeline-meta { gap: 8px; margin-bottom: 10px; }
}

/* ═══════════════════════════════════════════
   MOBILE FULL OPTIMIZATION — v2
═══════════════════════════════════════════ */

/* Offer card badge wrappers */
@media (max-width: 640px) {
    .card-wrapper.has-badge { padding-top: 22px; }
}

/* Footer bottom row */
.footer-bottom-row {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 12px;
}
@media (max-width: 640px) {
    .footer-bottom-row {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 6px !important;
    }
}

/* Tablet Typography — 480px–768px */
@media (max-width: 768px) {
    .hero-heading {
        font-size: clamp(32px, 8vw, 52px) !important;
        letter-spacing: -0.8px !important;
        margin-bottom: 20px !important;
        line-height: 1.1 !important;
    }
    .hero-sub {
        font-size: 15px !important;
        margin-bottom: 28px !important;
        line-height: 1.65 !important;
    }
    .section-title {
        font-size: clamp(26px, 6vw, 36px) !important;
        line-height: 1.18 !important;
    }
    .section-desc {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    .section-label {
        font-size: 12px !important;
        margin-bottom: 10px !important;
    }
    .methodology-heading {
        font-size: clamp(30px, 7.5vw, 44px) !important;
        letter-spacing: -1px !important;
    }
    .card-wrapper.has-badge > div[style*="position:absolute"] {
        top: 8px !important;
        right: 16px !important;
    }
    .svc-trending-badge {
        top: 12px !important;
        right: 12px !important;
    }
    .svc-trending-badge + .svc-detail-grid {
        margin-top: 44px !important;
    }
}

/* Phone Typography — up to 480px */
@media (max-width: 480px) {
    .hero-heading {
        font-size: clamp(30px, 8.5vw, 42px) !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 16px !important;
        line-height: 1.12 !important;
    }
    .hero-sub {
        font-size: 14px !important;
        margin-bottom: 24px !important;
        line-height: 1.6 !important;
    }
    .section-title {
        font-size: clamp(22px, 6.5vw, 30px) !important;
        line-height: 1.2 !important;
    }
    .section-desc {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
    .section-label {
        font-size: 11px !important;
        letter-spacing: 1.2px !important;
        margin-bottom: 10px !important;
    }
    .methodology-heading {
        font-size: clamp(26px, 7.5vw, 34px) !important;
        letter-spacing: -0.5px !important;
    }
    .timeline-title {
        font-size: 20px !important;
        letter-spacing: -0.3px !important;
    }
    .timeline-desc {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
    .nav-container { padding: 7px 10px 7px 14px !important; }
    .nav-logo { gap: 8px !important; }
    .badge-pill {
        font-size: 11px !important;
        padding: 8px 16px !important;
        gap: 7px !important;
        margin-bottom: 20px !important;
        line-height: 1.45 !important;
    }
    .btn-primary, .btn-secondary {
        min-height: 48px !important;
        padding: 13px 24px !important;
        font-size: 14px !important;
    }
    .mobile-cta { min-height: 48px !important; padding: 15px !important; }
    .section-spacing { padding: 32px 0 !important; }
    .container { padding: 0 16px !important; }
    .glass-card[style*="padding:48px"] { padding: 28px 18px !important; }
    .urgency-banner h3 {
        font-size: clamp(16px, 5vw, 22px) !important;
    }
}

/* Footer Services column — hide on mobile */
@media (max-width: 640px) {
    .footer-services-col { display: none !important; }
}

/* Very Small Screens — 360px and below */
@media (max-width: 360px) {
    .hero-heading { font-size: 26px !important; line-height: 1.15 !important; }
    .section-title { font-size: 20px !important; }
    .hero-sub { font-size: 13px !important; }
    .badge-pill { font-size: 10px !important; padding: 6px 12px !important; }
    .nav-logo-text { font-size: 12px !important; }
}

/* ═══════════════════════════════════════════
   CURSOR GLOW EFFECT
═══════════════════════════════════════════ */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 106, 26, 0.45) 0%,
        rgba(255, 106, 26, 0.18) 30%,
        rgba(255, 106, 26, 0)    70%
    );
    filter: blur(80px);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    will-change: left, top;
    mix-blend-mode: multiply;
    opacity: 0;
    transition: opacity 0.6s ease;
}
html.dark #cursor-glow {
    mix-blend-mode: screen;
    background: radial-gradient(
        circle,
        rgba(255, 106, 26, 0.55) 0%,
        rgba(255, 106, 26, 0.22) 30%,
        rgba(255, 106, 26, 0)    70%
    );
}
