/* Reset and base styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f0f0;
    font-size: 16px;
    line-height: 1.5;
}

/* Layout styles */
.content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.content-wrapperr {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

/* Hero section styles */
.hero-section {
    background: 
        radial-gradient(circle at top left, rgba(241, 241, 241, 0.692) 65%, rgba(206, 206, 206, 0.3) 50%),
        radial-gradient(circle at top right, rgba(255, 153, 0, 0.13) 50%, rgba(0,0,0,0.1) 70%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.253) 5%, rgba(0,0,0,0.1) 30%),
        linear-gradient(to bottom, #ffffff, #f0f0f0);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    background-position: 0 0, 100% 0, 0 0;
    background-repeat: no-repeat;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 2rem 0; /* Reduced padding */
}

.hero-section .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-column, .image-column {
    width: 100%;
}

.image-column {
    position: relative;
    height: 300px;
    margin-top: 2rem;
}

/* Car image styles */
.car-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: contain;
}

/* Features section styles */
.features-section {
    background: 
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.781) 40%, rgba(206, 206, 206, 0.3) 80%),
        radial-gradient(circle at top right, rgba(255, 153, 0, 0.048) 65%, rgba(0,0,0,0.1) 70%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.253) 5%, rgba(0,0,0,0.1) 30%),
        linear-gradient(to bottom, #ffffff, #f0f0f0);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    background-position: 0 0, 100% 0, 0 0;
    background-repeat: no-repeat;
    padding: 2rem 0;
}

.features-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.feature-item {
    flex-basis: calc(50% - 1.5rem);
    min-width: 200px;
    text-align: center;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: #333;
}

/* Info section styles */
.info-section {
    padding: 3rem 0;
    background-color: #ffffff;
}

.info-heading {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #333;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-text, .info-image {
    width: 100%;
}

.info-image {
    height: 300px;
    overflow: hidden;
}

.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #000;
    text-align: center;
}

h2 {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    color: #333;
}

/* Button styles */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.buttons > * {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #333;
    color: #fff;
    transition: background-color 0.3s;
    font-family: 'Roboto', sans-serif;
    text-align: center;
}

.buttons > *:hover {
    background-color: #555;
}




.car-sales-section {
    padding: 4rem 0;
    background-color: #f8f8f8;
    overflow: hidden;
  }
  
.carousel-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    perspective: 1000px;
  }
  
.carousel {
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    position: relative;
  }
  
.slide {
    position: absolute;
    width: 60%;
    max-width: 800px;
    height: 100%;
    transition: all 0.5s ease;
    opacity: 0;
    transform: scale(0.8) translateX(100%) translateZ(-300px);
    pointer-events: none;
  }
  
.slide.active {
    opacity: 1;
    transform: scale(1) translateX(0) translateZ(0);
    z-index: 2;
    pointer-events: auto;
  }
  
.slide.prev {
    opacity: 0.7;
    transform: scale(0.8) translateX(-60%) translateZ(-150px);
    z-index: 1;
  }
  
.slide.next {
    opacity: 0.7;
    transform: scale(0.8) translateX(60%) translateZ(-150px);
    z-index: 1;
  }
  
.slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
.slide-title, .slide-description {
    position: absolute;
    left: 0;
    right: 0;
    padding: 10px;
    color: white;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
  }
  
.slide-title {
    top: 0;
    text-align: center;
    transform: translateY(-20px);
  }
  
.slide-description {
    bottom: 0;
    transform: translateY(20px);
  }
  
.slide-title::before, .slide-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
  }
  
.slide.active .slide-title,
.slide.active .slide-description,
.slide.active .slide-title::before,
.slide.active .slide-description::before {
    transform: translateY(0);
    opacity: 1;
  }
  
.slide-title h3 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    position: relative;
    color: white;
  }
  
.slide-description p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
  }
  
.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
  
.prev-btn, .next-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 15px 30px;
    margin: 0 15px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }
  
.prev-btn:hover, .next-btn:hover {
    background-color: #555;
    transform: translateY(-3px);
  }








/* Media Queries */
@media screen and (min-width: 768px) {
    .hero-section .content-wrapper {
        flex-direction: row;
        justify-content: space-between;
        
    }

    .text-column, .image-column {
        width: 48%;
        
    }

    .image-column {
        height: 400px;
        margin-top: 0;
    }

    h1 {
        font-size: 3rem;
        text-align: left;
    }

    h2 {
        font-size: 1.1rem;
        text-align: left;
    }

    .buttons {
        flex-direction: row;
        margin: 0;
    }

    .feature-item {
        flex-basis: calc(25% - 1.5rem);
    }

    .info-row {
        flex-direction: row;
        align-items: center;
    }

    .info-text, .info-image {
        width: 48%;
    }

    .info-image {
        height: 400px;
    }

    .carousel {
        height: 400px;
      }
      
      .slide {
        width: 80%;
      }
      
      .slide-title h3 {
        font-size: 1.5rem;
      }
      
      .slide-description p {
        font-size: 1rem;
      }
      
      .prev-btn, .next-btn {
        padding: 10px 20px;
        font-size: 1rem;
      }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .hero-section .content-wrapper {
      padding-bottom: 5%;
    }
  }


@media screen and (min-width: 1024px) {
    .hero-section {
        min-height: 60vh;
        padding-top: 20px; /* Add some top padding */
    }

    h1 {
        font-size: 3.5rem;
    }

    .image-column {
        height: 500px;
    }

    .features-heading {
        font-size: 2.5rem;
    }

    .info-heading {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.5rem;

    }

}


@media (max-width: 1200px) {
    .carousel {
      height: 500px;
    }
    
    .slide {
      width: 70%;
    }
  }


@media (max-width: 480px) {
    .carousel {
      height: 300px;
    }
    
    .slide {
      width: 90%;
    }
    
    .slide-title h3 {
      font-size: 1.2rem;
    }
    
    .slide-description p {
      font-size: 0.9rem;
    }
}


/* Animation styles (kept from original CSS) */
.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
    will-change: opacity, transform;
    
}

.animate-up.button {
    text-decoration: none;
}

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

/* Animation delays */
h1.animate-up {
    animation-delay: 0.1s;
}

h2.animate-up {
    animation-delay: 0.2s;
}

.buttons > *:nth-child(1) {
    animation-delay: 0.6s;
}

.buttons > *:nth-child(2) {
    animation-delay: 0.8s;
}

.image-column {
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 0.8s forwards;
    animation-delay: 1s;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}















/* About Us Hero Section */
.about-hero {
    background: 
        radial-gradient(circle at top left, rgba(241, 241, 241, 0.692) 65%, rgba(206, 206, 206, 0.3) 50%),
        radial-gradient(circle at top right, rgba(255, 153, 0, 0.13) 50%, rgba(0,0,0,0.1) 70%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.253) 5%, rgba(0,0,0,0.1) 30%),
        linear-gradient(to bottom, #ffffff, #f0f0f0);
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero .subtitle {
    font-size: 1.2rem;
    color: #555;
}

/* About Content Section */
.about-content {
    padding: 4rem 0;
    background-color: #ffffff;
}

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

.about-item {
    background-color: #f8f8f8;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-item h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.about-item p, .about-item ul {
    color: #555;
}

.about-item ul {
    padding-left: 1.5rem;
}

/* CTA Section */
.cta-section {
    background-color: #f0f0f0;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #555;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

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

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

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

    .cta-section p {
        font-size: 1rem;
    }

    .car-image {
        position: absolute;
        width: 85%;
        height: 85%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        object-fit: contain;
    }
}

@media screen and (max-width: 1024px) {
    /* Add padding to the top of the body to prevent content from hiding under the header */
    body {
        padding-top: 60px; /* Adjust this value as needed */
    }

    /* Adjust the hero section padding for mobile */
    .hero-section {
        padding-top: calc(5% + 60px); /* Adds extra padding to the top of the hero section */
    }
}







.why-choose-us {
    background-color: #f8f8f8;
    padding: 4rem 0;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

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

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: #4CAF50;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.card p {
    font-size: 1rem;
    color: #666;
}

.card::after {
    content: '';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.card:hover::after {
    transform: translate(-1rem, -1rem);
}

.card[data-icon="fas fa-clock"]::after { content: '\f017'; }
.card[data-icon="fas fa-car"]::after { content: '\f1b9'; }
.card[data-icon="fas fa-bolt"]::after { content: '\f0e7'; }
.card[data-icon="fas fa-car-crash"]::after { content: '\f5e1'; }
.card[data-icon="fas fa-file-alt"]::after { content: '\f15c'; }
.card[data-icon="fas fa-money-bill-wave"]::after { content: '\f53a'; }
.card[data-icon="fas fa-ambulance"]::after { content: '\f0f9'; }
.card[data-icon="fas fa-phone"]::after { content: '\f095'; }

/* Responsive styles for Why Choose Us section */
@media screen and (max-width: 768px) {
    .why-choose-us h2 {
        font-size: 2rem;
    }

    .interactive-cards {
        grid-template-columns: 1fr;
    }
}




/* Media Queries */
@media screen and (max-width: 767px) {
    .hero-section {
        padding-top: 1rem; /* Smaller gap from top on mobile */
        min-height: auto; /* Allow the section to shrink on mobile */
    }

    h1 {
        font-size: 2rem; /* Smaller font size for mobile */
        margin-bottom: 0.5rem; /* Reduced bottom margin */
    }

    h2 {
        font-size: 1rem;
        margin-bottom: 1rem; /* Reduced bottom margin */
    }

    .buttons {
        margin-bottom: 1rem; /* Smaller gap between buttons and car picture */
    }

    .image-column {
        height: 200px; /* Reduced height for mobile */
        margin-top: 0.5rem; /* Smaller gap above the car picture */
        margin-bottom: 1rem; /* Smaller gap below the car picture */
    }
}

@media screen and (min-width: 768px) {
    /* Existing styles for larger screens... */
}

/* Existing media queries... */

@media screen and (max-width: 1024px) {
    body {
        padding-top: 60px;
    }

    .hero-section {
        padding-top: 2rem; /* Reduced top padding for tablets and small desktops */
    }
}
