:root {
    --primary-navy: #0a1128;
    --primary-dark: #050a17;
    --accent-green: #39b54a;
    --accent-hover: #2d8e3a;
    --text-dark: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --radius: 12px;
    --radius-lg: 24px;
    --shadow: 0 10px 15px -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.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Typography */
.text-center { text-align: center; }
.section-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Animations */
@keyframes ring {
    0% { transform: rotate(0); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(5deg); }
    85% { transform: rotate(-5deg); }
    100% { transform: rotate(0); }
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--white);
    box-shadow: 0 8px 20px -6px rgba(57, 181, 74, 0.5);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -8px rgba(57, 181, 74, 0.6);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
}

.btn-outline {
    border: 2px solid var(--accent-green);
    color: var(--accent-green);
    background: transparent;
}

.btn-outline:hover {
    background: var(--accent-green);
    color: var(--white);
}

/* Contact Buttons Row */
.contact-buttons-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.whatsapp-btn {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: var(--white) !important;
    box-shadow: 0 8px 20px -6px rgba(37, 211, 102, 0.5) !important;
}
.whatsapp-btn:hover {
    background-color: #128C7E !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px -8px rgba(37, 211, 102, 0.6) !important;
}
.whatsapp-btn:hover i {
    animation: bounceIcon 1s infinite;
}
.phone-btn {
    border-color: var(--white) !important;
    color: var(--white) !important;
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.phone-btn:hover {
    background: var(--white) !important;
    color: var(--primary-navy) !important;
}
.phone-btn:hover i {
    animation: ring 0.5s ease-in-out;
}
.pricing-contact-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin-top: auto;
}
.pricing-contact-row .phone-btn {
    border-color: var(--primary-navy) !important;
    color: var(--primary-navy) !important;
    background: transparent !important;
}
.pricing-contact-row .phone-btn:hover {
    background: var(--primary-navy) !important;
    color: var(--white) !important;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    background-color: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    box-sizing: border-box;
}

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

.logo-main {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    font-style: italic;
    color: var(--white);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo-main span {
    color: var(--accent-green);
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin-top: -5px;
}

.logo-sub::before, .logo-sub::after {
    content: '';
    display: inline-block;
    width: 15px;
    height: 1px;
    background-color: var(--accent-green);
    margin: 0 5px;
}

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

.nav-links a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-green);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(10, 17, 40, 0.3), rgba(10, 17, 40, 0.6)), url('hero_bg_man.png') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    padding: 0 5%;
    margin-top: 70px; /* Offset for navbar */
    position: relative;
}

.hero-content {
    max-width: 800px;
    color: var(--white);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: var(--white);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    border: none;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #f8fafc;
    max-width: 550px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-green);
}

.stat-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.stat-text p {
    font-size: 0.9rem;
    color: #a0aec0;
    margin: 0;
}

/* Services */
.services {
    padding: 5rem 5%;
    background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.95)), url('car_repair_bg.png') center/cover no-repeat fixed;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    width: 320px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(57, 181, 74, 0.3);
}

.pricing-card.popular {
    border-color: rgba(57, 181, 74, 0.4);
    box-shadow: 0 15px 35px rgba(57, 181, 74, 0.12);
    transform: scale(1.03);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-green);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(57, 181, 74, 0.3);
}

.card-title {
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.card-price {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.card-price span {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.card-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.card-features i {
    color: var(--accent-green);
    margin-top: 4px;
}

.pricing-card .btn {
    width: 100%;
}

/* How It Works */
.how-it-works {
    padding: 5rem 5%;
    background: linear-gradient(rgba(247, 250, 252, 0.88), rgba(247, 250, 252, 0.95)), url('hero_bg_man.png') center/cover no-repeat fixed;
}

.steps {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--primary-navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(10, 17, 40, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover .step-number {
    background-color: var(--accent-green);
    box-shadow: 0 8px 25px rgba(57, 181, 74, 0.4);
    transform: scale(1.1);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.step p {
    color: var(--text-light);
}

/* Image + Text Section */
.info-section {
    padding: 5rem 5%;
    display: flex;
    align-items: center;
    gap: 4rem;
    background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.95)), url('car_repair_bg.png') center/cover no-repeat fixed;
}

.info-image {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.info-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.info-image:hover img {
    transform: scale(1.05);
}

.info-text {
    flex: 1;
}

.info-text ul {
    margin-top: 1.5rem;
}

.info-text li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-text i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

/* FAQ */
.faq {
    padding: 5rem 5%;
    background: linear-gradient(rgba(10, 17, 40, 0.75), rgba(10, 17, 40, 0.9)), url('car_repair_bg.png') center/cover no-repeat fixed;
    color: var(--white);
}

.faq .section-title {
    color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-green);
    overflow: hidden;
}

.faq-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-header h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
    flex: 1;
}

.faq-header i {
    transition: transform 0.3s ease;
    margin-left: 1rem;
    color: var(--accent-green);
}

.faq-content {
    max-height: 0;
    padding: 0 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
}

.faq-content p {
    color: #cbd5e0;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-content {
    max-height: 500px;
    opacity: 1;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 5% 1rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    margin-bottom: 1rem;
    color: var(--accent-green);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
    color: #cbd5e0;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    color: #718096;
    font-size: 0.9rem;
}

/* Booking Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 10, 23, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s;
}

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

/* Multi-step Form */
.step-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.step-content.active {
    display: block;
}

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

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

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

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(57, 181, 74, 0.1);
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.radio-card {
    flex: 1;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.radio-card:hover {
    border-color: var(--accent-green);
    background: rgba(57, 181, 74, 0.05);
}

.radio-card input {
    display: none;
}

.radio-card h5 {
    margin-bottom: 0.5rem;
    color: var(--primary-navy);
}

.radio-card p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.radio-card.selected {
    border-color: var(--accent-green);
    background: rgba(57, 181, 74, 0.05);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Progress Bar */
.progress-container {
    margin-bottom: 2rem;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    width: 100%;
    background: var(--border-color);
    z-index: 1;
}

.progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 4px;
    background: var(--accent-green);
    z-index: 1;
    transition: width 0.3s ease;
}

.progress-step {
    width: 30px;
    height: 30px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    transition: all 0.3s;
}

.progress-step.active {
    background: var(--accent-green);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(57, 181, 74, 0.2);
}

.progress-step.completed {
    background: var(--primary-navy);
    color: var(--white);
}

.summary-block {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 0.5rem;
}

.summary-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.summary-total {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-navy);
    text-align: right;
    margin-top: 1rem;
}

/* Form Rows */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-checkbox-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1001;
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    /* Navbar */
    .menu-toggle {
        display: block;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-navy);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out, padding 0.3s ease-out;
        text-align: center;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active {
        max-height: 300px; /* arbitrary height to fit items */
        padding: 1rem 5%;
    }
    .nav-links a {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-links a:last-child {
        border-bottom: none;
    }

    /* Fix for iOS background-attachment: fixed bug */
    .hero, .services, .how-it-works, .faq, .info-section {
        background-attachment: scroll !important;
    }

    /* Hero */
    .hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
        height: auto;
        min-height: auto;
    }
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.1rem; margin-bottom: 2rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; align-items: flex-start; }

    /* Pricing */
    .services { padding: 3rem 5%; overflow-x: hidden; }
    .pricing-cards { 
        flex-direction: column; 
        align-items: center; 
        gap: 2.5rem; 
        margin-top: 2rem;
        padding: 1.5rem 0;
    }
    .pricing-cards::-webkit-scrollbar { display: none; }
    .pricing-card { 
        width: 100%; 
        max-width: 380px; 
        padding: 2rem 1.5rem; 
    }
    .card-title { font-size: 1.5rem; margin-bottom: 0.5rem; text-align: left; }
    .card-price { font-size: 2.5rem; margin-bottom: 1.5rem; justify-content: flex-start; }
    .card-price span { font-size: 1.2rem; margin-top: 0.4rem; }
    .card-features { margin-bottom: 1.5rem; }
    .card-features li { font-size: 0.95rem; gap: 0.8rem; margin-bottom: 0.8rem; line-height: 1.5; }
    .card-features i { font-size: 1rem; margin-top: 4px; }
    .pricing-card .btn { padding: 0.8rem 1.5rem; font-size: 1rem; }
    
    .pricing-card.popular { transform: none; box-shadow: 0 10px 25px rgba(57, 181, 74, 0.15); border-width: 2px; }
    .pricing-card.popular:hover { transform: translateY(-5px); }
    .popular-badge { 
        font-size: 0.8rem; 
        padding: 0.4rem 1rem; 
        top: -15px;
    }

    /* Sections */
    .info-section { flex-direction: column; gap: 2rem; }
    .info-text { margin-top: 1rem; }
    .steps { flex-direction: column; align-items: center; gap: 2.5rem; }
    .step { width: 100%; }
    
    /* Footer */
    .footer-content { flex-direction: column; text-align: center; gap: 2rem; }

    /* Modal */
    .modal-content {
        padding: 1.5rem;
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
        transform: translateY(0);
        display: flex;
        flex-direction: column;
    }
    .form-control {
        font-size: 16px;
    }
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    .form-row > div {
        width: 100%;
        flex: none !important;
    }
    .radio-group {
        flex-direction: column;
    }
    .form-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    .form-actions .btn {
        width: 100%;
        margin-left: 0 !important;
    }
    .progress-step {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    .summary-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}
