* { box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { margin: 0; background: #fff; color: #222; }


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


header { border-bottom: 1px solid #eee; }
.nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: bold; color: #16385e; }
nav a { margin-left: 20px; text-decoration: none; color: #16385e; font-weight: 500; }


.hero { background: #f7f7f7; padding: 80px 20px; text-align: center; }
.hero h1 { color: #16385e; }


.section { padding: 60px 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 30px; }


.card { background: #fafafa; padding: 25px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }


.btn { display: inline-block; background: #a94a60; color: #fff; padding: 12px 25px; border-radius: 30px; text-decoration: none; border: none; cursor: pointer; }


.car-card { display: flex; gap: 30px; align-items: center; }
.car-card img { width: 320px; border-radius: 12px; }


footer { border-top: 1px solid #eee; padding: 30px 0; margin-top: 40px; }
.footer { display: flex; justify-content: space-between; }


input, textarea { width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 8px; border: 1px solid #ddd; }


.map iframe { width: 100%; height: 350px; border: 0; }


.whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: white;
  font-size: 32px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.whatsapp:hover {
  transform: scale(1.1);
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #16385e;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #a94a60;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}
/* HERO IMAGE SLIDER */

.hero-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
}

/* DARK OVERLAY */

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* HERO TEXT */

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 25px;
}
.section.light {
  background: #f9f9f9;
}
.btn {
  display: inline-block;
  background: #a94a60;
  color: #fff;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* BUTTON HOVER EFFECT */

.btn:hover {
  background: #8f3f52;        /* slightly darker */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
/* FEATURES SECTION */

.features {
  background: #f6f7f9;
  padding: 80px 20px;
}

.center {
  text-align: center;
  margin-bottom: 50px;
  color: #16385e;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.feature-box {
  background: white;
  padding: 35px 25px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.feature-box i {
  font-size: 38px;
  color: #a94a60;
  margin-bottom: 20px;
}

.feature-box h3 {
  margin-bottom: 10px;
  color: #16385e;
}

.feature-box p {
  font-size: 15px;
  color: #555;
}

/* HOVER EFFECT */

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}
/* Make welcome section single column look better */

.section .grid {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: auto;
}
.section {
  padding: 45px 20px;
}

.features {
  padding: 55px 20px;
}

.section.light {
  padding: 45px 20px;
}
/* FOOTER DESIGN */

.site-footer {
  background: #16385e;
  color: #fff;
  padding: 60px 0 0;
  margin-top: 0;
  width: 100%;
}


.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  padding-bottom: 40px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 15px;
}

.site-footer p {
  color: #ddd;
  font-size: 15px;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

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

.footer-links a:hover {
  color: #a94a60;
}

.site-footer i {
  color: #a94a60;
  margin-right: 8px;
}

/* BOTTOM BAR */

.footer-bottom {
  background: #0f2c4a;
  width: 100%;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  color: #ccc;
}

/* Remove extra space before footer */
.section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 40px;
}
body {
  margin: 0;
}
/* Reduce spacing between sections */
.section {
  padding: 40px 20px; /* previously 45-60px, now slightly smaller */
}

.features {
  padding: 10px 20px; /* previously 55-80px, now smaller */
}

/* Facilities section boxes like features grid */
.section .facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* small boxes, multiple per row */
  gap: 30px;
}

/* Optional: Make facility cards a bit smaller */
.section .facilities-grid .card {
  padding: 20px;
  text-align: center;
  font-size: 15px;
}

/* Facilities icons bigger */
.section .facilities-grid .card i {
  font-size: 36px;
  color: #a94a60;
  margin-bottom: 15px;
}
/* Showroom car cards */
.showroom-car {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.showroom-car:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Car image gallery inside card */
.showroom-car .car-images {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-bottom: 15px;
  scrollbar-width: thin;
}

.showroom-car .car-images img {
  width: 100px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.showroom-car .car-images img:hover {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .showroom-car .car-images img {
    width: 80px;
    height: 60px;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
/* Car cards styling */
.car-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  gap: 15px;
  text-align: center;
}

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

/* Image border */
.car-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border: 3px solid #a94a60;
  border-radius: 10px;
}

/* Pagination buttons */
.pagination-btn {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 15px;
  background: #a94a60;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.pagination-btn.active, .pagination-btn:hover {
  background: #8f3f52;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Uniform car card */
.car-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 470px;           /* same height for all cards */
  width: 100%;             /* full width in grid column */
}

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

/* Image fixed size */
.car-card img {
  width: 100%;
  height: 180px;           /* fixed height for all images */
  object-fit: cover;
  border: 3px solid #a94a60;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Card title */
.car-card h3 {
  margin: 5px 0;
  font-size: 18px;
  font-weight: bold;
}

/* Description with max lines */
.car-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;       /* show max 3 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;                /* pushes button to bottom */
}

/* Button always at bottom */
.car-card .btn {
  margin-top: auto;            /* bottom aligned */
  width: 80%;
}
.car-card .btn {
  margin-top: -10px;       /* instead of auto */
}
.car-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  height: 450px;   /* optional: keep same height */
  width: 100%;
}

.car-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px; /* reduce gap */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 0;  /* remove extra space pushing button down */
}

.car-card .btn {
  margin-top: 5px;  /* small gap from description */
  width: 80%;
}
/* Main heading in showroom section */
.section.light h2.center {
  font-size: 36px;      /* bigger size */
  margin-bottom: 10px;  /* reduce space below heading */
  margin-top: 0;        /* move upward */
  color: #16385e;
  font-weight: bold;
}

/* Subtext below the heading */
.section.light p.center {
  font-size: 16px;      /* slightly bigger for readability */
  margin-bottom: 20px;  /* reduce gap below paragraph */
  line-height: 1.4;     /* make lines closer */
}
/* SERVICES HERO */
.services-hero h2 {
  font-size: 36px;
  color: #16385e;
  margin-bottom: 10px;
}

.services-hero p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* SERVICE CARDS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.feature-box {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.feature-box i {
  font-size: 40px;
  color: #a94a60;
  margin-bottom: 15px;
}

.feature-box h3 {
  margin-bottom: 10px;
  color: #16385e;
  font-size: 18px;
}

.feature-box p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* WHY CHOOSE US */
.why-choose {
  margin-top: 60px;
}

.why-choose h2 {
  font-size: 32px;
  color: #16385e;
  margin-bottom: 15px;
}

.why-choose p {
  font-size: 15px;
  color: #555;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
}

.facilities-grid .card {
  background: #fff;
  padding: 25px 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.facilities-grid .card i {
  font-size: 36px;
  color: #a94a60;
  margin-bottom: 10px;
}

.facilities-grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-grid, .facilities-grid {
    grid-template-columns: 1fr;
  }
}
.facilities-grid .card {
  display: flex;
  flex-direction: column; /* Stack icon and text vertically */
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 25px 15px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  gap: 10px; /* space between icon and text */
}

.facilities-grid .card i {
  font-size: 36px;
  color: #a94a60;
}

.facilities-grid .card p {
  margin: 0;
  font-size: 15px;
  color: #16385e;
  font-weight: 500;
}
/* CONTACT PAGE BODY */
.section.grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns: info + form */
  gap: 40px;
  align-items: start;
  padding: 60px 20px;
}

.section.grid h2 {
  font-size: 36px;
  color: #16385e;
  margin-bottom: 20px;
}

.section.grid p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}

/* Contact Form */
form.card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form.card h3 {
  color: #16385e;
  font-size: 24px;
  margin-bottom: 15px;
}

form.card input,
form.card textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 15px;
  width: 100%;
  transition: border 0.3s ease;
}

form.card input:focus,
form.card textarea:focus {
  border-color: #a94a60;
  outline: none;
}

form.card button.btn {
  background: #a94a60;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

form.card button.btn:hover {
  background: #8f3f52;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .section.grid {
    grid-template-columns: 1fr; /* stack on smaller screens */
    gap: 30px;
  }
}
/* CONTACT SECTION */
.contact-section {
  padding: 60px 20px;
  background: #f9f9f9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  background: #fff;
  padding: 35px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-info h2 {
  font-size: 32px;
  color: #16385e;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form {
  background: #fff;
  padding: 35px 25px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form h3 {
  font-size: 26px;
  color: #16385e;
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  width: 100%;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #a94a60;
  outline: none;
}

.contact-form button.btn {
  background: #a94a60;
  color: #fff;
  padding: 14px 25px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}

.contact-form button.btn:hover {
  background: #8f3f52;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* MAP SECTION */
.map-section {
  padding: 50px 20px;
  background: #f9f9f9;
  color: #fff;
  text-align: center;
}

.map-section h2 {
  font-size: 32px;
  color: #000;
  margin-bottom: 25px;
}

.map-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.3);
  border: 4px solid #a94a60;
}

.map-card iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .map-card iframe {
    height: 300px;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px; /* reduced gap from 40px to 30px */
  align-items: stretch; /* make children equal height */
}
.contact-info,
.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* keeps content at top */
  height: 100%; /* fill the parent grid column */
}
.section.contact-section {
  padding: 40px 20px; /* reduced from 60px */
}

.map-section {
  padding:10px 20px; /* reduced from 50px */
}
.contact-info,
.contact-form {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* pushes content evenly */
  height: 100%;
}
/* --- GLOBAL RESPONSIVE TYPOGRAPHY & PADDING --- */
html {
  font-size: 16px; /* base size */
}

body {
  font-size: 1rem; /* scales with html */
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  line-height: 1.2;
}

/* Fluid font scaling for headings */
h1 { font-size: clamp(28px, 4vw, 42px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: clamp(18px, 2.5vw, 24px); }
h5 { font-size: clamp(16px, 2vw, 20px); }

/* Fluid padding for sections */
.section {
  padding: clamp(30px, 5vw, 60px) 20px;
}

.features, .facilities-grid, .showroom-car {
  padding: clamp(20px, 5vw, 60px) 20px;
}

/* --- HERO SECTION RESPONSIVE --- */
.hero {
  padding: clamp(60px, 10vw, 120px) 20px;
}

.hero-content h1 {
  font-size: clamp(28px, 6vw, 42px);
}

.hero-content p {
  font-size: clamp(14px, 3vw, 18px);
}

/* --- NAVIGATION --- */
nav a {
  font-size: clamp(14px, 3vw, 16px);
}

/* --- CARDS & SHOWROOM --- */
.car-card, .showroom-car, .feature-box, .facilities-grid .card {
  height: auto; /* remove fixed height for better scaling */
  padding: clamp(15px, 3vw, 30px);
}

.car-card img {
  width: 100%;
  height: auto; /* auto height for mobile */
  max-height: 220px; /* optional max height */
}

.showroom-car .car-images img {
  width: clamp(60px, 12vw, 100px);
  height: clamp(50px, 10vw, 70px);
}

/* Buttons scale */
.btn {
  padding: clamp(10px, 2.5vw, 14px) clamp(20px, 5vw, 30px);
  font-size: clamp(14px, 3vw, 16px);
}

/* --- CONTACT SECTION --- */
.contact-grid {
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 5vw, 40px);
}

.contact-info, .contact-form {
  padding: clamp(20px, 5vw, 35px);
}

/* --- MAP SECTION --- */
.map-card iframe {
  height: clamp(250px, 35vw, 400px);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1200px) {
  .grid, .features-grid, .facilities-grid, .services-grid {
    gap: 25px;
  }
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .car-card img {
    max-height: 200px;
  }

  .showroom-car .car-images img {
    width: 80px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 50px 15px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .hero {
    padding: 40px 10px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 14px;
  }

  nav a {
    font-size: 13px;
    margin-left: 15px;
  }

  .car-card img, .showroom-car .car-images img {
    height: auto;
    width: 100%;
  }

  .btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}

