/* ==========================================================================
   Moon Elevator Group - Responsive Breakpoint Overrides
   ========================================================================== */

/* Extra Large Screens & Desktops (1440px - 1920px) */
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

/* Medium & Small Desktops (992px - 1199px) */
@media (max-width: 1199px) {
  .nav-link {
    padding: 8px 10px !important;
    font-size: 14px;
  }
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
  .navbar-brand img {
    height: 54px;
  }
  
  .navbar {
    padding: 10px 0;
  }
  
  .section-padding {
    padding: 70px 0;
  }
  
  .hero-slide {
    height: 500px;
  }
  
  /* Offcanvas Menu Styles */
  .offcanvas-body {
    padding: 0rem 1.5rem;
  }
  
.offcanvas-body .nav-link {
    font-size: 14px;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
}
  
.hero-content h1 {
    font-size: 26px;
    font-weight: 500;
}
.hero-content p {
    font-size: 15px !important;
}
  .offcanvas-body .nav-link::after {
    display: none;
  }
  
  .offcanvas-body .dropdown-menu {
    border: none;
    box-shadow: none;
    background-color: var(--me-light);
    border-radius: var(--me-radius-sm);
    padding-left: 15px;
  }
}

/* Large Mobile Phones (576px - 767px) */
@media (max-width: 767px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .btn-me-primary, .btn-me-outline, .btn-me-accent {
    padding: 10px 24px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .hero-slide {
    height: 460px;
    min-height: 460px;
  }
  
  .hero-content {
    text-align: center;
  }
  
.slider_btn {
    display: flex !important;
    flex-direction: row !important;
}
.slider_btn a {
    width: 45%;
    padding: 10px 0px !important;
}

.inner-hero {
    padding: 20px 0;
}
.footer-heading {
    text-align: left;
}
.footer-links li {
    text-align: left;
}
.footer-info li {
    text-align: left;
}
.footer-bottom {
    margin-top: 0px;
    padding-top: 20px;
}

.back-to-top {
    bottom: 150px;
}



}

/* Small Mobile Phones (320px - 575px) */
@media (max-width: 575px) {
  h1 {
    font-size: 1.95rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-slide {
    height: 420px;
    min-height: 420px;
  }

  .trust-badge {
      font-size: 10px;
      padding: 4px 12px;
      margin-bottom: 5px;
  }
  
  .top-bar {
    display: none; /* Hide top bar on very small phones to prevent layout shift */
  }
  
  .me-card {
    padding: 30px 20px;
  }
  
  .timeline-content {
    padding: 20px;
  }
  
  .footer {
    padding: 30px 0 30px; /* Leave extra space for the bottom action bar */
  }



}

/* Special adjustments for ultra-small widths (320px) */
@media (max-width: 320px) {
  h1 {
    font-size: 1.75rem;
  }
  
  .hero-slide {
    height: 380px;
    min-height: 380px;
  }
  
  .navbar-brand img {
    height: 36px;
  }
}
