/* ============================================
   S.L.D. GIRLS COLLEGE - RESPONSIVE STYLES
   ============================================ */

/* ===== LARGE DEVICES (Desktops) ===== */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

/* ===== MEDIUM DEVICES (Tablets) ===== */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    /* Menu Bar */
    .main-menu .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    /* Header */
    .header-right .college-info {
        display: none;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    /* Hero Section */
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* About Page */
    .about-image {
        margin-bottom: 30px;
    }
    
    /* Course Cards */
    .course-detail-card .course-header {
        flex-direction: column;
        text-align: center;
    }
    
    /* Gallery */
    .gallery-item img {
        height: 180px;
    }
}

/* ===== SMALL DEVICES (Phones) ===== */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    /* Upper Header */
    .upper-header {
        text-align: center;
    }
    
    .upper-header .contact-info span {
        display: block;
        margin: 3px 0;
    }
    
    .upper-header .social-links {
        margin-top: 8px;
    }
    
    /* Header */
    .logo img {
        max-height: 50px;
    }
    
    .logo h1 {
        font-size: 16px;
    }
    
    .logo span {
        font-size: 11px;
    }
    
    .admission-btn .btn {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 50px 0 30px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .hero-buttons .btn-hero {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    /* Quick Info */
    .info-box h3 {
        font-size: 24px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 26px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    /* Course Cards */
    .course-card {
        padding: 20px;
    }
    
    .course-card .icon {
        font-size: 30px;
    }
    
    /* Faculty */
    .faculty-card .faculty-image {
        height: 150px;
    }
    
    /* Gallery */
    .gallery-item img {
        height: 140px;
    }
    
    /* Contact */
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item .icon {
        margin: 0 auto;
    }
    
    /* Footer */
    .main-footer {
        padding: 40px 0 0;
    }
    
    .main-footer .col-12 {
        margin-bottom: 25px;
    }
    
    .footer-bottom {
        margin-top: 20px;
        padding: 15px 0;
    }
    
    /* Page Header */
    .page-header {
        padding: 40px 0 25px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    /* Admission Form */
    .admission-form-wrapper {
        padding: 20px;
    }
    
    /* Stats */
    .stat-box h3 {
        font-size: 28px;
    }
}

/* ===== EXTRA SMALL DEVICES ===== */
@media (max-width: 575px) {
    .container {
        padding: 0 10px;
    }
    
    /* Logo */
    .logo h1 {
        font-size: 14px;
    }
    
    .logo span {
        font-size: 10px;
    }
    
    .logo img {
        max-height: 40px;
        margin-right: 8px;
    }
    
    /* Hero */
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    /* Quick Info */
    .info-box {
        padding: 10px;
    }
    
    .info-box h3 {
        font-size: 20px;
    }
    
    .info-box p {
        font-size: 12px;
    }
    
    /* Course Cards */
    .course-card .subjects li {
        font-size: 13px;
    }
    
    /* Faculty */
    .faculty-card .faculty-image {
        height: 120px;
    }
    
    .faculty-card .faculty-info h5 {
        font-size: 14px;
    }
    
    /* Gallery */
    .gallery-item img {
        height: 110px;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 22px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    /* Buttons */
    .btn {
        font-size: 14px;
        padding: 8px 20px;
    }
    
    .btn-lg {
        font-size: 16px;
        padding: 10px 25px;
    }
    
    /* Page Header */
    .page-header h1 {
        font-size: 24px;
    }
    
    .page-header .breadcrumb {
        font-size: 13px;
    }
    
    /* Admission Form */
    .admission-form-wrapper {
        padding: 15px;
    }
    
    /* Toast */
    .toast-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .toast {
        padding: 12px 15px;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }
}

/* ===== LANDSCAPE PHONES ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .hero-image img {
        max-height: 200px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .main-menu,
    .upper-header,
    .admission-btn,
    .back-to-top,
    .footer-bottom,
    .social-links {
        display: none !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
    
    .page-header {
        padding: 20px 0 !important;
        background: none !important;
        color: #333 !important;
    }
    
    .page-header h1 {
        color: #333 !important;
    }
    
    .section-header h2 {
        color: #333 !important;
    }
    
    .section-header h2::after {
        display: none;
    }
}