/* ===================================================
   RESPONSIVE STYLESHEET (AL-AWAIEL ACADEMY)
=================================================== */

/* ==========================================
   1. LAPTOP & LARGE TABLETS (max-width: 1024px)
=========================================== */
@media (max-width: 1024px) {
    .container {
        width: min(calc(100% - 40px), var(--container));
    }

    .main-nav {
        gap: 16px;
    }

    .nav-link {
        font-size: 13px;
    }

    .header-cta {
        padding: 9px 18px;
        font-size: 12px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 16px;
    }

    .why-us-grid,
    .stages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .parents-wrapper {
        gap: 40px;
    }

    .parents-highlight-card {
        padding: 35px 25px;
    }
}

/* ==========================================
   2. MEDIUM TABLETS (max-width: 992px)
=========================================== */
@media (max-width: 992px) {
    .site-header {
        position: sticky;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 50px;
        padding-bottom: 60px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-actions,
    .hero-features {
        justify-content: center;
    }

    .journey-stepper {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .journey-panel {
        grid-template-columns: 1fr;
        padding: 35px 25px;
        gap: 30px;
    }

    .parents-wrapper,
    .booking-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .parents-highlight-card {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }

    .slider-item {
        flex: 0 0 calc(50% - 12px);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

/* ==========================================
   3. SMALL TABLETS & MOBILE (max-width: 768px)
=========================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 72px;
    }

    .container {
        width: min(calc(100% - 30px), var(--container));
    }

    .site-header {
        height: var(--header-height);
    }

    .header-container {
        justify-content: space-between;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 15px;
        left: 15px;
        background: var(--white);
        padding: 20px;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 20px 40px rgba(11, 35, 71, 0.15);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all var(--transition);
        border: 1px solid var(--border);
        border-top: none;
    }

    .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 12px 10px;
        font-size: 14px;
        border-bottom: 1px solid rgba(11, 35, 71, 0.05);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link::after {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .journey-section,
    .why-us-section,
    .stages-section,
    .parents-section,
    .success-screens-section,
    .faq-section,
    .booking-section {
        padding: 65px 0;
    }

    .section-head {
        margin-bottom: 35px;
    }

    .why-us-grid,
    .stages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stage-card,
    .why-card {
        padding: 25px 20px;
    }

    .perk-item {
        gap: 12px;
    }

    .perk-check {
        width: 28px;
        height: 28px;
        font-size: 13px;
    }

    .parents-highlight-card {
        padding: 30px 20px;
    }

    .parents-highlight-card h3 {
        font-size: 18px;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 0 18px;
    }

    .faq-item.active .faq-answer {
        padding: 12px 18px 18px;
    }

    .faq-answer p {
        font-size: 13px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

/* ==========================================
   4. PHONES (max-width: 576px)
=========================================== */
@media (max-width: 576px) {
    .journey-stepper {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .step-btn {
        padding: 12px 16px;
    }

    .journey-panel {
        padding: 25px 15px;
    }

    /* ضبط حاوية السلايدر في الموبايل لإظهار الأسهم */
    .slider-outer-wrapper {
        position: relative;
        padding: 0 10px;
    }

    .screens-slider-track {
        gap: 16px;
    }

    .slider-item {
        flex: 0 0 92%; /* عرض الكارت ليناسب شاشة الموبايل بدقة */
    }

    /* إظهار وتثبيت الأسهم كأزرار عائمة على الجانبين */
    .slider-arrow {
        display: flex !important;
        width: 36px;
        height: 36px;
        font-size: 14px;
        background: rgba(11, 35, 71, 0.85); /* كحلي أنيق نصف شفاف */
        backdrop-filter: blur(4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        z-index: 20;
    }

    .prev-btn {
        right: 2px; /* السهم الأيمن */
    }

    .next-btn {
        left: 2px;  /* السهم الأيسر */
    }

    .review-screenshot {
        height: 340px !important;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .booking-form-box {
        padding: 24px 18px;
    }
}
/* ==========================================
   5. SMALL PHONES (max-width: 480px)
=========================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 34px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-features {
        gap: 8px 12px;
        font-size: 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .section-desc {
        font-size: 14px;
    }

    .badge-eyebrow {
        font-size: 11px;
        padding: 4px 12px;
    }

    .booking-content h2 {
        font-size: 24px;
    }

    .booking-checks li {
        font-size: 13px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn-submit {
        font-size: 14px;
        min-height: 48px;
    }

    .footer-social-grid {
        grid-template-columns: 1fr;
    }
}