/* ==========================================================
   RESPONSIVE STYLESHEET FOR NAQSHBAND SCHOOL
   ========================================================== */

@media (max-width: 1200px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .nav-motto-badge {
    display: none;
  }
  .nav-logo img {
    height: 48px;
  }
  .top-bar-left .top-bar-address {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    transition: left 0.35s ease;
    overflow-y: auto;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 10px;
  }
  .nav-link {
    font-size: 1.1rem;
  }
  .nav-actions .phone-cta {
    display: none;
  }
  
  .hero {
    min-height: 580px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-img-main {
    height: 380px;
  }
  .about-floating-badge {
    bottom: -15px;
    right: 15px;
  }
  
  .stage-card {
    grid-template-columns: 1fr;
  }
  .stage-image {
    min-height: 260px;
    max-height: 300px;
  }
  .stage-info {
    padding: 30px;
  }
  
  .achievements-grid,
  .why-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .app-section {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    text-align: center;
  }
  .app-feature-list {
    text-align: left;
  }
  
  .calc-wrapper {
    grid-template-columns: 1fr;
  }
  .calc-form, .calc-result-box {
    padding: 30px 24px;
  }
  
  .admission-wrapper {
    grid-template-columns: 1fr;
  }
  .admission-info, .admission-form {
    padding: 36px 24px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-header h2 {
    font-size: 1.85rem;
  }
  .top-bar-left {
    display: none;
  }
  .top-bar .container {
    justify-content: flex-end;
  }
  
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .hero-controls {
    bottom: 16px;
    right: 20px;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
  }
  
  .quiz-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-card {
    padding: 20px 14px;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  
  .branches-grid,
  .achievements-grid,
  .why-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .calc-options-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .floating-actions {
    bottom: 20px;
    right: 18px;
  }
  .float-btn {
    width: 46px;
    height: 46px;
  }
  
  .modal-box {
    padding: 28px 18px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .about-floating-badge {
    position: static;
    margin-top: 15px;
    max-width: 100%;
  }
  .calc-price {
    font-size: 2.2rem;
  }
}
