@font-face {
            font-family: 'Tripadvisor Sans';
            src: url('../../fonts/trip-sans/TripSans-Regular.woff2') format('woff2');
            font-weight: 400;
            display: swap;
        }
        @font-face {
            font-family: 'Tripadvisor Sans';
            src: url('../../fonts/trip-sans/TripSans-Bold.woff2') format('woff2');
            font-weight: 700;
            display: swap;
        }
        @font-face {
            font-family: 'Tripadvisor Sans';
            src: url('../../fonts/trip-sans/TripSans-Ultra.woff2') format('woff2');
            font-weight: 800;
            display: swap;
        }
        :root {
            --bg-color: #ffffff;
            --text-main: #000091;
            --text-muted: #acacac;
            --input-bg: #f3f4f6;
            --input-border: #e5e7eb;
            --brand-green: #002b11;
            --btn-disabled-bg: #e5e5e5;
            --accent-color: #a3e635;
        }
        * { box-sizing: border-box; }
        body {
            font-family: 'Tripadvisor Sans', sans-serif;
            background-repeat: no-repeat;
            background-color: var(--bg-color);
            color: var(--text-main);
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        .hero-decor {
            position: absolute;
            top: 70px;
            right: -25%;
            z-index: 5;
            pointer-events: none;
            animation: floatCardRight 6s ease-in-out infinite;
        }
        .hero-decor.bottom-left {
            top: auto;
            bottom: 60px;
            left: -25%;
            right: auto;
            animation: floatCardLeft 6.5s ease-in-out infinite;
            animation-delay: 0.8s;
        }
        @keyframes floatCardRight {
            0%, 100% { transform: rotate(7deg) translateY(0); }
            50% { transform: rotate(7deg) translateY(-16px); }
        }
        @keyframes floatCardLeft {
            0%, 100% { transform: rotate(-7deg) translateY(0); }
            50% { transform: rotate(-7deg) translateY(-16px); }
        }
        .hero-decor-card {
            background: #ffffff;
            border: 1px solid #eef0f2;
            border-radius: 20px;
            padding: 16px 20px;
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
            text-align: center;
            width: 270px;
        }
        .hero-decor-card p {
            font-size: 0.82rem;
            font-weight: 800;
            color: #111827;
            margin: 0 0 12px 0;
            line-height: 1.3;
        }
        .hero-decor-logos {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
        }
        .hero-decor-logos img { height: 20px; width: auto; object-fit: contain; }

        .hero-decor-card--stat {
            width: 250px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        .hero-decor-stat-icon {
            font-size: 1.9rem;
            line-height: 1;
            margin-bottom: 8px;
        }
        .hero-decor-card--stat p {
            margin: 0;
            font-size: 0.82rem;
            font-weight: 600;
            color: #374151;
            line-height: 1.35;
        }
        .hero-decor-card--stat p b {
            color: #ff0000ff;
            font-weight: 800;
        }

        @media (max-width: 991px) {
            .hero-decor { display: none; }
        }

        .intro-screen {
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            text-align: center; border-radius: 20px; padding: 40px 30px;
            max-width: 800px; margin: auto; width: 90%; z-index: 100;
        }
        .intro-logo { width: 165px; height: auto; margin-bottom: 0px; object-fit: contain; }
        .intro-title { font-size: 2rem; font-weight: 900; color: #000000ff; margin-bottom: 15px; line-height: 1.3; }
        .intro-text { font-size: 1.05rem; color: #4b5563; line-height: 1.6; margin-bottom: 35px; font-weight: 500; white-space: pre-line; }
        .intro-btn {text-decoration:none;
            background-color: #ff0000ff; color: #ffffff; border: 1px solid black; padding: 15px 5px;
            font-size: 1rem; font-weight: 700; border-radius: 20px; cursor: pointer;
            transition: all 0.3s ease; width: 100%; max-width: 350px;
            display: flex; align-items: center; justify-content: center; gap: 12px;box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
        }
        .intro-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }

        .intro-btn-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            font-size: 1rem;
            line-height: 1;
            flex-shrink: 0;
            animation: nudgeIcon 1.6s ease-in-out infinite;
            text-decoration:none;
        }
        @keyframes nudgeIcon {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(4px, 4px); }
        }
        .intro-note {
            font-size: 0.82rem; color: #4b5563; line-height: 1.55; font-weight: 500;
            margin-top: 22px; max-width: 620px; border-radius: 14px; padding: 14px 18px;
        }

        .schools-section {
            margin-top: 50px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding-top: 30px;
        }
        .schools-title {
            font-size: 0.9rem;
            color: #4b5563;
            margin-bottom: 25px;
            text-align: center;
        }
        .marquee-container {
            width: 100%;
            overflow: hidden;
            display: flex;
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }
        .marquee-track {
            display: flex;
            width: max-content;
            gap: 40px;
        }
        .marquee-content {
            display: flex;
            gap: 40px;
            align-items: center;
        }
        .marquee-content img {
            height: 40px;
            object-fit: contain;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }
        .marquee-content img:hover {
            transform: scale(1.1);
            opacity: 0.8;
        }
        
        .marquee-track.left {
            animation: scroll-left 25s linear infinite;
        }
        .marquee-track.right {
            animation: scroll-right 25s linear infinite;
        }
        .marquee-container:hover .marquee-track {
            animation-play-state: paused;
        }

        .platforms-caption {
            font-size: 0.8rem;
            color: #9ca3af;
            margin: 38px 0 18px 0;
            text-align: center;
            letter-spacing: 0.3px;
        }
        .platforms-row {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 50px;
            flex-wrap: wrap;
        }
        .platforms-row img {
            height: 34px;
            object-fit: contain;
            opacity: 0.9;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }
        .platforms-row img:hover {
            opacity: 1;
            transform: scale(1.06);
        }

        @keyframes scroll-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-50% - 20px)); } 
        }
        @keyframes scroll-right {
            0% { transform: translateX(calc(-50% - 20px)); }
            100% { transform: translateX(0); }
        }

        .center-content { width: 100%; max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 20px; z-index: 10; }
        .progress-container { position: fixed; top: 0; left: 0; width: 100%; height: 8px; background-color: #f3f4f6; z-index: 9999; }
        .progress-bar { height: 100%; background-color: #000091; width: 0%; transition: width 0.4s ease-in-out; }
        h1.question-title { font-size: 2.2rem; font-weight: 500; color: var(--text-main); margin: 0 0 10px 0; line-height: 1.2;text-align:center;text-transform:math-auto; }
        p.question-subtitle { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 15px 0; line-height: 1.4;text-align:center; }
        
        @media (max-width: 750px) {
            /* ضبط الحاوية الرئيسية للرقم */
    .phone-input-container {
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 12px !important;
    }

    /* تقليل حشو البادئة +212 لتوفير مساحة */
    .phone-prefix {
        padding: 12px 14px !important;
        font-size: 0.95rem !important;
        flex-shrink: 0 !important; /* يمنع انكماش المفتاح الدولى */
    }

    /* تصغير حشو وحجم خط حقل الإدخال ليناسب الشاشة */
    .phone-input-field {
        padding: 12px 14px !important;
        font-size: 0.95rem !important;
        width: 100% !important;
        min-width: 0 !important; /* حل مشكلة الخروج عن حدود الشاشة في Flexbox */
        box-sizing: border-box !important;
    }

    /* ضبط خيار الوالدين (Parent Checkbox) */
    #step-phone .checkbox-wrapper {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 15px !important;
        font-size: 0.85rem !important;
    }
            .session-modal-content {width: 100%!important;position: absolute !important;bottom:0px;} 
            h1.question-title { font-size: 1.2rem !important; } 
            p.question-subtitle { font-size: 0.8rem !important; line-height: 1.3; }
            #action-buttons {
                position: sticky; bottom: 0; left: 0; width: 100%; background-color: #ffffff;
                padding: 10px 0px; z-index: 9999; margin: 0 !important; max-width: 100%;
                display: flex; flex-direction: column; align-items: center;
            }
            .center-content { padding-bottom: 0px !important; }
            .btn-continue { margin-top: 0px;}
            .btn-back { margin-top: 12px; }
            .intro-screen { padding: 30px 0px; }
            .intro-title { font-size: 1rem; }
            .intro-text { font-size: 0.8rem; }
            
            .schools-section { margin-top: 35px; padding-top: 25px; }
            .schools-title { font-size: 0.85rem; margin-bottom: 20px; }
            .marquee-track { gap: 20px; }
            .marquee-content { gap: 20px; }
            .marquee-content img { height: 28px; }

            .platforms-caption { font-size: 0.75rem; margin: 26px 0 14px 0; }
            .platforms-row { gap: 30px; }
            .platforms-row img { height: 35px; }
            
            @keyframes scroll-left {
                0% { transform: translateX(0); }
                100% { transform: translateX(calc(-50% - 10px)); } 
            }
            @keyframes scroll-right {
                0% { transform: translateX(calc(-50% - 10px)); }
                100% { transform: translateX(0); }
            }
        }

        .input-area { width: 100%; max-width: 550px; text-align: center; margin: 0 auto; }
        .form-label { display: block; font-size: 0.8rem; font-weight: 500; margin-bottom: 12px; text-align: left;color:black; }
        .big-input, .big-select {
            width: 100%; padding: 15px 24px; font-size: 0.95rem; background-color: var(--input-bg);
            border: 1px solid var(--input-border); border-radius: 15px; font-weight: 500;
            text-align: left; transition: all 0.2s ease;
        }
        .big-input:focus, .big-select:focus { outline: none; border-color: #000; background-color: #fff; }
        .big-textarea {
            width: 100%; padding: 15px 24px; font-size: 0.95rem; background-color: var(--input-bg);
            border: 1px solid var(--input-border); border-radius: 14px; font-weight: 600;
            text-align: left; transition: all 0.2s ease; resize: vertical; min-height: 100px; font-family: inherit;
        }
        .big-textarea:focus { outline: none; border-color: #000; background-color: #fff; }

        .phone-input-container {
            display: flex; align-items: center; background-color: var(--input-bg);
            border: 1px solid var(--input-border); border-radius: 14px; overflow: hidden; margin-bottom: 4px; direction: ltr;
        }
        .phone-prefix { background-color: #e5e7eb; padding: 20px 24px; font-size: 1.2rem; font-weight: 500; color: #333; border-right: 1px solid #d1d5db; }
        .phone-input-field { flex-grow: 1; border: none; background: transparent; padding: 20px 24px; font-size: 1.2rem; font-weight: 500; outline: none; text-align: left; }
        .phone-input-field:focus { background-color: #fff; }
        
        .summary-box {
            background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 25px;
            margin-bottom: 20px; text-align: left; box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            max-height: 400px; overflow-y: auto;
        }
        .summary-item {
            display: flex; justify-content: space-between; align-items: center;
            border-bottom: 1px solid #f1f5f9; padding: 14px 0; font-size: 0.95rem;
        }
        .summary-item:last-child { border-bottom: none; }
        .summary-label { flex: 1; font-weight: 600; color: #64748b; font-size: 0.9rem; }
        .summary-value { flex: 1; font-weight: 500; color: #0f172a; text-align: left; word-break: break-word; font-size: 0.85rem; }
        
        .btn-continue {
            width: 100%; padding: 16px; font-size: 0.95rem; font-weight: 500;
            border-radius: 10px; border: none; cursor: not-allowed;
            background-color: #3d3d3d; color: #fff;
            margin-top: 5px; transition: all 0.3s;
        }
        .btn-continue.active { background-color: #ff0000; color: #fff; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
        .btn-back {
            background: none; border: none; color: #000; font-weight: 500; 
            margin-top: 12px; cursor: pointer; visibility: hidden; font-size: 0.9rem;
        }
        .step-slide { display: none; width: 100%; animation: fadeInScale 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
        .step-slide.active { display: block; }
        @keyframes fadeInScale { from { opacity: 0; transform: scale(0.98) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
        
        .checkbox-wrapper {
            display: flex; align-items: center; gap: 15px; background: var(--input-bg); padding: 15px; font-size:0.9rem;color:black;
            font-weight:500; border-radius: 12px; border: 1px solid var(--input-border); cursor: pointer; text-align: left; line-height: 1.4;
        }
        .custom-checkbox { width: 24px; height: 24px; accent-color: #000; flex-shrink: 0; }
        
        .partners-card { background: #ffffff; border-radius: 20px; margin: 0 auto 25px auto; max-width: 500px; text-align: center; }
        .partners-icon { font-size: 3.5rem; color: #000 ; margin-bottom: 20px; }
        .partners-title { font-size: 1.4rem; font-weight: 500; color: #000091; margin-bottom: 10px; }
        .partners-sub { font-size: 1rem; color:#6b7280 ; margin-bottom: 25px; line-height: 1.6; font-weight: 500; }
        .partners-list { list-style: none; padding: 0; margin: 0; text-align: left; display: inline-block; }
        .partners-item {
            font-size: 0.8rem; font-weight: 700; color: #525352; margin-bottom: 14px; display: flex; align-items: flex-start; gap: 12px; line-height: 1.4;
        }
        .partners-item i { color: #000; margin-top: 3px; }

        .interests-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 100%; margin: 0 auto; }
        .interest-tag { background-color: #ffffff; border: 1px solid #c7c7c7; border-radius: 50px; padding: 10px 20px; font-size: 16px; font-weight: 500; color: #333; cursor: pointer; transition: all 0.2s ease; user-select: none; }
        .interest-tag:hover { background-color: #f7f7f7; border-color: #777; }
        .interest-tag.selected { background-color: #000000ff; border-color: #000000ff; color: #fff; font-weight: 500; }
        
        .session-modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5); z-index: 10000; display: none;
            justify-content: center; align-items: center; backdrop-filter: blur(3px);
        }
        .session-modal-content {
            background: white; padding: 15px; border-radius: 15px 15px 0px 0px; width: 90%; max-width: 500px; text-align: left;
            position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
        }
        .session-modal-close {
            position: absolute; top: 15px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #666; transition: color 0.2s;
        }
        .session-modal-close:hover { color: #000; }
        .session-modal-title { font-size: 1.1rem; font-weight: 500; margin: 0 0 5px 0; color: #101951; }
        .session-modal-sub { font-size: 0.9rem; color: #666; margin: 0 0 10px 0; line-height: 1.3; }
        .session-modal-select {
            width: 100%; padding: 15px; font-size: 0.95rem; border: 2px solid #002b11; border-radius: 8px; font-weight: 700;
            color: #1a1a1a; background-color: #fff; margin-bottom: 0px; appearance: none; cursor: pointer;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1em;
        }
        .session-modal-textarea {
            width: 100%; padding: 15px; font-size: 0.85rem; border: 2px solid #e5e7eb; border-radius: 8px; font-family: inherit;
            resize: vertical; min-height: 140px; background-color: var(--input-bg); font-weight: 500; transition: all 0.2s ease;
        }
        .session-modal-textarea:focus { outline: none; border-color: #002b11; background-color: #fff; }
        .modal-label { display: block; font-size: 0.9rem; font-weight: 900; margin-bottom: 8px; color: #1a1a1a; margin-top: 15px; }
        .session-modal-terms { font-size: 0.8rem; color: #666; text-align: center; margin-bottom: 20px; line-height: 1.5; margin-top: 15px; }
        .session-modal-btn {
            width: 100%; padding: 15px; font-size: 0.95rem; font-weight: 500; border-radius: 12px; border: none; background-color:#000; color: #ffffff; cursor: pointer; transition: background 0.2s;
        }
        .session-modal-btn:disabled { background-color: #e5e5e5; color: #a3a3a3; cursor: not-allowed; }
        .session-modal-btn-secondary {
            width: 100%; padding: 15px; font-size: 0.95rem; font-weight: 500; border-radius: 12px; background-color: transparent; color: #1a1a1a;
            cursor: pointer; transition: all 0.2s; text-align: center;border:none;
        }
        .session-modal-btn-secondary:hover { border-color: #000; }

        /* التنسيقات الجديدة الخاصة باختيار المواعيد بشكل الأزرار */
        .date-header-container {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
            margin-top: 10px;
        }
        .date-header-back {
            font-size: 1.1rem;
            cursor: pointer;
            color: #1a1a1a;
        }
        .date-header-title {
            font-size: 1.25rem;
            font-weight: 500;
            color: #1a1a1a;
            margin: 0;
        }
        .time-slots-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
            max-height: 280px;
            overflow-y: auto;
            padding-bottom: 10px;
        }
        .time-slot-btn {
            background: #ffffff;
            border: 1px solid #e5e7eb;
            border-radius: 25px;
            padding: 10px 22px;
            font-size: 0.95rem;
            font-weight: 500;
            color: #1a1a1a;
            cursor: pointer;
            transition: all 0.2s ease;
            user-select: none;
        }
        .time-slot-btn:hover {
            border-color: #000;
        }
        .time-slot-btn.selected {
            background-color: #000;
            color: #fff;
            border-color: #000;
            font-weight: 500;
        }