/* ====================================
   Responsive Design - Thinking Rich Nepal
   ==================================== */

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktop (992px to 1199px) */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

/* Tablet Landscape (768px to 991px) */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    /* Header */
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .nav-menu.active {
        display: block;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu a {
        display: block;
        padding: 10px;
    }
    
    /* Hero Section */
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin-top: 50px;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    /* Programs */
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Portrait (576px to 767px) */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    /* Events */
    .event-card {
        min-width: 280px;
    }
    
    .event-date {
        min-width: 80px;
        padding: 15px;
    }
    
    .date-day {
        font-size: 1.5rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-nav.prev {
        left: -10px;
    }
    
    .slider-nav.next {
        right: -10px;
    }
    
    /* Newsletter */
    .newsletter-form .form-group {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Floating Buttons */
    .whatsapp-float span,
    .call-float span {
        display: none;
    }
    
    .whatsapp-float,
    .call-float {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .whatsapp-float i,
    .call-float i {
        margin: 0;
        font-size: 1.5rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .call-float {
        bottom: 20px;
        left: 20px;
    }
}

/* Mobile (575px and down) */
@media (max-width: 575px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    /* Hero */
    .hero-section {
        padding: 120px 0 100px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        margin-bottom: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Programs */
    .programs-section,
    .events-section,
    .testimonials-section,
    .blog-preview {
        padding: 60px 0;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .program-card {
        padding: 30px 20px;
    }
    
    /* Events */
    .events-slider {
        gap: 15px;
    }
    
    .event-card {
        min-width: 260px;
        flex-direction: column;
    }
    
    .event-date {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 10px;
    }
    
    .date-day,
    .date-month {
        display: inline-block;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-image {
        height: 200px;
    }
    
    .blog-content {
        padding: 20px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: 25px 15px;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    .author-image {
        width: 60px;
        height: 60px;
    }
    
    /* Newsletter */
    .newsletter-box h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-box p {
        font-size: 0.95rem;
    }
    
    /* Footer */
    .footer-col h4 {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
    
    .footer-col ul li {
        margin-bottom: 10px;
    }
    
    .footer-logo {
        max-width: 150px;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* Small Mobile (375px and down) */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .stat h3 {
        font-size: 1.5rem;
    }
    
    .stat p {
        font-size: 0.85rem;
    }
    
    .event-card {
        min-width: 240px;
    }
    
    .price {
        font-size: 1.1rem;
    }
    
    .btn-small {
        padding: 6px 15px;
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .whatsapp-float,
    .call-float,
    .newsletter-section,
    .site-footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
    
    a {
        text-decoration: none;
        color: #000;
    }
}