/* ===== Homepage (Welcome) — Custom Styles ===== */

:root {
    --green-dark: #1a3a2a;
    --green-mid: #2a5a3e;
    --green-light: #3d7a57;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --gold-pale: #f7f0dc;
    --cream: #f8f4ed;
    --text-main: #1a2e22;
    --text-muted: #5a7262;
    --white: #ffffff;
}

body {
    background-color: var(--cream);
    font-family: 'Tajawal', sans-serif;
    color: var(--text-main);
}

/* ── Common Section Styles ── */
.section {
    padding: 100px 20px;
}

.section-alt {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-inline: auto;
}

.section-header h4 {
    color: rgb(118, 110, 52);
    font-size: 23px;
    font-weight: 700;
    margin-bottom: -23px;
}

.section-header h2 {
    color: rgb(118, 110, 52);
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 16px;
}

.section-header p {
    color: rgb(0, 0, 0);
    font-size: 16px;
    line-height: 1.8;
}

.levels-header h2 {
    color: #1F8379;
    font-family: 'Almarai', sans-serif;
    font-size: 50px;
    font-weight: 700;
}

.levels-header p {
    font-size: 18px;
}

.videos-header h4 {
    display: inline-block;
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: -12px;
    color: var(--gold);
}

.videos-header h2 {
    font-family: 'Almarai', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: rgb(128, 103, 51);
    /* Keep the olive color as in the image */
    margin-bottom: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--green-dark);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-dark {
    background-color: var(--green-dark);
    color: #fff;
}

.btn-dark:hover {
    background-color: var(--green-mid);
}

/* ── Hero Section ── */
.home-hero {
    position: relative;
    background-color: var(--green-dark);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 8em 20px 9em 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: transparent;
    background-image: linear-gradient(180deg, #0ba39e 0%, #aa8730 100%);
    opacity: 0.86;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    z-index: 1;
}

.home-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    margin-top: -45px;

}

.home-hero h1 {
    font-size: clamp(32px, 5vw, 70px);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.3;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-top: 0pc;
}

.bismillah-img {
    height: 40px;
    width: auto;
    max-width: 100%;
    margin: 0 auto 16px auto;
    object-fit: contain;
    display: block;
}

.hero-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(170, 135, 48, 0.6);
    color: #fff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    margin: 0 auto 24px auto;
    width: 300px;
    height: 28px;
    /* adjusted slightly so text isn't cut off if it wraps */
    box-sizing: border-box;
}

.home-hero p {
    font-size: 21px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;

}

.home-hero__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ── Courses Preview ── */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.course-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card__image {
    aspect-ratio: 16/9;
    background-color: var(--green-mid);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: bold;
}

.course-card__content {
    padding: 24px;
}

.course-card__category {
    color: var(--gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.course-card h3 {
    color: var(--green-dark);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.course-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ── Video Cards (Added) ── */
.madarik-videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1102px;
    margin: 0 auto;
}

.madarik-video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.madarik-video-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.card-body {
    padding: 24px;
    background-color: #1a2332;
    text-align: right;
    direction: rtl;
}

.card-tag {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    margin-bottom: -15px;
    display: inline-block;
    background-color: rgba(201, 168, 76, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(201, 168, 76, 0.15);
}



.card-body h3 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    clear: both;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.instructor-dot {
    width: 32px;
    height: 32px;
    background-color: var(--gold);
    color: #1a2332;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    opacity: 26%;
}

.instructor-name {
    color: #aeb6bf;
    font-size: 12px;
    font-weight: 700;
}

/* ── About Us ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-features {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 6px 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
    direction: rtl;
}

.about-feature-text {
    flex-grow: 1;
    text-align: right;
}

.about-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FDF9F1;
    /* light yellowish */
    border: 1px solid var(--gold);
    border-radius: 8px;
}

.about-feature h4 {
    color: var(--green-dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-feature p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ── Instructors Grid ── */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1050px;
    margin: 0 auto;
}

.instructor-box {
    background: #F9F5EA;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    width: 353px;
    height: 510px;
}

.instructor-box:hover {
    transform: translateY(-5px);
}

.instructor-box:hover h3 {
    color: #000;
}

.instructor-box-img {
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
    background: transparent;
}

.instructor-box-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.instructor-box h3 {
    color: rgb(57, 121, 118);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

/* ── Levels ── */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 27px;
    max-width: 1200px;
    margin: 0 auto;
}

.level-card {
    background: #fff;
    border-radius: 16px;
    border: 1.5px solid var(--gold);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6) !important;
    text-align: right;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.level-card-image {
    width: 100%;
}

.level-card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.level-card-content {
    padding: 20px 30px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.level-card-content h3 {
    color: rgb(57, 121, 118);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
}

.level-card-content p {
    color: black;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
}

.level-card-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    gap: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 24px;
    margin-top: auto;
}

.level-card-actions .btn {
    min-width: 110px;
    border-radius: 50px !important;
    padding: 8px 20px;
    font-size: 14px;
    line-height: 1.5;
    box-sizing: border-box;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.btn-outline-gold {
    background-color: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: #fff;
}

/* ── Features Grid (Why Us) ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: var(--white);
    background: var(--white);
    padding: 50px 20px;
    border-radius: 29px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    direction: rtl;

}

.feature-icon {
    height: 57px;
    margin-bottom: -25px;
    display: inline-block;

}

.feature-box h4 {
    color: #1F8379;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.feature-box p {
    color: black;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* ── FAQ ── */
.faq-header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* flex-start is right in RTL */
    margin-bottom: 40px;
    max-width: 1200px;
    margin-inline: auto;
    text-align: right;
}

.faq-section-header {
    text-align: right;
    margin-bottom: -8px;
    max-width: none;
    margin-inline: 0;
}

.faq-section-header h4.faq-subtitle {
    color: #a48641;
}

.faq-section-header h2.faq-title {
    color: #1F8379;
    font-size: 45px;
    font-weight: 700;
}

.faq-action-wrapper {
    margin-bottom: 30px;
}

.faq-action-wrapper .btn-gold-rounded {
    background-color: #a48641;
    color: #fff;
    border: none;
}

.faq-action-wrapper .btn-gold-rounded:hover {
    background-color: rgb(57, 121, 118);
}

.faq-list {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 700;
    color: #1F8379;
    font-size: 33px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgb(247, 247, 247);
    border-radius: 30px;
    border: 2px solid #c5c5c5;
}

.faq-item.active .faq-question {
    color: #a48641;
}

.faq-answer {
    padding: 20px 24px;
    color: #444;
    font-size: 18px;
    line-height: 1.8;
    background: #ffffff;
    border: 1px solid #c5c5c5;
    border-radius: 15px;
    margin-top: 10px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ── Social Media ── */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.social-card {
    background: #fff;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    min-width: 220px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.social-icon-tiktok {
    background-color: #eaf8f8;
    color: #010101;
}

.social-icon-youtube {
    background-color: #fdeeee;
    color: #ff0000;
}

.social-icon-facebook {
    background-color: #eaf2fc;
    color: #1877f2;
}

.social-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin-bottom: 4px;
}

.social-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.btn-social {
    display: inline-block;
    padding: 8px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #ddd;
    color: #333;
    transition: all 0.3s;
}

.btn-social:hover {
    background-color: #f5f5f5;
}

.btn-social-red {
    border-color: #ff0000;
    color: #ff0000;
}

.btn-social-red:hover {
    background-color: #fff0f0;
}

/* ── Contact & Registration ── */
.contact-reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-col {
    order: 2;
}

.reg-form-col {
    order: 1;
}

.contact-info-title {
    color: #1F8379 !important;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-info-subtitle {
    color: var(--gold) !important;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info-description {
    color: var(--text-muted) !important;
    font-size: 15px;
    max-width: 300px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 30px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    gap: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-right: 4px solid var(--gold);
    transition: all 0.3s ease;
    width: 445px;
}

.contact-card.active-contact,
.contact-card:hover {
    border-color: #1F8379;
    border-right: 1px solid #1F8379;
}

.contact-card-content {
    text-align: right;
    flex-grow: 1;
}

.contact-card h4 {
    font-size: 20px;
    font-weight: 800;
    color: #1F8379;
    margin-bottom: 6px;
}

.contact-card p {
    font-size: 15px;
    color: #000;
    margin-bottom: 0;
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background-color: #FFB300;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reg-form-wrapper {
    background: #fff;
    border: 3px solid #1F8379;
    border-radius: 20px;
    padding: 40px;
    width: 669px;
}

.reg-form-title {
    color: #1F8379;
    font-size: 32px;
    font-weight: 800;

    margin-bottom: 30px;
}

.home-reg-form .form-group {
    margin-bottom: 16px;
    text-align: right;
}

.home-reg-form label {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.home-reg-form label .required {
    color: #ff3b3b;
}

.home-reg-form .form-control {
    width: 100%;
    background-color: #f5f6f8;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
    transition: all 0.3s;
    box-sizing: border-box;
}

.home-reg-form .country-code-select {
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    /* Square box with slightly rounded corners */
}

.home-reg-form .form-control:focus {
    outline: none;
    border-color: var(--green-light);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(31, 131, 121, 0.1);
}

.home-reg-form .input-group {
    display: flex;
    align-items: stretch;
}

.home-reg-form .input-group .input-group-text {
    background-color: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 0 50px 50px 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
    border-left: none;
}

.home-reg-form .input-group .form-control {
    border-radius: 50px 0 0 50px;
    border: 1px solid #e1e4e8;
    background-color: #fff;
}

.home-reg-form .btn-submit {
    background-color: #1F8379 !important;
    color: #fff !important;
    border-radius: 50px;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
    border: none;
    transition: all 0.3s ease;
}

.home-reg-form .btn-submit:hover {
    background-color: #16645c !important;
}

@media (max-width: 991px) {
    .contact-reg-grid {
        grid-template-columns: 1fr;
    }

    .reg-form-wrapper {
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
    }

    .contact-card {
        width: 100%;
        box-sizing: border-box;
    }
}

/* --- Refactored Inline Styles --- */

.about-section {
    background-color: var(--cream);
}

.about-header {
    text-align: right;
    margin-bottom: 20px;
}

.about-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.about-subtitle-text {
    color: var(--gold);
    font-size: 13px;
    font-weight: bold;
}

.about-subtitle-line {
    height: 1px;
    width: 40px;
    background-color: var(--gold);
}

.section-header h2.about-title {
    color: #1F8379;
    font-size: 40px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 10px;
}

.about-tagline-wrapper {
    margin-bottom: 24px;
}

.section-header p.about-tagline-text {
    color: var(--gold);
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 15px;
}

.about-tagline-line {
    height: 2px;
    width: 50px;
    background-color: var(--gold);
}

.about-description {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 16px;
}

.about-action-wrapper {
    margin-top: 30px;
}

.btn-dark-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
}

.about-image-main {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.instructors-section {
    background-color: var(--cream);
}

.instructors-header {
    margin-bottom: 50px;
}

.section-header h4.instructors-subtitle {
    color: var(--gold);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: -31px;

}

.section-header h2.instructors-title {
    color: rgb(57, 121, 118);
    font-family: 'Almarai', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p.instructors-description {
    color: black;
    font-size: 18px;
}

.section-why-us {
    background-color: lch(47.33% 20.72 192.24);
    background-blend-mode: soft-light;
    background-size: auto;
    background-position: center;
}

.section-header h4.why-us-subtitle {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: -31px;
}

.section-header h2.why-us-title {
    color: #fff;
    font-family: 'Almarai', sans-serif;
    font-size: 43px;
    font-weight: 700;
    margin-bottom: -5px;
}

.section-header p.why-us-description {
    color: #fff;
    font-size: 18px;
}

.faq-section {

    background-color: var(--cream);
    background-blend-mode: color-burn;
    background-size: auto;
    opacity: 0.99;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    direction: rtl;
}

.faq-subtitle {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.faq-title {
    color: var(--green-dark);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.faq-description {
    color: var(--text-muted);
    font-size: 14px;
}

.faq-action-wrapper {
    margin-top: 20px;
}

.btn-gold-rounded {
    background-color: var(--gold);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
}

.social-media-section {
    background-color: var(--cream);
    text-align: center;
    padding: 60px 20px;
}

.social-media-header {
    margin-bottom: 40px;
}

.social-media-subtitle {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: bold;
    margin-bottom: -19px;
}

.social-media-title {
    color: var(--green-dark);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 12px;
}

.social-media-title-icon {
    color: var(--gold);
}

.social-media-description {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.social-icon-tiktok {
    background-color: #f1f1f1;
    color: #000;
}

.social-icon-youtube {
    background-color: #ffeaea;
    color: #ff0000;
}

.social-icon-facebook {
    background-color: #eaf1ff;
    color: #1877f2;
}

.contact-reg-section {
    background-color: var(--cream);
    padding: 80px 20px;
}

.contact-reg-grid-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    direction: rtl;
}

.contact-info-header {
    text-align: right;
    margin-bottom: 40px;
}

.contact-info-subtitle {
    color: var(--gold);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-info-title {
    color: var(--green-dark);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-info-description {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 300px;
}

/* Home Footer */
.newsletter-banner {
    background-color: var(--cream);
    background-blend-mode: color-burn;
    background-size: auto;
    padding: 10px 0px 77px;
    text-align: right;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.newsletter-banner-container {
    max-width: 1300px;
    margin: 0 auto;
}

.newsletter-banner-title {
    color: #1F8379;
    font-family: 'Almarai', sans-serif;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
}

.newsletter-banner-desc {
    color: black;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 0 auto;
    max-width: 700px;
}

.home-footer-wrapper {
    background-color: var(--cream);
    padding: 60px 20px 20px;
}

.footer-col-right {
    text-align: right;
}

.footer-logo-img {
    width: 120px;
    margin-bottom: 16px;
}

.footer-desc-text {
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-socials-wrapper {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    color: var(--green-dark);
}

.footer-contact-item {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 8px;
}

.footer-contact-item.no-border {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.footer-contact-text {
    color: #17655d;
    font-size: 13px;
}

.footer-contact-text-ltr {
    direction: ltr;
}

.footer-contact-icon {
    color: var(--gold);
}

.footer-bottom {
    background-color: var(--cream);
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-copyright {
    color: var(--green-dark);
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================
   Mobile Responsiveness
========================================== */
@media (max-width: 991px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        order: 1;
    }

    .about-content {
        order: 2;
    }
}

/* Card Slide-in Animation */
.level-card, .feature-box {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.level-card.animate, .feature-box.animate {
    opacity: 1;
    transform: translateX(0);
}

.level-card:nth-child(1), .feature-box:nth-child(1) {
    transition-delay: 0s;
}

.level-card:nth-child(2), .feature-box:nth-child(2) {
    transition-delay: 0.15s;
}

.level-card:nth-child(3), .feature-box:nth-child(3) {
    transition-delay: 0.3s;
}

.feature-box:nth-child(4) {
    transition-delay: 0.45s;
}

.feature-box:nth-child(5) {
    transition-delay: 0.6s;
}

.feature-box:nth-child(6) {
    transition-delay: 0.75s;
}

/* Instructor Slide-up Animation */
.instructor-box {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.instructor-box.animate {
    opacity: 1;
    transform: translateY(0);
}

.instructor-box:nth-child(1) {
    transition-delay: 0s;
}

.instructor-box:nth-child(2) {
    transition-delay: 0.15s;
}

.instructor-box:nth-child(3) {
    transition-delay: 0.3s;
}

.instructor-box:nth-child(4) {
    transition-delay: 0.45s;
}