/* Responsive Design for All Screens */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 60vh !important;
  }

  .hero-title {
    font-size: 2rem !important;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  .display-3 {
    font-size: 2rem !important;
  }

  .display-4 {
    font-size: 1.75rem !important;
  }

  .display-5 {
    font-size: 1.5rem !important;
  }

  .stat-number {
    font-size: 2.5rem !important;
  }

  .feature-icon,
  .stat-icon,
  .advantage-icon {
    width: 60px !important;
    height: 60px !important;
  }

  .about-hero,
  .academic-hero,
  .business-hero,
  .equalization-hero,
  .contact-hero,
  .blog-detail-hero {
    padding: 60px 0 !important;
  }

  .navbar-brand {
    font-size: 1.25rem !important;
  }

  .news-image-wrapper {
    height: 180px !important;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh !important;
  }

  .hero-title {
    font-size: 2.5rem !important;
  }

  .hero-subtitle {
    font-size: 1.1rem !important;
  }

  .display-3 {
    font-size: 2.5rem !important;
  }

  .display-4 {
    font-size: 2rem !important;
  }

  .display-5 {
    font-size: 1.75rem !important;
  }

  .stat-number {
    font-size: 3rem !important;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem !important;
  }

  .hero-subtitle {
    font-size: 1.25rem !important;
  }

  .display-3 {
    font-size: 3rem !important;
  }

  .display-4 {
    font-size: 2.5rem !important;
  }

  .display-5 {
    font-size: 2rem !important;
  }
}

/* Responsive Navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .nav-link {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Responsive Footer */
@media (max-width: 767.98px) {
  .footer-links,
  .footer-contact {
    text-align: center;
    margin-top: 2rem;
  }

  .social-icons {
    justify-content: center;
    display: flex;
  }
  
  .text-center-mobile {
    text-align: center !important;
  }
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}
