* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #f4f4f4;
    direction: rtl;
}

/* ── Hero two-column layout ── */
.hero-layout {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 40px auto;
    gap: 40px;
    padding: 0 20px;
}

.hero-left {
    flex: 1;
    min-width: 0;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid #ddd;
}

.hero-image-wrapper img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    padding: 24px 20px 20px;
    text-align: center;
}

.hero-overlay p {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-btn {
    display: inline-block;
    background: #e00;
    color: #fff;
    padding: 8px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
}

.hero-btn:hover {
    background: #cc0000;
}

.hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.7;
    margin-bottom: 12px;
    text-align: center;
}

.hero-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.9;
    text-align: center;
}

.form-container {
    flex: 0 0 500px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.form-header {
    background: #0d1b3e;
    padding: 22px 30px;
    text-align: center;
}

.form-header h1 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.form-body {
    padding: 30px 35px;
}

.form-row {
    margin-bottom: 18px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #8b1a00;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.required {
    color: red;
    margin-left: 3px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select {
    border: 1.5px solid #ccc;
    border-radius: 25px;
    padding: 9px 16px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    outline: none;
    width: 100%;
    color: #333;
    background: #fff;
    direction: rtl;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #0d1b3e;
}

/* Phone field */
.phone-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #ccc;
    border-radius: 25px;
    overflow: hidden;
    direction: ltr;
    background: #fff;
}

.phone-wrapper:focus-within {
    border-color: #0d1b3e;
}

.phone-country,
.phone-code {
    padding: 9px 12px;
    background: #f0f0f0;
    font-size: 0.85rem;
    white-space: nowrap;
    border-left: 1px solid #ccc;
    font-family: 'Cairo', sans-serif;
}

.phone-wrapper input[type="text"] {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
    direction: ltr;
    min-width: 0;
    box-shadow: none !important;
}

.error-msg {
    color: #e00;
    font-size: 0.78rem;
    margin-top: 4px;
    min-height: 16px;
    padding-right: 8px;
}

/* Privacy checkbox row */
.privacy-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.privacy-row label {
    font-size: 0.9rem;
    color: #333;
    cursor: pointer;
}

.privacy-row a {
    color: #0d1b3e;
    text-decoration: underline;
}

.privacy-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
}

/* Submit button */
.submit-btn {
    display: block;
    width: 100%;
    background: #e00;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
}

.submit-btn:hover {
    background: #cc0000;
}

/* CTA scroll-to-form button */
.cta-wrap {
    text-align: center;
    background: #fff;
    padding: 16px 0;
}

.cta-btn {
    display: inline-block;
    background: #e00;
    color: #fff;
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 6px;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #cc0000;
}

/* Location section */
.location {
    max-width: 660px;
    margin: 20px auto 40px;
    text-align: center;
}

.location h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0d1b3e;
}

.location p {
    color: #555;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.location iframe {
    width: 100%;
    border-radius: 8px;
}

/* ── Why Us section ── */
.why-us {
    background: #ebebeb;
    padding: 60px 20px;
    text-align: center;
}

.why-us-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.why-us-header p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 50px;
}

.features-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 80px;
}

.feature-card {
    text-align: center;
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: #3b6ee8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.feature-card ul {
    list-style: disc;
    text-align: right;
    padding-right: 20px;
    color: #444;
    font-size: 0.92rem;
    line-height: 1.9;
}

.feature-card ul li {
    margin-bottom: 8px;
}

/* ── Image sections ── */
.image-section {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
}

/* ── Payment image ── */
.payment-section {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
}

.payment-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.image {
    display: block;
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    border-radius: 8px;
}

/* ── Learn Style section ── */
.learn-style {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
}

.learn-style-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 14px;
}

.learn-style-header p {
    color: #555;
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.learn-style-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 8px;
    overflow: hidden;
}

.learn-card {
    padding: 40px 36px;
    text-align: right;
}

.learn-card--teal {
    background: #2aabb6;
}

.learn-card--gray {
    background: #f0f0f0;
}

.learn-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.learn-card--teal h3 {
    color: #fff;
}

.learn-card--gray h3 {
    color: #1a1a1a;
}

.card-subtitle {
    font-size: 0.9rem;
    margin-bottom: 24px;
    padding-bottom: 20px;
    line-height: 1.7;
}

.learn-card--teal .card-subtitle {
    color: #e0f5f7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.learn-card--gray .card-subtitle {
    color: #666;
    border-bottom: 1px solid #ccc;
}

.learn-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.learn-card ul li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    font-size: 0.95rem;
}

.learn-card--teal ul li {
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.learn-card--gray ul li {
    color: #333;
    border-bottom: 1px solid #ddd;
}

.learn-card ul li:last-child {
    border-bottom: none;
}

.chk {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chk::after {
    content: '✓';
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}

.learn-card--teal .chk {
    background: rgba(255, 255, 255, 0.3);
}

.learn-card--gray .chk {
    background: #2aabb6;
}

/* ── Thank-you screen ── */
.thank-you-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f4f4;
    padding: 40px 20px;
}

.thank-you-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    padding: 60px 48px;
    text-align: center;
    max-width: 520px;
    width: 100%;
}

.thank-you-icon {
    width: 72px;
    height: 72px;
    background: #2aabb6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin: 0 auto 28px;
}

.thank-you-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d1b3e;
    margin-bottom: 16px;
}

.thank-you-box p {
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 10px;
}

.thank-you-hours {
    display: inline-block;
    background: #f0f0f0;
    color: #0d1b3e;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 20px;
    border-radius: 6px;
    margin-top: 6px;
}

/* ── Tablet (up to 768px) ── */
@media (max-width: 768px) {
    .hero-layout {
        flex-direction: column;
        padding: 0 16px;
        margin: 20px auto;
        gap: 24px;
    }

    .form-container {
        flex: none;
        width: 100%;
    }

    .location {
        max-width: 95%;
        margin: 20px auto;
    }

    .form-header h1 {
        font-size: 1.5rem;
    }

    .form-body {
        padding: 24px 24px;
    }

    .why-us-header h2 {
        font-size: 1.5rem;
    }

    .features-grid {
        gap: 30px 40px;
    }

    .learn-style-grid {
        grid-template-columns: 1fr;
    }

    .learn-card h3 {
        font-size: 1.6rem;
    }
}

/* ── Mobile (up to 480px) ── */
@media (max-width: 480px) {
    .form-container,
    .location {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .form-header {
        padding: 16px 20px;
    }

    .form-header h1 {
        font-size: 1.2rem;
    }

    .form-body {
        padding: 18px 16px;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select {
        font-size: 1rem;
        padding: 10px 14px;
    }

    .submit-btn {
        font-size: 1rem;
        padding: 13px;
    }

    .location {
        padding: 16px;
    }

    .location iframe {
        height: 280px;
        border-radius: 6px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .why-us {
        padding: 40px 16px;
    }

    .why-us-header h2 {
        font-size: 1.3rem;
    }

    .learn-style {
        padding: 40px 16px;
    }

    .learn-card {
        padding: 28px 20px;
    }

    .learn-card h3 {
        font-size: 1.4rem;
    }
}
