
html[lang="ur"] .registration-card input,
html[lang="ur"] .registration-card select,
html[lang="ur"] .registration-card textarea {
    font-family: 'Jameel Noori Nastaleeq', 'Noto Naskh Arabic', serif;
    line-height: 1.9;
    
}

html[lang="ur"] .registration-card input::placeholder,
html[lang="ur"] .registration-card textarea::placeholder {
    font-family: 'Jameel Noori Nastaleeq', 'Noto Naskh Arabic', serif;
    opacity: .7;
}
:root {
    --primary: #0b5b46;
    --primary-dark: #073f31;
    --primary-deep: #062f25;
    --green-2: #1c755b;
    --gold: #c9a45b;
    --gold-soft: #ead7ac;
    --cream: #fbfaf6;
    --paper: #ffffff;
    --mist: #f2f5f1;
    --ink: #17352b;
    --muted: #68776f;
    --line: #dfe6e1;
    --shadow: 0 18px 50px rgba(22, 50, 40, .09);
    --shadow-sm: 0 10px 28px rgba(22, 50, 40, .07);
    --radius: 20px;
    --radius-lg: 30px;
}




* {
    box-sizing: border-box;
}



html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Poppins', 'Inter', sans-serif;
    line-height: 1.72;
    overflow-x: hidden;
}

.rtl-mode {
    font-family: 'Jameel Noori Nastaleeq', 'Noto Naskh Arabic', serif;
}


/* =========================================================
   NEWS & UPDATES TICKER
   Continuous Right-to-Left Scrolling
========================================================= */

.news-ticker {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: stretch;
    background: var(--primary-deep);
    color: rgba(255, 255, 255, .92);
    overflow: hidden;
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}


/* ---------------------------------------------------------
   Fixed Label
--------------------------------------------------------- */

.news-ticker-label {
    flex: 0 0 auto;
    min-width: 165px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 0 20px;

    background: var(--gold);
    color: var(--primary-deep);

    font-size: .72rem;
    font-weight: 700;

    letter-spacing: .04em;
    text-transform: uppercase;

    position: relative;
    z-index: 3;
}

.news-ticker-label i {
    font-size: .78rem;
}


/* ---------------------------------------------------------
   Scrolling Area
--------------------------------------------------------- */

.news-ticker-window {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}


/* ---------------------------------------------------------
   Track
--------------------------------------------------------- */
.news-ticker-track {
    display: flex;
    width: max-content;
    min-width: max-content;
    align-items: center;
    direction: ltr;

    animation:
        newsTickerRTL
        27s
        linear
        infinite;

    will-change: transform;
}

.news-ticker-group {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    padding-right: 28px;
    white-space: nowrap;
}

.news-ticker-group span {
    white-space: nowrap;
}


/* ---------------------------------------------------------
   Text
--------------------------------------------------------- */

.news-ticker-group span {
    font-size: .78rem;
    line-height: 1;
    white-space: nowrap;
}

.news-ticker-group .news-dot {
    color: var(--gold-soft);
    font-size: 1rem;
}


/* ---------------------------------------------------------
   RIGHT → LEFT Animation
--------------------------------------------------------- */

@keyframes newsTickerRTL {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* ---------------------------------------------------------
   Pause on Hover
--------------------------------------------------------- */

.news-ticker-window:hover .news-ticker-track {
    animation-play-state: paused;
}


/* ---------------------------------------------------------
   Mobile
--------------------------------------------------------- */

@media (max-width: 767.98px) {

    .news-ticker,
    .news-ticker-label {
        height: 44px;
    }

    .news-ticker-label {
        min-width: 125px;
        padding: 0 12px;
        font-size: .64rem;
    }

    .news-ticker-label i {
        font-size: .7rem;
    }

    .news-ticker-group {
        gap: 20px;
        padding-right: 20px;
    }

    .news-ticker-group span {
        font-size: .69rem;
    }

    .news-ticker-group .news-dot {
        font-size: .9rem;
    }

    .news-ticker-track {
        animation-duration: 27s;
    }

}


/* ---------------------------------------------------------
   Small Mobile
--------------------------------------------------------- */

@media (max-width: 479.98px) {

    .news-ticker,
    .news-ticker-label {
        height: 42px;
    }

    .news-ticker-label {
        min-width: 42px;
        width: 42px;
        padding: 0;
    }

    .news-ticker-label span {
        display: none;
    }

    .news-ticker-group {
        gap: 17px;
        padding-right: 17px;
    }

    .news-ticker-group span {
        font-size: .64rem;
    }

    .news-ticker-track {
        animation-duration: 23s;
    }

}

/* =========================================================
   KEEP NEWS TICKER MOVING RIGHT TO LEFT IN BOTH LANGUAGES
========================================================= */

.rtl-mode .news-ticker-track {
    direction: ltr;
    animation-name: newsTickerRTL;
}

.rtl-mode .news-ticker-label {
    direction: ltr;
}

.rtl-mode .btn,
.rtl-mode .nav-link,
.rtl-mode small,
.rtl-mode input,
.rtl-mode textarea,
.rtl-mode select,
.rtl-mode .form-control,
.rtl-mode .form-select,
.rtl-mode p,
.rtl-mode h1,
.rtl-mode h2,
.rtl-mode h3,
.rtl-mode h4,
.rtl-mode h5,
.rtl-mode h6,
.rtl-mode .section-kicker,
.rtl-mode .page-hero {
    font-family:
        'Jameel Noori Nastaleeq',
        'Noto Naskh Arabic',
        serif;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1240px;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    background: var(--primary-deep);
    color: rgba(255, 255, 255, .86);
    font-size: .78rem;
    direction: ltr !important;
}

.topbar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    direction: ltr !important;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
    transition: color .2s ease;
    direction: ltr !important;
}

.topbar-link:hover {
    color: #fff;
}

.topbar-link i {
    color: var(--gold-soft);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 7px;
    direction: ltr !important;
}

.language-link {
    opacity: .72;
}

.language-link.active {
    opacity: 1;
    color: #fff;
    font-weight: 700;
}


/* =========================================================
   NAVBAR
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
}

.main-navbar {
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid rgba(223, 230, 225, .85);
    padding: 14px 0;
    transition: .25s ease;
}

.site-header.scrolled .main-navbar {
    box-shadow: 0 8px 30px rgba(23, 53, 43, .08);
    padding: 10px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 190px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--green-2));
    color: #fff;
    box-shadow: 0 8px 18px rgba(11, 91, 70, .18);
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-size: 1.02rem;
    letter-spacing: .1px;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: .68rem;
    letter-spacing: .35px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230b5b46' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-link {
    position: relative;
    color: #385148;
    font-weight: 500;
    font-size: .86rem;
    padding: 10px 11px !important;
    transition: .2s ease;
}

.navbar .nav-link:after {
    content: '';
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 4px;
    height: 2px;
    border-radius: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary);
}

.navbar .nav-link:hover:after,
.navbar .nav-link.active:after {
    transform: scaleX(1);
}

.rtl-mode .navbar .ms-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

.rtl-mode .navbar .ms-lg-3 {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-brand,
.btn-light-brand,
.btn-outline-brand,
.btn-ghost-light {
    border-radius: 999px;
    padding: 11px 20px;
    font-weight: 600;
    font-size: .86rem;
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.btn-brand {
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    box-shadow: 0 10px 22px rgba(11, 91, 70, .16);
}

.btn-brand:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(11, 91, 70, .22);
}

.btn-outline-brand {
    color: var(--primary);
    border: 1px solid rgba(11, 91, 70, .28);
    background: #fff;
}

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

.btn-light-brand {
    background: #fff;
    color: var(--primary);
    border: 1px solid #fff;
}

.btn-light-brand:hover {
    background: #f1f7f3;
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-ghost-light {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .06);
}

.btn-ghost-light:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .65);
    transform: translateY(-1px);
}

.btn-link-brand {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    border: 0;
    padding-left: 4px;
    padding-right: 4px;
}

.btn-link-brand:hover {
    color: var(--primary-dark);
}


/* =========================================================
   FULL WIDTH HERO SLIDER
========================================================= */

.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #0a382b;
    padding: 0;
}

.hero-carousel {
    width: 100%;
}

.hero-carousel .carousel-inner {
    width: 100%;
}

.hero-carousel .carousel-item {
    width: 100%;
}

.hero-slide {
    position: relative;
    min-height: 690px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    z-index: -4;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: -3;

    background:
        linear-gradient(
            90deg,
            rgba(3, 30, 23, .87) 0%,
            rgba(4, 49, 37, .76) 34%,
            rgba(5, 41, 31, .48) 58%,
            rgba(5, 31, 24, .18) 100%
        );
}

.hero-slide-pattern {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .12;
    pointer-events: none;

    background-image:
        radial-gradient(
            circle at 15% 25%,
            rgba(255, 255, 255, .35) 0 1.5px,
            transparent 2px
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(255, 255, 255, .25) 0 1.5px,
            transparent 2px
        );

    background-size:
        38px 38px,
        50px 50px;
}

.hero-slide-content-wrap {
    position: relative;
    z-index: 4;
    width: 100%;
}

.hero-slide-content {
    max-width: 800px;
    padding: 105px 0 135px;
    color: #fff;
}

.eyebrow-light {
    color: rgba(255, 255, 255, .82);
}

.hero-slide-content h1 {
    max-width: 800px;
    margin: 20px 0 22px;
    color: #fff;
    font-size: clamp(3rem, 5.7vw, 5.7rem);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 700;
}

.hero-slide-content p {
    max-width: 700px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .83);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-actions .btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-outline-btn {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .48);
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(5px);
}

.hero-outline-btn:hover {
    color: var(--primary-deep) !important;
    background: #fff;
    border-color: #fff;
}

.hero-trustline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 30px;
}

.hero-trustline span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .79rem;
}

.hero-trustline-light {
    color: rgba(255, 255, 255, .8);
}

.hero-trustline-light i {
    color: var(--gold-soft);
}

.hero-carousel-control {
    width: 62px;
    height: 62px;
    top: auto;
    bottom: 46px;
    opacity: 1;
    z-index: 10;
}

.hero-carousel-control.carousel-control-prev {
    left: auto;
    right: 148px;
}

.hero-carousel-control.carousel-control-next {
    right: 74px;
}

.hero-arrow {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(4, 39, 30, .36);
    backdrop-filter: blur(6px);
    transition: .25s ease;
}

.hero-arrow:hover {
    color: var(--primary-deep);
    background: #fff;
    border-color: #fff;
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-slider-dots button {
    width: 24px;
    height: 4px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .45);
    opacity: 1;
    transition: .25s ease;
}

.hero-slider-dots button.active {
    width: 46px;
    background: var(--gold);
}


/* =========================================================
   RTL HERO
========================================================= */

.rtl-mode .hero-slide-content {
    text-align: right;
}

.rtl-mode .hero-slide-overlay {
    background:
        linear-gradient(
            270deg,
            rgba(3, 30, 23, .87) 0%,
            rgba(4, 49, 37, .76) 34%,
            rgba(5, 41, 31, .48) 58%,
            rgba(5, 31, 24, .18) 100%
        );
}

.rtl-mode .hero-actions {
    justify-content: flex-start;
}

.rtl-mode .hero-trustline {
    justify-content: flex-start;
}


/* =========================================================
   HOVER CORNER EFFECT
   Draws a border from the starting corner around the box.
========================================================= */

.hover-corner {
    position: relative;
    overflow: hidden;
}

.hover-corner::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(201, 164, 91, .92);
    border-radius: inherit;
    pointer-events: none;

    clip-path: inset(
        0 100% 100% 0
    );

    opacity: 0;

    transition:
        clip-path .55s cubic-bezier(.22, .61, .36, 1),
        opacity .2s ease;
}

.hover-corner:hover::after {
    clip-path: inset(0);
    opacity: 1;
}

.course-card,
.process-step,
.teacher-mini-card,
.quote-card,
.feature-item,
.section-art,
.trust-grid > div {
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.course-card:hover,
.process-step:hover,
.teacher-mini-card:hover,
.quote-card:hover,
.feature-item:hover,
.section-art:hover,
.trust-grid > div:hover {
    transform: translateY(-4px);
}


/* =========================================================
   TRUST STRIP
========================================================= */

.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-grid > div {
    padding: 18px 20px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
}

.rtl-mode .trust-grid > div {
    border-right: 0;
    border-left: 1px solid var(--line);
}

.trust-grid > div:last-child {
    border: 0;
}

.trust-grid strong {
    font-size: 1.1rem;
    color: var(--primary);
}

.trust-grid span {
    color: var(--muted);
    font-size: .72rem;
    margin-top: 2px;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section-pad {
    padding: 100px 0;
}

.soft-section {
    background: var(--mist);
}

.section-heading h2 {
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -.035em;
    margin: 15px 0 16px;
    color: var(--primary-deep);
}

.section-heading p,
.lead-copy {
    color: var(--muted);
    max-width: 650px;
}

.center-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.center-heading p {
    margin-left: auto;
    margin-right: auto;
}

.section-art {
    position: relative;
    background: #eef4ef;
    border-radius: 30px;
    padding: 20px;
}

.section-art img {
    width: 100%;
    border-radius: 20px;
}

.art-tag {
    position: absolute;
    left: 35px;
    bottom: 35px;
    padding: 11px 14px;
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-size: .76rem;
    font-weight: 600;
}

.art-tag i {
    color: var(--gold);
    margin-right: 6px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.check-list > div {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #4e6158;
}

.check-list i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e8f2ed;
    color: var(--primary);
    font-size: .78rem;
    flex: 0 0 auto;
}

.text-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-weight: 600;
    font-size: .88rem;
}

.text-arrow i {
    transition: transform .2s ease;
}

.text-arrow:hover {
    color: var(--primary-dark);
}

.text-arrow:hover i {
    transform: translateX(4px);
}

.rtl-mode .text-arrow:hover i {
    transform: translateX(-4px);
}


/* =========================================================
   COURSE CARDS
========================================================= */

.course-card {
    height: 100%;
    position: relative;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: #fff;
    overflow: hidden;
}

.course-card.tall {
    min-height: 260px;
}

.course-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #edf4f0;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 1.24rem;
    margin-bottom: 20px;
}

.course-card h3 {
    font-size: 1.16rem;
    margin-bottom: 10px;
}

.course-card p {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 20px;
}

.card-arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--primary);
    transition: .2s ease;
}

.card-arrow:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.rtl-mode .card-arrow {
    right: auto;
    left: 20px;
}


/* =========================================================
   FEATURES
========================================================= */

.feature-band {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-item {
    padding: 28px 24px;
    position: relative;
}

.feature-item + .feature-item {
    border-left: 1px solid var(--line);
}

.rtl-mode .feature-item + .feature-item {
    border-left: 0;
    border-right: 1px solid var(--line);
}

.feature-item > span {
    color: var(--gold);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
}

.feature-item h3 {
    font-size: 1rem;
    margin: 10px 0 8px;
}

.feature-item p {
    color: var(--muted);
    font-size: .82rem;
    margin: 0;
}


/* =========================================================
   PROCESS
========================================================= */

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-step {
    padding: 28px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.process-step > span {
    color: #849188;
    font-size: .72rem;
    font-weight: 700;
}

.process-step i {
    display: inline-block;
    color: var(--primary);
    font-size: 1.28rem;
    margin: 12px 0 10px;
}

.process-step h3 {
    font-size: 1rem;
}

.process-step p {
    font-size: .8rem;
    color: var(--muted);
    margin: 0;
}


/* =========================================================
   TEACHERS
========================================================= */

.teacher-stack {
    display: grid;
    gap: 14px;
}

.teacher-mini-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(22, 50, 40, .04);
    width: 86%;
}

.teacher-mini-card.offset {
    margin-left: auto;
    width: 92%;
}

.teacher-mini-card img {
    width: 78px;
    height: 78px;
    border-radius: 18px;
    object-fit: cover;
    background: #eef4ef;
}

.teacher-mini-card strong,
.teacher-mini-card span {
    display: block;
}

.teacher-mini-card strong {
    font-size: .92rem;
}

.teacher-mini-card span {
    color: var(--muted);
    font-size: .75rem;
    margin-top: 4px;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.quote-card {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
    min-height: 280px;
}

.quote-card.featured {
    background: #eaf3ee;
    border-color: #d6e6dd;
}

.quote-card.full {
    min-height: 0;
}

.quote-mark {
    color: var(--gold);
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: .8;
}

.quote-card p {
    color: #4f6159;
    font-size: .93rem;
    margin: 18px 0 28px;
}

.quote-person {
    display: flex;
    align-items: center;
    gap: 11px;
}

.avatar-letter {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf2ed;
    color: var(--primary);
    font-weight: 700;
}

.quote-person strong,
.quote-person small {
    display: block;
}

.quote-person strong {
    font-size: .78rem;
}

.quote-person small {
    color: var(--muted);
    font-size: .68rem;
    margin-top: 2px;
}


/* =========================================================
   ACCORDION
========================================================= */

.custom-accordion .accordion-item {
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.custom-accordion .accordion-button {
    background: transparent;
    color: var(--ink);
    padding: 22px 0;
    box-shadow: none;
    font-weight: 600;
    font-size: .94rem;
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
}

.custom-accordion .accordion-body {
    padding: 0 0 22px;
    color: var(--muted);
    font-size: .86rem;
}

.custom-accordion .accordion-button::after {
    background-size: 14px;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 36px 0 100px;
}

.cta-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 30px;
}

.cta-card:after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    right: -100px;
    top: -150px;
}

.cta-card h2 {
    max-width: 720px;
    color: #fff;
    font-size: clamp(2rem,3vw,3rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 12px 0;
    position: relative;
    z-index: 1;
}

.cta-card p {
    margin: 0;
    color: rgba(255,255,255,.72);
    position: relative;
    z-index: 1;
}

.cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
    background:
        linear-gradient(
            135deg,
            var(--primary-deep),
            var(--primary)
        );
    color: #fff;
}

.page-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .35;
    background-image:
        linear-gradient(
            30deg,
            rgba(255,255,255,.05) 12%,
            transparent 12.5%,
            transparent 87%,
            rgba(255,255,255,.05) 87.5%,
            rgba(255,255,255,.05)
        ),
        linear-gradient(
            150deg,
            rgba(255,255,255,.05) 12%,
            transparent 12.5%,
            transparent 87%,
            rgba(255,255,255,.05) 87.5%,
            rgba(255,255,255,.05)
        );
    background-size: 48px 84px;
}

.page-hero h1 {
    position: relative;
    max-width: 850px;
    font-size: clamp(2.4rem,4.3vw,4.5rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    margin: 16px 0;
}

.page-hero p {
    position: relative;
    max-width: 720px;
    color: rgba(255,255,255,.73);
    margin: 0;
    font-size: 1rem;
}


/* =========================================================
   OTHER COMPONENTS
========================================================= */

.shadow-soft {
    box-shadow: var(--shadow);
}

.content-card {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 25px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.content-card h2 {
    font-size: 2rem;
    line-height: 1.15;
    letter-spacing: -.025em;
}

.content-card h3 {
    font-size: 1.18rem;
}

.enroll-side-card {
    position: sticky;
    top: 115px;
    padding: 30px;
    border-radius: 24px;
    background: #eaf3ee;
    border: 1px solid #d7e6dd;
}

.enroll-side-card h3 {
    font-size: 1.55rem;
    line-height: 1.2;
    margin: 12px 0;
}

.enroll-side-card p {
    color: var(--muted);
    font-size: .86rem;
}

.values-card {
    height: 100%;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #fff;
}

.values-card.large {
    min-height: 230px;
}

.values-card i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #edf4f0;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.values-card h3 {
    font-size: 1.05rem;
    margin-bottom: 9px;
}

.values-card p {
    color: var(--muted);
    font-size: .84rem;
    margin: 0;
}

.quote-highlight {
    padding: 42px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.quote-highlight span {
    color: var(--gold);
    font-size: 4rem;
    font-family: Georgia, serif;
    line-height: .7;
}

.quote-highlight p {
    font-size: 1.55rem;
    line-height: 1.35;
    color: var(--primary-deep);
    margin: 16px 0 0;
}

.timeline {
    position: relative;
    display: grid;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 35px;
    top: 35px;
    bottom: 35px;
    width: 1px;
    background: var(--line);
}

.rtl-mode .timeline:before {
    left: auto;
    right: 35px;
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 70px 72px 1fr;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
}

.timeline-number {
    color: #849188;
    font-size: .72rem;
    font-weight: 700;
}

.timeline-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    background: #edf4f0;
    color: var(--primary);
    border: 8px solid #fff;
    box-shadow: 0 0 0 1px var(--line);
    position: relative;
    z-index: 1;
}

.timeline-item h3 {
    font-size: 1.12rem;
    margin-bottom: 6px;
}

.timeline-item p {
    color: var(--muted);
    font-size: .84rem;
    margin: 0;
    max-width: 620px;
}

.registration-card {
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}

.registration-aside {
    height: 100%;
    padding: 38px;
    background: linear-gradient(155deg,#0a4e3c,#0e684f);
    color: #fff;
}

.registration-aside h2 {
    color: #fff;
    font-size: 2.1rem;
    line-height: 1.15;
    margin: 16px 0;
}

.registration-aside p {
    color: rgba(255,255,255,.75);
    font-size: .88rem;
}

.mini-checks {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.mini-checks div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.88);
    font-size: .8rem;
}

.mini-checks i {
    color: var(--gold-soft);
}

.registration-card > .row > div:last-child {
    padding: 38px;
}

.form-label {
    font-size: .78rem;
    font-weight: 600;
    color: #3c544b;
    margin-bottom: 7px;
}

.form-control,
.form-select {
    border: 1px solid #dbe4df;
    min-height: 49px;
    border-radius: 14px;
    color: var(--ink);
    padding: 10px 14px;
    font-size: .84rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(11,91,70,.45);
    box-shadow: 0 0 0 .2rem rgba(11,91,70,.08);
}

textarea.form-control {
    min-height: 125px;
    resize: vertical;
}

.form-note {
    color: var(--muted);
    font-size: .72rem;
    text-align: center;
    margin: 11px 0 0;
}

.form-note i {
    color: var(--primary);
    margin-right: 5px;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.contact-list a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    transition: .2s ease;
}

.contact-list a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.contact-list a > span {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: #edf4f0;
    color: var(--primary);
    display: grid;
    place-items: center;
}

.contact-list small,
.contact-list strong {
    display: block;
}

.contact-list small {
    color: var(--muted);
    font-size: .68rem;
}

.contact-list strong {
    font-size: .82rem;
    margin-top: 2px;
}

.contact-form-card {
    padding: 34px;
    border-radius: 24px;
    background: #f5f8f5;
    border: 1px solid var(--line);
}

.contact-form-card h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.contact-form-card > p {
    color: var(--muted);
    font-size: .8rem;
    margin-bottom: 24px;
}

.faq-wide {
    max-width: 900px;
}

.legal-copy {
    max-width: 860px;
}

.legal-copy h2 {
    font-size: 1.3rem;
    margin-top: 35px;
}

.legal-copy h2:first-child {
    margin-top: 0;
}

.legal-copy p {
    color: var(--muted);
}

.narrow-copy {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.narrow-copy p {
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 22px;
}

.success-page {
    min-height: 68vh;
    display: grid;
    place-items: center;
    padding: 90px 0;
    background: #f5f8f5;
}

.success-card {
    max-width: 720px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 56px 30px;
    box-shadow: var(--shadow);
}

.success-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e9f4ee;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 2rem;
}

.success-card h1 {
    font-size: clamp(2rem,4vw,3.2rem);
    line-height: 1.1;
    margin: 15px 0;
}

.success-card p {
    color: var(--muted);
    max-width: 590px;
    margin: 0 auto 28px;
}

.success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: var(--primary-deep);
    color: #fff;
    padding: 72px 0 24px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 48px;
}

.footer-brand {
    min-width: 0;
    color: #fff;
}

.footer-brand .brand-copy small {
    color: rgba(255,255,255,.55);
}

.footer-brand-col > p {
    max-width: 330px;
    color: rgba(255,255,255,.6);
    font-size: .82rem;
    margin: 18px 0;
}

.footer-main h6 {
    color: #fff;
    font-size: .82rem;
    margin: 0 0 14px;
}

.footer-main > div > a:not(.brand) {
    display: block;
    color: rgba(255,255,255,.58);
    font-size: .76rem;
    margin: 9px 0;
    transition: .2s ease;
}

.footer-main > div > a:not(.brand):hover {
    color: #fff;
}

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

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.13);
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.65);
}

.footer-socials a:hover {
    color: #fff;
    border-color: rgba(255,255,255,.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.11);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    color: rgba(255,255,255,.48);
    font-size: .68rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: rgba(255,255,255,.65);
}

.footer-bottom div {
    display: flex;
    gap: 10px;
    align-items: center;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1100;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #1da851;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    box-shadow: 0 16px 34px rgba(12,73,45,.25);
    transition: .25s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-2px);
}

.whatsapp-pulse {
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(29,168,81,.3);
    animation: pulse 2.6s infinite;
}

@keyframes pulse {
    0%, 70%, 100% {
        transform: scale(.92);
        opacity: .1;
    }

    35% {
        transform: scale(1.06);
        opacity: .45;
    }
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition:
        opacity .65s ease,
        transform .65s ease;
}

.reveal-up {
    transform: translateY(18px);
}

.reveal-left {
    transform: translateX(-18px);
}

.reveal-right {
    transform: translateX(18px);
}

.is-visible {
    opacity: 1;
    transform: none;
}

.rtl-mode .reveal-left {
    transform: translateX(18px);
}

.rtl-mode .reveal-right {
    transform: translateX(-18px);
}


/* =========================================================
   JAMEEL NOORI NASTALEEQ
========================================================= */

@font-face {
    font-family: 'Jameel Noori Nastaleeq';

    src:
        url('../fonts/JameelNooriNastaleeqRegular.woff2')
        format('woff2'),

        url('../fonts/JameelNooriNastaleeqRegular.ttf')
        format('truetype');

    font-style: normal;
    font-weight: 400;
    font-display: swap;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199.98px) {

    .container {
        max-width: 100%;
        padding-left: 28px;
        padding-right: 28px;
    }

    .navbar .nav-link {
        padding-left: 8px !important;
        padding-right: 8px !important;
        font-size: .82rem;
    }

    .hero-slide {
        min-height: 650px;
    }

    .hero-slide-content {
        padding-top: 90px;
        padding-bottom: 130px;
    }

    .hero-slide-content h1 {
        font-size: clamp(2.75rem, 5.6vw, 4.5rem);
    }

}


@media (max-width: 991.98px) {

    .topbar-inner {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .main-navbar {
        padding: 12px 0;
    }

    .navbar-collapse {
        padding: 16px 0 6px;
        border-top: 1px solid var(--line);
        margin-top: 12px;
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .navbar .nav-link {
        padding: 10px 0 !important;
    }

    .navbar .nav-link:after {
        left: 0;
        right: auto;
        width: 45px;
    }

    .rtl-mode .navbar .nav-link:after {
        left: auto;
        right: 0;
    }

    .hero-slide {
        min-height: 640px;
    }

    .hero-slide-content {
        max-width: 700px;
        padding-top: 80px;
        padding-bottom: 135px;
    }

    .hero-slide-content h1 {
        font-size: clamp(2.7rem, 7vw, 4.15rem);
    }

    .hero-carousel-control.carousel-control-prev {
        right: 126px;
    }

    .hero-carousel-control.carousel-control-next {
        right: 55px;
    }

    .trust-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .trust-grid > div:nth-child(2) {
        border-right: 0;
    }

    .rtl-mode .trust-grid > div:nth-child(2) {
        border-left: 0;
    }

    .trust-grid > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .process-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .feature-band {
        grid-template-columns: 1fr;
    }

    .feature-item + .feature-item {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .rtl-mode .feature-item + .feature-item {
        border-right: 0;
        border-top: 1px solid var(--line);
    }

    .quote-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1.2fr 1fr;
        gap: 36px 28px;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 34px;
    }

    .enroll-side-card {
        position: static;
    }

    .timeline-item {
        grid-template-columns: 55px 64px 1fr;
    }

    .timeline:before {
        left: 27px;
    }

    .rtl-mode .timeline:before {
        left: auto;
        right: 27px;
    }

}


@media (max-width: 767.98px) {

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .topbar-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        text-align: center;
    }

    .topbar-link span {
        display: none;
    }

    .language-switcher {
        margin-left: auto;
        margin-right: 0;
    }

    .brand {
        min-width: 0;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .brand-copy strong {
        font-size: .92rem;
    }

    .brand-copy small {
        font-size: .62rem;
    }


    /* ---------------- HERO ---------------- */

    .hero-slide {
        min-height: 680px;
        align-items: flex-end;
    }

    .hero-slide-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 30, 23, .18) 0%,
                rgba(3, 30, 23, .58) 40%,
                rgba(3, 30, 23, .92) 100%
            );
    }

    .rtl-mode .hero-slide-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 30, 23, .18) 0%,
                rgba(3, 30, 23, .58) 40%,
                rgba(3, 30, 23, .92) 100%
            );
    }

    .hero-slide-content {
        max-width: 100%;
        padding: 70px 0 118px;
    }

    .hero-slide-content h1 {
        margin-top: 16px;
        margin-bottom: 16px;
        font-size: clamp(2.35rem, 10vw, 3.65rem);
        line-height: 1.08;
        letter-spacing: -.025em;
    }

    .hero-slide-content p {
        font-size: .92rem;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-trustline {
        display: grid;
        gap: 8px;
        margin-top: 22px;
    }

    .hero-trustline span {
        font-size: .73rem;
    }

    .hero-carousel-control {
        display: none;
    }

    .hero-slider-dots {
        bottom: 34px;
    }


    /* ---------------- GENERAL ---------------- */

    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-grid > div {
        padding: 15px 10px;
    }

    .trust-grid strong {
        font-size: 1rem;
    }

    .trust-grid span {
        font-size: .64rem;
    }

    .section-pad {
        padding: 72px 0;
    }

    .section-heading h2 {
        font-size: 2.05rem;
    }

    .section-art {
        padding: 12px;
        border-radius: 24px;
    }

    .art-tag {
        left: 20px;
        bottom: 20px;
        font-size: .66rem;
        padding: 8px 11px;
    }

    .course-card {
        padding: 24px;
    }

    .course-card.tall {
        min-height: 0;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .teacher-mini-card,
    .teacher-mini-card.offset {
        width: 100%;
        margin-left: 0;
    }

    .cta-section {
        padding: 18px 0 72px;
    }

    .cta-card {
        padding: 34px 22px;
        border-radius: 24px;
    }

    .cta-card h2 {
        font-size: 2rem;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        text-align: center;
    }

    .page-hero {
        padding: 72px 0 62px;
    }

    .page-hero h1 {
        font-size: 2.45rem;
    }

    .content-card,
    .contact-form-card {
        padding: 24px;
    }

    .registration-aside {
        padding: 28px 22px;
    }

    .registration-card > .row > div:last-child {
        padding: 22px;
    }

    .timeline-item {
        grid-template-columns: 42px 58px 1fr;
        gap: 10px;
        padding: 20px 0;
    }

    .timeline:before {
        left: 21px;
    }

    .rtl-mode .timeline:before {
        left: auto;
        right: 21px;
    }

    .timeline-icon {
        width: 58px;
        height: 58px;
        border-radius: 18px;
        border-width: 6px;
    }

    .timeline-item h3 {
        font-size: 1rem;
    }

    .timeline-item p {
        font-size: .77rem;
    }

    .quote-card {
        padding: 24px;
    }

    .quote-highlight {
        padding: 28px;
    }

    .quote-highlight p {
        font-size: 1.25rem;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 14px;
        bottom: 72px;
    }

}


@media (max-width: 479.98px) {

    .container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero-slide {
        min-height: 650px;
    }

    .hero-slide-content {
        padding-bottom: 105px;
    }

    .hero-slide-content h1 {
        font-size: 2.28rem;
    }

    .hero-slide-content p {
        font-size: .86rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid > div {
        border-right: 0 !important;
        border-left: 0 !important;
        border-bottom: 1px solid var(--line);
    }

    .trust-grid > div:last-child {
        border-bottom: 0;
    }

    .section-heading h2 {
        font-size: 1.9rem;
    }

    .btn-brand,
    .btn-outline-brand,
    .btn-light-brand,
    .btn-ghost-light {
        padding: 10px 16px;
    }

    .page-hero h1 {
        font-size: 2.15rem;
    }

    .registration-card {
        border-radius: 22px;
    }

    .registration-aside h2 {
        font-size: 1.75rem;
    }

    .contact-list a {
        padding: 13px;
    }

    .footer-bottom div {
        flex-wrap: wrap;
    }

}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

}