/* --------------------
   GLOBAL RESET
-------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: #f4f9f9;
  color: #333;
  line-height: 1.5;
}

/* --------------------
   HEADER
-------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.company-logo img {
  height: 60px;
  width: auto;
  display: block;
}

.navbar {
  display: flex;
  gap: 14px;
}

.navbar a {
  text-decoration: none;
  color: #1fa113;
  font-weight: 650;
  font-size: 16px;
  transition: color 0.2s ease;
}

.navbar a:hover {
  color: #135578;
}

/* HERO / BANNER */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;                              /* full screen height */
  background: url("assets/logo Banner.jpeg") no-repeat center center;
  background-size: cover;                     /* fills screen on desktop */
  display: flex;
  align-items: flex-end;                       /* push text to bottom */
  justify-content: flex-end;                 /* push text to left */
  padding: 2px 100px;                           /* spacing from edges */
  box-sizing: border-box;
}

/* HERO TEXT */
.hero-text {
  color: rgb(17, 123, 20);
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.hero-text p a {
  font-size: 1.2rem;
  text-decoration: none;
  background: rgba(0,128,0,0.7);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  display: inline-block;
  transition: background 0.3s ease;
}

.hero-text p a:hover {
  background: rgba(0,128,0,0.9);
}

/* --------------------
   RESPONSIVE
-------------------- */

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    height: 80vh;
    background-position: center center;
    background-size: cover;
  }
  .hero-text h1 {
    font-size: 0.8rem;
  }
  .hero-text p a {
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    background-position: center center;
    background-size: cover;
    padding: 40px 20px;
    justify-content: center;          /* center horizontally */
    align-items: flex-end;            /* keep text at bottom */
    text-align: center;               /* center text */
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero {
    height: 60vh;
    background-size: contain;          /* show the full image */
    background-repeat: no-repeat;
    background-position: center center;
    padding: 20px 15px;
  }

  .hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .hero-text p a {
    font-size: 0.95rem;
    padding: 6px 14px;
  }
}


/* Section Layout */
.logistics-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.logistics-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: center;
}

/* Slider (Left Side) */
.slider-container {
  position: relative;
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
  background: #f9f9f9;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
}

/* Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 15px;
  color: rgb(92, 85, 85);
  font-size: 20px;
  border-radius: 50%;
  /* background: rgba(0, 0, 0, 0.279); */
  transform: translateY(-50%);
  user-select: none;
  transition: background 0.2s ease;
}

/* .prev:hover, .next:hover {
  background: rgba(0, 0, 0, 0.8);
} */

.prev { left: 10px; }
.next { right: 10px; }

/* Dots */
.dots {
  text-align: center;
  padding: 10px 0;
  background: #f9f9f9;
}

.dot {
  cursor: pointer;
  height: 7px;
  width: 7px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: #1b2a49;
}

/* Right Side Text */
.logistics-text {
  flex: 1;
}

.logistics-text h2 {
  font-size: 28px;
  color: #76077a;
  margin-bottom: 15px;
}

.logistics-text p {
  margin-bottom: 13px;
  color: #682f03;
  line-height: 1.6;
}

.explore-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #338f31;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.explore-btn:hover {
  background: #0e172a;
}

/* Fade Animation */
@keyframes fade {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .logistics-container {
    flex-direction: column;
  }
  .slide img {
    height: 250px;
  }
}


/* =========================
   CARDS LAYOUT
========================= */
.cards-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px 20px;
  background: #f4f9f9;
}

/* Card Box */
.service-card {
  flex: 1 1 250px;                  /* Flexible but minimum width 250px */
  max-width: 280px;                 /* Standard width for all cards */
  min-height: 300px;                /* Fixed minimum height to keep consistent */
  height: auto;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 20px;             /* Padding for text space */
}

/* Overlay for readability */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Hover Effect */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Card Header */
.service-card .card-header {
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 12px;
  margin: 10px;
  border-radius: 6px;
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
}

/* Card Text & Bullet Points */
.service-card .card-overlay {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  line-height: 1.5;
  padding: 10px 20px;
  text-align: left;
  flex-grow: 1;                     /* Keeps content aligned at top */
}

.service-card p,
.service-card ul {
  font-size: 0.95rem;
  color: #fdfdfd;
  margin-bottom: 8px;
}

.service-card ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 10px;
}

.service-card ul li {
  margin-bottom: 5px;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Background color accents (fallback) */
.rentals   { background-color: #47a9f8; }
.first-mile{ background-color: #71f778; }
.last-mile { background-color: #6291ef; }
.warehouse { background-color: #ee8645; }

/* =========================
   RESPONSIVE STYLING
========================= */

/* Tablet screens */
@media (max-width: 1024px) {
  .service-card {
    flex: 1 1 45%;                  /* 2 cards per row on tablets */
    max-width: 100%;
    min-height: 300px;              /* Keep card height same */
  }
}

/* Mobile screens */
@media (max-width: 600px) {
  .cards-section {
    flex-direction: column;         /* Stack cards vertically */
    align-items: center;
    gap: 25px;
  }

  .service-card {
    width: 85%;                     /* Wider cards on mobile */
    max-width: 320px;                /* Consistent max size */
    min-height: 250px;               /* Same height as laptop */
  }

  .service-card .card-header {
    font-size: 1rem;
  }

  .service-card .card-overlay {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  .service-card ul li {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Associates */
#associates {
  padding: 50px 20px;
  text-align: center;
  background: #fff;
}

#associates h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #320c7d;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.logo-grid img {
  width: 100px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}



/* Clients */
#Clients {
  padding: 50px 20px;
  text-align: center;
  background: #fff;
}

#Clients h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #0e7018;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 5px;
  justify-items: center;
  align-items: center;
}

.logo-grid img {
  width: 130px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}


.logo-grid img:hover {
  transform: scale(1.1);
}

/* Footer */
.site-footer {
  background: #100f10;  /* dark background */
  color: #fefdfd;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-logo img {
  height: 60px;
   filter: brightness(2) invert(1); /* make dark logo white-like */
}



.footer-links {
  display: flex;
  gap: 60px;
}

.footer-column a {
  display: block;
  color: #ede6e6;
  margin-bottom: 6px;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #00d084; /* modern green hover */
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;     /* square with soft corners */
  background: #ffffff;    /* white background */
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: #000000;         /* black icon inside */
  transition: fill 0.3s ease;
}

.footer-social a:hover {
  background: #00d084;   /* green hover */
}

.footer-social a:hover svg {
  fill: #ffffff;         /* white icon on hover */
}


.footer-bottom {
  text-align: center;
  margin-top: 10px;
  padding-top: 12px;
  /* border-top: 1px solid #333; */
  color: #ebe5e5;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 25px;
    margin: 20px 0;
  }
  .footer-social {
    margin-top: 15px;
  }
}



/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  line-height: 1.6;
  background: #f4f9f9;
  color: #333;
}


/* Header */
.rental-header {
  display: flex;
  justify-content: space-between;  /* Logo on left, nav on right */
  align-items: center;             /* Vertically center logo and links */
  padding: 10px 40px;              /* Add even spacing around header */
  position: absolute;              /* Overlay on banner */
  width: 100%;
  top: 0;
  z-index: 10;
  background: transparent;         /* No background so banner is visible */
}

/* Logo */
.company-logos img {
  height: 40px;                     /* Adjust logo size */
  width: auto;
  display: block;
}

/* Navigation Links */
header nav a {
  color: #31a70d;                   /* Green text color */
  text-decoration: none;
  margin-left: 25px;                /* Space between links */
  font-weight: 750;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

header nav a:hover {
  color: #135578;                   /* Blue hover effect */
}




/* =========================
   HERO BANNER
========================= */
.hero-banner {
  position: relative;
  width: 100%;
  height: 135vh;                                   /* full screen height */
  background: url("assets/reantal.banner\ .png") no-repeat center center;
  background-size: cover;                          /* scales nicely on desktop/tablet */
  display: flex;
  align-items: flex-end;                           /* keep text at bottom */
  justify-content: flex-end;                       /* text on right side */
  padding: 40px;                                    /* space from edges */
  color: rgb(17, 123, 20);
  box-sizing: border-box;
}

/* Text inside banner */
.banner-content {
  background: rgba(0, 0, 0, 0.35);                  /* slight overlay for readability */
  padding: 20px 25px;
  border-radius: 8px;
  max-width: 420px;
  text-align: right;
}

.banner-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.banner-content p {
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: #f0f0f0;
}

.banner-content button {
  background: #fbc02d;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  color: #333;
  transition: background 0.3s ease;
}

.banner-content button:hover {
  background: #ffa000;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

/* Tablet screens */
@media (max-width: 768px) {
  .hero-banner {
    height: 70vh;                                   /* slightly smaller */
    justify-content: center;                        /* center text horizontally */
    align-items: flex-end;                           /* still bottom */
    background-size: cover;                          /* keep good scale */
    background-position: center center;
    padding: 20px;
  }

  .banner-content {
    text-align: center;                              /* center text for tablet */
    max-width: 90%;
    background: rgba(0, 0, 0, 0.4);
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .banner-content button {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

/* Mobile screens */
@media (max-width: 480px) {
  .hero-banner {
    height: 60vh;                                    /* smaller height for phones */
    background-size: contain;                        /* show full image */
    background-repeat: no-repeat;
    background-position: center center;
    justify-content: center;                          /* center text horizontally */
    align-items: flex-end;                             /* bottom aligned text */
    padding: 15px;
  }

  .banner-content {
    background: rgba(0, 0, 0, 0.4);
    text-align: center;
    padding: 15px 18px;
  }

  .banner-content h1 {
    font-size: 1.6rem;
  }

  .banner-content p {
    font-size: 0.9rem;
  }

  .banner-content button {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}


/* About Section */
.about-rental {
  padding: 40px 60px;
  text-align: center;
  background: linear-gradient(135deg,#90caf9,#e3f2fd);
}

.about-rental h1 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #0d1b2a;
}

.about-rental p {
  max-width: 800px;
  margin: auto;
  font-size: 17px;
  line-height: 1.8;
}



/* ========================
   FLEET SECTION
======================== */
.fleet-modern {
  padding: 50px 20px;
  text-align: center;
}

.fleet-modern h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #00796b;
}

/* Grid Layout */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);   /* 5 columns on large screens */
  gap: 25px;
  justify-items: center;
}

.oval-card {
  background: #fff;
  border-radius: 55px;
  padding: 20px;
  text-align: center;
  width: 220px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.oval-card:hover {
  transform: translateY(-5px);
}

.oval-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 70%;
  margin-bottom: 12px;
  border: 3px solid #00796b;
}

.oval-card h4 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #00796b;
}

.oval-card button {
  background: #00796b;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.oval-card button:hover {
  background: #004d40;
}

/* ========================
   RESPONSIVE DESIGN
======================== */

/* Medium Screens: 3 cards per row */
@media (max-width: 1024px) {
  .fleet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets: 2 cards per row */
@media (max-width: 768px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 card per row */
@media (max-width: 480px) {
  .fleet-grid {
    grid-template-columns: 1fr;
  }

  .oval-card {
    width: 80%; /* wider card on phones */
  }

  .oval-card img {
    width: 130px;
    height: 130px;
  }
}


/* Rental Options */
.rental-modern {
  padding: 60px 20px;
  text-align: center;
}

.rental-modern h2 {
  font-size: 34px;
  margin-bottom: 35px;
  color: #0d253f;
  
}

.rental-options {
  display: flex;
  justify-content: center;
  gap: 35px;
  flex-wrap: wrap;
  text-align: center;
}

.large-card {
  background: #d79cf75d;
  border-radius: 20px;
  padding: 30px;
  width: 330px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  text-align: left;
  transition: 0.3s;
}

.large-card:hover { transform: scale(1.05); }

.large-card h3 {
  font-size: 24px;
  color: #e65100;
  margin-bottom: 10px;
  
}

.large-card p, .large-card ul {
  font-size: 16px;
  color: #444;
}

/* Enquiry Buttons inside More Enquire */
.enquiry-buttons {
  margin-top: 15px;
  text-align: center;
}

.enquiry-buttons button {
  background: #fbc02d;
  border: none;
  padding: 8px 16px;
  margin: 0 8px;
  border-radius: 8px;
  cursor: pointer;
}

.enquiry-buttons button:hover { background: #f9a825; }

.contact-info {
  display: none;
  margin-top: 12px;
  font-size: 15px;
  color: #333;
}

/* Booking Form */
.booking-form-modern {
  padding: 60px 20px;
  text-align: center;
}

.booking-form-modern h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

.booking-form-modern form {
  max-width: 350px;
  margin: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ede7f6;
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.form-row input, .form-row select {
  padding: 12px;
  font-size: 15px;
  border: 1px solid #b39ddb;
  border-radius: 10px;
}

.booking-form-modern button {
  background: #4527a0;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.booking-form-modern button:hover { background: #1b923d; }


/* Enquiry Modern */
.enquiry-modern { padding:45px 20px; text-align:center; background:#fffde7; }
.enquiry-modern h2 { font-size:28px; color:#f57f17; margin-bottom:10px; }
.enquiry-buttons button {
  background:#fbc02d; color:#fff; border:none; padding:10px 20px;
  margin:0 10px 15px 10px; border-radius:10px; font-weight:500; cursor:pointer; transition:0.3s;
}
.enquiry-buttons button:hover { background:#f9a825; }
.contact-info { display:none; margin-top:15px; font-size:20px; color:#333; } */



/* Footer */
footer {
  background:#0d253f; color:#fff; text-align:center; padding:15px 10px; font-size:14px;
}

/* Responsive */
@media (max-width:768px) {
  .rental-options { flex-direction:column; align-items:center; }
  .fleet-grid { grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); }
}



/* Eco-friendly link in Hero */
.eco-link {
  color: #0a7822;            /* purple */
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2rem;
}
.eco-link:hover {
  color: #8e24aa;            /* lighter purple on hover */
}

/* Eco-Friendly Page */
.eco-friendly, .about-us {
  padding: 60px 12%;
  background: #f4f9f9;
  color: #333;
}
.eco-friendly h1, .about-us h1 {
  font-size: 2rem;
  color: #4CAF50;
  margin-bottom: 20px;
}
.eco-friendly h2, .about-us h2 {
  margin-top: 25px;
  color: #6a1b9a;
}
.eco-friendly ul, .about-us ul {
  margin-top: 15px;
  line-height: 1.8;
}
.eco-friendly p, .about-us p {
  margin-top: 15px;
  font-size: 1rem;
}

/* html {
  scroll-behavior: smooth;
} */

/* Header */
.eco-header {
  display: flex;
  justify-content: space-between;
  align-items: top;
  padding: 5px 15px;
  background: transparent;  /* transparent to show banner */
}
header nav a {
  text-decoration: none;
  color: #0b8a16;
  margin-left: 20px;
  font-weight: 500;
}
header nav a.active {
  color: #1d191f;
  font-weight: 600;
}
