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

:root {
    --primary-color: #1e40af;
    --primary-hover: #1e3a8a;
    --secondary-color: #3b82f6;
    --dark-color: #1a1a1a;
    --gray-color: #6b7280;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

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

    100% {
        transform: rotate(360deg);
    }
}

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

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    z-index: 1001;
}

.logo i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--gray-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 1001;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-color);
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-white:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 5rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.text-primary {
    color: var(--primary-color);
}

.hero p {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.stat-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
}

.hero-image-bg {
    position: absolute;
    inset: 0;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 50%;
    filter: blur(100px);
}

.hero-image img {
    position: relative;
    z-index: 10;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Booking Form */
.booking-form-section {
    background: var(--white);
    padding: 2rem;
    margin-top: -2rem;
    position: relative;
    z-index: 20;
}

.booking-form-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.contact-1 {
    margin-top: 15px;
}

.form-message {
    margin-top: 5px;
}

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

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

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.input-icon input,
.input-icon select {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.input-icon input:focus,
.input-icon select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Section */
.section {
    padding: 4rem 0;
}

.bg-light {
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.services-grids {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.15);
}

.service-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.1), rgba(59, 130, 246, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: color 0.3s;
}

.service-card:hover .service-icon i {
    color: var(--white);
}

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

.service-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Car Slider */
.car-slider-wrapper {
    position: relative;
    padding: 0 3rem;
}

.car-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    overflow: hidden;
    padding: 0 15px;
}

@media (max-width: 1024px) {

    .car-slider {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        overflow: hidden;
        padding: 0 30px;
    }
}

.car-card {
    background: var(--white);
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.15);
    border-color: var(--primary-color);
}

.car-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.car-card:hover .car-image img {
    transform: scale(1.15);
}

.car-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.car-content {
    padding: 1.5rem;
}

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

.car-features {
    margin-bottom: 1rem;
}

.car-feature {
    display: flex;
    justify-content: space-between;
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.car-feature i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.car-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.car-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.car-price span {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 400;
}

.car-footer .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    color: var(--primary-color);
}

.slider-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 0;
}

.slider-btn-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    width: 2rem;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Quality Section */
.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.quality-image img {
    width: 100%;
    height: auto;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-lg);
}

.quality-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.quality-text p {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.quality-list {
    list-style: none;
    margin-bottom: 2rem;
}

.quality-list li {
    display: flex;
    align-items: center;
    color: var(--gray-color);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.quality-list i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.25rem;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

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

.step-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.15);
}

.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-color);
}

.team-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.team-card p {
    color: var(--gray-color);
    margin-bottom: 1rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    transition: all 0.3s;
}

.team-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

/* Testimonials */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 4rem;
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: 1rem;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.testimonial-image {
    flex-shrink: 0;
}

.testimonial-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.testimonial-content {
    flex: 1;
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.testimonial-author {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.testimonial-role {
    color: var(--gray-color);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(30, 64, 175, 0.15);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--gray-color);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.75rem;
}

.blog-date i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

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

.blog-card p {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
}

.blog-link:hover {
    gap: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background: #0f172a;
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

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

.footer-contact li {
    display: flex;
    align-items: start;
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 1.5rem;
    text-align: center;
    color: #94a3b8;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .car-slider {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

    .car-slider-wrapper {
        padding: 0 2rem;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* default desktop */
    gap: 16px;
    align-items: stretch;
}

.services-grids {
      display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* default desktop */
    gap: 16px;
    align-items: stretch;
}

@media (max-width: 425px) {
    .services-grid {
        grid-template-columns: 1fr;
        /* stack vertically on phones */
        gap: 12px;
    }
     .services-grids {
        grid-template-columns: 1fr;
        /* stack vertically on phones */
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease-in-out;
        gap: 0;
        align-items: flex-start;
        overflow-y: auto;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        width: 100%;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }

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

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

    .booking-form {
        grid-template-columns: 1fr;
    }

    .car-slider {
        grid-template-columns: 1fr;
    }

    .car-slider-wrapper {
        padding: 0 1rem;
    }

    .slider-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

 

    .quality-content {
        grid-template-columns: 1fr;
    }

   

  

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .testimonial-slider-wrapper {
        padding: 0 3rem;
    }


    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }


    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .testimonial-slider-wrapper {
        padding: 0 2.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

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

    .slider-btn {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }

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

    .section-header h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 625px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

}

        @media (max-width: 420px) {
            .booking-form-section {
                padding: 2rem 0 !important;
            }
        }