﻿/* =====================================================
   MODERN PORTFOLIO - PROFESSIONAL CSS
   ===================================================== */

/* CSS Variables */
:root {
    /* Brand Palette */
    --primary:        #3b82f6;
    --primary-light:  #60a5fa;
    --primary-dark:   #2563eb;
    --accent:         #6366f1;
    --accent-light:   #818cf8;

    /* Backgrounds */
    --bg-base:        #0a0f1e;
    --bg-primary:     #0f172a;
    --bg-secondary:   #1e293b;
    --bg-surface:     #334155;
    --bg-card:        #1e293b;

    /* Text */
    --text-primary:   #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted:     #64748b;
    --text-heading:   #f8fafc;

    /* Borders */
    --border-subtle:  rgba(59, 130, 246, 0.12);
    --border-normal:  rgba(59, 130, 246, 0.25);
    --border-strong:  rgba(59, 130, 246, 0.5);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --gradient-dark:    linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --gradient-blue:    linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-glow:    linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(99,102,241,0.15) 100%);

    /* Legacy aliases (keep for compatibility) */
    --secondary:    #0f172a;
    --white:        #ffffff;
    --gray-50:      #f8fafc;
    --gray-100:     #f1f5f9;
    --gray-200:     #e2e8f0;
    --gray-300:     #cbd5e1;
    --gray-400:     #94a3b8;
    --gray-500:     #64748b;
    --gray-600:     #475569;
    --gray-700:     #334155;
    --gray-800:     #1e293b;
    --gray-900:     #0f172a;

    /* Shadows */
    --shadow-sm:  0 1px 2px rgba(0,0,0,0.3);
    --shadow:     0 4px 6px rgba(0,0,0,0.4);
    --shadow-md:  0 10px 15px rgba(0,0,0,0.4);
    --shadow-lg:  0 20px 25px rgba(0,0,0,0.5);
    --shadow-xl:  0 25px 50px rgba(0,0,0,0.6);
    --shadow-blue: 0 8px 30px rgba(59,130,246,0.25);
    --cookie-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);

    /* Radii */
    --radius-sm: 0.375rem;
    --radius:    0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition:      all 0.3s ease;
    --transition-fast: all 0.15s ease;

    /* Status */
    --success: #10b981;
    --warning: #f59e0b;
    --error:   #ef4444;

    /* ── Hero (homepage) ── */
    --hero-bg:          linear-gradient(160deg, #080d18 0%, #0f172a 55%, #1e293b 100%);
    --hero-glow-a:      rgba(59, 130, 246, 0.12);
    --hero-glow-b:      rgba(139, 92, 246, 0.10);
    --hero-title:       #ffffff;
    --hero-subtitle:    rgba(255, 255, 255, 0.68);
    --hero-stat-num:    #ffffff;
    --hero-stat-label:  rgba(255, 255, 255, 0.52);

    /* ── Page hero (inner-page banners) ── */
    --page-hero-bg:           linear-gradient(135deg, #0a0f1e 0%, #1e293b 55%, #0f172a 100%);
    --page-hero-glow-a:       rgba(59, 130, 246, 0.14);
    --page-hero-glow-b:       rgba(139, 92, 246, 0.08);
    --page-hero-strip-bg:     #0a0f1e;
    --page-hero-strip-border: rgba(255, 255, 255, 0.06);
    --page-hero-title:        #ffffff;
    --page-hero-text:         rgba(255, 255, 255, 0.62);
    --page-hero-crumb:        rgba(255, 255, 255, 0.38);
    --page-hero-crumb-h:      rgba(255, 255, 255, 0.72);
    --page-hero-crumb-sep:    rgba(255, 255, 255, 0.20);
    --page-hero-icon-bg:      rgba(255, 255, 255, 0.06);
    --page-hero-icon-border:  rgba(255, 255, 255, 0.11);
    --page-hero-badge-bg:     rgba(255, 255, 255, 0.06);
    --page-hero-badge-border: rgba(255, 255, 255, 0.10);
    --page-hero-badge-text:   rgba(255, 255, 255, 0.70);
    --page-hero-note:         rgba(255, 255, 255, 0.38);

    /* ── Navbar ── */
    --navbar-bg:              rgba(10, 15, 30, 0.92);
    --navbar-bg-mobile:       rgba(10, 15, 30, 0.98);
    --navbar-scrolled-shadow: 0 4px 24px rgba(0, 0, 0, 0.30);
    --nav-link-col:           var(--text-secondary);
    --hamburger-col:          rgba(255, 255, 255, 0.85);

    /* ── CTA section ── */
    --cta-bg:      linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    --cta-heading: #ffffff;
    --cta-body:    rgba(255, 255, 255, 0.70);

    /* ── Footer (intentionally always dark) ── */
    --footer-bg:          #0a0f1e;
    --footer-border-col:  rgba(255, 255, 255, 0.08);
    --footer-heading-col: #ffffff;
    --footer-body-col:    rgba(255, 255, 255, 0.55);
    --footer-link-col:    rgba(255, 255, 255, 0.60);
    --footer-link-h:      #ffffff;
    --footer-bottom-col:  rgba(255, 255, 255, 0.38);

    /* ── Forms / Inputs ── */
    --input-bg:          var(--bg-secondary);
    --input-border-col:  var(--border-subtle);
    --input-text-col:    var(--text-primary);
    --input-placeholder: var(--text-muted);
    --input-focus-ring:  0 0 0 3px rgba(59, 130, 246, 0.15);

    /* ── Sticky tab nav (packages/services pages) ── */
    --sticky-nav-bg:       rgba(10, 15, 30, 0.94);
    --sticky-nav-border:   rgba(59, 130, 246, 0.20);
    --sticky-btn-bg:       rgba(255, 255, 255, 0.05);
    --sticky-btn-border:   rgba(255, 255, 255, 0.09);
    --sticky-btn-icon-bg:  rgba(255, 255, 255, 0.08);
    --sticky-btn-icon-col: rgba(255, 255, 255, 0.55);
    --sticky-btn-title:    rgba(255, 255, 255, 0.75);

    /* ── HIW / How-It-Works section ── */
    --hiw-bg:         linear-gradient(160deg, #080d1a 0%, #0f172a 50%, #111827 100%);
    --hiw-glow:       rgba(59, 130, 246, 0.11);
    --hiw-heading:    #ffffff;
    --hiw-body:       rgba(255, 255, 255, 0.50);
    --hiw-tag-bg:     rgba(59, 130, 246, 0.20);
    --hiw-tag-border: rgba(59, 130, 246, 0.30);
    --hiw-connector:  rgba(255, 255, 255, 0.07);

    /* ── Project detail breadcrumb ── */
    --pd-crumb:     rgba(255, 255, 255, 0.35);
    --pd-crumb-h:   rgba(255, 255, 255, 0.70);
    --pd-crumb-sep: rgba(255, 255, 255, 0.18);

    /* ── Overlay / backdrop ── */
    --overlay-col: rgba(0, 0, 0, 0.50);

    /* ── Focus ring ── */
    --focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-heading);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.938rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 0px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    border: none;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-normal);
}

.btn-outline:hover {
    background: var(--gradient-glow);
    border-color: var(--border-strong);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--navbar-border, var(--border-subtle));
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 7px 0;
    border-bottom-color: rgba(59, 130, 246, 0.25);
    box-shadow: var(--navbar-scrolled-shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.logo-text .accent {
    color: var(--primary-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 7px 13px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--nav-link-col);
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-light);
    background: rgba(59, 130, 246, 0.15);
}

.nav-cta {
    margin-left: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--hamburger-col);
    border-radius: 2px;
    transition: var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    background: var(--bg-base);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--hero-bg);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--hero-glow-a) 0%, transparent 65%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--hero-glow-b) 0%, transparent 65%);
    border-radius: 50%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-badge i {
    font-size: 0.75rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--hero-title);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--hero-subtitle);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

/* Hero dark-bg overrides */
.hero .btn-outline {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.25);
}
.hero .btn-outline:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--hero-stat-num);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--hero-stat-label);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =====================================================
   HERO BROWSER MOCKUP
   ===================================================== */
.hero-mockup-wrap {
    position: relative;
    width: 480px;
}

.hero-mockup {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 32px 80px rgba(59, 130, 246, 0.2), 0 8px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.hero-mockup-bar {
    height: 42px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 6px;
}

.hmb-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.hmb-dot--red    { background: #FF5F57; }
.hmb-dot--yellow { background: #FFBD2E; }
.hmb-dot--green  { background: #28CA41; }

.hmb-url {
    flex: 1;
    height: 24px;
    background: var(--white);
    border-radius: 6px;
    margin: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    gap: 5px;
}

.hero-mockup-body {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.hm-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--gray-200);
}

.hm-logo-block {
    width: 22px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 5px;
    flex-shrink: 0;
}

.hm-nav-links {
    display: flex;
    gap: 8px;
    flex: 1;
}

.hm-nav-links span {
    height: 6px;
    border-radius: 3px;
    background: var(--gray-300);
}

.hm-nav-links span:nth-child(1) { width: 30px; }
.hm-nav-links span:nth-child(2) { width: 26px; }
.hm-nav-links span:nth-child(3) { width: 34px; }

.hm-nav-cta {
    height: 20px;
    width: 60px;
    background: var(--gradient-primary);
    border-radius: 4px;
    flex-shrink: 0;
}

.hm-hero-area {
    padding: 20px 18px 16px;
}

.hm-badge-block {
    height: 14px;
    width: 116px;
    background: rgba(59, 130, 246, 0.12);
    border-radius: 7px;
    margin-bottom: 12px;
}

.hm-h1-block {
    height: 12px;
    border-radius: 4px;
    background: var(--gray-800);
    margin-bottom: 7px;
}

.hm-h1-block--full { width: 88%; }
.hm-h1-block--sm   { width: 64%; margin-bottom: 12px; }

.hm-p-block {
    height: 7px;
    border-radius: 3px;
    background: var(--gray-300);
    margin-bottom: 5px;
}

.hm-p-block--full { width: 100%; }
.hm-p-block--sm   { width: 78%; margin-bottom: 12px; }

.hm-btns {
    display: flex;
    gap: 8px;
}

.hm-btn-block {
    height: 24px;
    border-radius: 5px;
}

.hm-btn-block--primary { width: 90px; background: var(--gradient-primary); }
.hm-btn-block--outline { width: 70px; background: transparent; border: 1.5px solid var(--gray-300); }

.hm-stats-strip {
    display: flex;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

.hm-stat-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    border-right: 1px solid var(--gray-200);
}

.hm-stat-block:last-child { border-right: none; }

.hm-stat-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
}

.hm-stat-lbl {
    height: 5px;
    width: 38px;
    background: var(--gray-200);
    border-radius: 3px;
}

.hmb-lock {
    font-size: 0.58rem;
    color: #10B981;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-normal);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-blue);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.card-1 {
    top: -18px;
    right: -18px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 110px;
    left: -24px;
    animation-delay: 2s;
}

.card-3 {
    bottom: -18px;
    right: 32px;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =====================================================
   SECTION STYLES
   ===================================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-header.text-left {
    text-align: left;
    margin: 0 0 40px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-size: 0.813rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
    background: var(--bg-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-normal);
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

.service-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(139, 92, 246, 0.02) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 14px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: var(--radius-lg);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card > p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.938rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.service-features i {
    color: var(--success);
    font-size: 0.75rem;
}

.service-readmore {
    margin-top: 18px;
}

/* =====================================================
   PACKAGES / PRICING SECTION
   ===================================================== */
.packages {
    background: var(--bg-secondary);
}

.package-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    /* Keep categories in a single row; scroll horizontally when needed */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn i {
    font-size: 0.8125rem;
}

.package-tabs::-webkit-scrollbar {
    height: 4px;
}

.package-tabs::-webkit-scrollbar-thumb {
    background: var(--border-normal);
    border-radius: var(--radius-full);
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--border-normal);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-blue);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-tier {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.pricing-name {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.938rem;
    color: var(--text-secondary);
}

.pricing-features i {
    color: var(--success);
    margin-top: 3px;
}

/* =====================================================
   PORTFOLIO SECTION
   ===================================================== */
.portfolio {
    background: var(--bg-primary);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-item {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 32px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-info {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h4 {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 4px;
}

.portfolio-info p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.portfolio-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-full);
}

/* Recent Projects - Buttons */
.portfolio-info .btn {
    margin-top: 14px;
}

.portfolio-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.portfolio-all-btn {
    min-width: 220px;
}

@media (max-width: 576px) {
    .portfolio-actions {
        padding: 0 12px;
    }

    .portfolio-all-btn {
        width: 100%;
    }
}


/* =====================================================
   CTA SECTION
   ===================================================== */
.cta {
    background: var(--cta-bg);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    color: var(--cta-heading);
    margin-bottom: 16px;
}

.cta p {
    font-size: 1.125rem;
    color: var(--cta-body);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--bg-surface);
    border-color: var(--border-normal);
    transform: translateX(8px);
}

.contact-method .contact-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
}

.contact-icon.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.contact-icon.email {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
}

.contact-details {
    flex: 1;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.contact-details p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-method > i {
    color: var(--text-muted);
}

/* WhatsApp primary CTA button */
.contact-wa-primary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: rgba(37, 211, 102, 0.08);
    border: 2px solid rgba(37, 211, 102, 0.4);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    margin-bottom: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-wa-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #25D366, #128C7E);
}

.contact-wa-primary:hover {
    background: rgba(37, 211, 102, 0.14);
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.18);
}

.contact-wa-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.15);
    border-radius: var(--radius-lg);
    font-size: 1.6rem;
    color: #25D366;
    flex-shrink: 0;
}

.contact-wa-body {
    flex: 1;
}

.contact-wa-body strong {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 3px;
}

.contact-wa-body span {
    display: block;
    font-size: 0.85rem;
    color: #25D366;
    font-weight: 500;
}

.contact-wa-arrow {
    color: #25D366;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    border-radius: var(--radius-xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1.5px solid var(--input-border-col);
    border-radius: var(--radius);
    font-size: 0.938rem;
    font-family: inherit;
    color: var(--input-text-col);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--input-focus-ring);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--input-placeholder);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border-col);
    color: var(--footer-body-col);
    padding: 48px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    margin-bottom: 10px;
}

.footer-brand .logo-text {
    color: var(--footer-heading-col);
}

.footer-brand p {
    font-size: 0.938rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--footer-heading-col);
    margin-bottom: 14px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--footer-link-col);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--footer-link-h);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.footer-contact i {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--footer-border-col);
    text-align: center;
    color: var(--footer-bottom-col);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--footer-bottom-col);
}

.footer-bottom a {
    color: inherit;
    opacity: 0.7;
    text-decoration: underline;
}

.contact-note a {
    color: inherit;
    text-decoration: underline;
}

/* =====================================================
   PACKAGE TIER PREVIEW (Homepage simplified version)
   ===================================================== */
.pkg-tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.pkg-tier-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: var(--transition);
}

.pkg-tier-card:hover {
    box-shadow: var(--shadow-blue);
    border-color: var(--border-normal);
    transform: translateY(-4px);
}

.pkg-tier-card.featured {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-blue);
}

.pkg-tier-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 18px;
    border-radius: var(--radius-full);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.pkg-tier-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(59, 130, 246, 0.10);
    border: 1px solid rgba(59, 130, 246, 0.18);
    color: var(--primary-light);
    font-size: 1rem;
}

.pkg-tier-card.featured .pkg-tier-icon {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.24);
}

.pkg-tier-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 6px;
}

.pkg-tier-header h3 {
    font-size: 1.375rem;
    margin-bottom: 8px;
    color: var(--text-heading);
}

.pkg-tier-header p {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.pkg-tier-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding-top: 4px;
}

.pkg-tier-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.938rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pkg-tier-list li i {
    color: var(--success);
    font-size: 0.813rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.pkg-home-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 4px 0 18px;
}

.pkg-tiers-note {
    text-align: center;
    font-size: 0.938rem;
    color: var(--text-muted);
}

.pkg-tiers-note a {
    color: var(--primary);
    font-weight: 600;
}

.pkg-tiers-note a:hover { text-decoration: underline; }

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pkg-tiers-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card:nth-child(3) {
        grid-column: span 2;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ts-slide {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-card:nth-child(3) {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--navbar-bg-mobile);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .ts-slide {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }

    .ts-slide .testimonial-card:nth-child(1),
    .ts-slide .testimonial-card:nth-child(2),
    .ts-slide .testimonial-card:nth-child(3) {
        transform: none;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .pricing-grid,
    .portfolio-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .service-readmore {
        width: 100%;
    }

    .pkg-home-actions .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .pricing-card:nth-child(3),
    .testimonial-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }
    
    .package-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        flex-shrink: 0;
    }
    
    .cta h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .pricing-price .amount {
        font-size: 2.25rem;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}


/* Accessibility: visible focus for keyboard users */
:where(a, button, input, textarea, select):focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}


/* =====================================================
   TRUST / PROCESS / ACCESSIBILITY ENHANCEMENTS
   ===================================================== */
.rw-process-v2 {
    padding: 110px 0;
    background: var(--bg-secondary);
}

.rw-process-v2 .process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.rw-process-v2 .process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
}

.rw-process-v2 .process-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.rw-process-v2 .process-card .process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.rw-process-v2 .process-card h3 {
    margin-bottom: 10px;
    font-size: 1.125rem;
}

.rw-process-v2 .process-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.portfolio-note,
.page-note,
.contact-note {
    max-width: 880px;
    margin: 18px auto 0;
    color: var(--text-muted);
    text-align: center;
}

.contact-note {
    margin-top: 18px;
    text-align: left;
    font-size: 0.92rem;
}

.form-status {
    display: none;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 0.94rem;
    font-weight: 500;
}

.form-status.is-visible { display: block; }
.form-status.success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
}
.form-status.error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.btn[disabled] {
    opacity: 0.72;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .process-grid,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .process-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


.logo-mark-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.35));
}

.package-finder-section {
    padding: 40px 0 8px;
}

.finder-shell {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(99, 102, 241, 0.05));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.finder-grid,
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.finder-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.finder-result {
    margin-top: 18px;
    min-height: 70px;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.finder-result.is-active {
    box-shadow: var(--shadow-sm);
}

.finder-result strong {
    color: var(--text-heading);
}

.process-strip {
    padding: 20px 0 0;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 22px;
}

.process-step span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-method-card,
.btn,
.nav-cta {
    will-change: transform;
}

@media (max-width: 1024px) {
    .finder-grid,
    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .finder-shell {
        padding: 22px;
    }

    .finder-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1.1rem;
    }
}


/* Added adjustments */
.process-strip-contact { padding-top: 1rem; }
.process-strip-header { text-align:center; margin-bottom: 2rem; }
.img-fallback { object-fit: contain !important; background: linear-gradient(135deg,#0f172a,#1e293b); padding: 1rem; }
.nav-logo img { border-radius: 10px; }
.logo-mark-img { object-fit: contain; }


/* =====================================================
   BRAND CONSISTENCY - RaadWajeeh Digital
   Visual Identity Unification
   ===================================================== */

/* Force dark background on all sections */
section {
    background-color: var(--bg-primary);
}

/* Section alternation pattern */
section:nth-child(even) {
    background-color: var(--bg-secondary);
}

/* Override specific sections */
.hero,
.cta,
.page-hero {
    background: var(--bg-base) !important;
}

/* Unified card style */
.card,
.service-card,
.package-card,
.portfolio-card,
.project-card,
.testimonial-card,
.faq-item,
.feature-card,
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    transition: var(--transition);
}

.card:hover,
.service-card:hover,
.package-card:hover,
.portfolio-card:hover,
.project-card:hover {
    border-color: var(--border-normal);
    box-shadow: var(--shadow-blue);
    transform: translateY(-4px);
}

/* All headings inside dark sections */
section h1,
section h2,
section h3,
section h4 {
    color: var(--text-heading);
}

/* All body text inside dark sections */
section p {
    color: var(--text-secondary);
}

/* Section tags / labels */
.section-tag,
.section-label,
.badge {
    background: rgba(59, 130, 246, 0.12);
    color: var(--primary-light);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 4px 14px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Dividers */
hr,
.divider {
    border-color: var(--border-subtle);
}

/* Links in dark sections */
section a:not(.btn) {
    color: var(--primary-light);
}
section a:not(.btn):hover {
    color: var(--text-primary);
}

/* Stats / numbers */
.stat-number,
.counter,
.number {
    color: var(--text-heading);
    font-weight: 800;
}

.stat-label {
    color: var(--text-muted);
}

/* Process steps */
.process-step,
.step {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

/* Icon boxes */
.icon-box,
.service-icon,
.feature-icon {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid var(--border-subtle);
    color: var(--primary-light);
}

/* Checkmark lists */
.check-list li::before,
.feature-list li::before {
    color: var(--primary);
}

/* Footer tagline — always light since footer stays dark in both themes */
.footer-tagline,
.brand-tagline {
    color: var(--footer-body-col);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    border-color: var(--border-normal);
}
.testimonial-card.featured-card {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(139, 92, 246, 0.03) 100%);
}
.testimonial-card.featured-card::before {
    content: 'Most helpful';
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 99px;
    letter-spacing: 0.04em;
}
.testimonial-stars {
    display: flex;
    gap: 3px;
}
.testimonial-stars i {
    color: #F59E0B;
    font-size: 0.85rem;
}
.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-secondary);
    flex: 1;
    font-style: italic;
}
.testimonial-text::before {
    content: '"';
    font-size: 2rem;
    color: var(--primary-light);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
    font-style: normal;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}
.testimonial-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-heading);
}
.testimonial-role {
    font-size: 0.76rem;
    color: var(--text-muted);
}
.testimonial-service-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}
.testimonials-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 24px 40px;
    flex-wrap: wrap;
}
.summary-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.score-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}
.score-stars {
    display: flex;
    gap: 3px;
}
.score-stars i { color: #F59E0B; font-size: 0.8rem; }
.score-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
}
.summary-divider {
    width: 1px;
    height: 48px;
    background: var(--border-subtle);
}
.summary-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-n {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-l {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}
@media (max-width: 1024px) {
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials-summary { gap: 20px; padding: 20px; }
    .summary-divider { display: none; }
}


/* =====================================================
   PROCESS SECTION V2 - rw-process-v2
   ===================================================== */
.rw-process-v2 {
    padding: 96px 0;
    background: var(--bg-secondary);
}
.rw-process-v2 .section-header {
    margin-bottom: 64px;
}
.rw-process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    align-items: stretch;
}
.rw-process-timeline--6 {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.rw-process-timeline--6 .rw-process-connector {
    display: none;
}
.rw-process-timeline--6 .rw-process-step {
    padding: 0;
}
.rw-process-connector {
    position: absolute;
    top: 28px;
    left: calc(12.5% + 12px);
    right: calc(12.5% + 12px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.25;
    z-index: 0;
}
.rw-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
    height: 100%;
}
.rw-process-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}
.rw-process-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    position: relative;
}
.rw-process-icon {
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.08);
    border: 1.5px solid rgba(59, 130, 246, 0.18);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}
.rw-process-body {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    width: 100%;
    text-align: left;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.rw-process-body:hover {
    box-shadow: var(--shadow-blue);
    border-color: var(--border-normal);
}
/* Card header - always consistent */
.rw-process-body-head {
    padding: 20px 22px 16px;
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(59, 130, 246, 0.025);
}
.rw-process-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.3;
}
/* Card content - grows to fill */
.rw-process-body-content {
    padding: 16px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.rw-process-body > p,
.rw-process-body-content > p {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 12px 0;
    flex: 1;
}
.rw-process-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 12px 0;
    flex: 1;
}
.rw-process-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
.rw-process-bullets li i {
    color: var(--success);
    font-size: 0.72rem;
    margin-top: 2px;
    flex-shrink: 0;
}
/* Card footer - tag always at bottom */
.rw-process-body-foot {
    padding: 12px 22px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(59, 130, 246, 0.025);
}
.rw-process-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 99px;
}
.rw-process-cta {
    margin-top: 48px;
    text-align: center;
    padding: 20px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}
.rw-process-cta p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}
.rw-process-cta strong {
    color: var(--text-heading);
}
.rw-process-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    margin-left: 8px;
    transition: var(--transition);
}
.rw-process-link:hover {
    color: var(--primary-dark);
    gap: 6px;
}
.rw-process-link i {
    font-size: 0.8rem;
    margin-left: 4px;
}
/* Process V2 responsive */
@media (max-width: 1024px) {
    .rw-process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .rw-process-timeline--6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .rw-process-connector { display: none; }
    .rw-process-step { align-items: flex-start; text-align: left; padding: 0; }
    .rw-process-icon-wrap { flex-direction: row; gap: 14px; align-items: center; }
}
@media (max-width: 640px) {
    .rw-process-timeline,
    .rw-process-timeline--6 { grid-template-columns: 1fr; gap: 20px; }
    .rw-process-v2 { padding: 64px 0; }
}


/* =====================================================
   TESTIMONIALS V2 - rw-testimonials-v2
   ===================================================== */
.rw-testimonials-v2 {
    padding: 96px 0;
    background: var(--bg-secondary);
}
/* Rating bar */
.rw-rating-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 22px 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-sm);
}
.rw-rating-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.rw-score-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-heading);
    line-height: 1;
}
.rw-score-stars { display: flex; gap: 3px; }
.rw-score-stars i { color: #F59E0B; font-size: 0.8rem; }
.rw-score-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.rw-rating-divider { width: 1px; height: 44px; background: var(--border-subtle); }
.rw-rating-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.rw-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--primary); line-height: 1; }
.rw-stat-lbl { font-size: 0.72rem; color: var(--text-muted); text-align: center; }
.rw-proof-note {
    max-width: 760px;
    margin: -28px auto 42px;
    color: var(--text-muted);
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.75;
}

/* Testimonials grid - masonry-like */
.rw-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}
/* Featured card spans 2 columns */
.rw-tcard--featured {
    grid-column: span 2;
}
/* Cards */
.rw-tcard {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.rw-tcard:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
    border-color: var(--border-normal);
}
.rw-tcard--featured {
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.04) 0%,
        rgba(139, 92, 246, 0.04) 100%
    );
    border-color: rgba(59, 130, 246, 0.2);
}
.rw-tcard--featured::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.rw-tcard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.rw-proof-card h3 {
    color: var(--text-heading);
    font-size: 1.02rem;
    margin: 0;
}

.rw-proof-card .rw-tcard-text {
    font-style: normal;
    padding-left: 0;
}

.rw-proof-card .rw-tcard-text::before {
    content: none;
}

.rw-proof-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.18);
}

.rw-tcard-stars { display: flex; gap: 3px; }
.rw-tcard-stars i { color: #F59E0B; font-size: 0.85rem; }
.rw-tcard-badge {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.18);
    padding: 3px 12px;
    border-radius: 99px;
}
.rw-tcard-text {
    font-size: 0.9rem;
    line-height: 1.78;
    color: var(--text-secondary);
    flex: 1;
    font-style: italic;
    position: relative;
    padding-left: 16px;
}
.rw-tcard-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -6px;
    font-size: 2.4rem;
    color: var(--primary-light);
    font-style: normal;
    line-height: 1;
    opacity: 0.5;
}
.rw-tcard-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}
.rw-tcard-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    color: var(--white);
}
.rw-avatar--purple { background: linear-gradient(135deg, #3b82f6, #8b5cf6); }
.rw-avatar--teal   { background: linear-gradient(135deg, #2563eb, #60a5fa); }
.rw-avatar--green  { background: linear-gradient(135deg, #059669, #10B981); }
.rw-avatar--orange { background: linear-gradient(135deg, #D97706, #F59E0B); }
.rw-avatar--blue   { background: linear-gradient(135deg, #1D4ED8, #3B82F6); }
.rw-avatar--gray   { background: linear-gradient(135deg, #374151, #6B7280); }
.rw-tcard-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rw-tcard-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-heading);
}
.rw-tcard-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.rw-tcard-service {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    padding: 3px 10px;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Responsive */
@media (max-width: 1024px) {
    .rw-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rw-tcard--featured { grid-column: span 2; }
}
@media (max-width: 640px) {
    .rw-testimonials-grid { grid-template-columns: 1fr; }
    .rw-tcard--featured { grid-column: span 1; }
    .rw-rating-bar { gap: 16px; padding: 18px 20px; }
    .rw-rating-divider { display: none; }
    .rw-testimonials-v2 { padding: 64px 0; }
}

/* Homepage reviews: compact trust proof instead of a long review wall */
.rw-testimonials-v2 .section-header {
    margin-bottom: 34px;
}

.rw-testimonials-v2 .rw-rating-bar {
    max-width: 760px;
    margin: 0 auto 34px;
    padding: 16px 22px;
    gap: 22px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(96, 165, 250, 0.18);
    box-shadow: none;
}

.rw-testimonials-v2 .rw-rating-bar > .rw-rating-divider:nth-child(6),
.rw-testimonials-v2 .rw-rating-bar > .rw-rating-stat:last-child {
    display: none;
}

.rw-testimonials-v2 .rw-score-num,
.rw-testimonials-v2 .rw-stat-num {
    font-size: 1.35rem;
}

.rw-testimonials-v2 .rw-score-stars i {
    font-size: 0.72rem;
}

.rw-testimonials-v2 .rw-score-label,
.rw-testimonials-v2 .rw-stat-lbl {
    font-size: 0.7rem;
}

.rw-testimonials-v2 .rw-testimonials-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 18px;
    align-items: stretch;
    max-width: 1080px;
    margin: 0 auto;
}

.rw-testimonials-v2 .rw-tcard:nth-child(n+4) {
    display: none;
}

.rw-testimonials-v2 .rw-tcard--featured {
    grid-column: auto;
    grid-row: span 2;
    padding: 38px;
    gap: 22px;
    background:
        linear-gradient(135deg, rgba(59, 130, 246, 0.10) 0%, rgba(99, 102, 241, 0.05) 100%),
        var(--bg-card);
}

.rw-testimonials-v2 .rw-tcard--featured .rw-tcard-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) {
    padding: 24px;
    gap: 14px;
    border-radius: var(--radius-lg);
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-stars,
.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-service {
    display: none;
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-text {
    padding-left: 0;
    font-style: normal;
    line-height: 1.65;
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-text::before {
    display: none;
}

.rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) .rw-tcard-author {
    margin-top: auto;
}

.rw-reviews-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .rw-testimonials-v2 .rw-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .rw-testimonials-v2 .rw-tcard--featured {
        grid-row: auto;
    }
}

@media (max-width: 640px) {
    .rw-testimonials-v2 .rw-rating-bar {
        justify-content: space-between;
    }

    .rw-testimonials-v2 .rw-rating-divider {
        display: none;
    }

    .rw-testimonials-v2 .rw-tcard--featured,
    .rw-testimonials-v2 .rw-tcard:not(.rw-tcard--featured) {
        padding: 24px;
    }

    .rw-reviews-cta .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.will-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.will-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .will-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* =====================================================
   FOOTER CONTACT LINKS
   ===================================================== */
.footer-contact-link {
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer-contact-link:hover { color: var(--white); }

.footer-contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer-contact-icon--email { background: rgba(59, 130, 246, 0.25); }
.footer-contact-icon--email i { color: #60a5fa; font-size: 0.85rem; }
.footer-contact-icon--wa { background: rgba(37, 211, 102, 0.2); }
.footer-contact-icon--wa i { color: #25d366; font-size: 0.95rem; }
.footer-contact-icon--li { background: rgba(10, 102, 194, 0.2); }
.footer-contact-icon--li i { color: #0A66C2; font-size: 0.85rem; }
.footer-contact-icon--fb { background: rgba(24, 119, 242, 0.2); }
.footer-contact-icon--fb i { color: #1877F2; font-size: 0.85rem; }
.footer-contact-icon--tt { background: rgba(255, 255, 255, 0.12); }
.footer-contact-icon--tt i { color: #fff; font-size: 0.85rem; }
.footer-contact-icon--ig { background: rgba(225, 48, 108, 0.2); }
.footer-contact-icon--ig i { color: #E1306C; font-size: 0.85rem; }
.footer-contact-label { font-size: 0.875rem; }

/* =====================================================
   CTA NOTE
   ===================================================== */
.cta-note {
    margin-top: 1.5rem;
    font-size: 0.88rem;
    opacity: 0.72;
    line-height: 1.6;
}
.cta-note a {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
}

/* =====================================================
   SERVICE FINDER SECTION (services.html)
   ===================================================== */
.service-finder-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.sf-widget {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}
.sf-progress-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 36px;
}
.sf-progress-bar {
    flex: 1;
    height: 5px;
    background: var(--border-subtle);
    border-radius: 3px;
    overflow: hidden;
}
.sf-progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.4s;
    width: 0%;
}
.sf-progress-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
}
.sf-step-q {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 8px;
}
.sf-step-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 22px;
}
.sf-opts-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sf-results-header {
    text-align: center;
    margin-bottom: 28px;
}
.sf-results-icon {
    font-size: 2rem;
    color: var(--success);
    margin-bottom: 10px;
}
.sf-results-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 6px;
}
.sf-results-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
}
.sf-results-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.sf-reset-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}
.sf-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: transparent;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
}
.sf-reset-btn:hover { border-color: var(--primary); color: var(--primary); }

/* =====================================================
   THEME TOGGLE BUTTON
   ===================================================== */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border-normal);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 4px;
    z-index: 1001;
    position: relative;
}
.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
    transform: scale(1.08);
}
.theme-toggle i {
    transition: transform 0.35s ease, opacity 0.2s ease;
    pointer-events: none;
}
.theme-toggle.switching i {
    transform: rotate(180deg);
    opacity: 0;
}

/* =====================================================
   LIGHT THEME — CSS VARIABLE OVERRIDES
   All component colors are controlled via tokens above.
   Only tokens need to change; component CSS uses var() throughout.
   ===================================================== */
[data-theme="light"] {
    /* ── Core surfaces ── */
    --bg-base:        #f0f6ff;
    --bg-primary:     #f5f8ff;
    --bg-secondary:   #eaf1ff;
    --bg-surface:     #dae5fb;
    --bg-card:        #ffffff;

    /* ── Typography ── */
    --text-primary:   #0a1628;
    --text-secondary: #1e3a5f;
    --text-muted:     #4b6280;
    --text-heading:   #0a1628;

    /* ── Borders ── */
    --border-subtle:  rgba(59, 130, 246, 0.14);
    --border-normal:  rgba(59, 130, 246, 0.28);
    --border-strong:  rgba(59, 130, 246, 0.50);

    /* ── Gradients ── */
    --gradient-dark:  linear-gradient(135deg, #eaf1ff 0%, #f5f8ff 100%);
    --gradient-glow:  linear-gradient(135deg, rgba(59,130,246,0.07) 0%, rgba(99,102,241,0.07) 100%);

    /* ── Shadows ── */
    --shadow-sm:   0 1px 3px rgba(15, 23, 42, 0.07);
    --shadow:      0 4px 8px rgba(15, 23, 42, 0.09);
    --shadow-md:   0 10px 20px rgba(15, 23, 42, 0.09);
    --shadow-lg:   0 20px 30px rgba(15, 23, 42, 0.10);
    --shadow-xl:   0 25px 50px rgba(15, 23, 42, 0.12);
    --shadow-blue: 0 8px 30px rgba(59, 130, 246, 0.14);
    --cookie-shadow: 0 -8px 32px rgba(15, 23, 42, 0.12);

    /* ── Legacy alias ── */
    --secondary: #f5f8ff;

    /* ── Hero (homepage) ── */
    --hero-bg:         linear-gradient(160deg, #e8f0fe 0%, #f0f6ff 55%, #edf4ff 100%);
    --hero-glow-a:     rgba(59, 130, 246, 0.10);
    --hero-glow-b:     rgba(99, 102, 241, 0.08);
    --hero-title:      #0a1628;
    --hero-subtitle:   #2d4a6e;
    --hero-stat-num:   #0a1628;
    --hero-stat-label: #4b6280;

    /* ── Page hero (inner-page banners) ── */
    --page-hero-bg:           linear-gradient(135deg, #dce8fb 0%, #eaf1ff 55%, #f0f6ff 100%);
    --page-hero-glow-a:       rgba(59, 130, 246, 0.12);
    --page-hero-glow-b:       rgba(139, 92, 246, 0.06);
    --page-hero-strip-bg:     #eaf1ff;
    --page-hero-strip-border: rgba(59, 130, 246, 0.10);
    --page-hero-title:        #0a1628;
    --page-hero-text:         #2d4a6e;
    --page-hero-crumb:        rgba(10, 22, 40, 0.50);
    --page-hero-crumb-h:      var(--primary);
    --page-hero-crumb-sep:    rgba(10, 22, 40, 0.20);
    --page-hero-icon-bg:      rgba(59, 130, 246, 0.10);
    --page-hero-icon-border:  rgba(59, 130, 246, 0.18);
    --page-hero-badge-bg:     rgba(59, 130, 246, 0.08);
    --page-hero-badge-border: rgba(59, 130, 246, 0.16);
    --page-hero-badge-text:   #1e3a5f;
    --page-hero-note:         rgba(10, 22, 40, 0.50);

    /* ── Navbar ── */
    --navbar-bg:              rgba(245, 248, 255, 0.94);
    --navbar-bg-mobile:       rgba(245, 248, 255, 0.98);
    --navbar-border:          rgba(59, 130, 246, 0.14);
    --navbar-scrolled-shadow: 0 4px 20px rgba(15, 23, 42, 0.10);
    --nav-link-col:           #1e3a5f;
    --hamburger-col:          #1e3a5f;

    /* ── CTA section ── */
    --cta-bg:      linear-gradient(135deg, #dce8fb 0%, #eaf1ff 100%);
    --cta-heading: #0a1628;
    --cta-body:    #2d4a6e;

    /* ── Forms / Inputs ── */
    --input-bg:          #ffffff;
    --input-border-col:  rgba(59, 130, 246, 0.22);
    --input-text-col:    #0a1628;
    --input-placeholder: #4b6280;
    --input-focus-ring:  0 0 0 3px rgba(59, 130, 246, 0.10);

    /* ── Sticky tab nav ── */
    --sticky-nav-bg:       rgba(245, 248, 255, 0.97);
    --sticky-nav-border:   rgba(59, 130, 246, 0.18);
    --sticky-btn-bg:       rgba(255, 255, 255, 0.80);
    --sticky-btn-border:   rgba(30, 58, 95, 0.12);
    --sticky-btn-icon-bg:  rgba(30, 58, 95, 0.06);
    --sticky-btn-icon-col: #4b6280;
    --sticky-btn-title:    #1e3a5f;

    /* ── HIW / How-It-Works section ── */
    --hiw-bg:         linear-gradient(160deg, #e8f0fe 0%, #f0f6ff 50%, #edf4ff 100%);
    --hiw-glow:       rgba(59, 130, 246, 0.07);
    --hiw-heading:    #0a1628;
    --hiw-body:       #4b6280;
    --hiw-tag-bg:     rgba(59, 130, 246, 0.10);
    --hiw-tag-border: rgba(59, 130, 246, 0.20);
    --hiw-connector:  rgba(59, 130, 246, 0.14);

    /* ── Project detail breadcrumb ── */
    --pd-crumb:     rgba(10, 22, 40, 0.50);
    --pd-crumb-h:   var(--primary);
    --pd-crumb-sep: rgba(10, 22, 40, 0.20);

    /* ── Overlay / backdrop ── */
    --overlay-col: rgba(0, 0, 0, 0.30);

    /* ── Focus ring ── */
    --focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* ── Logo text in light navbar only (footer stays dark, logo must stay white) ── */
[data-theme="light"] .navbar .logo-text { color: #0a1628; }
[data-theme="light"] .navbar .logo-text .accent { color: var(--primary); }

/* ── Nav links active/hover in light ── */
[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
    color: var(--primary);
    background: rgba(59, 130, 246, 0.10);
}

/* ── Hero outline button on light bg ── */
[data-theme="light"] .hero .btn-outline {
    color: #1e3a5f;
    border-color: rgba(30, 58, 95, 0.28);
}
[data-theme="light"] .hero .btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

/* ── Hero badge ── */
[data-theme="light"] .hero-badge {
    background: rgba(59, 130, 246, 0.07);
    border-color: rgba(59, 130, 246, 0.22);
    color: var(--primary-dark);
}

/* ── Cards: subtle lift shadow in light ── */
[data-theme="light"] .service-card,
[data-theme="light"] .package-card,
[data-theme="light"] .project-card,
[data-theme="light"] .testimonial-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .process-card,
[data-theme="light"] .floating-card,
[data-theme="light"] .pkg-tier-card {
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

/* ── Section backgrounds ── */
[data-theme="light"] .services,
[data-theme="light"] .packages-section,
[data-theme="light"] .testimonials,
[data-theme="light"] .faq-section {
    background: var(--bg-primary);
}
[data-theme="light"] .portfolio-section,
[data-theme="light"] .process-section,
[data-theme="light"] .why-us-section {
    background: var(--bg-secondary);
}

/* ── CTA section-specific classes ── */
[data-theme="light"] .cta-section-rw {
    background: var(--cta-bg);
}
[data-theme="light"] .cta-title  { color: var(--cta-heading); }
[data-theme="light"] .cta-description { color: var(--cta-body); }

/* ── Section tag ── */
[data-theme="light"] .section-tag {
    background: rgba(59, 130, 246, 0.10);
    color: var(--primary-dark);
}

/* ── Outline button (global) ── */
[data-theme="light"] .btn-outline {
    color: #1e3a5f;
    border-color: rgba(30, 58, 95, 0.25);
}
[data-theme="light"] .btn-outline:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

/* ── Theme toggle button ── */
[data-theme="light"] .theme-toggle {
    border-color: rgba(59, 130, 246, 0.28);
    color: #2d4a6e;
}
[data-theme="light"] .theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(59, 130, 246, 0.08);
}

/* ── FAQ dark variant on light bg ── */
[data-theme="light"] .faq-section--dark .faq-item {
    background: rgba(30, 58, 95, 0.04);
    border-color: rgba(30, 58, 95, 0.12);
}
[data-theme="light"] .faq-section--dark .faq-question:hover {
    background: rgba(30, 58, 95, 0.06);
}
[data-theme="light"] .faq-section--dark .faq-question h3 { color: var(--text-heading); }
[data-theme="light"] .faq-section--dark .faq-answer p   { color: var(--text-muted); }

/* ── Testimonials rating bar ── */
[data-theme="light"] .rw-testimonials-v2 .rw-rating-bar {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(59, 130, 246, 0.16);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.07);
}

/* ── Section plain links ── */
[data-theme="light"] section a:not(.btn) { color: var(--primary-dark); }
[data-theme="light"] section a:not(.btn):hover { color: var(--primary); }

/* ── Image fallback ── */
[data-theme="light"] .img-fallback {
    background: linear-gradient(135deg, #e8f0fe, #f0f6ff);
}

/* ── Form status messages ── */
[data-theme="light"] .form-status.success {
    background: rgba(16, 185, 129, 0.08);
    color: #065f46;
}
[data-theme="light"] .form-status.error {
    background: rgba(239, 68, 68, 0.08);
    color: #991b1b;
}

/* ── Stats section (detail pages) ── */
[data-theme="light"] .stats-section { background: var(--bg-secondary); }
[data-theme="light"] .stat-item     { color: var(--text-heading); }
[data-theme="light"] .stat-item .stat-number { color: var(--text-heading); }
[data-theme="light"] .stat-item .stat-label  { color: var(--text-muted); }
[data-theme="light"] .stat-icon {
    background: rgba(59, 130, 246, 0.10);
    color: var(--primary);
}

/* ── Process body tint ── */
[data-theme="light"] .rw-process-body-head,
[data-theme="light"] .rw-process-body-foot {
    background: rgba(59, 130, 246, 0.03);
}

/* ── Service finder widget ── */
[data-theme="light"] .sf-opt:hover { background: rgba(59, 130, 246, 0.04); }

/* ── btn-outline-white inside CTA (light bg needs dark-colored button) ── */
[data-theme="light"] .cta .btn-outline-white {
    color: var(--primary-dark);
    border-color: rgba(59, 130, 246, 0.35);
    background: transparent;
}
[data-theme="light"] .cta .btn-outline-white:hover {
    background: rgba(59, 130, 246, 0.10);
    border-color: var(--primary);
    color: var(--primary);
}

/* ── HIW bubbles in light mode — white bg to contrast the light-blue section ── */
[data-theme="light"] .hiw-bubble {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.22);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.07);
}
[data-theme="light"] .hiw-step:hover .hiw-bubble {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

