* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 45px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo {
 height: 50px;  /* adjust size */
    width: auto;
}

.nav-logo img{
    height: 80px;      /* controls logo height */
    width: auto;       /* keeps aspect ratio */
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #44a522;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #44a522;
    transition: width 0.3s;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #333;
    transition: all 0.3s ease;
}

/* about us section */

.about-section {
  padding: 60px 20px;
  background: #f9f9f9;
  text-align: center;
}

.about-section .section-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.about-section .section-subtitle {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #666;
  font-size: 1.1rem;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.about-block {
  flex: 1 1 400px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.about-heading {
  margin: 50px 0 20px;
  font-size: 1.5rem;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.offer-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
}

.who-serve {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.who-serve li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.about-final {
  margin-top: 30px;
  font-size: 1.1rem;
  color: #333;
}


/* Cars Slider Section */
.cars-slider {
    padding: 50px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #44a522;
    margin: 10px auto 20px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #6b7280;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}



.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.car-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.car-card:hover {
  transform: translateY(-5px);
}

.car-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.car-details {
  padding: 15px;
}

.car-details h3{
  font-size: 1.3rem
}

.car-details p{
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 15px;
}

.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  font-size: 14px;
  color: #555;
  margin: 8px 0;
}

.car-specs span i {
  color: #44A522;
}

.car-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.amenity {
background: #eff6ff;
padding: 4px 10px;
border-radius: 15px;
font-size: 0.75rem;
color: #44a522;
}

.car-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.rent-btn {
  background: #44a522;;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.rent-btn:hover {
  background: #0056b3;
}


/* Features Section */
.features {
    padding: 80px 0;
    background: #f9fafb;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #44a522;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #111827;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 10px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #44a522;
}

.footer-section p {
    margin-bottom: 15px;
    color: #d1d5db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.footer-section ul li a:hover {
    color: #44a522;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1f2937;
    border-radius: 5px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #44a522;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .slide {
        min-width: 50%;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 20px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .slide {
        min-width: 100%;
    }

    
    /* Hamburger animation into X */
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Rental Experience */
.rental-experience {
  padding: 50px 20px;
  background: #fff;
  text-align: center;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.experience-card {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.experience-card h3 {
  margin-bottom: 15px;
}

.experience-card ul {
  padding-left: 20px;
  margin: 15px 0;
}

.experience-card.elite {
  border-left: 6px solid #0077cc;
}

.experience-card.standard {
  border-left: 6px solid #00aa77;
}

.comparison-table {
  overflow-x: auto;
  margin-top: 30px;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th, .comparison-table td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.comparison-table th {
  background: #222;
  color: #fff;
  font-weight: 600;
}

/* slider css */

.car-image {
  position: relative;
  width: 100%;
  height: 250px; /* adjust as per card */
  overflow: hidden;
  border-radius: 10px;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.car-slide {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Navigation buttons */
.slider .prev,
.slider .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 20px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
}

.slider .prev {
  left: 10px;
}

.slider .next {
  right: 10px;
}

.slider .prev:hover,
.slider .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: white;
}



