/* ==========================================================================
   HAPPYNET NETWORK LIMITED - Complete Responsive Layout Definitions
   ========================================================================== */

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 991.98px) {
  /* Elevated Mobile Drawer Experience */
  .navbar-collapse {
    background: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
    margin-top: 15px;
    border: 1px solid rgba(15, 23, 42, 0.08);
  }

  .nav-link {
    margin: 10px 0;
    padding: 6px 0;
  }

  .nav-link::after {
    display: none;
  }

  .hero-section {
    padding-top: 130px;
    padding-bottom: 70px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
  }

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

  .section-title {
    font-size: 2.15rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.15rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    text-align: center;
    margin-bottom: 12px;
  }

  .counter-box h2 {
    font-size: 2.75rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .contact-info-box {
    padding: 24px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }

  .whatsapp-float {
    bottom: 75px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .internal-hero h1 {
    font-size: 2.15rem;
  }

  .glass-card {
    padding: 30px 20px;
  }
}

/* Project case study feed (projects.html) */
@media (max-width: 991.98px) {
  .project-feature {
    padding: 40px 0;
  }

  .project-feature-media img,
  .project-feature-media-placeholder {
    height: 260px;
  }

  .project-feature .col-lg-5 {
    margin-top: 1.5rem;
  }

  .project-feature h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .project-feature-media img,
  .project-feature-media-placeholder {
    height: 220px;
  }

  .project-gallery .carousel-control-prev,
  .project-gallery .carousel-control-next {
    width: 36px;
    height: 36px;
  }
}