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

:root {
    --primary-color: #e63946;
    --secondary-color: #1d3557;
    --accent-color: #f1faee;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --success: #06d6a0;
    --warning: #ffd166;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Cairo', 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

body[dir="ltr"] {
    font-family: 'Inter', 'Cairo', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.85;
}

@media (max-width: 768px) {
    .logo-image {
        height: 35px;
    }
}

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

.lang-toggle {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.phone-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, rgba(29, 53, 87, 0.88) 0%, rgba(230, 57, 70, 0.85) 100%),
                url('https://images.unsplash.com/photo-1632823469850-1b7d43c0c79e?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
    color: var(--white);
    padding: 10rem 0 8rem;
    text-align: center;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

@keyframes pulseOverlay {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
    font-size: 2rem;
    color: var(--white);
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    animation: float 3s ease-in-out infinite;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-shadow: 3px 6px 12px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 2px 3px 6px rgba(0, 0, 0, 0.3);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.feature-chip {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s ease;
}

.feature-chip:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.feature-chip i {
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-glow {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.5),
                0 0 40px rgba(230, 57, 70, 0.3),
                0 0 60px rgba(230, 57, 70, 0.2);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(230, 57, 70, 0.5),
                    0 0 40px rgba(230, 57, 70, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(230, 57, 70, 0.7),
                    0 0 60px rgba(230, 57, 70, 0.5),
                    0 0 80px rgba(230, 57, 70, 0.3);
    }
}

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

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

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #d62839;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Gallery Section */
.gallery {
    padding: 5rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    cursor: pointer;
    aspect-ratio: 4/3;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.95) 0%, rgba(29, 53, 87, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0.9;
}

.overlay-content p {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 500;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Vehicle Types */
.vehicle-types {
    padding: 4rem 0;
    background: var(--bg-light);
}

.vehicle-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.badge {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.badge:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

/* Booking Section */
.booking {
    padding: 5rem 0;
    background: var(--white);
}

.booking-widget {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.booking-subtitle {
    text-align: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.quick-booking {
    text-align: center;
    margin: 3rem auto;
    max-width: 500px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: var(--white);
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

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

.btn-whatsapp i {
    font-size: 1.5rem;
}

.btn-large {
    font-size: 1.5rem;
    padding: 1.75rem 3.5rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.btn-large:hover {
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
    transform: translateY(-4px);
}

.booking-container {
    max-width: 700px;
    margin: 0 auto;
}

.booking-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.towing-options {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.btn-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.btn-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Track Booking Section */
.tracker-hint {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    background: rgba(29, 53, 87, 0.08);
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    margin: 0 auto 2rem;
    display: inline-block;
}

.status-note {
    padding: 1rem;
    border-radius: 8px;
    background: var(--bg-light);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.track-booking {
    padding: 5rem 0;
    background: var(--bg-light);
}

.track-container {
    max-width: 700px;
    margin: 0 auto;
}

.track-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.track-input-group input {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
}

.booking-status {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.status-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.status-chip {
    background: var(--bg-light);
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tow-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #fff7ed;
    border: 1px solid #ffedd5;
    border-radius: 10px;
}

.tow-info h4 {
    margin-bottom: 0.75rem;
    color: #c2410c;
    font-size: 1.1rem;
}

.tow-info p {
    margin-bottom: 0.5rem;
    color: #92400e;
    font-weight: 600;
}

.tow-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.tow-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    color: var(--white);
    background: var(--secondary-color);
    transition: transform 0.2s ease;
}

.tow-links a:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.status-badge.pending {
    background: var(--warning);
    color: var(--text-dark);
}

.status-badge.confirmed {
    background: #4ecdc4;
    color: var(--white);
}

.status-badge.in-progress {
    background: #457b9d;
    color: var(--white);
}

.status-badge.completed {
    background: var(--success);
    color: var(--white);
}

.booking-details {
    margin-bottom: 2rem;
}

.booking-details p {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
}

.booking-details strong {
    color: var(--secondary-color);
}

.progress-tracker {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 2rem;
}

.progress-tracker::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border: 3px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.progress-step.active .step-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-light);
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

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

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: var(--white);
    text-decoration: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

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

.modal-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.booking-id-display {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--bg-light);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.booking-details-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 2px solid var(--accent-color);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e7eaee;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.detail-value {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1rem;
    text-align: right;
}

[dir="ltr"] .detail-value {
    text-align: left;
}

.modal-message {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 4rem;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

    .vehicle-badges {
        gap: 1rem;
    }

    .badge {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .booking-form {
        padding: 1.5rem;
    }

    .track-input-group {
        flex-direction: column;
    }

    .progress-tracker {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .progress-tracker::before {
        display: none;
    }

    .progress-step {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    .nav {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem;
        min-height: 450px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .progress-step {
        flex: 0 0 100%;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pulse Animation for Icons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

.phone-btn {
    animation: pulse 2s infinite;
}

/* Custom Booking Form Container */
.booking-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 3rem;
}

@media (max-width: 768px) {
    .booking-form-container {
        padding: 2rem 1.5rem;
    }
}

.custom-booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--colors-border, #e7eaee);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231d3557' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1rem center;
    padding-left: 2.5rem;
}

[dir="ltr"] .form-group select {
    background-position: right 1rem center;
    padding-left: 1rem;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group label input[type="checkbox"] {
    margin-left: 0.5rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

[dir="ltr"] .form-group label input[type="checkbox"] {
    margin-left: 0;
    margin-right: 0.5rem;
}

.btn-location {
    margin-top: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-location:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.widget-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    gap: 1.5rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--accent-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.widget-loading p {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* SimplyBook Widget RTL Support */
#sb_widget {
    direction: inherit;
}

[dir="rtl"] #sb_widget {
    text-align: right;
}

[dir="ltr"] #sb_widget {
    text-align: left;
}

/* Google Forms iframe styling */
iframe {
    border: none;
    box-shadow: var(--shadow-lg);
}

/* Print Styles */
@media print {
    .header,
    .hero,
    .footer,
    .booking,
    .modal {
        display: none;
    }
}
