/* ==========================================================================
   AMOL BORA & CO. - RESPONSIVE STYLES
   Breakpoints: 1200px, 992px, 768px, 576px, 400px
   ========================================================================== */

/* Mobile Nav Drawer Styles */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--color-primary-950);
  z-index: 2500;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.mobile-nav-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.mobile-links-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-link {
  color: var(--color-slate-200);
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:hover {
  color: var(--color-gold-400);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 2rem;
}

/* @media 1380px (Laptops & Standard Desktops) */
@media (max-width: 1380px) {
  .header-quick-call .call-text-wrap {
    display: none;
  }
  .header-quick-call {
    width: 38px;
    height: 38px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .nav-link-pill {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
  }
}

/* @media 1240px (Small Laptops) */
@media (max-width: 1240px) {
  .header-quick-call {
    display: none;
  }
  .nav-link-pill {
    padding: 0.32rem 0.55rem;
    font-size: 0.775rem;
  }
  .mega-dropdown-menu {
    width: 720px;
  }
  .hero-title {
    font-size: 2.85rem;
  }
  .metrics-card {
    grid-template-columns: repeat(3, 1fr);
  }
  .metric-box:nth-child(3)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* @media 1120px (Tablets Landscape & Medium Screens) */
@media (max-width: 1120px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content {
    max-width: 100%;
  }
  .metrics-section {
    margin-top: 0;
    margin-bottom: 3rem;
  }
  .metrics-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .metric-box::after {
    display: none !important;
  }
  .estimator-panel {
    grid-template-columns: 1fr;
  }
  .estimator-inputs {
    border-right: none;
    border-bottom: 1px solid var(--color-slate-200);
  }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .office-details-grid {
    grid-template-columns: 1fr;
  }
  .office-map-pane {
    min-height: 350px;
  }
}

/* @media 768px (Tablets Portrait & Mobile) */
@media (max-width: 768px) {
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .top-bar-right {
    display: none;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-description {
    font-size: 1.05rem;
  }
  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .metrics-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .metric-number {
    font-size: 2.2rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .estimator-inputs, .estimator-outputs {
    padding: 1.75rem;
  }
  .estimator-action-bar {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .estimator-action-bar button {
    width: 100%;
  }
  .founder-card {
    padding: 1.75rem;
  }
  .office-tabs-nav {
    flex-direction: column;
  }
  .office-tab-btn {
    padding: 0.85rem 1rem;
    justify-content: flex-start;
  }
  .office-info-pane {
    padding: 1.75rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal-container {
    max-height: 95vh;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .floating-actions-bar {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .floating-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }
}

/* @media 480px (Small Mobile) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
  .brand-subtext {
    display: none;
  }
  .header-container {
    height: 70px;
  }
}
