/* Public Frontend Styling Sheet */
/* NOTE: Google Fonts loaded via HTML <link rel="preload"> in main.php — @import removed (was render-blocking, cost ~300-600ms LCP) */

/* ===== CORE WEB VITALS: LCP / CLS / TBT OPTIMIZATIONS ===== */

/* 1. CLS prevention: ensure images never cause layout shift */
img { max-width: 100%; height: auto; display: block; }

/* 2. content-visibility:auto — browser skips rendering below-fold sections until needed.
      Directly frees main thread for LCP element to paint faster. */
.section-ai-ecosystem,
.section-services,
.section-portfolio,
.section-testimonials,
.section-faq,
.section-reviews,
.section-blog {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
}

/* 3. Promote animated elements to GPU composite layer — reduces TBT jank */
.glow-blob,
.floating-stats-card,
.hero-visual-wrapper,
.ag-card,
.glow-blob-1,
.glow-blob-2 {
    will-change: transform;
    transform: translateZ(0);
}

/* 4. Sticky header layout containment — prevents header recalculating page layout */
header.sticky-header { contain: layout style; }

/* 5. Hero image container: explicit aspect-ratio prevents CLS before image loads */
.hero-mockup-wrapper { overflow: hidden; }
.client-avatar-group img { aspect-ratio: 1/1; }

/* ===== END CWV OPTIMIZATIONS ===== */


:root {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F7FC; /* Soft lavender-white */
    --bg-surface: #FFFFFF;
    
    --accent-primary: #7C3AED; /* Royal Purple */
    --accent-secondary: #A78BFA; /* Light Violet */
    --accent-glow: #EDE9FE; /* Soft lavender glow */
    
    --text-primary: #111827; /* Dark Text */
    --text-secondary: #4B5563; /* Body Paragraphs */
    --text-muted: #9CA3AF; /* Captions, Labels */
    --border-color: #E9E5F5; /* Card outlines, Dividers */
    
    --success: #22C55E;
    --warning: #F59E0B;
    --danger: #EF4444;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--accent-secondary);
}

/* Micro-animations */
.transition-transform {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-scale:hover {
    transform: scale(1.02);
}

/* 1. Header & Glassmorphic Navigation */
header.sticky-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 16, 32, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

header.sticky-header.scrolled {
    background-color: rgba(11, 16, 32, 0.95);
    padding: 5px 0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-glow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary) !important;
}

.dropdown-menu {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.5);
}

.dropdown-item {
    color: var(--text-secondary);
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: rgba(99, 102, 241, 0.08);
    color: var(--text-primary);
}

/* 2. Hero Section Glows & Animation */
.hero-glow-bg {
    position: relative;
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 50% 10%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 10% 40%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
}

.glow-badge {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(99, 102, 241, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-block;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}

.hero-mockup-wrapper {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    padding: 10px;
}

.floating-stats-card {
    position: absolute;
    background: rgba(31, 41, 55, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3);
    z-index: 5;
    animation: floatAnim 4s ease-in-out infinite;
}

.floating-stats-card-1 {
    top: 15%;
    left: -8%;
}

.floating-stats-card-2 {
    bottom: 15%;
    right: -8%;
    animation-delay: 2s;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* 3. Interactive Stats Counter */
.counter-box {
    text-align: center;
    padding: 30px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    height: 100%;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    background: linear-gradient(135deg, #FFF 30%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2px;
}

/* 4. Services Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.2);
}

.bento-card-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(99, 102, 241, 0.08) 100%);
    border: 1.5px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
}

.bento-card-featured::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    opacity: 0.25;
    pointer-events: none;
}

.bento-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 20px;
}

/* Responsive grid columns */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card-featured {
        grid-column: span 1;
    }
}

/* 5. Portfolio Gallery System */
.portfolio-filter-btn {
    border-color: var(--border-color);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s ease;
}

.portfolio-filter-btn:hover, .portfolio-filter-btn.active {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white !important;
}

.project-details-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
}

/* 6. Testimonials Carousel Horizontal Scroll */
.testimonial-scroll-container {
    overflow-x: auto;
    display: flex;
    gap: 24px;
    padding: 15px 5px;
    scroll-snap-type: x mandatory;
}

.testimonial-scroll-card {
    min-width: 380px;
    max-width: 380px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

@media (max-width: 576px) {
    .testimonial-scroll-card {
        min-width: 290px;
        max-width: 290px;
    }
}

/* 7. Accordion FAQs */
.accordion-item {
    background-color: var(--bg-secondary) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    font-weight: 600;
    padding: 18px 24px;
    border: none !important;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--accent-primary) !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.accordion-button::after {
    filter: invert(1);
}

.accordion-body {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 20px 24px;
    font-size: 0.95rem;
}

/* 8. Forms & Inputs */
.form-input-box {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 10px;
}
.form-input-box:focus {
    background-color: var(--bg-secondary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
    color: var(--text-primary);
}

/* Buttons */
.btn-accent {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

.btn-outline-glow {
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.btn-outline-glow:hover {
    background-color: rgba(124, 58, 237, 0.05);
    color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

/* Footer Section */
footer {
    background-color: #1A1530 !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    padding: 80px 0 30px 0;
    color: rgba(255,255,255,0.7) !important;
}
footer h6 {
    color: #FFFFFF !important;
}
footer .text-muted {
    color: rgba(255,255,255,0.5) !important;
}
footer a.text-muted {
    color: rgba(255,255,255,0.6) !important;
}
footer a.text-muted:hover {
    color: var(--accent-secondary) !important;
}

/* --- Redesign Styling Enhancements: White + Purple Theme --- */

/* Sticky Header White mode */
header.sticky-header {
    background-color: rgba(255, 255, 255, 0.85) !important;
    border-bottom: 1px solid var(--border-color) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
header.sticky-header.scrolled {
    background-color: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.06);
}
.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--accent-primary) !important;
}
.navbar-toggler {
    color: var(--text-primary) !important;
}

/* Logo Brand Tagline Layout */
.logo-brand-container {
    line-height: 1.1;
    text-align: left;
}
.logo-main-text {
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary) !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
}
.logo-sub-text {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--accent-primary) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1px;
}
.logo-dot-mark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    display: inline-block;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

/* Gradient Header Texts */
.gradient-text {
    background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-text-alt {
    background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Ambient Background Blur Blobs */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}
.glow-blob-1 {
    width: 450px;
    height: 450px;
    background: #A78BFA;
    top: 5%;
    right: 5%;
}
.glow-blob-2 {
    width: 350px;
    height: 350px;
    background: #7C3AED;
    top: 40%;
    left: 2%;
}
.mockup-glow-blob {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.15) 0%, transparent 60%);
    top: -10%;
    left: -10%;
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
}

/* Avatar Grouping UI */
.client-avatar-group {
    display: inline-flex;
    align-items: center;
}
.client-avatar-group img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bg-primary);
    margin-left: -12px;
    transition: transform 0.2s ease;
}
.client-avatar-group img:first-child {
    margin-left: 0;
}
.client-avatar-group img:hover {
    transform: translateY(-4px);
    z-index: 10;
}
.client-avatar-group .avatar-count {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--accent-glow);
    border: 2px solid var(--bg-primary);
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -12px;
    z-index: 1;
}

/* Glassmorphic Form Card overrides */
.hero-form-card {
    background: #FFFFFF !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.08) !important;
}
.hero-form-card .form-input-box {
    background-color: var(--bg-primary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
    font-size: 0.9rem;
}
.hero-form-card .form-input-box:focus {
    border-color: var(--accent-primary) !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
}
.hero-form-card .input-group-text {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    color: var(--text-muted) !important;
}

/* Dashboard Mockup White mode */
.hero-mockup-wrapper {
    background: #FFFFFF !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 25px 60px -15px rgba(124, 58, 237, 0.12) !important;
}
.animate-pulse {
    animation: pulse 2.5s infinite alternate;
}
@keyframes pulse {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}

/* Bento Services Card */
.bento-card {
    background-color: #FFFFFF !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.04);
}
.bento-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px -10px rgba(124, 58, 237, 0.15);
}
.bento-card-featured {
    border-color: transparent !important;
    box-shadow: 0 15px 35px rgba(26, 21, 48, 0.25) !important;
}

/* Case study cards adjustments */
.card {
    border-color: var(--border-color) !important;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1) !important;
}

/* Testimonial dark background glows */
.testimonial-glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
}
.bg-dark-purple .card {
    background-color: #FFFFFF !important;
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

/* WhatsApp Floating Action Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}
.whatsapp-floating-btn:hover {
    transform: scale(1.1) rotate(8deg);
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .hero-glow-bg {
        padding-top: 120px !important;
    }
    .hero-title {
        margin-top: 20px;
    }
    .hero-desc {
        margin-bottom: 25px !important;
    }
    .floating-stats-card {
        display: none !important; /* Hide floating stats cards on mobile to avoid layout overflows */
    }
    .hero-form-card {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Background Overrides to force premium white-based SaaS aesthetic */
.bg-secondary {
    background-color: var(--bg-secondary) !important;
}
.bg-light {
    background-color: var(--bg-secondary) !important;
}

/* Footer Contrast and Text Visibility Overrides */
footer, footer .text-muted, footer p.text-muted, footer span.text-muted, footer a.text-muted {
    color: rgba(255, 255, 255, 0.65) !important;
}
footer .text-secondary, footer a.text-secondary {
    color: rgba(255, 255, 255, 0.55) !important;
}
footer a.text-muted:hover, footer a.text-secondary:hover {
    color: var(--accent-secondary) !important;
}
footer h6, footer .text-white {
    color: #FFFFFF !important;
}

/* Infinite Marquee Ticker CSS */
/* Logo Slider Navigation Carousel CSS */
.logo-slider-frame {
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.logo-slider-frame::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}
.logo-slider-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
}
.logo-slider-arrow {
    width: 42px;
    height: 42px;
    background-color: var(--bg-surface) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--accent-primary) !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.08) !important;
    transition: all 0.3s ease !important;
    z-index: 10;
}
.logo-slider-arrow:hover {
    background-color: var(--accent-primary) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.2) !important;
    transform: translateY(-50%) scale(1.08) !important;
}
.client-logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: -0.5px;
    opacity: 0.6;
    transition: opacity 0.2s ease, color 0.2s ease;
}
.client-logo-text:hover {
    opacity: 0.95;
    color: var(--accent-primary);
}
.client-logo-card {
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.02);
    transition: all 0.3s ease;
}
.client-logo-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.06);
}

/* --- Mobile Responsive Layout Overrides & Optimizations --- */

/* Sticky Navbar Mobile Dropdown Overhaul */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #FFFFFF !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 14px !important;
        padding: 20px !important;
        margin-top: 15px !important;
        box-shadow: 0 15px 35px rgba(124, 58, 237, 0.12) !important;
    }
    .navbar-nav .nav-link {
        padding: 10px 8px !important;
        border-bottom: 1px solid var(--bg-secondary);
        color: var(--text-secondary) !important;
    }
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .navbar-nav .nav-link:hover, 
    .navbar-nav .nav-link.active {
        color: var(--accent-primary) !important;
        background-color: rgba(124, 58, 237, 0.04);
        border-radius: 6px;
    }
    .navbar-nav .btn-accent {
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
}

/* Hero Lead Form Card Padding Adjustments */
@media (max-width: 576px) {
    .hero-form-card {
        padding: 20px 15px !important;
    }
}

/* Trust Stats Bar 2x2 Layout Fixes */
@media (max-width: 768px) {
    .counter-box {
        padding: 15px 10px !important;
        border-radius: 12px !important;
    }
    .counter-number {
        font-size: 1.8rem !important;
    }
    .counter-box .text-muted {
        font-size: 0.65rem !important;
        letter-spacing: 0.5px !important;
    }
}

/* GMB Reviews Mobile Stacking Header */
@media (max-width: 576px) {
    .review-header-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }
    .rating-stars-box {
        margin-left: 46px !important; /* Offset by avatar 38px + gap 8px */
    }
    .gmb-review-card {
        padding: 15px !important;
    }
}

/* Recent Projects Card Footer wrap/stack on mobile */
@media (max-width: 480px) {
    .project-card-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .project-card-footer span {
        max-width: 100% !important;
        width: 100% !important;
    }
    .project-card-footer a {
        width: 100% !important;
        text-align: center !important;
    }
}

/* General Bento Card Mobile Padding Override */
@media (max-width: 576px) {
    .bento-card {
        padding: 20px 15px !important;
    }
    .bento-card-featured {
        padding: 25px 20px !important;
    }
}


/* ============================================================
   PREMIUM MOBILE REDESIGN v4.0
   Stripe / Linear / Vercel-Level Mobile Experience
   Target: 320px–768px · Goal: 100% Mobile Friendly
   ============================================================ */

/* ---- 1. GLOBAL: Avatar Group – Force Circular Overlap ----
   Fixes the broken square/rectangular avatar rendering across
   all viewports. No media query needed — global fix.
   ---------------------------------------------------------- */
.client-avatar-group {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0;
}
.client-avatar-group img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2.5px solid #ffffff !important;
    flex-shrink: 0 !important;
    margin-left: -12px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
}
.client-avatar-group img:first-child {
    margin-left: 0 !important;
}
.client-avatar-group .avatar-count {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    margin-left: -12px !important;
}


/* ---- 2. TABLET + MOBILE: Fix Hero Whitespace & Hide Dashboard ----
   The hero section has padding: 160px + mt-5 (48px) + sticky header
   = ~280px of dead space above the badge. This crushes it to ~88px.
   The dashboard mockup is already hidden via d-none d-lg-block in HTML,
   but this is a CSS safety guard for the wrapper.
   ----------------------------------------------------------------- */
@media (max-width: 991px) {
    .hero-glow-bg {
        padding: 88px 0 52px 0 !important;
    }
    .hero-glow-bg .container {
        margin-top: 0 !important;
    }
    .hero-visual-wrapper {
        display: none !important;
    }
    .floating-stats-card {
        display: none !important;
    }
}


/* ---- 3. MOBILE BREAKPOINT: Full Premium Overhaul ---- */
@media (max-width: 768px) {

    /* --- 3a. TYPOGRAPHY SYSTEM: Responsive Scale --- */
    .hero-title {
        font-size: clamp(28px, 7.5vw, 40px) !important;
        letter-spacing: -0.5px !important;
        line-height: 1.18 !important;
    }
    h2, .display-6 {
        font-size: clamp(22px, 5.5vw, 32px) !important;
        line-height: 1.25 !important;
    }
    h3 {
        font-size: clamp(18px, 4.5vw, 24px) !important;
    }
    p.lead {
        font-size: 15px !important;
        line-height: 1.65 !important;
    }

    /* --- 3b. GLOBAL SECTION SPACING --- */
    section.py-5 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    .container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    /* --- 3c. HERO: Lead Form & CTA Overhaul --- */
    .hero-form-card {
        padding: 24px 18px !important;
        border-radius: 20px !important;
        box-shadow: 0 12px 40px rgba(124, 58, 237, 0.12) !important;
        max-width: 100% !important;
    }
    /* Taller, more touch-friendly inputs */
    .hero-form-card .form-input-box {
        height: 52px !important;
        font-size: 15px !important;
        border-radius: 12px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        border: 1.5px solid #e9e5f5 !important;
    }
    /* Input group icons */
    .hero-form-card .input-group .input-group-text {
        height: 52px !important;
        border-radius: 12px 0 0 12px !important;
        padding: 0 14px !important;
        background: #f9f8ff !important;
        border: 1.5px solid #e9e5f5 !important;
        border-right: none !important;
    }
    .hero-form-card .input-group .form-input-box {
        border-radius: 0 12px 12px 0 !important;
        height: 52px !important;
        border-left: none !important;
    }
    /* CTA Button: bold gradient, full width */
    .hero-form-card .btn-accent {
        height: 54px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
        letter-spacing: 0.3px !important;
        width: 100% !important;
        border: none !important;
    }
    .hero-form-card .btn-accent:hover {
        box-shadow: 0 12px 32px rgba(124, 58, 237, 0.45) !important;
        transform: translateY(-1px) !important;
    }
    /* Row gaps inside form card */
    .hero-form-card .row.g-2 {
        --bs-gutter-x: 10px !important;
        --bs-gutter-y: 10px !important;
    }

    /* --- 3d. STATS SECTION: Light 2×2 Premium Card Grid --- */
    .stats-section {
        background: var(--bg-secondary) !important;
        border-top: 1px solid var(--border-color) !important;
        border-bottom: 1px solid var(--border-color) !important;
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }
    /* Override the bg-transparent/border-0 on counter-box */
    .stats-section .counter-box {
        background: #ffffff !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 18px !important;
        padding: 24px 14px !important;
        position: relative !important;
        overflow: hidden !important;
        box-shadow: 0 4px 15px rgba(124, 58, 237, 0.03) !important;
        transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    }
    /* Subtle glow accent in corner */
    .stats-section .counter-box::after {
        content: '' !important;
        position: absolute !important;
        top: -10px !important;
        right: -10px !important;
        width: 55px !important;
        height: 55px !important;
        background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%) !important;
        border-radius: 50% !important;
        pointer-events: none !important;
    }
    .stats-section .counter-box:active {
        transform: scale(0.97) !important;
    }
    /* Override inline font-size 2.8rem with mobile scale */
    .stats-section .counter-number,
    .stats-section .counter-number.gradient-text {
        font-size: clamp(1.75rem, 8vw, 2.4rem) !important;
        background: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        margin-bottom: 8px !important;
        display: block !important;
        font-weight: 800 !important;
    }
    /* Label text on light bg */
    .stats-section .text-muted {
        color: var(--text-secondary) !important;
        font-size: 0.64rem !important;
        letter-spacing: 0.8px !important;
        font-weight: 600 !important;
        line-height: 1.5 !important;
    }
    /* Row gap tweak */
    .stats-section .row.g-4 {
        row-gap: 14px !important;
    }

    /* --- 3e. SERVICES: Better card breathing room --- */
    .bento-card {
        padding: 24px 20px !important;
        border-radius: 20px !important;
    }
    .bento-card-featured {
        padding: 28px 22px !important;
    }

    /* --- 3f. PROJECTS: Clean card body padding --- */
    .card .card-body {
        padding: 18px 16px !important;
    }

    /* --- 3g. CLIENT LOGOS: Touch-friendly slider --- */
    .logo-slider-frame {
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scroll-behavior: smooth !important;
    }
    .client-logo-card {
        min-width: 130px !important;
        height: 52px !important;
        scroll-snap-align: start !important;
    }
    .client-logo-text {
        font-size: 0.8rem !important;
    }

    /* --- 3h. GMB REVIEWS: Better mobile padding --- */
    .gmb-review-card {
        padding: 16px !important;
        border-radius: 16px !important;
    }

    /* --- 3i. FOOTER: Tighter mobile spacing --- */
    footer .row.g-5 {
        row-gap: 28px !important;
    }

    /* --- 3j. WHATSAPP FAB: Proper mobile placement --- */
    .whatsapp-floating-btn {
        bottom: 20px !important;
        right: 16px !important;
        width: 52px !important;
        height: 52px !important;
        font-size: 1.55rem !important;
    }
}


/* ---- 4. EXTRA SMALL: Sub-360px tweaks ---- */
@media (max-width: 360px) {
    .hero-title {
        font-size: 26px !important;
    }
    .glow-badge {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }
    .hero-form-card {
        padding: 18px 14px !important;
    }
    .stats-section .counter-number {
        font-size: 1.6rem !important;
    }
}


/* ---- 5. MOBILE NAVBAR: Enhanced premium dropdown ---- */
@media (max-width: 991px) {
    .navbar-collapse {
        border-radius: 18px !important;
        padding: 24px 20px !important;
        margin-top: 12px !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12),
                    0 0 0 1px rgba(124, 58, 237, 0.07) !important;
    }
    .navbar-nav .nav-link {
        padding: 12px 8px !important;
        min-height: 50px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        display: flex !important;
        align-items: center !important;
    }
    .navbar-toggler {
        min-width: 44px !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .navbar-nav .btn-accent {
        width: 100% !important;
        justify-content: center !important;
        border-radius: 12px !important;
        height: 50px !important;
        font-size: 0.95rem !important;
    }
}



/* ============================================================
   FINAL MOBILE POLISH LAYER
   Resolves Bootstrap utility class specificity conflicts and
   adds remaining UX polish for sub-768px viewports.
   ============================================================ */

/* ---- HERO: Override Bootstrap pt-5/pb-5 on section element ---- */
@media (max-width: 991px) {
    section.hero-glow-bg.pt-5 {
        padding-top: 80px !important;
        padding-bottom: 50px !important;
    }
    section.hero-glow-bg > div.container.mt-5 {
        margin-top: 0 !important;
    }
}

/* ---- HERO FORM: Override Bootstrap p-4 on form card ---- */
@media (max-width: 768px) {
    .hero-form-card.p-4,
    div.hero-form-card {
        padding: 22px 16px !important;
    }
}

/* ---- CTA SECTION: Full-width buttons on small mobile ---- */
@media (max-width: 575px) {
    .py-5.bg-dark-purple .d-flex.flex-sm-row {
        flex-direction: column !important;
        width: 100% !important;
    }
    .py-5.bg-dark-purple .d-flex.flex-sm-row .btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
    .py-5.bg-dark-purple .p-4 {
        padding: 24px 18px !important;
    }
    .py-5.bg-dark-purple h3 {
        font-size: clamp(1.4rem, 5.5vw, 1.8rem) !important;
    }
}

/* ---- PROCESS SECTION: Mobile single-column readable cards ---- */
@media (max-width: 768px) {
    .process-row-container.row {
        row-gap: 14px !important;
    }
    .process-row-container .card {
        padding: 22px 18px !important;
        border-radius: 18px !important;
    }
    .process-row-container .card h4 {
        font-size: 1rem !important;
    }
    .process-row-container .card p {
        font-size: 0.82rem !important;
        line-height: 1.55 !important;
    }
}

/* ---- FOOTER: Mobile touch targets ---- */
@media (max-width: 768px) {
    footer .form-input-box {
        height: 48px !important;
        border-radius: 10px !important;
    }
    footer h6 {
        margin-bottom: 12px !important;
    }
    footer p.small {
        font-size: 0.82rem !important;
        line-height: 1.55 !important;
    }
    footer .border-top.mt-5 {
        margin-top: 36px !important;
    }
}

/* ---- GLOBAL: Touch optimisation (removes 300ms delay on iOS) ---- */
a, button, .btn, .nav-link, .client-logo-card, .bento-card, .card {
    touch-action: manipulation;
}

/* ---- SLIDER: Hide scrollbar on mobile ---- */
@media (max-width: 768px) {
    .logo-slider-frame::-webkit-scrollbar {
        display: none;
    }
    .logo-slider-frame {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* ---- SECTION HEADERS: Center on mobile for visual balance ---- */
@media (max-width: 768px) {
    .d-flex.flex-column.flex-md-row.justify-content-between {
        text-align: center !important;
        align-items: center !important;
    }
    .d-flex.flex-column.flex-md-row.justify-content-between p {
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    .mb-5 {
        margin-bottom: 36px !important;
    }
}

/* ---- PROJECT CARDS: Consistent image height on mobile ---- */
@media (max-width: 768px) {
    .card > div[style*="height: 200px"] {
        height: 180px !important;
    }
}


/* ============================================================
   PREMIUM REDESIGN: SLIDER & SERVICE CARDS
   ============================================================ */

/* Slider Container & Browser Frame */
.browser-mockup-wrapper {
    background-color: #FFFFFF !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 60px -15px rgba(124, 58, 237, 0.08), 0 10px 20px -10px rgba(124, 58, 237, 0.04) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.browser-mockup-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 35px 70px -10px rgba(124, 58, 237, 0.12), 0 15px 25px -5px rgba(124, 58, 237, 0.06) !important;
}

.transition-scale img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.browser-mockup-wrapper:hover .transition-scale img {
    transform: scale(1.015);
}

/* Custom indicators styling */
.custom-indicators {
    bottom: 20px !important;
    margin-bottom: 0 !important;
}

.custom-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    border: none !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    opacity: 0.7 !important;
    margin: 0 5px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.custom-indicators button.active {
    width: 24px !important;
    border-radius: 100px !important;
    background-color: #FFFFFF !important;
    opacity: 1 !important;
}

/* Custom Navigation Controls */
.carousel-control-prev-custom-btn,
.carousel-control-next-custom-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
}

.carousel-control-prev:hover .carousel-control-prev-custom-btn,
.carousel-control-next:hover .carousel-control-next-custom-btn {
    background: var(--accent-primary);
    color: #FFFFFF;
    border-color: var(--accent-primary);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.3);
    transform: scale(1.1);
}

.carousel-control-prev:active .carousel-control-prev-custom-btn,
.carousel-control-next:active .carousel-control-next-custom-btn {
    transform: scale(0.95);
}

/* Services Section Badge */
.services-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    background-color: #eff6ff;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.services-section-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2563eb;
}

/* Service Cards Premium Redesign - Mockup Style */
.service-card-premium {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

.service-card-premium:hover {
    transform: translateY(-6px);
    border-color: var(--service-color);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05) !important;
}

/* Card Header Banner */
.service-card-premium .illustration-wrapper {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--service-gradient);
    border-bottom: none;
    overflow: hidden;
}

/* Geometric mesh grid overlay for the banner */
.service-card-premium .banner-grid-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image: 
        radial-gradient(circle at 1px 1px, #ffffff 1px, transparent 0),
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 16px 16px, 8px 8px, 8px 8px;
}

.service-card-premium .icon-badge-holder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-premium:hover .icon-badge-holder {
    transform: scale(1.08) rotate(5deg);
}

.service-card-premium .icon-badge-holder i {
    font-size: 1.8rem;
    color: var(--service-color);
}

/* Tag Pills Styles */
.service-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.service-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: var(--tag-bg-light);
    color: #334155;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
}

.service-tag-pill .tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--service-color);
}

/* Stats Box Styles */
.service-stats-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 14px 8px;
    margin-top: auto;
    margin-bottom: 24px;
}

.service-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-stat-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: #e2e8f0;
}

.service-stat-val {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--service-color);
    margin-bottom: 1px;
    font-family: 'Sora', sans-serif;
}

.service-stat-label {
    font-size: 0.62rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: capitalize;
    letter-spacing: -0.1px;
}

.service-stat-icon {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Dynamic button styles */
.service-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 24px;
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.service-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.3);
    background: linear-gradient(90deg, #7c3aed 0%, #2563eb 100%);
    color: #ffffff !important;
    opacity: 1;
}

.service-card-btn:active {
    transform: translateY(0);
}

.service-card-btn .arrow-icon-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.service-card-btn:hover .arrow-icon-circle {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .service-card-premium .illustration-wrapper {
        min-height: 120px;
    }
    .service-card-premium .icon-badge-holder {
        width: 64px;
        height: 64px;
    }
    .service-card-premium .icon-badge-holder i {
        font-size: 1.6rem;
    }
}




/* ============================================================
   AI VIDEO PRODUCTION SECTION — Thumbnail Grid + Lightbox
   ============================================================ */

/* Section Wrapper */
.aivid-section {
    background: #08051a;
    position: relative;
}

/* Glow blobs */
.aivid-glow-top {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.14) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.aivid-glow-br {
    position: absolute;
    bottom: 0;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}

/* Badge */
.aivid-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.18);
    border: 1px solid rgba(167, 139, 250, 0.3);
    color: #c4b5fd;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Title & Subtitle */
.aivid-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1.15;
}

.aivid-subtitle {
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ---- MASONRY-STYLE GRID ---- */
.aivid-grid {
    columns: 4;
    column-gap: 16px;
    break-inside: avoid;
}

@media (max-width: 1199px) { .aivid-grid { columns: 3; } }
@media (max-width: 767px)  { .aivid-grid { columns: 2; column-gap: 10px; } }
@media (max-width: 479px)  { .aivid-grid { columns: 2; column-gap: 8px;  } }

/* ---- CARD ---- */
.aivid-card {
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    margin-bottom: 16px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: #110e23;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.38s ease,
                border-color 0.3s ease;
}

.aivid-card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 24px 48px rgba(124, 58, 237, 0.22);
    border-color: rgba(167, 139, 250, 0.4);
}

/* Taller middle card for masonry rhythm */
.aivid-card--tall .aivid-thumb-wrap {
    aspect-ratio: 9 / 20;
}

/* ---- THUMBNAIL WRAP ---- */
.aivid-thumb-wrap {
    position: relative;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #0e0b1f;
}

.aivid-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.aivid-card:hover .aivid-thumb-img {
    transform: scale(1.06);
}

/* Placeholder when no image */
.aivid-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1530, #0e0b1f);
    color: rgba(255,255,255,0.2);
    font-size: 2.5rem;
}

/* ---- HOVER OVERLAY ---- */
.aivid-hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.0) 0%,
        rgba(15,10,30,0.55) 60%,
        rgba(15,10,30,0.88) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 4;
}

.aivid-card:hover .aivid-hover-overlay {
    opacity: 1;
}

/* Play button inside overlay */
.aivid-play-btn,
.aivid-view-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.9);
    color: #ffffff;
    background: rgba(124, 58, 237, 0.55);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
    transform: scale(0.85);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aivid-play-btn i {
    margin-left: 3px; /* optical centering for play arrow */
}

.aivid-card:hover .aivid-play-btn,
.aivid-card:hover .aivid-view-btn {
    transform: scale(1);
}

/* ---- AI BADGE ---- */
.aivid-ai-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    padding: 4px 10px;
    background: rgba(124, 58, 237, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(167,139,250,0.4);
    color: #ede9fe;
    border-radius: 100px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ---- CARD FOOTER ---- */
.aivid-card-footer {
    padding: 12px 14px 14px;
    background: linear-gradient(to bottom, #110e23, #0d0a1e);
}

.aivid-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.aivid-client-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    background: rgba(167, 139, 250, 0.14);
    border: 1px solid rgba(167, 139, 250, 0.22);
    color: #c4b5fd;
    border-radius: 100px;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* ---- CTA BUTTON ---- */
.aivid-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    background: rgba(124, 58, 237, 0.18);
    border: 1px solid rgba(167, 139, 250, 0.35);
    color: #c4b5fd;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.aivid-cta-btn:hover {
    background: rgba(124, 58, 237, 0.38);
    border-color: rgba(167, 139, 250, 0.65);
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ============================================================
   AI VIDEO LIGHTBOX MODAL
   ============================================================ */
.aivid-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.aivid-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Blur backdrop */
.aivid-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 3, 18, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Inner container */
.aivid-lightbox-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #110e23;
    border: 1px solid rgba(167,139,250,0.2);
    box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(124,58,237,0.1);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.aivid-lightbox.is-open .aivid-lightbox-inner {
    transform: scale(1) translateY(0);
}

/* Header */
.aivid-lightbox-header {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
}

.aivid-lightbox-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

.aivid-lightbox-client {
    font-size: 0.72rem;
    color: #a78bfa;
    font-weight: 500;
}

/* Media area */
.aivid-lightbox-media {
    flex: 1;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #000;
}

.aivid-lightbox-video,
.aivid-lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Close button */
.aivid-lightbox-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.5);
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.aivid-lightbox-close:hover {
    background: rgba(124, 58, 237, 0.6);
    color: #fff;
    transform: scale(1.1);
}

/* Mobile adjustments for lightbox */
@media (max-width: 480px) {
    .aivid-lightbox-inner {
        max-width: 95vw;
        border-radius: 14px;
    }
}

/* Mobile grid spacing */
@media (max-width: 767px) {
    .aivid-card {
        margin-bottom: 10px;
        border-radius: 14px;
    }
    .aivid-card-title {
        font-size: 0.72rem;
    }
    .aivid-card-footer {
        padding: 8px 10px 10px;
    }
    .aivid-play-btn,
    .aivid-view-btn {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
}


/* ============================================================
   SERVICE DETAIL PAGES — Premium High-Fidelity & EEAT Layout
   ============================================================ */

.detail-hero-section {
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 60px;
}

.detail-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 16px;
    background-color: #f5f3ff;
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.detail-hero-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #7c3aed;
}

.detail-hero-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: #0f172a;
}

.detail-hero-title .text-primary {
    color: #2563eb !important;
}
.detail-hero-title .text-secondary {
    color: #0d9488 !important;
}
.detail-hero-title .text-accent {
    color: #7c3aed !important;
}
.detail-hero-title .text-pink {
    color: #db2777 !important;
}
.detail-hero-title .text-orange {
    color: #d97706 !important;
}
.detail-hero-title .text-teal {
    color: #0f766e !important;
}

.detail-hero-subtitle {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.65;
    max-width: 620px;
}

/* Benefits Checklist */
.detail-hero-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-checklist-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
}

.detail-checklist-item i {
    color: #10b981;
}

/* Dashboard Mockup Card */
.detail-dashboard-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.detail-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.detail-dashboard-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.detail-dashboard-val {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.detail-dashboard-growth {
    background-color: #ecfdf5;
    color: #10b981;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 100px;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.detail-dashboard-growth.red {
    background-color: #fef2f2;
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.15);
}

.detail-dashboard-subtext {
    font-size: 0.7rem;
    color: #94a3b8;
}

.detail-dashboard-graph-wrap {
    height: 160px;
    position: relative;
    overflow: hidden;
    border-bottom: 1.5px solid #f1f5f9;
    padding-bottom: 12px;
}

/* Dashboard Sub Stats Grid */
.detail-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 16px;
    gap: 8px;
}

.detail-dashboard-stat-col {
    text-align: center;
}

.detail-dashboard-stat-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: block;
    margin-bottom: 2px;
}

.detail-dashboard-stat-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
    margin-bottom: 4px;
}

.detail-dashboard-stat-indicator {
    height: 4px;
    width: 32px;
    border-radius: 100px;
    background-color: #10b981;
    display: inline-block;
}

.detail-dashboard-stat-indicator.orange {
    background-color: #f59e0b;
}

.detail-dashboard-stat-indicator.blue {
    background-color: #3b82f6;
}

/* Achievement Metrics Row */
.detail-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 991px) {
    .detail-metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .detail-metrics-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.detail-metric-badge {
    background-color: var(--badge-bg, #f8fafc);
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    transition: transform 0.2s ease;
}

.detail-metric-badge:hover {
    transform: translateY(-2px);
}

.detail-metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--metric-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.detail-metric-val {
    font-family: 'Sora', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    display: block;
}

.detail-metric-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-top: 2px;
}

/* Capabilities Cards (What You Get) */
.detail-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .detail-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .detail-solutions-grid {
        grid-template-columns: 1fr;
    }
}

.detail-solution-card {
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    padding: 28px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s ease;
    text-align: left;
}

.detail-solution-card:hover {
    transform: translateY(-5px);
    border-color: #7c3aed;
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.06);
}

.detail-solution-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background-color: #f5f3ff;
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.detail-solution-card:nth-child(even) .detail-solution-icon {
    background-color: #eff6ff;
    color: #2563eb;
}

.detail-solution-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.detail-solution-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-solution-list li {
    font-size: 0.86rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-solution-list li i {
    color: #10b981;
    font-size: 0.75rem;
}

/* Proven Results / Case Study Cards */
.detail-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 991px) {
    .detail-results-grid {
        grid-template-columns: 1fr;
    }
}

.detail-results-card {
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.detail-results-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.05);
}

.detail-results-graph-wrap {
    height: 120px;
    background-color: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.detail-results-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.detail-results-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.detail-results-tag {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 18px;
    display: block;
}

.detail-results-metrics-box {
    background-color: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.detail-results-metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.detail-results-metric-label {
    color: #64748b;
    font-weight: 500;
}

.detail-results-metric-val {
    color: #10b981;
    font-weight: 700;
}

.detail-results-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #7c3aed;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.detail-results-link:hover {
    gap: 10px;
    color: #6d28d9;
}

/* Our Process Flow Horizontal Scroll / Step Bar */
.detail-process-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 16px;
}

.detail-process-line {
    position: absolute;
    top: 30px;
    left: 40px;
    right: 40px;
    height: 2px;
    background-color: #e2e8f0;
    z-index: 1;
}

@media (max-width: 991px) {
    .detail-process-row {
        flex-direction: column;
        gap: 24px;
    }
    .detail-process-line {
        display: none;
    }
}

.detail-process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 991px) {
    .detail-process-step {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 16px;
    }
}

.detail-process-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #64748b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.detail-process-step:hover .detail-process-icon-wrap {
    border-color: #7c3aed;
    color: #7c3aed;
    box-shadow: 0 8px 20px rgba(124,58,237,0.12);
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .detail-process-icon-wrap {
        margin-bottom: 0;
        flex-shrink: 0;
    }
}

.detail-process-num {
    font-size: 0.65rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.detail-process-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.detail-process-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
    padding: 0 10px;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .detail-process-desc {
        padding: 0;
    }
}

/* Pricing Grid Layout */
.detail-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 991px) {
    .detail-pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.detail-pricing-card {
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 28px;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.detail-pricing-card.popular {
    border-color: #7c3aed;
    border-width: 2px;
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.05);
}

.detail-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.detail-pricing-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #7c3aed;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 100px;
}

.detail-pricing-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.detail-pricing-desc {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 24px;
}

.detail-pricing-rate {
    font-family: 'Sora', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    display: block;
    margin-bottom: 24px;
}

.detail-pricing-rate span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    font-family: 'Inter', sans-serif;
}

.detail-pricing-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-pricing-list li {
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-pricing-list li i {
    color: #10b981;
    font-size: 0.8rem;
}

.detail-pricing-btn {
    display: block;
    width: 100%;
    padding: 13px 20px;
    text-align: center;
    border-radius: 100px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: auto;
}

.detail-pricing-btn.primary {
    background-color: #7c3aed;
    color: #ffffff !important;
}

.detail-pricing-btn.primary:hover {
    background-color: #6d28d9;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

.detail-pricing-btn.outline {
    border: 1.5px solid #e2e8f0;
    color: #0f172a !important;
}

.detail-pricing-btn.outline:hover {
    border-color: #0f172a;
    background-color: #f8fafc;
}

/* Footer CTA Banner */
.detail-cta-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
    border-radius: 28px;
    padding: 56px 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 48px rgba(124, 58, 237, 0.18);
}

@media (max-width: 767px) {
    .detail-cta-banner {
        padding: 40px 24px;
    }
}

.detail-cta-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 12px;
}

.detail-cta-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.detail-cta-btn-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-cta-btn {
    padding: 14px 28px;
    border-radius: 100px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.detail-cta-btn.light {
    background-color: #ffffff;
    color: #7c3aed !important;
}

.detail-cta-btn.light:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.detail-cta-btn.outline-light {
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
}

.detail-cta-btn.outline-light:hover {
    border-color: #ffffff;
    background-color: rgba(255,255,255,0.06);
    transform: translateY(-2px);
}

/* Breadcrumb styles */
.site-breadcrumb {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 0 4px;
}
.site-breadcrumb a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.site-breadcrumb a:hover {
    color: #7c3aed;
}
.site-breadcrumb .sep {
    color: #cbd5e1;
    margin: 0 6px;
    font-size: 0.95rem;
}
.site-breadcrumb span.active {
    color: #7c3aed;
    font-weight: 600;
}

/* Google Reviews CTA Button Hover Fix */
.btn-outline-reviews {
    font-size: 0.85rem;
    border: 1.5px solid var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    background-color: transparent !important;
    transition: all 0.2s ease-in-out !important;
}

.btn-outline-reviews:hover {
    background-color: var(--accent-primary) !important;
    color: #ffffff !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}




