/**
 * Responsive Styles for Zee School Deoghar Website
 */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  /* Header */
  .main-nav li {
    margin: 0 10px;
  }

  /* Hero Section */
  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 16px;
  }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
  /* Header */
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  /* Hero Section */
  .hero-section {
    height: 500px;
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  /* About Section */
  .about-image {
    margin-bottom: 30px;
  }

  /* Academics Section */
  .academics-image {
    margin-bottom: 30px;
  }

  /* Facilities Section */
  .facilities-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  /* Stats Section */
  .stat-item {
    width: 160px;
    margin: 15px;
  }

  .stat-icon {
    font-size: 36px;
  }

  .stat-number {
    font-size: 30px;
  }

  .stat-title {
    font-size: 16px;
  }

  /* News & Notices Section */
  .news-notices-section .col-lg-5 {
    margin-top: 30px;
  }
}

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
  /* General */
  .section {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  /* Hero Section */
  .hero-section {
    height: 450px;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 15px;
  }

  .hero-slide-desktop {
    display: none;
  }

  .hero-slide-mobile {
    display: block;
  }

  /* Facilities Section */
  .facilities-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  /* Gallery Section */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  /* Stats Section */
  .stats-container {
    flex-wrap: wrap;
  }

  .stat-item {
    width: 140px;
    margin: 10px;
  }

  /* Footer */
  .footer-bottom-links ul {
    justify-content: center;
    margin-top: 15px;
  }

  .footer-bottom-links li {
    margin: 0 10px;
  }

  .copyright {
    text-align: center;
  }

  /* News & Notices Section */
  .news-item {
    flex-direction: column;
  }

  .news-date {
    margin-right: 0;
    margin-bottom: 15px;
    width: 80px;
  }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
  /* General */
  .section {
    padding: 40px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  /* Hero Section */
  .hero-section {
    height: 400px;
  }

  .hero-content {
    padding-top: 80px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
  }

  /* Facilities Section */
  .facilities-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery Section */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Stats Section */
  .stats-container {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    margin: 15px 0;
  }

  /* CTA Section */
  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }

  /* News & Notices Section */
  .news-date {
    width: 70px;
  }

  .news-date .date {
    font-size: 20px;
  }

  .news-content h4 {
    font-size: 16px;
  }
}
