/* CSS Design System for Scrap Andalus Toyota - 100% Performance Optimized */

:root {
    --primary: #d32f2f;
    --primary-light: #ef5350;
    --primary-dark: #b71c1c;
    --secondary: #1e293b;
    --bg-dark: #f8fafc;
    --bg-card-dark: #ffffff;
    --accent-gold: #d97706;
    --accent-gold-hover: #b45309;
    --text-light: #ffffff;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --surface-light: #ffffff;
    --text-dark: #0f172a;
    --border-light: #e2e8f0;
    --border-dark: #cbd5e1;
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-lg: 0 20px 40px -10px rgba(211, 47, 47, 0.12), 0 10px 20px -5px rgba(15, 23, 42, 0.05);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-main: 'Outfit', 'Tajawal', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Animation System - Enhanced Smooth Transitions, Glow & Scroll Reveal */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes shineText {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

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

@keyframes ringPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes ringPulsePrimary {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(211, 47, 47, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

@keyframes btnShineSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    animation: fadeInPage 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    -webkit-text-wrap: balance;
    overflow-wrap: break-word;
    word-break: break-word;
    letter-spacing: -0.3px;
    transition: color 0.3s ease, transform 0.3s ease;
}

p {
    text-wrap: pretty;
    line-height: 1.65;
    overflow-wrap: break-word;
}

/* Image Shimmer Skeleton & Smooth Loading Reveal */
.img-loading-shimmer {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
}

img {
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-lazy-reveal {
    opacity: 0;
    transform: scale(0.96);
}

.img-lazy-reveal.img-loaded {
    opacity: 1;
    transform: scale(1);
}

/* Spring Physics Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s cubic-bezier(0.34, 1.25, 0.64, 1), transform 0.75s cubic-bezier(0.34, 1.25, 0.64, 1);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.75s cubic-bezier(0.34, 1.25, 0.64, 1), transform 0.75s cubic-bezier(0.34, 1.25, 0.64, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.75s cubic-bezier(0.34, 1.25, 0.64, 1), transform 0.75s cubic-bezier(0.34, 1.25, 0.64, 1);
    will-change: opacity, transform;
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.88);
    transition: opacity 0.75s cubic-bezier(0.34, 1.25, 0.64, 1), transform 0.75s cubic-bezier(0.34, 1.25, 0.64, 1);
    will-change: opacity, transform;
}

.is-revealed {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Animated Gradient Headline Text */
.animated-gradient-text {
    background: linear-gradient(90deg, #d32f2f, #ef5350, #d97706, #d32f2f);
    background-size: 250% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shineText 5s linear infinite;
}

/* Floating WhatsApp Pulse */
.whatsapp-floating-btn {
    animation: ringPulse 2.5s infinite;
}

/* Header & Navigation Bar */
.top-bar {
    display: none !important;
}

.lang-switch-btn {
    background: rgba(111, 36, 28, 0.08);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    margin-left: 4px;
}

.lang-switch-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 20px rgba(111, 36, 28, 0.08);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    border: 2px solid var(--accent-gold);
    box-shadow: 0 4px 12px rgba(111, 36, 28, 0.3);
    flex-shrink: 0;
}

.brand-title {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
    line-height: 1.1;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    white-space: nowrap;
}

/* Header Navbar: EXCLUDES REVIEWS AS REQUESTED */
.nav-menu {
    display: flex;
    list-style: none;
    gap: clamp(8px, 1.2vw, 18px);
    align-items: center;
}

.nav-menu li {
    white-space: nowrap;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    position: relative;
    display: inline-block;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background: rgba(111, 36, 28, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    right: 12px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.nav-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
/* Hero Section - Sleek Dark Theme */
.hero-section {
    position: relative;
    min-height: 85vh;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.90)), url('../images/hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding: 70px 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to top, var(--bg-light), transparent);
}

.hero-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero-content .section-tag {
    background: rgba(239, 83, 80, 0.15);
    color: #ef5350;
    border: 1px solid rgba(239, 83, 80, 0.4);
    box-shadow: 0 4px 15px rgba(239, 83, 80, 0.1);
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -0.8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-content h1 span {
    color: #ef5350;
    display: inline-block;
    text-shadow: 0 0 25px rgba(239, 83, 80, 0.4);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 720px;
    line-height: 1.65;
}

.hero-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f8fafc;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-badge i {
    color: #f59e0b;
}

.hero-cta-group {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #d32f2f, #b71c1c);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 1px solid #ef5350;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 60%;
    height: 200%;
    background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(25deg);
    transition: left 0.65s ease;
}

.btn-primary:hover::after {
    left: 180%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 32px rgba(211, 47, 47, 0.65);
    background: linear-gradient(135deg, #ef5350, #d32f2f);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #0f172a;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 28px rgba(255, 255, 255, 0.35);
}

/* Welcome Message Section */
.welcome-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.welcome-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.welcome-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 50px auto;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(211, 47, 47, 0.08);
    color: var(--primary);
    border: 1px solid rgba(211, 47, 47, 0.2);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.welcome-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.25;
}

.welcome-title span {
    color: var(--primary);
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.welcome-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 45px;
}

.welcome-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 32px 26px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.welcome-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(211, 47, 47, 0.12);
    border-color: rgba(211, 47, 47, 0.3);
}

.welcome-card:hover::before {
    opacity: 1;
}

.welcome-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(211, 47, 47, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.35s ease;
}

.welcome-card:hover .welcome-card-icon {
    background: var(--primary);
    color: #ffffff;
    transform: scale(1.08) rotate(-4deg);
}

.welcome-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.welcome-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.welcome-cta-box {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: var(--radius-md);
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
    flex-wrap: wrap;
}

.welcome-cta-text {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
}

.welcome-cta-text i {
    font-size: 1.5rem;
    color: #25D366;
}

.welcome-cta-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    white-space: nowrap;
}

.welcome-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 50px 0;
    }
    .welcome-cta-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .welcome-cta-text {
        flex-direction: column;
        gap: 8px;
    }
}

/* Part Finder Box */
.finder-card {
    background: #ffffff;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.finder-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.finder-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.form-select, .form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-dark);
    background: #faf6f5;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
}

.form-select:focus, .form-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 10px rgba(111, 36, 28, 0.15);
}

.btn-finder-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 6px 20px rgba(111, 36, 28, 0.3);
}

.btn-finder-submit:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 36, 28, 0.4);
}

/* Unique Feature: Interactive Toyota Car Anatomy Selector */
.anatomy-section {
    padding: 90px 24px;
    background: #f5eeec;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px auto;
}

.section-tag {
    background: rgba(111, 36, 28, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-block;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid var(--primary);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.24;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.2vw, 1.1rem);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

.anatomy-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.car-diagram-box {
    position: relative;
    background: #ffffff;
    border: 2px dashed #decbc8;
    border-radius: var(--radius-lg);
    padding: 40px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.car-silhouette {
    width: 100%;
    max-width: 480px;
    filter: drop-shadow(0 10px 15px rgba(111, 36, 28, 0.15));
}

.part-hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(111, 36, 28, 0.5);
    animation: pulseHotspot 2s infinite;
    transition: all 0.3s ease;
}

.part-hotspot:hover, .part-hotspot.active {
    background: var(--accent-gold);
    color: var(--primary);
    transform: scale(1.3);
    z-index: 10;
}

@keyframes pulseHotspot {
    0% { box-shadow: 0 0 0 0 rgba(111, 36, 28, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(111, 36, 28, 0); }
    100% { box-shadow: 0 0 0 0 rgba(111, 36, 28, 0); }
}

/* Hotspot positions on Toyota silhouette */
.hotspot-engine { top: 38%; left: 22%; }
.hotspot-gearbox { top: 48%; left: 40%; }
.hotspot-headlight { top: 30%; left: 12%; }
.hotspot-suspension { top: 62%; left: 28%; }
.hotspot-door { top: 35%; left: 55%; }
.hotspot-tail { top: 38%; left: 85%; }

.anatomy-details-card {
    background: #ffffff;
    border: 1px solid #e7d8d6;
    border-left: 5px solid var(--accent-gold);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.anatomy-details-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stock-badge {
    background: #10B981;
    color: #fff;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
}

.part-spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 20px 0;
}

.spec-item {
    background: #faf5f4;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid #ebdcd9;
}

.spec-label {
    font-size: 0.78rem;
    color: #786563;
    text-transform: uppercase;
}

.spec-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Category Grid & Photo Galleries */
.categories-section {
    padding: 90px 24px;
    background: var(--bg-light);
}

.grid-4 {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--surface-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.category-card:hover {
    transform: translateY(-9px) scale(1.015);
    box-shadow: 0 22px 45px -10px rgba(211, 47, 47, 0.18), 0 12px 24px -5px rgba(15, 23, 42, 0.08);
    border-color: var(--primary);
}

.category-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.category-card:hover .category-info h3 {
    color: var(--primary-light);
    transform: translateX(4px);
}

.category-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.category-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img-wrapper img {
    transform: scale(1.08);
}

.category-badge-count {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.82rem;
    padding: 4px 12px;
    border-radius: 20px;
}

.category-info {
    padding: 24px;
}

.category-info h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.category-info p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.category-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.category-link:hover {
    color: var(--secondary);
    gap: 10px;
}

/* HOMEPAGE AUTO-SLIDING REVIEWS MARQUEE
   CRITICAL REQUIREMENT: DOES NOT STOP OR PAUSE ON HOVER!
   We enforce pointer-events: none on the marquee track so mouse hover does nothing.
*/
.reviews-homepage-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f9f5f4, #efe4e2);
    color: var(--text-dark);
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
    pointer-events: none;
    contain: content;
}

.marquee-track {
    display: flex;
    gap: 25px;
    width: max-content;
    animation: marqueeSlide 90s linear infinite;
    pointer-events: none;
    will-change: transform;
    transform: translateZ(0);
}

/* Prevent any :hover state from stopping the marquee */
.marquee-track:hover, .marquee-wrapper:hover {
    animation-play-state: running !important;
}

@keyframes marqueeSlide {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Standard Aggregate Rating Banner */
.reviews-standard-summary-bar {
    max-width: 900px;
    margin: 0 auto 35px auto;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.summary-score-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.summary-big-rating {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.summary-big-rating .max-rating {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
}

.summary-stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin: 3px 0;
}

.summary-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.summary-badge-divider {
    width: 1px;
    height: 50px;
    background: var(--border-light);
}

.summary-metrics-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.summary-metric-chip {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.review-slide-card {
    width: 380px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: auto;
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: 0 4px 10px rgba(211,47,47,0.2);
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary);
}

.review-date {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.review-verified-badge {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #128C7E;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.review-rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.stars-gold {
    color: #f59e0b;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-part-tag {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
}

.review-text-quote {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.55;
    font-style: italic;
    min-height: 48px;
}

.review-owner-reply-box {
    background: #f8fafc;
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    padding: 10px 14px;
    margin-top: 6px;
}

.owner-reply-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.owner-reply-text {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.4;
    margin: 0;
}

/* Dedicated Reviews Page (Footer Link Only) Layout: Spacious ("khule khule") */
.reviews-page-hero {
    background: linear-gradient(135deg, #fdfaf9, #f5eae8);
    color: var(--text-dark);
    padding: 70px 24px;
    text-align: center;
}

.reviews-stats-summary {
    max-width: 1000px;
    margin: -40px auto 50px auto;
    background: var(--surface-light);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 30px;
    align-items: center;
    border: 1px solid var(--border-light);
}

.rating-score-box {
    text-align: center;
}

.big-score {
    font-size: 3.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.rating-filter-controls {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 0 24px;
}

.filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill-btn {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-pill-btn:hover, .filter-pill-btn.active {
    background: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.spacious-reviews-grid {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px 90px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 35px; /* SPACIOUS "khule khule" spacing */
}

.full-review-card {
    background: var(--surface-light);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.full-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.owner-reply-box {
    background: rgba(111, 36, 28, 0.05);
    border-left: 4px solid var(--primary);
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    font-size: 0.88rem;
}

.owner-reply-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.about-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Footer Section - Sleek Dark Theme */
.site-footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 70px 24px 30px 24px;
    border-top: 4px solid var(--primary);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 800;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: #ef5350;
}

/* Highlighted Footer Reviews Button: EXCLUSIVE LOCATION */
.footer-reviews-highlight-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid #ef5350;
    font-weight: 700;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
    transition: all 0.3s ease !important;
}

.footer-reviews-highlight-btn:hover {
    background: var(--primary-dark);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: #000000;
}

.footer-contact-item strong {
    color: #000000;
}

.footer-contact-item div {
    color: #000000;
}

.footer-contact-item a {
    color: #000000;
}

.footer-contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 3px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding: 25px 90px;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #cbd5e1;
    font-size: 0.9rem;
    flex-direction: column;
    gap: 8px;
}

/* Floating WhatsApp Quick Action Button */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.7);
}

/* Floating Back To Top Button - Bottom Left */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 52px;
    height: 52px;
    background: var(--secondary);
    color: #ffffff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.4);
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(211, 47, 47, 0.5);
}

/* Modal Windows */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.active {
    display: flex;
}

.modal-card {
    background: var(--surface-light);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    padding: 35px;
    box-shadow: var(--shadow-lg);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
}

.modal-close-btn:hover {
    color: var(--primary);
}

/* Filter Grid Responsive Helper */
.filter-grid-responsive {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    align-items: center;
}

/* Multi-Tier Comprehensive Device Support (Mobile, Foldables, Tablets, Laptops, 4K Displays) */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .header-container, .hero-container, .footer-container {
        max-width: 100%;
        padding: 0 24px;
    }
    .grid-4 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .filter-grid-responsive {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .reviews-stats-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-container {
        padding: 12px 18px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 20px 24px;
        gap: 14px;
        border-bottom: 3px solid var(--primary);
        box-shadow: 0 15px 30px rgba(15, 23, 42, 0.15);
        z-index: 1000;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .nav-menu.active {
        display: flex;
        animation: fadeInDown 0.3s ease forwards;
    }

    .nav-link {
        padding: 12px 16px;
        width: 100%;
        display: block;
        font-size: 1.05rem;
        border-radius: var(--radius-sm);
    }
}

/* Enhanced Homepage Components Styling */

/* Quick Part Finder Widget */
.finder-wrapper-section {
    padding: 20px 24px 60px 24px;
    margin-top: -40px;
    position: relative;
    z-index: 100;
}

.finder-container-inner {
    max-width: 1150px;
    margin: 0 auto;
}

.finder-grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 16px;
    align-items: flex-end;
}

.finder-success-card {
    background: #f0fdf4;
    border: 2px solid #22c55e;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
    color: #166534;
}

.finder-success-card .success-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    color: #15803d;
    margin-bottom: 8px;
}

.finder-cta-btns {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-whatsapp:hover {
    background: #128C7E;
    color: #ffffff;
}

.btn-phone {
    background: var(--secondary);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-phone:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Toyota Models Grid */
.models-grid-section {
    padding: 80px 24px;
    background: var(--surface-light);
}

.models-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.model-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.model-card:hover {
    transform: translateY(-9px) scale(1.015);
    box-shadow: 0 22px 45px -10px rgba(211, 47, 47, 0.18), 0 10px 20px -5px rgba(15, 23, 42, 0.08);
    border-color: var(--primary);
}

.model-card:hover::before {
    opacity: 1;
}

.model-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.model-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.model-card:hover .model-card-title {
    color: var(--primary);
    transform: translateX(4px);
}

.model-year-badge {
    background: rgba(211, 47, 47, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
}

.model-engine-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 18px 0;
}

.engine-tag {
    background: #ffffff;
    border: 1px solid var(--border-dark);
    color: var(--text-dark);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.model-card:hover .engine-tag {
    border-color: var(--primary);
    color: var(--primary);
}

/* Featured Scrap Items Section */
.featured-parts-section {
    padding: 80px 24px;
    background: var(--bg-light);
}

.featured-parts-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.featured-part-card {
    background: var(--surface-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.featured-part-card:hover {
    transform: translateY(-9px) scale(1.015);
    box-shadow: 0 22px 45px -10px rgba(211, 47, 47, 0.18), 0 10px 20px -5px rgba(15, 23, 42, 0.08);
    border-color: var(--primary);
}

.part-card-img-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.part-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-part-card:hover .part-card-img-wrap img {
    transform: scale(1.08);
}

.part-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #10B981;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.part-card-warranty-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent-gold);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.part-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.part-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.part-card-meta {
    display: flex;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.part-card-specs {
    background: #faf6f5;
    border-radius: var(--radius-sm);
    padding: 12px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.part-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.part-price-tag {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
}

/* Why Choose Us & Yard Statistics */
.why-us-section {
    padding: 90px 24px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
}

.stats-counter-grid {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 30px 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: #cbd5e1;
    font-weight: 500;
}

.trust-features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.trust-feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.trust-feature-card h3 {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.trust-feature-card p {
    color: #cbd5e1 !important;
    font-size: 0.92rem;
    line-height: 1.6;
}

.trust-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-light);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.3);
}

.trust-icon-badge {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-feature-card:hover .trust-icon-badge {
    transform: scale(1.12) rotate(-5deg);
}

/* How It Works Section */
.how-it-works-section {
    padding: 85px 24px;
    background: var(--surface-light);
}

.process-steps-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
}

.step-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 34px 22px 26px 22px;
    position: relative;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.step-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 36px -8px rgba(211, 47, 47, 0.15), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
    border-color: var(--accent-gold);
}

.step-card:hover .step-icon {
    transform: scale(1.15) rotate(4deg);
    color: var(--primary);
}

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.4);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step-card:hover .step-number {
    transform: translateX(-50%) scale(1.15);
}

.step-icon {
    font-size: 2.2rem;
    color: var(--secondary);
    margin: 15px 0 16px 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Kuwait Coverage Section */
.coverage-section {
    padding: 70px 24px;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.coverage-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.coverage-pill {
    background: var(--surface-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 18px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.coverage-pill:hover {
    border-color: var(--primary);
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 25px -5px rgba(211, 47, 47, 0.15);
}

.coverage-pill i {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.coverage-pill:hover i {
    transform: scale(1.25);
}

.coverage-pill strong {
    color: var(--text-dark);
    display: block;
    font-size: 0.95rem;
}

.coverage-pill span {
    color: var(--text-muted);
    font-size: 0.78rem;
}

@media (max-width: 1024px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: rgba(211, 47, 47, 0.08);
        border-radius: 10px;
        border: 1px solid var(--primary);
        color: var(--primary);
        font-size: 1.3rem;
        cursor: pointer;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        border-bottom: 2px solid var(--primary);
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-section {
        min-height: auto;
        padding: 50px 0 70px 0;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 6vw, 2.8rem);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }

    .hero-badges {
        gap: 10px;
        margin-bottom: 25px;
    }

    .hero-badge {
        font-size: 0.82rem;
        padding: 8px 14px;
    }

    .hero-cta-group {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .about-contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .rating-filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .stats-counter-grid,
    .trust-features-grid,
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .coverage-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 10px 14px;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .brand-tagline {
        font-size: 0.68rem;
    }

    .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .spacious-reviews-grid {
        grid-template-columns: 1fr;
        padding-left: 16px;
        padding-right: 16px;
        gap: 20px;
    }

    .review-slide-card {
        width: 290px;
        padding: 18px;
    }

    .footer-bottom {
        padding: 24px 75px 35px 75px;
        text-align: center;
        justify-content: center;
    }

    .whatsapp-floating-btn {
        width: 54px;
        height: 54px;
        font-size: 1.75rem;
        bottom: 20px;
        right: 20px;
    }

    .footer-bottom {
        padding: 20px 75px;
        text-align: center;
        justify-content: center;
    }

    .back-to-top-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        bottom: 20px;
        left: 20px;
    }

    .modal-card {
        padding: 24px 18px;
        max-height: 85vh;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-counter-grid,
    .trust-features-grid,
    .process-steps-grid {
        grid-template-columns: 1fr;
    }

    .coverage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    .brand-name {
        font-size: 1rem;
    }
}

/* Premium Page Hero Banner System for All Inner Pages */
.page-hero-banner {
    position: relative;
    padding: 75px 24px 85px 24px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.92)), url('../images/hero.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    border-bottom: 3px solid var(--primary);
    overflow: hidden;
    box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.4);
}

.page-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 30%, rgba(211, 47, 47, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-container {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.88rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
}

.hero-breadcrumb a {
    color: #ef5350;
    text-decoration: none;
    font-weight: 600;
}

.hero-breadcrumb a:hover {
    text-decoration: underline;
}

.page-hero-banner .section-tag {
    background: rgba(239, 83, 80, 0.15);
    color: #ef5350;
    border: 1px solid rgba(239, 83, 80, 0.4);
    box-shadow: 0 4px 15px rgba(239, 83, 80, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 16px;
}

.page-hero-banner h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.6px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.page-hero-banner h1 span {
    color: #ef5350;
    display: inline-block;
    text-shadow: 0 0 30px rgba(239, 83, 80, 0.45);
}

.page-hero-banner p {
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 780px;
    margin: 0 auto;
}

.page-hero-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.page-hero-badge-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f8fafc;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.page-hero-badge-item i {
    color: #f59e0b;
}

/* Working Hours Component */
.working-hours-card {
    background: #ffffff;
    padding: 35px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.working-hours-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.working-hours-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.1rem, 1.8vw, 1.55rem);
    font-weight: 800;
    color: var(--secondary);
    white-space: nowrap;
}

.working-hours-badge {
    background: #fee2e2;
    color: #ef4444;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.working-hours-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.working-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    padding-bottom: 10px;
    border-bottom: 1px dashed #f1f5f9;
}

.working-hours-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.working-hours-day {
    font-weight: 600;
    color: var(--text-dark);
}

.working-hours-time {
    font-weight: 700;
    color: #1e293b;
}

.working-hours-time.closed-time {
    color: #94a3b8;
    font-weight: 500;
}

/* ==========================================================================
   High-Standard Customer Reviews & Rating Dashboard System
   ========================================================================== */

.reviews-homepage-section {
    padding: 85px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text-dark);
}

.reviews-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Dashboard Overview Card */
.reviews-dashboard-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 32px;
    align-items: center;
}

@media (max-width: 992px) {
    .reviews-dashboard-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
}

/* Score Column */
.dashboard-score-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-right: 24px;
    border-right: 1px solid var(--border-light);
}

@media (max-width: 992px) {
    .dashboard-score-col {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 20px;
    }
}

.score-big-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.score-stars-row {
    color: #f59e0b;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin: 6px 0;
}

.score-total-count {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 12px;
}

.google-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8f0fe;
    color: #1a73e8;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 6px 14px;
    border-radius: 50px;
}

/* Star Breakdown Column */
.dashboard-breakdown-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--secondary);
}

.breakdown-star-lbl {
    width: 60px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breakdown-bar-bg {
    flex: 1;
    height: 10px;
    background: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.breakdown-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #d97706);
    border-radius: 5px;
    transition: width 0.6s ease;
}

.breakdown-count {
    width: 40px;
    text-align: right;
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Actions Column */
.dashboard-actions-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 24px;
    border-left: 1px solid var(--border-light);
}

@media (max-width: 992px) {
    .dashboard-actions-col {
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--border-light);
        padding-top: 20px;
    }
}

.btn-write-review {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(211, 47, 47, 0.25);
}

.btn-write-review:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.35);
}

.btn-google-maps {
    background: #ffffff;
    color: var(--secondary);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.btn-google-maps:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.guarantee-chip {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: 4px;
}

/* Toolbar & Filters */
.reviews-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.reviews-search-box {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 450px;
}

.reviews-search-box .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.reviews-search-box input {
    width: 100%;
    padding: 12px 40px 12px 44px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.reviews-search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
}

.search-clear-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
}

.reviews-filter-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-pill {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.filter-pill:hover, .filter-pill.active {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
}

.view-switcher-group {
    display: flex;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 50px;
    padding: 4px;
    box-shadow: var(--shadow-sm);
}

.view-btn {
    background: none;
    border: none;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-btn.active {
    background: var(--primary);
    color: #ffffff;
}

/* Reviews Grid View */
.reviews-grid-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .reviews-grid-view {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .reviews-grid-view {
        grid-template-columns: 1fr;
    }
}

/* Standard Review Card */
.std-review-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.std-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    border-color: rgba(211, 47, 47, 0.25);
}

.std-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.reviewer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rev-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), #334155);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(30, 41, 59, 0.15);
    flex-shrink: 0;
}

.rev-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

.rev-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rev-verified-tag {
    background: #e8f0fe;
    color: #1a73e8;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.std-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.stars-gold-fill {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 1px;
}

.rev-model-chip {
    background: #f1f5f9;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.std-review-quote {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.6;
}

.owner-reply-card {
    background: #f8fafc;
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 12px 14px;
    margin-top: 4px;
}

.owner-reply-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.owner-reply-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.std-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-helpful {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-helpful:hover, .btn-helpful.liked {
    color: #2563eb;
    background: #eff6ff;
}

/* Load More Footer */
.reviews-footer-bar {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    background: #ffffff;
    border: 1px solid var(--border-dark);
    border-radius: 50px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.btn-load-more:hover {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
    transform: translateY(-2px);
}

/* Write a Review Modal */
.review-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.review-modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.review-modal-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 540px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.review-modal-backdrop.active .review-modal-card {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.star-rating-picker {
    display: flex;
    gap: 8px;
    font-size: 2rem;
    color: #cbd5e1;
    cursor: pointer;
}

.star-pick {
    transition: color 0.15s ease;
}

.star-pick.active, .star-pick:hover, .star-pick:hover ~ .star-pick {
    color: #f59e0b;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel {
    background: #f1f5f9;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
}

.btn-submit-rev {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
}


