/* Custom Fonts Definitions */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


@font-face {
    font-family: 'Itikaf';
    src: url('../font/itikaf/Itikaf.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/sf-pro-display/SFPRODISPLAYREGULAR.OTF') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/sf-pro-display/SFPRODISPLAYMEDIUM.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/sf-pro-display/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'SF Pro Display';
    src: url('../font/sf-pro-display/SFPRODISPLAYBOLD.OTF') format('opentype');
    font-weight: 700;
    font-style: normal;
}

/* Inter is loaded via Google Fonts CDN (see index.html) */
/* Style Reset & Base Settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #04186c;
    --secondary-color: #fff5ce;
}

html {
    scroll-behavior: smooth;
}

body, html {
    width: 100%;
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-color);
    color: #fff;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--primary-color);
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background-attachment: fixed;
}

/* Fixed Header Navigation */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    z-index: 50;
    border-bottom: 1px solid rgb(255 255 255 / 22%);
    will-change: transform;
    transition: transform 0.28s ease, background-color 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
}

.header-nav.is-hidden {
    transform: translateY(-100%);
    pointer-events: none;
}

.header-nav.is-scrolled {
    background-color: rgba(4, 24, 108, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
}

.header-nav > .container {
    position: relative;
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
    justify-content: flex-end;
}

.nav-link {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    text-transform: capitalize;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    opacity: 1;
}

.nav-link.active {
    opacity: 1;
}

/* ==========================================================================
   Mobile Nav (fullscreen slide-in panel, activated up to 992px)
   ========================================================================== */
.mnav-toggle {
    display: none;
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 90;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 34px;
    padding: 7px 5px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.mnav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #ffffff;
    border-radius: 2px;
}

.mnav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 40px;
    background: #0a0a0a;
    z-index: 100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition:
        right 0.7s cubic-bezier(0.87, 0, 0.13, 1) 0.15s,
        height 0.7s cubic-bezier(0.87, 0, 0.13, 1);
}

html.mnav-open .mnav {
    right: 0;
    height: 100vh;
    height: 100dvh;
    transition:
        right 0.7s cubic-bezier(0.87, 0, 0.13, 1),
        height 0.7s cubic-bezier(0.87, 0, 0.13, 1) 0.15s;
}

html.mnav-open {
    overflow: hidden;
}

.mnav-head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
}

.mnav-logo {
    height: 73px;
    width: auto;
    filter: brightness(0) invert(1);
    -webkit-user-drag: none;
}

.mnav-close {
    position: relative;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease 0.5s;
}

html.mnav-open .mnav-close {
    opacity: 1;
    pointer-events: all;
}

.mnav-close span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background: #ffffff;
    transition: background 0.3s ease;
}

.mnav-close span:first-child {
    transform: translateY(-50%) rotate(45deg);
}

.mnav-close span:last-child {
    transform: translateY(-50%) rotate(-45deg);
}

.mnav-close:hover span {
    background: #d4a63a;
}

.mnav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding-top: 40px;
}

.mnav-link {
    position: relative;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 500;
    text-decoration: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease, color 0.3s ease;
}

html.mnav-open .mnav-link {
    opacity: 1;
    transform: translateY(0);
}

html.mnav-open .mnav-link:nth-child(1) { transition-delay: 0.45s, 0s, 0s; }
html.mnav-open .mnav-link:nth-child(2) { transition-delay: 0.57s, 0s, 0s; }
html.mnav-open .mnav-link:nth-child(3) { transition-delay: 0.69s, 0s, 0s; }
html.mnav-open .mnav-link:nth-child(4) { transition-delay: 0.81s, 0s, 0s; }

.mnav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background: #d4a63a;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mnav-link:hover {
    color: #ffffff;
}

.mnav-link:hover::after {
    transform: scaleX(1);
}

/* Hero Content Container */
.hero-content-container {
    position: relative;
    z-index: 2;
    padding-bottom: 4.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: end;
    width: 100%;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Hero CTA Wrapper */
.hero-cta-wrapper {
    justify-self: end;
    align-self: end;
}

/* Since Badge */
.since-badge {
    height: 35px;
    width: auto;
    object-fit: contain;
    margin-bottom: 60px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/since-card.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0 20px;
    min-width: 140px;
    z-index: 1;
}

.since-badge-text {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
    position: relative;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 15px;
    line-height: 1;
}

/* Hero Heading (Itikaf Font) */
.hero-title {
    font-family: 'Itikaf', serif;
    font-size: 55px;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Hero Description (Inter Font) */
.hero-desc {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: rgb(255 255 255 / 75%);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 700px;
    margin: 0;
    font-weight: 300;
}

/* CTA Button Wrapper */
.hero-cta-wrapper {
    margin-bottom: 0.5rem;
}

/* Connect Us CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    padding: 10px 10px 10px 15px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    gap: 10px;
    border: none;
}

.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 22px;
    height: 22px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.cta-btn:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgb(4 24 108 / 22%);
}

.cta-btn:hover .cta-icon {
    transform: rotate(45deg);
}

/* Audio Control in the Bottom Right */
.audio-control {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

.audio-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.audio-btn svg {
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

/* ==========================================================================
   About Section Styles
   ========================================================================== */
.about-section {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    color: #111827;
    overflow: hidden;
}

/* .abt-container {
    max-width: 1260px;
    margin: 0 auto;
    position: relative;
} */

.abt-row {
    align-items: center;
}

/* Left Content Column */
.abt-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.abt-text-wrap {
    max-width: 540px;
}

/* Heading: SF Pro Display (.section-head) */
.section-head {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: 40px;
    margin-bottom: 10px;
}

.section-head .text-blue {
    color: #04186c;
    display: block;
}

/* Paragraphs: Inter (.para) */
.para {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.62;
    color: #5d5d5d;
    margin-bottom: 15px;
}

.abt-text-wrap .para:last-of-type {
    margin-bottom: 34px;
}

/* Point Cards Slider Container */
.abt-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 6px;
}

.abt-cards-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 4px 2px 14px 2px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.abt-cards-slider.is-dragging {
    cursor: grabbing;
}

.abt-cards-track {
    display: flex;
    gap: 15px;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.abt-card-slide {
    flex: 0 0 190px;
    width: 185px;
    box-sizing: border-box;
}

/* Individual Feature Card */
.abt-card {
    background: #ffffff;
    border: 1px solid #e7eaee;
    border-radius: 16px;
    padding: 20px 16px;
    min-height: 155px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.abt-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(4, 24, 108, 0.07);
    border-color: #cbd5e1;
}

.abt-card-icon-wrap {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abt-card-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    -webkit-user-drag: none;
    pointer-events: none;
}

.abt-card-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #424242;
    margin: 0;
}

/* Right Column: Mosque Arch & Swaying Light */
.abt-img-col {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1;
}

.abt-img-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.abt-arch-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.04));
}

/* Swaying Hanging Light (Pendulum Physics) */
.abt-light-pendulum {
    position: absolute;
    top: -100px;
    right: 8%;
    z-index: 10;
    pointer-events: none;
    transform-origin: 50% 0;
    animation: swayHangingLight 5.5s ease-in-out infinite alternate;
}

.abt-hanging-light {
    width: 40px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 16px rgba(255, 204, 77, 0.25)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

@keyframes swayHangingLight {
    0% {
        transform: rotate(-5.5deg);
    }
    100% {
        transform: rotate(5.5deg);
    }
}

/* ==========================================================================
   Curriculum / Discover Your Learning Path Section
   ========================================================================== */
.curriculum-section {
    position: relative;
    width: 100%;
    background-color: #F8FAFF;
    color: #111827;
    overflow: hidden;
    padding: 100px 0 84px 0;
}

.cur-container {
    /* max-width: 1260px; */
    width: calc(100% - 48px);
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
}

/* Header Row */
.cur-header-row {
    margin-bottom: 36px;
}

.cur-head {
    line-height: 1.2;
    margin-bottom: 0;
}

.cur-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: #5d5d5d;
    margin-bottom: 0;
    max-width: 420px;
    padding-top: 14px;
}

/* Card Container (2 Columns: Left Thumb, Right Content) */
.cur-card {
    background: #ffffff;
    border: 1px solid #e4e7ee;
    border-radius: 30px;
    padding: 13px;
    box-shadow: 0 2px 14px rgba(13, 19, 31, 0.03);
    overflow: hidden;
}

.cur-card-row {
    align-items: stretch;
    margin: 0;
}

.cur-card-row > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

/* Left Column: Thumb Image Box */
.cur-thumb-col {
    display: flex;
    align-items: stretch;
    align-self: stretch;
}

.cur-thumb-card {
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    outline: 1px solid #e4e7ee;
    outline-offset: -1px;
    position: relative;
    min-height: 350px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 14px 14px 18px 14px;
    overflow: hidden;
    transition: min-height 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.cur-thumb-card.is-background-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cur-thumb-top {
    display: flex;
    align-items: flex-start;
    flex-shrink: 0;
}

.cur-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fffbeb;
    border: 1px solid #ebecef;
    border-radius: 10px;
    padding: 6px 13px 6px 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    color: #4a505c;
    white-space: nowrap;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.cur-badge.is-swapping {
    opacity: 0;
}

.cur-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1f3a93;
    flex-shrink: 0;
}

.cur-thumb-img-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    position: relative;
}

.cur-thumb-img {
    position: relative;
    z-index: 1;
    max-width: 76%;
    max-height: 330px;
    object-fit: contain;
    display: block;
    -webkit-user-drag: none;
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.cur-thumb-img.is-swapping {
    opacity: 0.35;
    transform: scale(0.985);
}



/* Right Column: Accordion */
.cur-content-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Two tabs only. Each tab = a title row with its collapsible content below.
   Clicking a title expands that tab and collapses the other. */
.cur-accordion {
    width: 100%;
    padding: 0px 20px;
}

.cur-panel {
    width: 100%;
    position: relative;
}

/* Collapsible body: the grid-template-rows trick animates the real height
   smoothly from 0 to auto without any JS measuring. */
.cur-panel-inner {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.cur-panel-active .cur-panel-inner {
    grid-template-rows: 1fr;
    opacity: 1;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.34s ease 0.06s;
}

.cur-panel-text {
    overflow: hidden;
    min-height: 0;
    padding: 0 20px;
}

/* Program name: same heading font/weight as .section-head */
.cur-panel-name {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: 22px;
    color: #04186c;
    margin-top: 20px;
    margin-bottom: 8px;
}

.cur-panel-desc {
    margin-bottom: 18px;
}

.cur-panel-eligibility {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 0;
}

.cur-panel-eligibility strong {
    font-weight: 500;
    color: #111111;
}

/* Learning-pathway bullet list inside curriculum panels */
.cur-panel-points-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #04186c;
    margin: 18px 0 8px;
}

.cur-panel-points {
    margin: 0 0 14px;
    padding-left: 20px;
    list-style: none;
}

.cur-panel-points li {
    position: relative;
    font-size: 15px;
    line-height: 1.6;
    color: #000000;
    padding-left: 6px;
    margin-bottom: 7px;
}

.cur-panel-points li::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #04186c;
}

.aim-disc {
    font-size: 13px;
}

/* Footer: Contact Card + Instagram */
.cur-panel-footer {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 130px;
    padding-bottom: 30px;
}

.cur-contact-card {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cur-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #d8dbe4;
    color: #04186c;
    flex-shrink: 0;
}

.cur-call-img {
    object-fit: contain;
    display: block;
    -webkit-user-drag: none;
}

.cur-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cur-contact-label {
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    color: #9a9a9a;
    line-height: 1;
}

.cur-contact-name {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #111111;
    line-height: 1.2;
}

.cur-insta-btn {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.cur-insta-btn:hover {
    opacity: 0.8;
}

.cur-insta-img {
    width: auto;
    display: block;
    -webkit-user-drag: none;
    border: 1px solid #00000017;
    padding: 7px 10px 7px 7px;
    border-radius: 10px;
}

/* Tab title row (visible only while its tab is closed) */
.cur-tab-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
    transition: color 0.2s ease;
}

.cur-panel-active .cur-tab-head {
    display: none;
}

.cur-tab-head:focus-visible {
    outline: 2px solid #04186c;
    outline-offset: 2px;
    border-radius: 4px;
}

.cur-panel + .cur-panel {
    border-top: 1px solid #e8e9ee;
}

.cur-tab-head-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #111111;
    transition: color 0.2s ease;
}

.cur-tab-head-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111111;
    transition: transform 0.25s ease, color 0.2s ease;
}

.cur-tab-head:hover .cur-tab-head-title,
.cur-tab-head:hover .cur-tab-head-arrow {
    color: #04186c;
}

.cur-tab-head:hover .cur-tab-head-arrow {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   Programs Section (Category Tabs + 3x3 Card Slider)
   ========================================================================== */
.programs-section {
    position: relative;
    width: 100%;
    background-color: #F8FAFF;
    color: #111827;
    overflow: hidden;
    padding-top: 20px;
}

.prog-container {
    max-width: 1260px;
    width: calc(100% - 48px);
    padding-left: 0;
    padding-right: 0;
    margin: 0 auto;
}

/* Category Filter Tabs */
.prog-tabs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    border: 1px solid #e4e7ee;
    border-radius: 999px;
    padding: 5px;
}

.prog-tab {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #4e4e4e;
    background: transparent;
    border: none;
    border-radius: 999px;
    padding: 8px 17px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.prog-tab:hover {
    color: #111111;
}

.prog-tab-active,
.prog-tab-active:hover {
    background: #f6e9cc;
    color: #111111;
    font-weight: 500;
    border: 1px solid #ffdf99;
}

.prog-tab:focus-visible {
    outline: 2px solid #04186c;
    outline-offset: 2px;
}

/* Category Heading + Count */
.prog-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e4e7ee;
}

.prog-head {
    font-size: 28px;
    font-weight: 500;
    color: #07166b;
    margin-bottom: 0;
    line-height: 1.25;
}

.prog-count {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    color: #8a8a8a;
    white-space: nowrap;
    padding-bottom: 4px;
}

/* Card Grid: 3 columns x 2 rows visible; extra cards reveal via Read More */
.prog-viewport {
    margin-top: 25px;
    overflow: hidden;
    transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.prog-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 22px;
}

.prog-item {
    display: flex;
    min-height: 0;
}

.prog-item.prog-hidden,
.prog-item.prog-cat-hide {
    display: none;
}

.prog-card {
    flex: 1 1 auto;
}

/* Program Card */
.prog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 292px;
    margin: 0;
    padding: 20px 20px 16px 20px;
    border-radius: 16px;
    background: linear-gradient(168deg, #3949ad 24%, #04186c 100%);
    color: #ffffff;
    overflow: hidden;
}

.prog-card.has-image-bg {
    background-image: linear-gradient(rgb(0 0 0 / 58%), rgb(0 0 0 / 88%)), var(--prog-card-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.prog-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.prog-card-num {
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1;
    padding-top: 4px;
}

.prog-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 65px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(6, 15, 70, 0.18);
}

.prog-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    -webkit-user-drag: none;
    border-radius: 10px;
}

.prog-card-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
}

.prog-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: rgb(255 255 255 / 80%);
    margin: 0;
    font-weight: 300;
}

/* Card body group (number + logo + title + description) */
.prog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

/* Bottom block (Instagram + divider + heads) pinned to card bottom so the
   Instagram button sits at the same position on every card. */
/* Key-features bullet list inside program cards */
.prog-card-points-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 12px 0 6px;
}

.prog-card-points {
    margin: 0;
    padding-left: 18px;
    list-style: none;
}

.prog-card-points li {
    position: relative;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    padding-left: 4px;
    margin-bottom: 5px;
}

.prog-card-points li::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d4a63a;
}

.prog-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

/* Instagram chip (right aligned) */
.prog-insta {
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    margin-top: 16px;
    padding: 7px 8px;
    border-radius: 12px;
    background: rgb(6 14 68 / 0%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.prog-insta:hover {
    opacity: 0.85;
}

.prog-insta img {
    height: 17px;
    width: auto;
    display: block;
    -webkit-user-drag: none;
}

/* Divider + Heads row (pinned to bottom) */
.prog-card-divider {
    margin-top: 14px;
    padding-top: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.prog-card-heads {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 14px 0;
}

/* Heads slider — JS adds .prog-heads-slider when a card has >2 contacts */
.prog-card-heads.prog-heads-slider {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #3c51af rgba(255, 255, 255, 0.07);
    /* cursor: grab; */
}

.prog-card-heads.prog-heads-slider::-webkit-scrollbar {
    height: 6px;
}

.prog-card-heads.prog-heads-slider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 999px;
    margin: 0 2px;
}

.prog-card-heads.prog-heads-slider::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #b8892e, #d4a63a);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.prog-card-heads.prog-heads-slider::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #d4a63a, #e8c26a);
    background-clip: padding-box;
}

.prog-card-heads.prog-heads-slider::-webkit-scrollbar-button {
    display: none;
}

.prog-card-heads.prog-heads-slider.prog-heads-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.prog-heads-slider .prog-head-item {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.prog-head-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

a.prog-head-item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.prog-head-item:hover .prog-head-icon {
    border-color: rgba(255, 255, 255, 0.55);
}

.prog-head-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.32);
    flex-shrink: 0;
}

.prog-head-icon img {
    object-fit: contain;
    display: block;
}

.prog-head-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.prog-head-role {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1;
}

.prog-head-name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

/* Slider Controls */
/* Read More button — reuses the hero .cta-btn design; JS toggles .is-hidden */
.prog-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.prog-more {
    cursor: pointer;
}

.prog-more.is-hidden {
    display: none;
}

/* ==========================================================================
   Why Choose Section (Pinned Scroll + Horizontal Card Slide + Arabic Rise)
   ========================================================================== */
.why-pin-wrap {
    position: relative;
}

.why-section {
    position: sticky;
    top: 0;
    min-height: 100vh;
    height: 100vh;
    background: url('../images/why-choose-bg.png') center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.why-container {
    max-width: 1260px;
    width: calc(100% - 48px);
    padding: 90px 0 200px 0;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.why-tag {
    display: block;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: rgb(255 255 255);
    margin-bottom: 14px;
    background: #0000001a;
    margin: auto;
    width: fit-content;
    margin-bottom: 30px;
    padding: 7px 10px;
    border: 1px solid #ffffff17;
    border-radius: 10px;
}

.why-head {
    color: #ffffff;
    text-align: center;
    font-size: 42px;
    line-height: 1.22;
    margin-bottom: 46px;
}

.why-cards {
    display: flex;
    gap: 22px;
    width: max-content;
    will-change: transform;
}

.why-card {
    flex: 0 0 370px;
    background: #04186c6e;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 25px;
    padding: 26px 24px 24px 24px;
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
}

.why-card-icon {
    display: flex;
    margin-bottom: 30px;
}

.why-card-icon img {
    object-fit: contain;
    display: block;
    -webkit-user-drag: none;
    width: 60px;
}

.why-card-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.why-card-desc {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
}

/* Arabic calligraphy rising from the bottom */
.why-arabic {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    margin: 0 auto;
    width: min(88vw, 1000px);
    height: auto;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: #f8f9fb;
}

.cta-card {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 30px;
    background: #f7f1e3;
    border: 1px solid #eee4cf;
    border-radius: 26px;
    padding: 10px 10px 10px 60px;
    overflow: hidden;
}

.cta-text {
    position: relative;
    z-index: 2;
    flex: 0 0 46%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-head {
    color: #000000;
}

.cta-desc {
    max-width: 400px;
    margin-bottom: 70px;
}

.cta-btn-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    background: #0a1668;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 10px 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta-btn-link:hover {
    background: #13258f;
    color: #ffffff;
}

.cta-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.cta-img-wrap {
    position: relative;
    z-index: 2;
    flex: 1;
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
}

.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    -webkit-user-drag: none;
}

.cta-pattern {
    position: absolute;
    left: 34%;
    bottom: -40%;
    max-width: 46%;
    height: auto;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.footer-cta-wrapper {
    justify-self: start;
    align-self: start;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    position: relative;
    background: #0a0a0a;
    color: #ffffff;
    overflow: hidden;
}

.footer-lantern {
    position: absolute;
    top: 0;
    right: 5%;
    pointer-events: none;
    -webkit-user-drag: none;
}

.footer-main {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px 42px;
}

.footer-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
    margin: 10px 0 38px;
}

.footer-mid-row {
    position: relative;
    display: flex;
    align-items: center;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.footer-social img {
    object-fit: contain;
    display: block;
    -webkit-user-drag: none;
}

.footer-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 34px;
}

.footer-nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav-link:hover {
    color: #d4a63a;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

.footer-credit strong {
    color: #d4a63a;
    font-weight: 500;
}
