/* ========== RESPONSIVE STYLES ========== */
@media (min-width: 1400px) {
    .container { max-width: 1300px; }
}

@media (max-width: 1024px) {
    .container { padding: 0 25px; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    .services-container,
    .values-grid-minimal { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .credentials-list { grid-template-columns: repeat(2, 1fr); gap: 25px; }
    .founder-section { gap: 40px; padding: 35px; }
    .contact-container { gap: 40px; }
}

@media (max-width: 992px) {
    .container { padding: 0 20px; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    .hero { padding: 130px 0 80px; }
    .services-container { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .values-grid-minimal { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .credentials-list { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .founder-section { flex-direction: column; text-align: center; padding: 30px; gap: 30px; }
    .founder-image-wrapper { width: 220px; height: 220px; margin: 0 auto 20px !important; }
    .founder-bio p { text-align: justify; text-align-last: center; }
    .founder-title::after { left: 50%; transform: translateX(-50%); }
    .founder-title { text-align: center; display: block; }
    .founder-quote { text-align: center; border-left: none; border-top: 4px solid var(--golden-yellow); border-radius: 20px 20px 0 0; padding: 25px 20px; }
    .founder-quote::before { left: 50%; transform: translateX(-50%); }
    .eap-grid { grid-template-columns: 1fr; gap: 15px; }
    .eap-services { padding: 35px 30px; }
    .contact-container { flex-direction: column; gap: 30px; }
    .footer-content { gap: 25px; }
    .footer-column { flex: 1 1 180px; }
}

/* ========== MOBILE NAVIGATION FIX ========== */
@media (max-width: 768px) {
    html { font-size: 15px; }
    header { padding: 8px 0 !important; height: 60px; }
    .header-content { min-height: 60px; justify-content: space-between; align-items: center; padding: 0 15px; position: relative; }
    .mobile-logo { display: flex !important; align-items: center; font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--white); font-size: 1.1rem; padding-left: 5px; order: 1; z-index: 1003; gap: 8px; height: 100%; }
    .mobile-logo span { background: linear-gradient(90deg, var(--golden-yellow), var(--sage-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .mobile-menu-btn { display: flex !important; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); order: 3; }
    
    nav { 
        position: fixed; 
        top: 60px; 
        left: 0; 
        width: 100% !important; 
        background: linear-gradient(135deg, var(--violet-dusty), var(--grape-muted)); 
        backdrop-filter: blur(10px); 
        box-shadow: 0 10px 30px rgba(143, 130, 170, 0.3); 
        border-radius: 0 0 15px 15px; 
        overflow: hidden; 
        max-height: 0; 
        opacity: 0; 
        visibility: hidden; 
        transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.2s ease; 
        z-index: 1001; 
        pointer-events: none;
    }
    
    nav.active { 
        max-height: 500px !important; 
        opacity: 1 !important; 
        visibility: visible !important; 
        pointer-events: auto;
    }
    
    nav ul { 
        flex-direction: column !important; 
        gap: 0 !important; 
        padding: 15px !important; 
        width: 100% !important; 
        margin: 0;
    }
    
    nav li { 
        width: 100% !important; 
        list-style: none;
    }
    
    nav a { 
        display: flex !important; 
        align-items: center; 
        padding: 15px !important; 
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
        width: 100% !important; 
        text-align: left; 
        min-height: 44px !important; 
        font-size: 1rem; 
        gap: 15px; 
        color: var(--white);
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    nav a .nav-icon { font-size: 1.2rem; width: 24px; }
    nav a .nav-text { font-size: 1rem; }
    nav a:last-child { border-bottom: none !important; }
    
    .nav-overlay { 
        display: none; 
        position: fixed; 
        top: 60px; 
        left: 0; 
        width: 100%; 
        height: calc(100% - 60px); 
        background: rgba(0, 0, 0, 0.5); 
        z-index: 1000; 
        backdrop-filter: blur(2px); 
        cursor: pointer; 
        pointer-events: none;
    }
    
    .nav-overlay.active { 
        display: block; 
        pointer-events: auto;
    }

    .services-container,
    .values-grid-minimal,
    .credentials-list { grid-template-columns: 1fr !important; gap: 20px; }
    .session-options { flex-direction: column; gap: 20px; }
    .session-option { width: 100%; max-width: 100%; }
    .commitment-list { flex-direction: column; gap: 15px; }
    .commitment-item { width: 100%; max-width: 100%; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    .hero { padding: 100px 0 60px; }
    .hero p { font-size: 1rem; padding: 0 10px; }
    .hero-logo { width: 150px; height: 150px; }
    .hero-logo-main { font-size: 1.8rem; }
    .hero-logo-sub { font-size: 0.9rem; letter-spacing: 1.5px; }
    .service-card,
    .value-card-minimal,
    .credential-item,
    .session-option { padding: 25px 20px; }
    .values-philosophy,
    .values-commitment,
    .mission-section,
    .credentials-section,
    .eap-services { padding: 30px 25px; }
    .contact-info { padding: 30px 25px; }
    .contact-info h3 { text-align: center; }
    .founder-image-wrapper { width: 180px; height: 180px; margin: 0 auto !important; }
    .founder-content { text-align: left; }
    footer { padding-top: 50px; }
    .footer-content { flex-direction: column; gap: 25px; }
    .footer-column { min-width: 100%; max-width: 100%; flex-basis: 100%; text-align: center; }
    .footer-logo { justify-content: center; flex-direction: column; text-align: center; gap: 10px; }
    .social-links { justify-content: center; }
    .footer-links { display: inline-block; text-align: center; }
    .footer-links li { text-align: center; }
    .footer-links a { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    .footer-legal { justify-content: center; gap: 15px; }
    body { overflow-x: hidden; width: 100%; }
    .container { overflow-x: hidden; }
    .contact-info { transform: translateY(30px); }
    .contact-info.animate-left { transform: translateY(30px); }
    button, .btn, .social-link, .footer-links a, nav a { min-height: 44px; min-width: 44px; }
    .contact-buttons { flex-direction: column; align-items: center; }
    .contact-btn { width: 100%; max-width: 250px; }
    
    /* Modal responsive */
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-section {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .modal-section i {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    html { font-size: 14px; }
    .container { padding: 0 15px; }
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.1rem; }
    .hero { padding: 90px 0 50px; }
    .hero-logo { width: 130px; height: 130px; }
    .hero-logo-main { font-size: 1.6rem; }
    .hero-logo-sub { font-size: 0.85rem; }
    .value-icon-wrapper { width: 60px; height: 60px; }
    .value-icon { width: 45px; height: 45px; font-size: 1.1rem; }
    .service-icon { width: 50px; height: 50px; font-size: 1.25rem; }
    .btn { padding: 12px 24px; font-size: 0.95rem; min-height: 44px; min-width: 44px; }
    .service-card h3,
    .value-title-minimal,
    .credential-title { font-size: 1rem; line-height: 1.3; word-break: break-word; hyphens: auto; }
    .service-card:nth-child(6) h3 { font-size: 0.95rem; line-height: 1.4; }
    .mobile-menu-btn { width: 44px; height: 44px; font-size: 1.5rem; right: 10px; top: 50%; transform: translateY(-50%); }
    .mobile-logo { font-size: 1rem; padding-left: 0; }
    nav a { gap: 12px; }
    nav a .nav-icon { font-size: 1.1rem; width: 22px; }
    nav a .nav-text { font-size: 0.95rem; }
    #services, #values, #about, .contact-section { padding: 70px 0; }
    .eap-services, .values-philosophy, .mission-section { padding: 25px 20px; }
    footer { padding-top: 40px; }
    .footer-content { gap: 20px; margin-bottom: 30px; }
    .footer-logo-img { width: 60px; height: 60px; }
    .footer-logo-text { font-size: 0.95rem; }
    .footer-logo-text span { font-size: 0.7rem; }
    .back-to-top { bottom: 20px; right: 20px; width: 45px; height: 45px; }
    .founder-image-wrapper { width: 160px; height: 160px; }
    .founder-image { border-width: 4px; }
    .founder-quote p { font-size: 0.95rem; }
    .contact-btn { padding: 12px 20px; font-size: 0.95rem; }
}

@media (max-width: 400px) {
    html { font-size: 13px; }
    .container { padding: 0 12px; }
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1rem; }
    .hero-logo { width: 110px; height: 110px; }
    .hero-logo-main { font-size: 1.4rem; }
    .hero-logo-sub { font-size: 0.75rem; }
    .btn { padding: 10px 20px; font-size: 0.9rem; }
    .mobile-logo { font-size: 0.9rem; }
    .mobile-menu-btn { width: 40px; height: 40px; font-size: 1.3rem; right: 8px; top: 50%; transform: translateY(-50%); }
    #services, #values, #about, .contact-section { padding: 60px 0; }
    .service-card, .value-card-minimal, .credential-item { padding: 20px 15px; }
    .contact-info { padding: 20px 15px; }
    .footer-logo { flex-direction: column; gap: 8px; }
    .footer-logo-img { width: 50px; height: 50px; }
    .founder-image-wrapper { width: 140px; height: 140px; }
}