/* ============================================
   Responsive Styles - Mobile First Approach
   ============================================ */

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    /* School History - Tablet */
    .history-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Core Values - Tablet */
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Infrastructure - Tablet */
    .infrastructure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Features Grid - Tablet */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Admission Steps - Tablet */
    .admission-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Documents Grid - Tablet */
    .documents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    /* Age Criteria - Tablet */
    .age-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }
    
    /* Info Grid - Tablet */
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* CTA Section - Tablet */
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Welcome Note - Tablet */
    .welcome-note-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .welcome-title {
        font-size: 2.2rem;
    }
    
    .welcome-note-image {
        min-height: 450px;
    }
    
    /* Mission & Vision Home */
    .mission-vision-containers {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-container,
    .vision-container {
        padding: 2.5rem;
    }
    
    .mission-icon,
    .vision-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .mission-container h2,
    .vision-container h2 {
        font-size: 1.8rem;
    }
    
    .mission-container p,
    .vision-container p {
        font-size: 0.95rem;
    }
    
    /* Map & Enquiry Section - Tablet */
    .map-enquiry-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .map-container,
    .enquiry-form-container {
        padding: 2rem;
    }
    
    .map-container .section-title,
    .enquiry-form-container .section-title {
        font-size: 1.6rem;
    }
    
    /* Welcome Notice Section - Tablet */
    .welcome-notice-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .welcome-note-container {
        padding: 2rem;
    }
    
    .welcome-note-container .section-title {
        font-size: 1.6rem;
    }
    
    .notice-board-container-wrapper .section-title {
        font-size: 1.6rem;
    }
    
    .principal-content {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    /* Brand Banner */
    .brand-banner {
        padding: 8px 0;
    }
    
    
    .brand-logo-img {
        height: 75px;
    }
    
    .brand-title {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        letter-spacing: 3px;
    }
    
    .brand-location {
        font-size: clamp(0.9rem, 1.5vw, 1.2rem);
        letter-spacing: 4px;
        padding: 3px 10px;
    }
    
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Navigation */
    .nav-wrapper {
        justify-content: space-between;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu a {
        color: var(--text-dark);
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary-color);
    }
    
    /* Dropdown Menu - Mobile */
    .nav-menu .dropdown {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu .dropdown-toggle {
        justify-content: center;
    }
    
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(30, 58, 138, 0.05);
        margin-top: 0.5rem;
        border-radius: 5px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    
    .nav-menu .dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 0.5rem 0;
    }
    
    .nav-menu .dropdown-menu a {
        padding: 0.75rem 1rem;
        color: var(--text-dark);
    }
    
    .nav-menu .dropdown-menu a:hover {
        background: rgba(30, 58, 138, 0.1);
        padding-left: 1.25rem;
    }
    
    .nav-menu .dropdown-toggle i {
        transition: transform 0.3s ease;
    }
    
    .nav-menu .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    /* Enquiry Button */
    .enquiry-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .enquiry-btn span {
        display: none;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Image Slider */
    .slider-container {
        height: 350px;
    }

    /* Brand Banner */
    .brand-banner {
        padding: 6px 0;
        margin-top: 70px;
    }
    
    .brand-inner {
        gap: 10px;
    }
    
    .brand-logo-img {
        height: 65px;
    }
    
    .brand-title {
        font-size: clamp(1.5rem, 5vw, 2.4rem);
        letter-spacing: 2.5px;
    }
    
    .brand-location {
        font-size: clamp(0.85rem, 2vw, 1.1rem);
        letter-spacing: 3px;
        padding: 2px 8px;
    }
    
    /* Admission Marquee */
    .admission-marquee {
        padding: 8px 0;
    }
    
    .admission-marquee-content {
        gap: 1.5rem;
    }
    
    .admission-icon {
        font-size: 1rem;
    }
    
    .admission-text {
        font-size: 0.9rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Hero Section */
    .hero {
        min-height: 500px;
        padding: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* YouTube Updates Section - Mobile */
    .youtube-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .youtube-header .section-title {
        margin-bottom: 1rem;
    }
    
    .subscribe-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .youtube-video-card {
        flex: 0 0 320px;
    }
    
    .youtube-videos-wrapper {
        gap: 1.5rem;
    }

    /* Highlights */
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    /* Welcome Notice Section */
    .welcome-notice-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .welcome-note-container {
        position: static;
        padding: 2rem;
    }
    
    .welcome-note-container .section-title {
        text-align: center;
        font-size: 1.5rem;
    }
    
    .welcome-note-container .about-preview-text {
        text-align: center;
    }
    
    .welcome-note-container .about-preview-text p {
        text-align: center;
    }
    
    .welcome-note-container .read-more-wrapper {
        justify-content: center;
    }
    
    .notice-board-container-wrapper .section-title {
        text-align: center;
        font-size: 1.5rem;
    }
    
    /* Notice Board */
    .notice-board-container {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .notice-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .notice-date {
        width: 100%;
        max-width: 120px;
        margin: 0 auto;
    }
    
    .notice-content h3 {
        font-size: 1.2rem;
    }
    
    .notice-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* Gallery */
    .gallery-slider {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonials-slider-wrapper {
        padding: 15px 0;
    }
    
    .testimonial-card {
        min-width: 280px;
        max-width: 280px;
        padding: 1.5rem;
    }
    
    .testimonial-icon {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .testimonial-author h4 {
        font-size: 0.95rem;
    }
    
    .testimonial-author p {
        font-size: 0.8rem;
    }
    
    /* Mission & Vision Home */
    .mission-vision-containers {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mission-container,
    .vision-container {
        padding: 2rem;
    }
    
    .mission-icon,
    .vision-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .mission-container h2,
    .vision-container h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .mission-container p,
    .vision-container p {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    /* Page Header */
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* About Page */
    .principal-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .principal-image-container {
        max-width: 300px;
        margin: 0 auto 2rem;
    }
    
    /* Welcome Note - About Page */
    .welcome-note-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .welcome-note-text {
        padding-right: 0;
        order: 2;
    }
    
    .welcome-note-image {
        order: 1;
        min-height: 400px;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-intro {
        font-size: 1.05rem;
    }
    
    .welcome-content p {
        font-size: 1rem;
    }
    
    /* Mission Vision */
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Admission Steps - Mobile */
    .admission-steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step-card {
        padding: 2rem 1.5rem;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    /* Documents Grid - Mobile */
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .document-card {
        padding: 1.5rem;
    }
    
    .document-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Age Criteria - Mobile */
    .age-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1.25rem 1rem;
        text-align: center;
    }
    
    .age-class,
    .age-range {
        font-size: 1rem;
    }
    
    .age-detail {
        font-size: 0.9rem;
    }
    
    .age-note {
        padding: 1.25rem;
        font-size: 0.9rem;
    }
    
    /* Info Grid - Mobile */
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* CTA Section - Mobile */
    .cta-wrapper {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .cta-buttons .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* School History */
    .history-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .history-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Core Values */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Infrastructure */
    .infrastructure-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Classes */
    .classes-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    /* Curriculum */
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
    
    /* Activities */
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    /* Gallery Filters */
    .gallery-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-info-card,
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    /* Map */
    .map-wrapper iframe {
        height: 300px;
    }
    
    /* Map & Enquiry Section */
    .map-enquiry-section {
        padding: 40px 0;
    }
    
    .map-enquiry-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container {
        padding: 1.5rem;
    }
    
    .map-container .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .map-wrapper {
        min-height: 300px;
    }
    
    .map-wrapper iframe {
        min-height: 300px;
    }
    
    .enquiry-form-container {
        padding: 1.5rem;
    }
    
    .enquiry-form-container .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .enquiry-form .form-group {
        margin-bottom: 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-logo {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .footer-logo-img {
        width: 40px;
        height: 40px;
        margin: 0 auto;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .footer-tagline {
        text-align: center;
        font-size: 0.85rem !important;
    }
    
    .social-icons {
        justify-content: center;
        gap: 0.8rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon i {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Lightbox */
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 10px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .logo-img {
        height: 40px;
        width: 40px;
    }
    
    .logo h2 {
        font-size: 1.2rem;
    }
    
    /* Features Grid - Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    /* Brand Banner */
    .brand-banner {
        padding: 5px 0;
    }
    
    .brand-inner {
        gap: 8px;
    }
    
    .brand-logo-img {
        height: 60px;
    }
    
    .brand-title {
        font-size: clamp(1.3rem, 6vw, 2rem);
        letter-spacing: 2px;
    }
    
    /* Admission Marquee */
    .admission-marquee {
        padding: 6px 0;
    }
    
    .admission-marquee-content {
        gap: 1rem;
    }
    
    .admission-text {
        font-size: 0.85rem;
    }
    
    .brand-location {
        font-size: clamp(0.75rem, 2.5vw, 1rem);
        letter-spacing: 2.5px;
        padding: 2px 6px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .prev-btn {
        left: 5px;
    }
    
    .next-btn {
        right: 5px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    /* Top Bar */
    .top-bar .top-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        padding: 0.8rem 0;
    }
    
    /* WhatsApp Button */
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        right: 15px;
        bottom: 20px;
    }
    
    .whatsapp-btn:hover {
        transform: scale(1.1);
    }
    
    .whatsapp-btn .whatsapp-text {
        display: none;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .highlight-card,
    .feature-card,
    .curriculum-card,
    .activity-card {
        padding: 1.5rem;
    }
    
    .contact-info-card,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .classes-grid {
        grid-template-columns: 1fr;
    }
    
    /* WhatsApp Button */
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        right: 20px;
        bottom: 25px;
    }
    
    .whatsapp-btn:hover {
        transform: scale(1.1);
    }
    
    .whatsapp-btn .whatsapp-text {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-buttons,
    .contact-form-wrapper {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    section {
        page-break-inside: avoid;
    }
}

