/* ==========================================
   Responsive Design - Tablet & Mobile
   ========================================== */

@media (max-width: 1024px) {
    .nav-links {
        gap: 2rem;
    }
    
    .hero {
        padding-top: 150px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 4rem);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .heritage-section {
        margin-top: 4rem;
        padding-top: 3rem;
    }
    
    .heritage-title {
        font-size: 1.8rem;
    }
    
    .heritage-photo {
        border-width: 2px;
    }
    
    .heritage-caption {
        padding: 1.5rem;
    }
    
    .heritage-caption p {
        font-size: 1rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .value-item {
        border-right: none;
        border-bottom: 1px solid rgba(74, 144, 226, 0.3);
    }
    
    .value-item:last-child {
        border-bottom: none;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.8rem 5%;
    }
    
    .logo {
        height: 45px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 250px;
        height: calc(100vh - 70px);
        background: var(--color-white);
        flex-direction: column;
        gap: 0;
        padding: 2rem;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin-bottom: 1.5rem;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
        padding-bottom: 3rem;
    }
    
    .hero-content {
        margin-top: 0;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        padding-top: 0.1em;
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
        line-height: 1.6;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .heritage-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .heritage-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .heritage-caption {
        padding: 1rem;
    }
    
    .heritage-caption p {
        font-size: 0.9rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .partner-card {
        max-width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}