/* General styles */
body {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
  background: #1D5D9B; /* deep solid navy blue */
  transition: background 0.3s ease, padding 0.3s ease;
  padding: 15px 0;
}

.navbar.scrolled {
  background: #1D5D9B !important; /* stays solid navy on scroll */
  padding: 10px 0; /* shrink on scroll */
}

.navbar-brand img {
  height: 70px; /* bigger logo for visibility */
  transition: transform 0.3s ease, height 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05); /* subtle zoom on hover */
}

.navbar-nav .nav-link {
  color: #fff !important;
  margin: 0 12px; /* spacing between links */
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #FFD700 !important; /* gold/yellow hover */
}

/* Underline hover effect — Desktop only */
@media (min-width: 992px) {
  .navbar-nav .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s;
    margin: 0 auto;
  }

  .navbar-nav .nav-link:hover::after {
    width: 60%;
  }
}

/* Hero */
#home {
  color: #fff;
  position: relative;
  padding-top: 100px; /* space below navbar */
}

#home h1 {
  font-size: 3rem;
  font-weight: bold;
}

#home p {
  font-size: 1.25rem;
}

/* Hero underline accent */
#home .underline {
  width: 80px;
  height: 4px;
  background: #ffc107; /* Bootstrap warning color */
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #home {
    padding-top: 130px; /* extra space on smaller screens */
  }

  #home h1 {
    font-size: 2.2rem;
  }

  #home p {
    font-size: 1rem;
  }
}


/* Sections */
section {
  min-height: 80vh;
  padding: 60px 0;
}
/* 🔹 Quote Form Section */
#quote {
  background: #f8f9fa; /* light gray background */
}

#quote h2 {
  font-weight: 700;
  color: #003366; /* deep blue */
}

#quote form {
  background: #ffffff; /* white card */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

/* Labels */
#quote label {
  font-weight: 500;
  color: #333;
}

/* Inputs */
#quote input,
#quote textarea {
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#quote input:focus,
#quote textarea:focus {
  border-color: #003366; /* blue border */
  box-shadow: 0 0 6px rgba(0, 51, 102, 0.3);
  outline: none;
}

/* Checkboxes */
#quote .form-check-label {
  margin-right: 15px;
  font-weight: 400;
  color: #444;
}

#quote .form-check-input:checked {
  background-color: #003366;
  border-color: #003366;
}

/* Submit Button */
#quote button[type="submit"] {
  background-color: #ffc107; /* bootstrap warning yellow */
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 10px 30px;
  transition: all 0.3s ease;
}

#quote button[type="submit"]:hover {
  background-color: #e0a800; /* darker yellow */
  transform: scale(1.05);
}
/* Fade-in animation for form messages */
.fade-message {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.fade-message.show {
  opacity: 1;
}
/* Fleet Section */
#fleet {
  background: linear-gradient(135deg, #111, #222);
  padding: 70px 0;
}

/* Fleet Card with Glassmorphism */
.fleet-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.fleet-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.fleet-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: filter 0.3s ease;
}
.fleet-card:hover .fleet-img {
  filter: brightness(110%);
}

/* Sleek Glass Overlay */
.fleet-overlay {
  position: absolute;
  bottom: 15px; /* lift slightly above bottom */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  color: #fff;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.fleet-overlay h5 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}
.fleet-overlay p {
  font-size: 0.9rem;
  color: #ffc107;
  margin: 3px 0 0;
}

/* Custom Arrows */
.custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 5;
}
.custom-arrow i {
  font-size: 1.5rem;
}
.custom-arrow:hover {
  background: #ffc107;
  color: #000;
  transform: translateY(-50%) scale(1.15);
}

/* Adjust margins */
.carousel-control-prev {
  left: 20px;   /* add margin from left edge */
}
.carousel-control-next {
  right: 20px;  /* add margin from right edge */
}


/* Responsive Fixes */
@media (max-width: 991px) {
  .carousel-control-prev { left: -40px; }
  .carousel-control-next { right: -40px; }
}
@media (max-width: 767px) {
  .custom-arrow {
    width: 50px;
    height: 50px;
  }
  .carousel-control-prev { left: -20px; }
  .carousel-control-next { right: -20px; }
}
@media (max-width: 480px) {
  .fleet-overlay h5 { font-size: 1.2rem; }
  .fleet-overlay p { font-size: 0.85rem; }
}
/* Glassmorphism Modal */
.glass-modal {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
  animation: fadeInUp 0.4s ease;
}

/* Modal Title */
.glass-modal .modal-title {
  font-size: 1.5rem;
  color: #ffc107;
  letter-spacing: 1px;
}

/* Close Button */
.btn-close-white {
  filter: invert(1);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.btn-close-white:hover {
  opacity: 1;
}

/* Car Card */
.car-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.car-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
}

/* Car Image */
.car-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.car-card:hover .car-img {
  transform: scale(1.05);
}

/* Responsive Grid */
@media (max-width: 768px) {
  .glass-modal {
    margin: 10px;
  }
  .glass-modal .modal-title {
    font-size: 1.2rem;
  }
}
@media (max-width: 480px) {
  .car-card {
    padding: 10px;
  }
  .car-img {
    aspect-ratio: 4/3;
  }
}

/* Modal Entrance Animation */
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* Mission Cards */
.mission-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%; /* ensures equal height in grid */
}
.mission-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* Icons */
.icon-wrapper {
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}
.icon-wrapper i {
  font-size: 2rem; /* scalable icon */
}

/* Button */
.btn-mission {
  background: #ffc107;
  color: #000;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-mission:hover {
  background: #000;
  color: #ffc107;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .mission-card {
    padding: 20px;
  }
  .icon-wrapper {
    width: 65px;
    height: 65px;
  }
  .icon-wrapper i {
    font-size: 1.5rem;
  }
  .btn-mission {
    padding: 8px 18px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .mission-card {
    padding: 15px;
    border-radius: 15px;
  }
  .icon-wrapper {
    width: 55px;
    height: 55px;
  }
  .icon-wrapper i {
    font-size: 1.2rem;
  }
  .btn-mission {
    width: 100%; /* full width on small screens */
    font-size: 0.85rem;
    padding: 8px 15px;
  }
}
/* Service Cards */
.service-icon {
  font-size: 3rem; /* Bigger icons */
  margin-bottom: 15px;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect */
.service-card:hover .service-icon {
  transform: scale(1.2);
}

/* Icon-specific colors */
.service-icon.corporate {
  color: #007bff; /* Blue for corporate */
}
.service-icon.selfdrive {
  color: #28a745; /* Green for self drive */
}
.service-icon.chauffeur {
  color: #ffc107; /* Gold for chauffeur */
}
.service-icon.security {
  color: #dc3545; /* Red for security */
}

/* Offroad Section */
.offroad-section {
  background: linear-gradient(135deg, #000 60%, #333 100%);
  border: 1px solid rgba(255,255,255,0.15);
}
.offroad-section h3 {
  font-size: 2rem;
}
.offroad-section .highlight {
  color: #ffc107;
  text-shadow: 0 0 8px rgba(255,193,7,0.7);
}

/* Image Collage */
.offroad-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.collage-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}
.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.collage-item:hover img {
  transform: scale(1.08);
}
.collage-item.tall {
  grid-row: span 2;
}
.collage-item.wide {
  grid-column: span 2;
}

/* Responsive */
@media (max-width: 768px) {
  .offroad-collage {
    grid-template-columns: 1fr;
  }
  .collage-item.tall,
  .collage-item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }
}
/* Brands Section */
#brands {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  position: relative;
}

#brands h2 {
  font-size: 2.5rem;
  color: #000; /* Changed to black */
}

/* Brand Cards */
.brand-card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
  width: 160px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  cursor: pointer;
}

.brand-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.4s ease;
}

.brand-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  background: rgba(255, 255, 255, 0.4);
}

.brand-card:hover img {
  filter: grayscale(0%) brightness(1);
}

/* Responsive */
@media (max-width: 768px) {
  .brand-card {
    width: 120px;
    height: 90px;
    padding: 15px;
  }
  .brand-card img {
    max-height: 60px;
  }
}
/* About Section */
#about h2 {
  font-size: 2.5rem;
  color: #000;
}

.about-card {
  background: #fff;
  border-radius: 15px;
  padding: 15px 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-highlight {
  background: #ffc10715;
  border-left: 5px solid #ffc107;
  padding: 15px;
  border-radius: 10px;
}

/* Values Box */
.values-wrapper {
  background: rgba(255,255,255,0.7);
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.value-item {
  margin-bottom: 15px;
}
.value-item h6 {
  font-weight: bold;
  color: #000;
}

/* Mission Box */
.mission-box {
  background: #000;
  color: #fff;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}
.mission-box h5 {
  color: #ffc107;
}

/* Offices */
.office-pill {
  background: #ffc107;
  color: #000;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.office-pill:hover {
  background: #000;
  color: #ffc107;
}
/* Responsive Fixes */
@media (max-width: 992px) {
  #about h2 {
    font-size: 2rem;
    text-align: center;
  }
  .about-card {
    text-align: center;
  }
  .values-wrapper, .mission-box {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  #about h2 {
    font-size: 1.8rem;
  }
  .about-card h5 {
    font-size: 1rem;
  }
  .about-card p {
    font-size: 0.9rem;
  }
  .value-item h6 {
    font-size: 1rem;
  }
  .value-item p {
    font-size: 0.9rem;
  }
  .office-pill {
    font-size: 0.85rem;
    padding: 8px 15px;
  }
}

@media (max-width: 576px) {
  #about h2 {
    font-size: 1.5rem;
  }
  .mission-box {
    padding: 15px;
  }
  .office-pill {
    width: 100%;
    text-align: center;
  }
}
/* Contact Section */
#contact {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  position: relative;
}

#contact h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 40px;
  position: relative;
}
#contact h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #ffc107;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Map */
#contact .map iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 0;
}

/* Contact Form */
#contact form {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#contact form:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Inputs */
#contact .form-control {
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
}
#contact .form-control:focus {
  border-color: #ffc107;
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.3);
  outline: none;
}

/* Button */
#contact .btn {
  background: #ffc107;
  color: #000;
  font-weight: 600;
  border-radius: 30px;
  padding: 12px 25px;
  transition: all 0.3s ease;
}
#contact .btn:hover {
  background: #000;
  color: #ffc107;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Message Box */
#contact #contactMessage {
  margin-top: 15px;
}

/* Responsive */
@media (max-width: 991px) {
  #contact .map iframe {
    min-height: 250px;
    margin-bottom: 20px;
  }
  #contact form {
    padding: 20px;
  }
}
/* Footer */
#footer {
  background: #1D5D9B !important;
  color: #fff;
  position: relative;
  border-top: 2px solid rgba(255,255,255,0.1);
}

#footer .footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffc107;
}

#footer p {
  margin: 0;
}

/* Quick Links */
#footer .footer-links a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}
#footer .footer-links a:hover {
  color: #ffc107;
}

/* Social Icons */
#footer .social-icons a {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}
#footer .social-icons a:hover {
  background: #ffc107;
  color: #000;
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(255,193,7,0.3);
}

/* Bottom Bar */
#footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  #footer .footer-links {
    flex-direction: column;
    gap: 10px;
  }
  #footer .social-icons {
    justify-content: center;
  }
}
