/* ============================================
   VICTORIA ACADEMY - RESPONSIVE STYLES
   ============================================ */

/* Desktop: > 992px (Base styles apply) */

/* ============================================
   TABLET: 768px – 991px
   ============================================ */

@media (max-width: 991px) {
    /* Typography Adjustments */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    /* Hero Slider */
    .hero-slider {
        min-height: 100vh;
        width: 100%;
    }
    
    .slider-container {
        min-height: 100vh;
        width: 100%;
    }
    
    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        min-height: 600px;
    }
    
    .slide-content {
        padding: 0 30px;
        max-width: 800px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-motto {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        gap: 15px;
        justify-content: center;
    }
    
    .btn-lg {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .slider-prev {
        left: 20px;
    }
    
    .slider-next {
        right: 20px;
    }
    
    .slider-dots {
        bottom: 30px;
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }
    
    .hero-logo {
        width: 140px;
        height: 140px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-motto {
        font-size: 1.5rem;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
    }
    
    /* Page Header */
    .page-header {
        min-height: 300px;
        padding: 100px 20px 40px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    /* Stats Bar */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Mission Grid */
    .mission-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Core Values */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Why Choose Us */
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Page Hero */
    .page-hero {
        padding: 120px 0 60px;
    }
    
    /* Content Grids */
    .content-grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Badges Grid */
    .badges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Form Container */
    .form-container {
        padding: 30px 20px;
    }
    
    /* Contact Box */
    .contact-box {
        padding: 30px 20px;
    }
}

/* ============================================
   MOBILE: < 768px
   ============================================ */

@media (max-width: 767px) {
    /* Typography Adjustments */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.2rem; }
    
    body {
        font-size: 0.95rem;
    }
    
    /* Header */
    .header-container {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* Hamburger Menu */
    .hamburger {
        gap: 4px;
    }
    
    .hamburger span {
        width: 22px;
        height: 2.5px;
    }
    
    /* Mobile Navigation */
    .nav-menu {
        top: 75px;
        height: calc(100vh - 75px);
        padding-top: 30px;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    /* Hero Slider */
    .hero-slider {
        min-height: auto;
        height: auto;
        padding: 80px 0 40px;
    }
    
    .slider-container {
        min-height: auto;
        height: auto;
    }
    
    .slide {
        position: relative;
        height: auto;
        min-height: 500px;
        padding: 60px 20px;
    }
    
    .slide-content {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }
    
    .hero-motto {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .btn-lg {
        padding: 13px 25px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
    
    .logo-container {
        margin-bottom: 20px;
    }
    
    .hero-logo {
        max-width: 130px;
        height: auto;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        bottom: 80px;
        top: auto;
        transform: translateY(0);
    }
    
    .slider-prev:hover,
    .slider-next:hover {
        transform: translateY(0) scale(1.1);
    }
    
    .slider-prev {
        left: calc(50% - 50px);
    }
    
    .slider-next {
        right: calc(50% - 50px);
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    /* Page Header */
    .page-header {
        min-height: 250px;
        padding: 90px 15px 30px;
        margin-top: 75px;
    }
    
    .page-header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .breadcrumb {
        font-size: 0.95rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 90px 15px 50px;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .hero-motto {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Buttons - Full Width on Mobile */
    .btn {
        width: 100%;
        padding: 15px 25px;
        text-align: center;
    }
    
    /* Stats Bar */
    .stats-bar {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Section Padding */
    section {
        padding: 50px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    /* Vision & Mission */
    .vision-section {
        margin-bottom: 40px;
    }
    
    .vision-statement {
        font-size: 1.1rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .mission-card {
        padding: 25px 15px;
    }
    
    /* Core Values */
    .core-values {
        padding: 50px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .value-icon {
        width: 70px;
        height: 70px;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
    
    /* Why Choose Us */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 1.5rem;
    }
    
    .feature-card h4 {
        font-size: 0.95rem;
    }
    
    /* CTA Banner */
    .cta-banner {
        padding: 50px 0;
    }
    
    .cta-banner h2 {
        font-size: 1.75rem;
        margin-bottom: 20px;
    }
    
    /* Footer */
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-logo {
        margin-bottom: 15px;
    }
    
    .footer-logo img {
        height: 40px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    /* Back to Top */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Page Hero */
    .page-hero {
        padding: 100px 0 50px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
    
    /* Content Sections */
    .content-section {
        padding: 50px 0;
    }
    
    .content-grid-3 {
        grid-template-columns: 1fr;
    }
    
    /* Image Placeholder */
    .image-placeholder {
        min-height: 250px;
    }
    
    /* Tables */
    .info-table {
        font-size: 0.9rem;
    }
    
    .info-table th,
    .info-table td {
        padding: 15px 10px;
    }
    
    /* Compliance List */
    .compliance-item {
        padding: 15px;
    }
    
    .compliance-item i {
        font-size: 1.2rem;
    }
    
    /* Badges Grid */
    .badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .badge-card {
        padding: 25px 15px;
    }
    
    .badge-card i {
        font-size: 2.5rem;
    }
    
    /* Forms */
    .form-container {
        padding: 25px 15px;
        margin: 0 10px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 12px;
        font-size: 0.95rem;
    }
    
    /* Larger Touch Targets */
    .form-control,
    .btn {
        min-height: 50px;
    }
    
    /* Contact Box */
    .contact-box {
        padding: 25px 15px;
    }
    
    .contact-detail {
        gap: 12px;
    }
    
    .contact-detail i {
        font-size: 1.3rem;
    }
    
    /* Message Page */
    .message-page {
        padding: 80px 15px;
    }
    
    .message-box {
        padding: 40px 20px;
    }
    
    .message-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .message-icon i {
        font-size: 2.5rem;
    }
    
    /* Increase spacing between sections on mobile */
    section + section {
        margin-top: 20px;
    }
}

/* ============================================
   SMALL MOBILE: < 480px
   ============================================ */

@media (max-width: 479px) {
    /* Further typography reduction */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-motto {
        font-size: 1.1rem;
    }
    
    /* Single column features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Single column badges */
    .badges-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer adjustments */
    .footer-section {
        text-align: center;
    }
    
    .contact-info li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ============================================
   UTILITY CLASSES FOR RESPONSIVENESS
   ============================================ */

/* Hide elements on certain screen sizes */
.hide-mobile {
    display: block;
}

.hide-tablet {
    display: block;
}

.hide-desktop {
    display: none;
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none;
    }
    .hide-desktop {
        display: block;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .hide-tablet {
        display: none;
    }
}

/* Text alignment utilities */
.text-center-mobile {
    text-align: center;
}

@media (max-width: 767px) {
    .text-center-mobile {
        text-align: center;
    }
}

/* Spacing utilities */
.mb-mobile-0 {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .mb-mobile-30 {
        margin-bottom: 30px;
    }
}
