/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: black;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
}
/* ===== HEADER ===== */
.header {
  position: fixed; /* ✅ keep fixed for blend + scroll effect */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: transparent; /* ✅ fully transparent initially */
  padding: 15px 70px;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

/* When scrolled, header becomes solid */
.header.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ===== HEADER CONTAINER ===== */
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  height: 80px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
}

.navbar ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 25px;
  margin: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #ffcc6b;
}

/* ===== CALL BUTTON ===== */
.call-btn {
  background: #e7862b;
  color: white;
  padding: 10px 22px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.call-btn:hover {
  background: #ff9933;
  transform: scale(1.05);
}

/* ===== HAMBURGER (mobile) ===== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 0; /* ✅ header overlaps, no gap */
  background: #000;
}

.hero-slider::before {
  content: "";
  display: block;
  padding-top: 45%; /* aspect ratio, controls height */
}

/* Each slide stacked */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Image fills naturally */
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  user-select: none;
}

/* Overlay for contrast */
.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.3));
  z-index: 2;
  pointer-events: none;
}


/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 1200px) { .hero-slider::before { padding-top: 50%; } }
@media (max-width: 992px)  { .hero-slider::before { padding-top: 55%; } }
@media (max-width: 768px)  { .hero-slider::before { padding-top: 60%; } }
@media (max-width: 576px)  { .hero-slider::before { padding-top: 70%; } }
/* === HERO TO ABOUT BLEND === */
.hero-bottom-blend {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px; /* adjust height of the fade */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 100%);
  z-index: 3; /* above image but below any text */
  pointer-events: none;
}


/* ===== ABOUT SECTION ===== */
.about {
  padding: 100px 80px;
  background: black;
}

.about .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 50px;
  margin-top: -60px;
}

.about-content {
  flex: 1 1 45%;
}

.about-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 20px;
  position: relative;
}

.about-content h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #e7862b;
  display: block;
  margin-top: 8px;
}

.about-content p {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 25px;
}

.about-content .btn {
  background: #e7862b;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.about-content .btn:hover {
  background: #ff9933;
  transform: translateY(-3px);
}

.about-image {
  flex: 1 1 45%;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .about {
    padding: 80px 50px;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }

  .about-content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 70px 30px;
  }

  .about .container {
    flex-direction: column;
    margin-top: 0;
    text-align: center;
  }

  .about-content,
  .about-image {
    flex: 1 1 100%;
  }

  .about-content h2::after {
    margin: 10px auto 0;
  }

  .about-content p {
    color: #ccc;
    max-width: 90%;
    margin: 0 auto 25px;
  }

  .about-image img {
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .about {
    padding: 60px 20px;
  }

  .about-content h2 {
    font-size: 1.9rem;
  }

  .about-content p {
    font-size: 0.95rem;
  }

  .about-content .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  .about-image img {
    width: 100%;
  }
}
/* ===== PRICING SECTION ===== */
.pricing {
  position: relative;
  background: url("/assets/galaxycabs_ride4.png") center center / cover fixed no-repeat;
  padding: 120px 8% 80px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  margin-bottom: 0;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.6));
  backdrop-filter: blur(6px);
  z-index: 1;
}

/* ===== HEADING ===== */
.pricing h2 {
  font-size: 2.8rem;
  margin-bottom: 60px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f9f7f4;
  position: relative;
  z-index: 2;
  margin-top: -90px;
}

.pricing h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #d2bba3;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== CONTAINER GRID ===== */
.pricing-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
  position: relative;
  z-index: 2;
}

/* ===== PRICE BOX ===== */
.price-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 40px 30px;
  width: 100%;
  max-width: 340px;
  min-height: 360px;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  text-align: left;
}

.price-box:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
}

.price-box h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.5;
}

.price-box p {
  font-size: 1rem;
  color: #f5f5f5;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 10px;
}

.price-box .highlight {
  color: #ffd8b0;
  font-weight: 500;
  margin-top: 10px;
}

/* ===== FEATURED BOX ===== */
.featured {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
}

/* ===== BUTTON ===== */
.price-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 26px;
  background: linear-gradient(90deg, #b43b2a, #a02f1d);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-weight: 500;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.price-btn:hover {
  background: linear-gradient(90deg, #d4472f, #b93b27);
  transform: scale(1.07);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet: 2 per row */
@media (max-width: 1024px) {
  .pricing h2 {
    font-size: 2.4rem;
    margin-top: -70px;
  }

  .pricing-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .price-box {
    text-align: center;
    padding: 35px 25px;
  }
}

/* Mobile: 1 per row */
@media (max-width: 600px) {
  .pricing {
    padding: 80px 5% 60px;
  }

  .pricing h2 {
    font-size: 1.9rem;
    margin-top: -60px;
  }

  .pricing-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .price-box {
    max-width: 100%;
    text-align: center;
  }

  .price-box h3 {
    font-size: 1.2rem;
  }

  .price-box p {
    font-size: 0.95rem;
  }

  .price-btn {
    font-size: 0.95rem;
    padding: 9px 22px;
  }
}/* ===== WHY GALAXY SECTION ===== */
.why-galaxy {
  background: black;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  border-radius: 20px;
  margin: 60px auto;
  width: 90%;
  max-width: 1200px;
  min-height: 50vh;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  margin-top: -40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-galaxy h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.why-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
}

.why-box {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 25px 20px;
  flex: 1 1 220px;
  max-width: 250px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.why-icon {
  font-size: 40px;
  color: #ff0000;
  margin-bottom: 15px;
}

.why-box h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.why-box p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* ===== Responsive Design ===== */

/* Tablets */
@media (max-width: 992px) {
  .why-galaxy {
    padding: 50px 15px;
    min-height: auto;
  }
  .why-box {
    max-width: 220px;
    padding: 20px 15px;
  }
  .why-icon {
    font-size: 35px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .why-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .why-box {
    max-width: 300px;
    width: 100%;
    padding: 20px;
  }
  .why-galaxy h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }
  .why-icon {
    font-size: 32px;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .why-galaxy {
    padding: 40px 10px;
    border-radius: 0;
    width: 100%;
  }
  .why-box {
    max-width: 90%;
  }
  .why-box h4 {
    font-size: 1rem;
  }
  .why-box p {
    font-size: 0.85rem;
  }
}

/* ===== FLEET SECTION ===== */
.fleet {
  position: relative;
  padding: 100px 8%;
  color: #fff;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
  background: url("/assets/fleet-bg.jpg") center center / cover fixed no-repeat;
}

.fleet::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.6));
  z-index: 1;
}

/* ===== HEADING ===== */
.fleet h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #ffdd57;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
  margin-top: -90px;
}

.fleet h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: #ffdd57;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ===== GRID ===== */
.fleet-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  justify-items: center;
  position: relative;
  z-index: 2;
}

/* ===== INDIVIDUAL FLEET ITEM ===== */
.fleet-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.4s ease;
  max-width: 400px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.fleet-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  border-radius: 14px 14px 0 0;
}

/* ===== INFO SECTION (ALWAYS VISIBLE) ===== */
.fleet-info {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.6));
  color: #fff;
  padding: 18px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border-radius: 0 0 14px 14px;
}

.fleet-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffdd57;
  margin: 0;
}

.fleet-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #eaeaea;
  line-height: 1.4;
}

.fleet-info .price {
  font-weight: 700;
  color: #00ff99;
  font-size: 1rem;
}

/* ===== HOVER EFFECTS ===== */
.fleet-item:hover img {
  transform: scale(1.05);
}

.fleet-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets (2 per row) */
@media (max-width: 1024px) {
  .fleet-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .fleet h2 {
    font-size: 2.3rem;
    margin-top: -70px;
  }

  .fleet-item img {
    height: 220px;
  }

  .fleet-info h3 {
    font-size: 1.2rem;
  }

  .fleet-info p {
    font-size: 0.9rem;
  }
}

/* Mobiles (1 per row) */
@media (max-width: 600px) {
  .fleet {
    padding: 70px 5%;
  }

  .fleet h2 {
    font-size: 1.9rem;
    margin-top: -60px;
  }

  .fleet-gallery {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .fleet-item {
    max-width: 100%;
  }

  .fleet-item img {
    height: 200px;
  }

  .fleet-info h3 {
    font-size: 1.1rem;
  }

  .fleet-info p {
    font-size: 0.9rem;
  }
}
/* ===== SLIDER3 (Non-stop Horizontal Scroll) ===== */
.slider3 .fleet-gallery {
  overflow: hidden;
  position: relative;
}

.slider3 .fleet-track {
  display: flex;
  gap: 35px;
  width: max-content;
  animation: slide3 40s linear infinite;
}

@keyframes slide3 {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Maintain fleet-item styles */
.slider3 .fleet-item {
  flex: 0 0 auto;
  width: 350px;
}

/* Optional: Pause on hover */
.slider3 .fleet-track:hover {
  animation-play-state: paused;
}


/* ===== FOOTER ===== */
.footer {
  background: #111;
  color: #eee;
  text-align: center;
  padding: 25px 15px;
}

.footer a {
  color: #e7862b;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .header {
    padding: 15px 30px;
  }

  .navbar ul {
    gap: 20px;
  }

  .about {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 220px;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 20px;
    transition: 0.4s;
  }

  .navbar.active {
    right: 0;
  }

  .navbar ul {
    flex-direction: column;
    gap: 25px;
  }

  .call-btn {
    display: none;
  }

  .about .container {
    flex-direction: column;
  }

  .about-content,
  .about-image {
    flex: 1 1 100%;
  }

  .service-container,
  .pricing-container,
  .fleet-gallery {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .about,
  .services,
  .pricing,
  .fleet,
  .contact {
    padding: 60px 25px;
  }

  .about-content h2,
  .services h2,
  .pricing h2,
  .fleet h2,
  .contact h2 {
    font-size: 1.8rem;
  }
}
/* ===== COMFORT SECTION ===== */
.comfort-section {
  background: #000;
  color: #fff;
  padding: 90px 8%;
  text-align: center;
}

.comfort-section h2 {
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #ff6b00;
  display: inline-block;
  padding-bottom: 6px;
}

.comfort-line {
  width: 70px;
  height: 3px;
  background: #ff6b00;
  margin: 20px auto 50px;
  border-radius: 2px;
}

.comfort-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  justify-content: center;
  align-items: stretch;
}

.comfort-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  transition: all 0.3s ease;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.comfort-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.comfort-box i {
  font-size: 1.8rem;
  color: #ff6b00;
  flex-shrink: 0;
}

.comfort-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fff;
}

.comfort-box p {
  font-size: 0.95rem;
  color: #ccc;
  margin: 0;
  line-height: 1.4;
}

/* ===== RESPONSIVE ===== */

/* For tablets - 2 columns */
@media (max-width: 992px) {
  .comfort-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

/* For mobile - 1 column */
@media (max-width: 600px) {
  .comfort-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .comfort-section {
    padding: 60px 5%;
  }

  .comfort-section h2 {
    font-size: 1.8rem;
  }

  .comfort-box {
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }

  .comfort-box i {
    font-size: 1.5rem;
  }

  .comfort-box h3 {
    font-size: 1rem;
  }

  .comfort-box p {
    font-size: 0.9rem;
  }
}

/* ===== RIDE SECTION ===== */
.ride-section {
  background: #000;
  color: #fff;
  padding: 80px 8%;
  font-family: "Poppins", sans-serif;
  text-align: center;
  margin-top: -160px;
}

.ride-section .sub-heading {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 5px;
}

.ride-section h2 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #ff0000;
  margin-bottom: 15px;
}

.ride-line {
  width: 100px;
  height: 2px;
  background: #ff0000;
  margin: 0 auto 50px;
}

/* ===== CARDS ===== */
.ride-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}

.ride-card {
  background: #0a0a0a;
  border: 1px solid #444;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  max-width: 340px;
  transition: all 0.3s ease;
}

.ride-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.ride-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 15px;
}

.ride-card h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #fff;
}

.stars i {
  color: #00c853;
  font-size: 1rem;
}

.min-booking {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 10px;
}

.price-label {
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 10px;
}

.price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
}

.note {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 15px;
}

/* ===== BUTTONS ===== */
.ride-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.call-btn {
  background: #d90429;
  color: #fff;
}

.call-btn:hover {
  background: #b40321;
}

.whatsapp-btn {
  background: #25d366;
  color: #fff;
}

.whatsapp-btn:hover {
  background: #1ea955;
}

/* ===== RESPONSIVE ===== */

/* Tablets (768px and below) */
@media (max-width: 992px) {
  .ride-section {
    padding: 70px 6%;
    margin-top: -100px;
  }

  .ride-section h2 {
    font-size: 2rem;
  }

  .ride-card img {
    height: 150px;
  }

  .ride-card {
    padding: 20px 15px;
  }
}

/* Mobile (600px and below) */
@media (max-width: 600px) {
  .ride-section {
    padding: 60px 5%;
    margin-top: -60px;
  }

  .ride-section h2 {
    font-size: 1.7rem;
  }

  .ride-section .sub-heading {
    font-size: 0.9rem;
  }

  .ride-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ride-card {
    max-width: 100%;
  }

  .ride-card img {
    height: 140px;
  }

  .btn {
    font-size: 0.85rem;
    padding: 7px 14px;
  }
}

/* Very Small Devices (400px and below) */
@media (max-width: 400px) {
  .ride-section h2 {
    font-size: 1.5rem;
  }

  .ride-card img {
    height: 120px;
  }

  .ride-card {
    padding: 18px 12px;
  }

  .ride-buttons {
    flex-direction: column;
    gap: 8px;
  }
}

/* ===== CONTINUOUS CAR IMAGE SLIDER ===== */
.car-slider {
  position: relative;
  overflow: hidden;
  height: 400px;
  background: #000;
}

.car-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  text-align: center;
  padding: 0 10px;
}

.car-slider-overlay h2 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.2;
}

.car-slider-track {
  display: flex;
  width: calc(400px * 20); /* Adjust width to number of slides */
  animation: scroll 40s linear infinite;
}

.car-slider-track:hover {
  animation-play-state: paused; /* Pause on hover */
}

.slide {
  min-width: 400px;
  height: 400px;
  transition: transform 0.3s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* For large desktops (1200px and above) */
@media (min-width: 1200px) {
  .car-slider {
    height: 450px;
  }
  .slide {
    min-width: 450px;
    height: 450px;
  }
  .car-slider-overlay h2 {
    font-size: 3rem;
  }
}

/* Tablets (992px - 1199px) */
@media (max-width: 1199px) and (min-width: 768px) {
  .car-slider {
    height: 320px;
  }
  .slide {
    min-width: 320px;
    height: 320px;
  }
  .car-slider-overlay h2 {
    font-size: 2.2rem;
  }
}

/* Mobile (600px - 767px) */
@media (max-width: 767px) and (min-width: 480px) {
  .car-slider {
    height: 250px;
  }
  .slide {
    min-width: 250px;
    height: 250px;
  }
  .car-slider-overlay h2 {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }
}

/* Small mobile (below 480px) */
@media (max-width: 479px) {
  .car-slider {
    height: 200px;
  }
  .slide {
    min-width: 200px;
    height: 200px;
  }
  .car-slider-overlay h2 {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
  }
}

/* Ultra small (below 360px) */
@media (max-width: 360px) {
  .car-slider {
    height: 180px;
  }
  .slide {
    min-width: 180px;
    height: 180px;
  }
  .car-slider-overlay h2 {
    font-size: 1rem;
  }
}







/* ===== ABOUT SECTION ===== */
.about-section1 {
  padding: 100px 8%;
  background: black;
  text-align: center;
}

.about-section1 h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.about-section1 p {
  color: white;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto 30px;
}

.about-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.about-box {
  flex: 1 1 300px;
  text-align: left;
  background: black;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.about-box h4 {
  font-size: 1.3rem;
  color: white;
  margin-bottom: 10px;
}

.about-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

/* ===== TYPES OF CARS SECTION ===== */
.types-of-cars {
  padding: 100px 8%;
  background: black;
  text-align: center;
  margin-top: -90px;
}

.types-of-cars h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-top: -70px;
}

.types-of-cars p {
  color: white;
  max-width: 700px;
  margin: 15px auto;
  line-height: 1.7;
}

.car-types-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.car-box {
  background: #fff;
  padding: 40px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  flex: 1 1 220px;
  text-align: center;
  transition: all 0.3s ease;
}

.car-box i {
  font-size: 45px;
  color: #ff4500;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.car-box h4 {
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.car-box p {
  color: #666;
  font-size: 0.95rem;
}

.car-box:hover {
  background: #ff4500;
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 6px 30px rgba(255, 69, 0, 0.4);
}

.car-box:hover i {
  color: #fff;
}

.car-box:hover h4,
.car-box:hover p {
  color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .about-details {
    flex-direction: column;
    gap: 20px;
  }

  .car-types-container {
    flex-direction: column;
  }
}
/* ===== ENHANCED ABOUT BOXES ===== */
.about-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
}

.about-box {
  flex: 1 1 300px;
  background: #fff;
  padding: 40px 30px;
  border-radius: 15px;
  position: relative;
  text-align: center;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  border-top: 4px solid transparent;
  border-image: linear-gradient(to right, #ff4500, #ff7b00);
  border-image-slice: 1;
}

.about-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #ff4500, #ff7b00);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 32px;
  margin: 0 auto 20px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

.about-box h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
}

.about-box p {
  color: #555;
  line-height: 1.8;
  font-size: 0.98rem;
  padding: 0 10px;
}

/* Hover Effects */
.about-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 35px rgba(255, 69, 0, 0.2);
}

.about-box:hover .about-icon {
  transform: rotate(10deg) scale(1.1);
  background: linear-gradient(135deg, #ff7b00, #ff4500);
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .about-details {
    flex-direction: column;
    align-items: center;
  }

  .about-box {
    max-width: 350px;
  }
}/* ===== GALAXYCAB STORY SECTION ===== */
.galaxy-story {
  background: linear-gradient(180deg, #000, #111);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  border-radius: 20px;
  margin: 60px auto;
  width: 90%;
  max-width: 1200px;
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.05);
  margin-top: -90px;
  transition: all 0.3s ease-in-out;
}

.galaxy-story h2 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  color: #ffd700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.galaxy-story .intro {
  font-size: 1.1rem;
  color: #ddd;
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.galaxy-story h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.galaxy-story p {
  color: #ccc;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 20px;
}

.galaxy-story .story-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
  text-align: left;
}

.galaxy-story .story-list li {
  margin: 10px 0;
  font-size: 1.05rem;
  color: #eee;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  transition: 0.3s;
}

.galaxy-story .story-list li:hover {
  background: rgba(255, 215, 0, 0.15);
  transform: translateX(5px);
}

.galaxy-story a {
  color: #ffd700;
  text-decoration: none;
  font-weight: bold;
}

.galaxy-story a:hover {
  text-decoration: underline;
}

.galaxy-story .closing {
  font-size: 1.1rem;
  color: #ddd;
  margin-top: 30px;
  line-height: 1.8;
}

.galaxy-story .tagline {
  margin-top: 40px;
  font-size: 1.3rem;
  color: #ffd700;
  font-weight: bold;
  letter-spacing: 1px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .galaxy-story {
    margin-top: -50px;
    padding: 70px 20px;
  }

  .galaxy-story h2 {
    font-size: 2rem;
  }

  .galaxy-story .intro {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .galaxy-story {
    margin-top: -80px;
    padding: 60px 15px;
  }

  .galaxy-story h2 {
    font-size: 1.8rem;
  }

  .galaxy-story h3 {
    font-size: 1.3rem;
  }

  .galaxy-story p,
  .galaxy-story .intro {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .galaxy-story .story-list li {
    font-size: 0.95rem;
    padding: 8px 15px;
  }

  .galaxy-story .tagline {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .galaxy-story {
    margin-top: 0;
    padding: 50px 15px;
    border-radius: 0;
    width: 100%;
  }

  .galaxy-story h2 {
    font-size: 1.6rem;
  }

  .galaxy-story h3 {
    font-size: 1.1rem;
  }

  .galaxy-story p,
  .galaxy-story .intro {
    font-size: 0.9rem;
  }

  .galaxy-story .story-list li {
    font-size: 0.9rem;
  }

  .galaxy-story .tagline {
    font-size: 1rem;
  }
}
