/* ========================================
   ABOUT PAGE MOBILE RESPONSIVE CSS
   Save as: about-mobile.css
======================================== */

/* ========================================
   TABLET & MOBILE (900px and below)
======================================== */

@media (max-width: 900px) {
    
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 260px;
        height: calc(100vh - 80px);
        background: linear-gradient(135deg, #caffbf, #bde0fe);
        flex-direction: column;
        padding: 40px 25px;
        gap: 20px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.25);
        transition: right 0.4s ease;
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    /* Video Section */
    #page5 {
        height: 40vh;
        min-height: 300px;
        border-radius: 0 0 30px 30px;
    }

    /* Main Hero */
    .main {
        padding: 3rem 1.5rem;
    }

    .main::before,
    .main::after {
        font-size: 2.5rem;
    }

    .main-div {
        padding: 2rem 1.5rem;
        border-radius: 30px;
        border-width: 3px;
    }

    .main-div b {
        font-size: 1rem;
        padding: 0.4rem 1.5rem;
    }

    .main-div h1 {
        font-size: 1.4rem;
        line-height: 1.7;
    }

    /* About Content */
    .section-1 {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
        margin: 3rem auto;
    }

    .section-1-left {
        order: 2;
    }

    .section-1-right {
        order: 1;
    }

    .section-1-left img {
        height: 350px;
        border-radius: 30px;
        border-width: 5px;
    }

    .section-1-right h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .section-1-right p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }

    /* Founder Section */
    .founder-section {
        padding: 3rem 1.5rem;
        margin: 3rem 0;
    }

    .founder-section::before {
        font-size: 3rem;
        top: 20px;
        right: 5%;
    }

    .founder-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .founder-intro {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .founder-content-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-top: 2rem;
    }

    .founder-photo {
        height: 350px;
        border-radius: 30px;
        border-width: 5px;
    }

    .founder-quote-section {
        padding: 2rem;
        border-radius: 30px;
        border-width: 3px;
    }

    .founder-quote-text {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .founder-name {
        font-size: 1.1rem;
    }

    /* Values Section */
    .values-section {
        padding: 3rem 1.5rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .value-card {
        padding: 2rem 1.2rem;
        border-radius: 25px;
        border-width: 3px;
    }

    .value-icon {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }

    .value-title {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .value-description {
        font-size: 1rem;
    }

    /* FAQ Section */
    .faq-card {
        padding: 1.5rem;
        border-radius: 20px;
        margin-bottom: 1.2rem;
        border-width: 2px;
    }

    .faq-question h3 {
        font-size: 1.2rem;
    }

    .faq-icon {
        font-size: 1.5rem;
    }

    .faq-answer {
        font-size: 1rem;
    }

    /* WhatsApp Button */
    .whatsapp-btn {
        padding: 12px 18px;
        font-size: 16px;
        bottom: 15px;
        right: 15px;
    }

    /* Footer */
    .kid-footer {
        padding: 90px 6% 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-box h3 {
        font-size: 22px;
    }

    .footer-box h4 {
        font-size: 18px;
    }

    .footer-box p,
    .footer-box a {
        font-size: 15px;
    }

    .footer-social a {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .footer-animals {
        gap: 20px;
    }

    .animal {
        font-size: 45px;
    }

    /* Back to Top */
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 20px;
        bottom: 70px;
        right: 15px;
    }
}

/* ========================================
   TABLET LANDSCAPE (768px - 1024px)
======================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-1 {
        grid-template-columns: 1fr 1fr;
    }

    .section-1-left {
        order: 1;
    }

    .section-1-right {
        order: 2;
    }

    .founder-content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========================================
   SMALL MOBILE (480px and below)
======================================== */

@media (max-width: 480px) {

    /* Video Section */
    #page5 {
        height: 35vh;
        min-height: 250px;
        border-radius: 0 0 20px 20px;
    }

    /* Main Hero */
    .main {
        padding: 2.5rem 1rem;
    }

    .main::before {
        font-size: 2rem;
        left: 5%;
    }

    .main::after {
        font-size: 2rem;
        right: 10%;
    }

    .main-div {
        padding: 1.5rem 1.2rem;
        border-radius: 25px;
    }

    .main-div b {
        font-size: 0.9rem;
        padding: 0.3rem 1.2rem;
    }

    .main-div h1 {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    /* About Content */
    .section-1 {
        padding: 0 1rem;
        margin: 2.5rem auto;
        gap: 2rem;
    }

    .section-1-left img {
        height: 300px;
        border-radius: 25px;
        border-width: 4px;
    }

    .section-1-right h2 {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .section-1-right p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Founder Section */
    .founder-section {
        padding: 2.5rem 1rem;
        margin: 2.5rem 0;
    }

    .founder-section::before {
        font-size: 2.5rem;
        top: 15px;
    }

    .founder-title {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }

    .founder-intro {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .founder-content-grid {
        gap: 2rem;
        margin-top: 1.5rem;
    }

    .founder-photo {
        height: 300px;
        border-radius: 25px;
        border-width: 4px;
    }

    .founder-quote-section {
        padding: 1.5rem;
        border-radius: 25px;
    }

    .founder-quote-text {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .founder-name {
        font-size: 1rem;
    }

    /* Values Section */
    .values-section {
        padding: 2.5rem 1rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .value-card {
        padding: 1.8rem 1rem;
        border-radius: 20px;
    }

    .value-icon {
        font-size: 2.2rem;
        margin-bottom: 0.6rem;
    }

    .value-title {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }

    .value-description {
        font-size: 0.95rem;
    }

    /* FAQ Section */
    .faq-container {
        padding: 0 0.5rem;
    }

    .faq-card {
        padding: 1.2rem;
        border-radius: 18px;
        margin-bottom: 1rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .faq-icon {
        font-size: 1.3rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }

    /* WhatsApp Button */
    .whatsapp-btn {
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 40px;
        bottom: 10px;
        right: 10px;
    }

    /* Footer */
    .kid-footer {
        padding: 70px 4% 25px;
    }

    .footer-cloud {
        height: 100px;
        top: -50px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-box h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .footer-box h4 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .footer-box p,
    .footer-box a {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-social {
        gap: 10px;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .footer-animals {
        gap: 15px;
    }

    .animal {
        font-size: 38px;
    }

    .footer-bottom {
        margin-top: 40px;
    }

    .footer-bottom p {
        font-size: 12px;
    }

    /* Back to Top */
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 60px;
        right: 10px;
    }
}

/* ========================================
   LANDSCAPE ORIENTATION (HEIGHT < 600px)
======================================== */

@media (max-height: 600px) and (orientation: landscape) {
    
    #page5 {
        height: 80vh;
        min-height: auto;
    }

    .main {
        padding: 2rem 1.5rem;
    }

    .main::before,
    .main::after {
        display: none;
    }

    .founder-section::before {
        display: none;
    }
}

/* ========================================
   ACCESSIBILITY - REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
======================================== */

@media (hover: none) and (pointer: coarse) {
    
    /* Increase touch target sizes */
    .nav-links a,
    .nav-toggle,
    .whatsapp-btn,
    .back-to-top,
    .footer-social a {
        min-height: 44px;
        min-width: 44px;
    }

    /* Remove hover effects on touch devices */
    .value-card:hover,
    .faq-card:hover,
    .section-1-left img:hover {
        transform: none;
    }

    .nav-links a:hover {
        background: rgba(255,255,255,0.3);
    }
}