/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Desktop & Large Devices (up to 1024px) */
@media (max-width: 1024px) {
  .about-content,
  .contact-container {
    gap: 30px;
  }

  .testimonials-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablets (up to 768px) */
@media (max-width: 768px) {
  /* Navigation */
  .menu-toggle {
    display: none; /* Hide hamburger on mobile */
  }
  .lang-toggle-mobile {
    display: inline-flex;
    margin-left: auto;
  }
  .mobile-bottom-nav {
    display: flex !important;
  }
  body {
    padding-bottom: 70px;
  }
  .float-wa {
    bottom: 80px !important;
  }

  .nav-right {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: var(--shadow-md);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-right.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    font-size: 1.2rem;
  }

  .nav-contact {
    margin-top: 20px;
  }

  /* Layout Grids */
  .about-content,
  .services-grid,
  .contact-container,
  .testimonials-container {
    grid-template-columns: 1fr;
  }

  /* Reset Gallery Mosaic for Mobile */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    grid-auto-rows: 250px;
  }
  .gallery-item:nth-child(n) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Typography & Mobile Layout Optimizations */

  .section-title h2 {
    font-size: 2rem;
  }

  .feature-item {
    width: calc(50% - 15px);
  }

  .section-padding {
    padding: 60px 0;
  }

  .page-header {
    padding: 40px 0;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  /* Service Cards Mobile Fixes */
  .service-img {
    height: 160px;
    font-size: 3.5rem;
  }

  .service-info {
    padding: 25px;
  }

  .service-info h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
  }

  .service-info p {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .service-features li {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .service-card .btn-full {
    width: auto;
    display: inline-block;
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  /* Fleet Cards Mobile Fixes */
  .fleet-img-container {
    height: 160px;
    padding: 10px;
  }

  .fleet-info {
    padding: 20px;
  }

  .fleet-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .fleet-info p {
    font-size: 0.9rem;
  }

  .fleet-card .btn-full {
    width: auto;
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Booking Cards Mobile Fixes */
  .booking-card {
    padding: 20px 15px;
  }

  .card-image {
    height: 130px;
    margin-bottom: 15px;
  }

  .booking-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .booking-card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .booking-card .btn-quick-booking {
    width: auto;
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Testimonials & Review Section */
  .testimonial-card {
    padding: 1.2rem;
  }

  .testimonial-image img {
    height: 150px !important;
  }

  .google-review-cta {
    padding: 2rem;
  }

  .google-review-cta h3 {
    font-size: 1.5rem;
  }

  /* Reduce Carousel height on mobile */
  .concave-carousel-wrapper {
    height: 45vh;
    margin: 15px 0;
  }

  /* Footer layout spacing */
  .footer-content {
    gap: 20px;
  }

  .footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }
}

/* Mobile Devices (up to 480px) */
@media (max-width: 480px) {
  /* Removed conflicting old hero mobile overrides */

  .fleet-grid,
  .booking-cards {
    grid-template-columns: 1fr;
  }

  .feature-item {
    width: 100%;
  }

  .float-wa {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 30px;
  }

  .section-padding {
    padding: 40px 0;
  }

  .contact-form {
    padding: 25px;
  }

  .page-header {
    padding: 30px 0;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .service-img {
    height: 120px;
    font-size: 2.8rem;
  }

  .service-info {
    padding: 20px;
  }

  .service-info h3 {
    font-size: 1.2rem;
  }

  .service-features li {
    font-size: 0.9rem;
  }

  .fleet-img-container {
    height: 140px;
  }

  .booking-card {
    padding: 15px;
  }

  .card-image {
    height: 120px;
  }

  .google-review-cta {
    padding: 1.5rem;
  }

  .google-review-cta h3 {
    font-size: 1.3rem;
  }

  .google-review-cta p {
    font-size: 0.9rem;
  }

  /* Make carousel much smaller on mobile phones */
  .concave-carousel-wrapper {
    height: 28vh;
    min-height: 220px;
    margin: 10px 0;
  }
}

/* ==========================================================================
   Redesigned Services Section Responsive Adjustments
   ========================================================================== */

/* Tablet View (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Removed old grid overrides for services */
  .service-card {
    padding: 28px;
  }
  .service-title {
    font-size: 20px;
  }
  .service-description {
    font-size: 14px;
  }
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile View (up to 767px) */
@media (max-width: 767px) {
  /* Removed old grid overrides for services on mobile */
  .service-card {
    padding: 20px;
  }
  .service-title {
    font-size: 18px;
  }
  .service-description {
    font-size: 14px;
    line-height: 1.7;
  }
  .service-list li {
    font-size: 14px;
    line-height: 1.7;
  }
  .service-features-container {
    display: block; /* Bring back the container */
  }
  /* Summarize content: only show the first category and its list */
  .service-features-container h4.service-category:nth-of-type(2),
  .service-features-container ul.service-list:nth-of-type(2) {
    display: none;
  }
  /* Optionally limit the first list to 2 items to save screen height */
  .service-features-container
    ul.service-list:nth-of-type(1)
    li:nth-child(n + 3) {
    display: none;
  }
  .fleet-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  word-break: break-word;
}

/* MOBILE BOTTOM NAV DROPDOWN (INDIVIDUAL BUBBLES) */
.mobile-more-dropdown {
  position: relative;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.mobile-more-dropdown-content {
  position: absolute;
  bottom: calc(100% + 15px);
  right: 5px;
  background: transparent;
  padding: 0;
  z-index: 1001;
  min-width: 150px;
  pointer-events: none;
  box-shadow: none;
  border: none;
}
.mobile-more-dropdown-content::after {
  display: none;
}

.mobile-more-dropdown.active .mobile-more-dropdown-content {
  pointer-events: auto;
}

.mobile-more-dropdown-content .bottom-nav-link {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  background: var(--white);
  color: var(--text-dark) !important;
  padding: 14px 20px;
  margin-bottom: 12px;
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;

  transform: scale(0.4) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-more-dropdown.active .mobile-more-dropdown-content .bottom-nav-link {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-more-dropdown-content .bottom-nav-link:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-more-dropdown-content .bottom-nav-link:nth-child(2) {
  transition-delay: 0s;
}

.mobile-more-dropdown-content .bottom-nav-link svg {
  color: var(--secondary-color) !important;
  font-size: 1.1rem;
}
.mobile-more-dropdown-content .bottom-nav-link span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark) !important;
}
.mobile-more-dropdown-content .bottom-nav-link:hover {
  background: var(--bg-light);
  color: var(--primary-color) !important;
}
.mobile-more-dropdown-content .bottom-nav-link:hover span {
  color: var(--primary-color) !important;
}

@media (max-width: 768px) {
  /* Hero title sizing on mobile */
  .hero-text h1 {
    font-size: clamp(2rem, 8.2vw, 3.5rem) !important;
    letter-spacing: -0.01em !important;
    white-space: normal !important;
    text-align: center !important;
    width: max-content !important;
    max-width: 95vw !important;
    line-height: 1.1 !important;
  }

  .hero-mobile-br {
    display: block !important;
  }

  .hero-text-label {
    font-size: 0.68rem !important;
    letter-spacing: 0.2em !important;
  }

  /* Booking cards full-width stack on mobile */
  .booking-card {
    border-radius: 12px !important;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: clamp(1.6rem, 9vw, 2.6rem) !important;
  }
}
