/* Responsive Stylesheets for BLT-Infratel */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-content {
    padding: 80px 0;
    text-align: center;
  }
  
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .btn-premium-primary, 
  .btn-premium-outline,
  .btn-premium-secondary {
    width: 100%;
    max-width: 300px;
  }

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

  .section-title {
    font-size: 1.85rem;
    margin-bottom: 30px;
  }

  /* Custom Navbar Collapsed Adjustment */
  .custom-navbar .navbar-collapse {
    background-color: var(--navbar-bg);
    border-radius: 12px;
    padding: 20px;
    margin-top: 15px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(15px);
  }

  .nav-link::after {
    display: none; /* Hide hover lines on collapsed nav */
  }

  .nav-link {
    padding: 0.8rem 1rem;
    border-radius: 8px;
  }

  .nav-link.active,
  .nav-link:hover {
    background-color: var(--hover-bg);
  }

  .theme-toggle-btn {
    justify-content: flex-start;
    padding: 0.8rem 1rem;
    width: 100%;
  }

  /* Timeline adjustment for tablets and mobile */
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 21px;
    right: auto;
  }

  .right-item {
    left: 0%;
  }
}

/* Small devices (phones, less than 768px) */
@media (max-width: 767.98px) {
  .top-bar {
    display: none; /* Hide top header bar on small phones */
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

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

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

  .counter-item {
    margin-bottom: 25px;
  }

  .counter-item:last-child {
    margin-bottom: 0;
  }

  .calc-container {
    padding: 20px;
  }

  .inquiry-form-card {
    padding: 25px;
  }

  .map-container {
    height: 300px;
  }

  .floating-actions {
    bottom: 20px;
    right: 20px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .navbar-brand {
    font-size: 1.3rem;
  }
}
