/* =========================================
   GLO Auto Repair - Modern Styling System
   ========================================= */

:root {
    /* Color Palette - Metallic Slate & Electric Orange */
    --primary: #F97316; /* Electric Orange */
    --primary-hover: #EA580C;
    --primary-light: rgba(249, 115, 22, 0.1);
    
    --secondary: #64748B; /* Sleek Metallic Slate */
    --secondary-hover: #475569;
    --secondary-light: rgba(100, 116, 139, 0.1);
    
    --dark: #0F172A; /* Slate Black */
    --dark-alt: #1E293B; /* Slightly lighter slate */
    --light: #F8FAFC; /* Clean off-white */
    --white: #FFFFFF;
    
    --text-main: #334155;
    --text-muted: #64748B;
    --border: #E2E8F0;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --section-pad: 6rem 1.5rem;
    --border-radius: 1rem;
    
    /* Shadows & Effects */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px -3px rgba(0,0,0,0.05), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), #FB923C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Layout Utility */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.section {
    padding: var(--section-pad);
}

.bg-alt {
    background-color: #F1F5F9;
}

.text-center {
    text-align: center;
}

.mt-xl {
    margin-top: 3rem;
}

/* Section Header */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-badge {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

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

.btn-secondary {
    background-color: var(--dark);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--dark-alt);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--secondary);
    background-color: var(--light);
}

.btn-outline-white {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
}

.btn-outline-white:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.btn-full {
    display: flex;
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 1.5rem;
    transition: height 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-grow: 1;
}

@media (min-width: 769px) {
    .nav-container {
        height: 90px;
    }
    
    .logo-img {
        height: 76px;
    }
    
    .navbar.scrolled .nav-container {
        height: 70px;
    }
    
    .navbar.scrolled .logo-img {
        height: 60px;
    }
    
    .nav-links > a:first-child {
        margin-left: 5rem;
    }
    
    .nav-links > a:nth-child(6) {
        margin-right: auto;
    }
}

@media (min-width: 769px) and (max-width: 1150px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links > a:first-child {
        margin-left: 2rem;
    }
    
    .nav-links .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

.nav-links > a:not(.btn) {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links > a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links > a:not(.btn):hover {
    color: var(--primary);
}

.nav-links > a:not(.btn):hover::after {
    width: 100%;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
}

.lang-item {
    cursor: pointer;
    color: var(--text-muted);
}

.lang-item.active {
    color: var(--primary);
}

.lang-divider {
    color: var(--border);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 10rem 1.5rem 6rem 1.5rem;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--dark);
    color: var(--white);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.hero .badge {
    display: inline-block;
    background-color: rgba(249, 115, 22, 0.15);
    color: var(--primary);
    border: 1px solid rgba(249, 115, 22, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.hero-title {
    color: var(--white);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94A3B8;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-mockup {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.5rem;
    padding: 8px 8px 8px 8px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: perspective(1200px) rotateY(-10deg) rotateX(4deg) rotateZ(-1deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.hero-image-mockup:hover {
    transform: perspective(1200px) rotateY(-3deg) rotateX(2deg) rotateZ(0deg) scale(1.02);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 14px 12px;
    position: relative;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.mockup-address {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    padding: 3px 20px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    pointer-events: none;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: var(--transition);
}

.hero-image-wrapper:hover img {
    transform: scale(1.04);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.15) 0%, transparent 60%);
    z-index: 1;
    animation: pulseBg 10s ease-in-out infinite alternate;
}

/* =========================================
   Hero Animations
   ========================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleUpFade {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(15px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulseBg {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1.1;
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content .badge {
    animation-delay: 0.1s;
}

.hero-content .hero-title {
    animation-delay: 0.2s;
}

.hero-content .hero-subtitle {
    animation-delay: 0.3s;
}

.hero-content .hero-actions {
    animation-delay: 0.4s;
}

.hero-image {
    animation: scaleUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.3s;
}


/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* Before & After Interactive Slider */
.slider-container {
    max-width: 800px;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--white);
    user-select: none;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-before {
    z-index: 1;
}

.img-after {
    z-index: 2;
    /* Use clip-path to show only the right part of the after image */
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    z-index: 4;
    pointer-events: none;
    transform: translate(-50%, -50%);
    border: 3px solid var(--white);
    font-size: 1.25rem;
}

.slider-label {
    position: absolute;
    bottom: 1.5rem;
    background-color: rgba(15, 23, 42, 0.85);
    color: var(--white);
    padding: 0.35rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    z-index: 3;
}

.label-before {
    left: 1.5rem;
}

.label-after {
    right: 1.5rem;
}

/* Native Input overlay to capture touch/mouse drag natively */
.slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 5;
}

/* Why Choose Us Section */
.why-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.why-feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
}

.why-feature-icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.why-feature-card h3 {
    margin-bottom: 0.5rem;
}

.why-feature-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.why-content h2 {
    margin-bottom: 1.5rem;
}

.why-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.check-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card .stars {
    color: #F59E0B; /* Golden Stars */
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 8rem;
    font-family: serif;
    color: #F1F5F9;
    line-height: 1;
    z-index: 1;
    user-select: none;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-name {
    font-size: 1rem;
    margin-bottom: 0.15rem;
    font-weight: 600;
    color: var(--text-main);
}

.client-details span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Contact Section & Form */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.detail-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-detail-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-detail-item a, .contact-detail-item p {
    color: var(--text-muted);
}

.contact-detail-item a:hover {
    color: var(--primary);
}

.contact-form-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--light);
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Success Messages */
.contact-success-msg {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 0.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: #065F46;
}

.contact-success-msg i {
    font-size: 1.5rem;
    color: #10B981;
}

.contact-success-msg h3 {
    color: #065F46;
    margin-bottom: 0.25rem;
}

.contact-success-msg p {
    font-size: 0.85rem;
    color: #047857;
}

.hidden {
    display: none !important;
}

/* FAQs */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background-color: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    cursor: pointer;
}

.faq-question i {
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Footer Section */
.footer {
    background-color: var(--dark);
    color: #94A3B8;
    padding: 5rem 1.5rem 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-brand .logo-img {
    height: 80px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact-info {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #94A3B8;
    line-height: 1.8;
}

.footer-contact-info i {
    color: var(--primary);
    margin-right: 0.5rem;
    font-size: 0.95rem;
}

.footer-links h3, .footer-qr h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 0.25rem;
}

.footer-qr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.qr-code-wrapper {
    background-color: var(--white);
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
}

.qr-code {
    width: 100px;
    height: 100px;
}

.qr-caption {
    font-size: 0.75rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a:hover {
    color: var(--primary);
}

/* Modal / Review Interceptor Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

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

.modal-card {
    background-color: var(--white);
    max-width: 500px;
    width: 90%;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

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

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    line-height: 1;
}

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

.modal-screen {
    text-align: center;
}

.modal-icon-container {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.text-green { color: #10B981; }
.text-yellow { color: #F59E0B; }
.text-purple { color: #8B5CF6; }

.modal-screen h3 {
    margin-bottom: 0.75rem;
}

.modal-screen p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.stars-rating-container {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    font-size: 2.5rem;
    color: var(--text-muted);
}

.star-btn {
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.star-btn:hover {
    transform: scale(1.15);
}

.star-btn.active {
    color: #F59E0B;
}

.redirect-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: #10B981;
    border-radius: 50%;
    margin: 2rem auto 0 auto;
    animation: spin 1s linear infinite;
}

.modal-form {
    text-align: left;
}

.modal-form .form-group {
    margin-bottom: 1.25rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =========================================
   Responsive Design Breakpoints
   ========================================= */

@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    .hero-title { font-size: 3rem; }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .why-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 4rem 1.25rem;
    }
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .hero-title { font-size: 2.5rem; }
    
    .nav-links {
        display: none; /* JS will toggle active class */
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .why-features {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* =========================================
   Phase 2: Accreditations & Partnerships
   ========================================= */

.accreditations {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}

.accreditations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.accreditation-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background-color: var(--light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.accreditation-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.accreditation-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    flex-shrink: 0;
    background-color: var(--white);
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.accreditation-content {
    flex-grow: 1;
}

.accreditation-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.accreditation-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.accreditation-link {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.accreditation-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Partnership with Alejo's Towing */
.partnership-card {
    background: linear-gradient(135deg, var(--dark-alt), var(--dark));
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.05);
}

.partnership-content h3 {
    color: var(--white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.partnership-content p {
    color: #94A3B8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.partnership-content .highlight {
    font-weight: 700;
}

.partnership-cta {
    display: flex;
    justify-content: flex-end;
}

/* Accreditations Responsive Adjustments */
@media (max-width: 992px) {
    .accreditations-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .partnership-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .partnership-cta {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .accreditation-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }
    
    .accreditation-img {
        width: 120px;
        height: 120px;
    }
}

/* =========================================
   Booking Modal Styling
   ========================================= */

.modal-card-large {
    max-width: 850px;
    width: 95%;
    padding: 2.5rem 2rem;
}

.iframe-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 0.8rem;
    overflow: hidden;
    border: 1px solid var(--border);
    background-color: var(--light);
}

@media (max-width: 768px) {
    .modal-card-large {
        padding: 2rem 1rem 1.5rem 1rem;
    }
    .iframe-container {
        height: 400px;
    }
}

