:root {
    --blue: #0b47a1;
    --blue-dark: #07316f;
    --green: #0a7b4f;
    --gold: #ffd21f;
    --ink: #172033;
    --muted: #657085;
    --line: #e7ecf4;
    --soft: #f5f8fc;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(13, 42, 84, .10);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
}
a { text-decoration: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1180px; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(231, 236, 244, .85);
}
.navbar { padding: 14px 0; }
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blue-dark);
}
.brand:hover { color: var(--blue); }
.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    color: var(--blue);
    background: linear-gradient(135deg, var(--gold), #fff7b5);
    font-weight: 900;
    font-size: 1.5rem;
}
.brand strong {
    display: block;
    text-transform: uppercase;
    letter-spacing: .4px;
    line-height: 1.1;
}
.brand small {
    display: block;
    color: var(--muted);
    font-size: .78rem;
}
.nav-link {
    color: #293348;
    font-weight: 650;
    font-size: .95rem;
}
.nav-link.active, .nav-link:hover { color: var(--blue); }
.btn {
    border-radius: 999px;
    padding: .78rem 1.25rem;
    font-weight: 800;
}
.btn-blue {
    color: #fff;
    background: var(--blue);
    border: 1px solid var(--blue);
    box-shadow: 0 10px 24px rgba(11, 71, 161, .2);
}
.btn-blue:hover { color: #fff; background: var(--blue-dark); }
.btn-gold {
    color: #0b2a5b;
    background: var(--gold);
    border: 1px solid var(--gold);
}
.btn-gold:hover { background: #f2c500; color: #061d43; }
.btn-outline-blue {
    color: var(--blue);
    border: 1px solid rgba(11, 71, 161, .3);
    background: #fff;
}
.btn-outline-blue:hover { color: #fff; background: var(--blue); }
.section {
    padding: 78px 0;
}
.section-soft { background: var(--soft); }
.section-title {
    margin-bottom: 34px;
    text-align: center;
}
.section-title .eyebrow {
    color: var(--green);
    text-transform: uppercase;
    font-weight: 900;
    font-size: .78rem;
    letter-spacing: .08em;
}
.section-title h2 {
    margin: 8px 0 10px;
    color: var(--blue-dark);
    font-weight: 900;
}
.section-title p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
}
.hero {
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 48%, rgba(245,248,252,.4) 100%),
        url("../images/pattern.svg");
    background-size: auto, 440px;
}
.hero-inner {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 38px;
    padding: 46px 0 64px;
}
.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.05;
    color: var(--blue);
    font-weight: 950;
    margin-bottom: 18px;
}
.hero h1 strong { color: var(--green); }
.hero p {
    font-size: 1.13rem;
    color: #515d72;
    max-width: 580px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}
.hero-pills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}
.hero-pill {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.75);
    box-shadow: 0 12px 30px rgba(13,42,84,.06);
}
.hero-pill span {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: var(--green);
    background: #e9f7f1;
    font-weight: 900;
}
.hero-pill b {
    display: block;
    color: var(--blue-dark);
    font-size: .86rem;
}
.hero-pill small { color: var(--muted); }
.hero-media {
    position: relative;
    isolation: isolate;
}
.hero-media img {
    width: 100%;
    min-height: 420px;
    max-height: 560px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}
.hero-media::after {
    content: "";
    position: absolute;
    right: -14px;
    bottom: -14px;
    width: 78%;
    height: 42px;
    z-index: -1;
    background: linear-gradient(90deg, var(--blue), var(--gold));
    border-radius: 999px;
}
.card-clean {
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(13, 42, 84, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.card-clean:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.program-card {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 18px;
    padding: 24px;
}
.program-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border-radius: 22px;
    color: #fff;
    background: var(--blue);
    font-size: 2rem;
    font-weight: 900;
}
.program-card:nth-child(2n) .program-icon { background: var(--green); }
.program-card:nth-child(3n) .program-icon { background: var(--gold); color: var(--blue-dark); }
.program-card h3 {
    color: var(--blue-dark);
    font-size: 1.18rem;
    font-weight: 900;
    margin: 0 0 8px;
}
.program-card p { color: var(--muted); margin: 0; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}
.why-item {
    padding: 22px 14px;
    text-align: center;
    border-right: 1px solid var(--line);
}
.why-item:last-child { border-right: 0; }
.why-item .why-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: grid;
    place-items: center;
    color: var(--green);
    background: #e8f6f0;
    border-radius: 16px;
    font-size: 1.45rem;
    font-weight: 900;
}
.why-item h3 {
    color: var(--green);
    font-size: .98rem;
    font-weight: 900;
}
.why-item p {
    color: var(--muted);
    font-size: .9rem;
    margin: 0;
}
.stats-band {
    color: #fff;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    padding: 42px 0;
}
.stat-item {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.28);
}
.stat-item:last-child { border-right: 0; }
.stat-item strong {
    display: block;
    color: var(--gold);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
}
.stat-item span {
    display: block;
    margin-top: 8px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: .84rem;
}
.person-card, .news-card, .achievement-card, .testimonial-card {
    overflow: hidden;
}
.card-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: #e9eef7;
}
.card-body-custom { padding: 22px; }
.chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .28rem .7rem;
    color: var(--green);
    background: #e8f6f0;
    font-weight: 800;
    font-size: .78rem;
}
.page-hero {
    padding: 76px 0;
    color: #fff;
    background: linear-gradient(135deg, rgba(7,49,111,.94), rgba(11,71,161,.9)), url("../images/pattern.svg");
}
.page-hero h1 {
    font-weight: 950;
    font-size: clamp(2.1rem, 5vw, 3.8rem);
}
.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(13,42,84,.08);
}
.contact-panel {
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.form-control, .form-select {
    border-radius: 14px;
    border-color: var(--line);
    padding: .82rem 1rem;
}
.map-frame iframe {
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 20px;
}
.site-footer {
    padding: 56px 0 26px;
    color: rgba(255,255,255,.78);
    background: #061d43;
}
.site-footer h6, .footer-brand {
    color: #fff;
    font-weight: 900;
}
.footer-brand { font-size: 1.35rem; margin-bottom: 12px; }
.site-footer a {
    display: block;
    margin: 8px 0;
    color: rgba(255,255,255,.76);
}
.site-footer a:hover { color: var(--gold); }
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.social-links a {
    display: inline-flex;
    margin: 0;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}
.footer-bottom {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.62);
}
.admin-shell {
    min-height: 100vh;
    background: var(--soft);
}
.admin-sidebar {
    min-height: 100vh;
    background: #061d43;
    color: #fff;
}
.admin-sidebar a {
    display: block;
    color: rgba(255,255,255,.78);
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 700;
}
.admin-sidebar a.active, .admin-sidebar a:hover {
    color: #061d43;
    background: var(--gold);
}
.admin-card {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(13,42,84,.06);
}
.table td, .table th { vertical-align: middle; }
.thumb {
    width: 70px;
    height: 54px;
    object-fit: cover;
    border-radius: 10px;
    background: #e9eef7;
}

@media (max-width: 991px) {
    .hero-inner { grid-template-columns: 1fr; min-height: auto; }
    .hero-media img { min-height: 330px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-item { border-right: 0; border-bottom: 1px solid var(--line); }
    .stat-item { border-right: 0; margin-bottom: 24px; }
}
@media (max-width: 575px) {
    .section { padding: 54px 0; }
    .hero-inner { padding-top: 28px; }
    .hero-pills { grid-template-columns: 1fr; }
    .program-card { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .brand small { display: none; }
    .brand img, .brand-mark { width: 44px; height: 44px; }
}

/* --- Ekhlel School prototype polish --- */
:root {
    --blue: #0b3d91;
    --blue-dark: #062a6f;
    --green: #006b3f;
    --green-soft: #e8f6ef;
    --gold: #ffd600;
    --gold-dark: #e6b900;
    --soft: #f6f8fb;
}
body { letter-spacing: -.01em; }
.site-header { box-shadow: 0 6px 24px rgba(6,42,111,.06); }
.navbar { padding: 10px 0; }
.brand img { width: 70px; height: 58px; object-fit: contain; }
.brand-copy strong { font-size: 1.08rem; color: var(--blue); }
.nav-cta { padding: .68rem 1.25rem; font-size: .86rem; letter-spacing: .02em; }
.nav-link { font-size: .9rem; }
.hero-home { background: linear-gradient(90deg, #fff 0%, #fff 47%, #f8fafc 100%); }
.hero-home::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: #e8edf5;
}
.hero-inner { min-height: 500px; padding: 28px 0 42px; gap: 28px; }
.hero-copy h1 { margin-bottom: 16px; }
.hero-copy h1 span, .hero-copy h1 strong { display: block; }
.hero h1 { font-size: clamp(2.15rem, 4.2vw, 4rem); }
.hero p { font-size: 1.06rem; max-width: 600px; }
.btn-outline-green {
    color: var(--green);
    border: 1px solid rgba(0,107,63,.45);
    background: #fff;
}
.btn-outline-green:hover { color: #fff; background: var(--green); border-color: var(--green); }
.hero-photo-wrap { border-radius: 0; }
.hero-photo-wrap img {
    min-height: 360px;
    max-height: 430px;
    border-radius: 0 0 0 70px;
    box-shadow: none;
}
.hero-media::after { display: none; }
.hero-ribbon {
    position: absolute;
    left: 4%;
    right: -2%;
    bottom: -7px;
    height: 22px;
    background: linear-gradient(90deg, var(--green), var(--blue));
    transform: skewY(-3deg);
    border-radius: 999px;
}
.hero-ribbon::after {
    content: "";
    position: absolute;
    right: 7%;
    top: -8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gold);
}
.hero-pills { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.hero-pill {
    padding: 10px 12px;
    background: rgba(255,255,255,.92);
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(13,42,84,.05);
}
.hero-pill span { color: var(--blue); background: #f2f6ff; border: 1px solid #e2e8f7; }
.hero-pill:nth-child(2) span { color: var(--green); background: var(--green-soft); }
.hero-pill:nth-child(3) span { color: var(--gold-dark); background: #fff9d6; }
.section-compact { padding: 42px 0; }
.line-title { margin-bottom: 20px; }
.line-title .eyebrow, .line-title h2 {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--blue);
    font-weight: 950;
    letter-spacing: .02em;
}
.line-title .eyebrow::before,
.line-title .eyebrow::after,
.line-title h2::before,
.line-title h2::after {
    content: "";
    width: 52px;
    height: 1px;
    background: var(--green);
    opacity: .7;
}
.program-row .card-clean { min-height: 150px; }
.program-card-pro {
    position: relative;
    grid-template-columns: 82px 1fr;
    padding: 22px;
    overflow: hidden;
}
.program-card-pro::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--green), var(--gold));
    opacity: 0;
    transition: opacity .2s ease;
}
.program-card-pro:hover::before { opacity: 1; }
.program-icon { border-radius: 50%; font-size: 2rem; }
.icon-blue { background: var(--blue) !important; color: #fff !important; }
.icon-green { background: var(--green) !important; color: #fff !important; }
.icon-gold { background: var(--gold) !important; color: var(--blue-dark) !important; }
.card-arrow {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
}
.program-card-pro:nth-child(2) .card-arrow { background: var(--green); }
.program-card-pro:nth-child(3) .card-arrow { background: var(--gold); color: var(--blue-dark); }
.why-grid-pro { gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 24px rgba(13,42,84,.04); }
.why-grid-pro .why-item { padding: 20px 14px; }
.why-grid-pro .why-icon { color: var(--green); background: transparent; font-size: 2rem; }
.stats-band-pro { padding: 0; background: transparent; }
.stats-band-pro .container { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); border-radius: 18px; overflow: hidden; }
.stats-band-pro .stat-item { padding: 26px 16px; }
.stat-item i { display: block; font-size: 2rem; color: rgba(255,255,255,.9); margin-bottom: 7px; }
.stats-band-pro .stat-item strong { font-size: clamp(1.8rem, 3vw, 2.7rem); color: var(--gold); }
.stats-band-pro .stat-item span { color: #fff; }
.achiever-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr) 220px;
    gap: 20px;
    align-items: center;
}
.teacher-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.teacher-mini-card { display: grid; grid-template-columns: 130px 1fr; overflow: hidden; }
.teacher-mini-card img { width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.teacher-mini-card div:not(.chip) { padding: 18px; }
.teacher-mini-card h3 { font-size: 1rem; margin: 0 0 4px; color: var(--blue); font-weight: 900; }
.teacher-mini-card p { margin: 10px 0 0; color: var(--muted); font-size: .86rem; }
.achievement-summary { padding: 22px; }
.achievement-summary h3 { color: var(--blue); font-weight: 900; font-size: 1.15rem; margin-bottom: 14px; }
.achievement-line { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; margin-bottom: 10px; }
.achievement-line span { color: var(--gold-dark); }
.achievement-line:nth-child(even) span { color: var(--green); }
.achievement-line p { margin: 0; color: #445067; }
.achiever-button { text-align: center; }
.section-news-gallery { padding-top: 40px; }
.section-head-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.section-head-row h2 { color: var(--blue); font-weight: 950; font-size: 1.22rem; margin: 0; }
.section-head-row a, .text-link { color: var(--blue); font-weight: 800; }
.news-mini-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.news-mini-card { overflow: hidden; }
.news-thumb { position: relative; height: 118px; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb span { position: absolute; left: 10px; top: 10px; background: var(--blue); color: #fff; border-radius: 8px; padding: 6px 8px; line-height: 1.05; font-size: .72rem; font-weight: 900; }
.news-mini-card > div:last-child { padding: 14px; }
.news-mini-card h3 { font-size: .98rem; font-weight: 900; line-height: 1.25; }
.news-mini-card h3 a { color: var(--blue); }
.news-mini-card p { color: var(--muted); font-size: .84rem; }
.gallery-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.gallery-preview-grid figure { position: relative; margin: 0; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 24px rgba(13,42,84,.08); }
.gallery-preview-grid img { width: 100%; height: 142px; object-fit: cover; transition: transform .25s ease; }
.gallery-preview-grid figure:hover img { transform: scale(1.05); }
.gallery-preview-grid figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; color: #fff; font-size: .75rem; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.contact-band { background: #fff; }
.map-placeholder { min-height: 260px; border-radius: 20px; display: grid; place-items: center; gap: 10px; text-align: center; color: var(--muted); background: linear-gradient(135deg, #eef4ff, #f9fbff); border: 1px dashed #c7d4e8; }
.map-placeholder i { font-size: 2rem; color: var(--green); }
.footer-logo-row { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 76px; height: 62px; object-fit: contain; padding: 4px; background: rgba(255,255,255,.96); border-radius: 12px; }
.site-footer { background: linear-gradient(135deg, #061d43, #0b3d91); padding-top: 44px; }
.footer-contact p { display: grid; grid-template-columns: 22px 1fr; gap: 8px; margin-bottom: 10px; }
.footer-contact i { color: var(--gold); }
.footer-form .form-control { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); color: #fff; }
.footer-form .form-control::placeholder { color: rgba(255,255,255,.62); }
.social-round a { width: 34px; height: 34px; padding: 0; display: inline-grid; place-items: center; background: rgba(255,255,255,.12); }
.footer-bottom a { display: inline; margin: 0; }
@media (max-width: 1199px) { .achiever-layout { grid-template-columns: 1fr; } .achiever-button { text-align: left; } }
@media (max-width: 991px) {
    .hero-photo-wrap img { border-radius: 24px; }
    .news-mini-list { grid-template-columns: 1fr; }
    .teacher-mini-grid { grid-template-columns: 1fr; }
    .line-title .eyebrow::before, .line-title .eyebrow::after, .line-title h2::before, .line-title h2::after { width: 28px; }
}
@media (max-width: 575px) {
    .brand img { width: 54px; height: 46px; }
    .hero-pills { grid-template-columns: 1fr; }
    .stats-band-pro .container { border-radius: 0; }
    .teacher-mini-card { grid-template-columns: 100px 1fr; }
    .gallery-preview-grid { grid-template-columns: 1fr; }
}

/* --- 2026-05-11: Featured program cards font/icon refinement --- */
body {
    font-family: "Segoe UI", "Noto Sans", "Noto Sans Mongolian", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.programs-showcase {
    padding-top: 54px;
    padding-bottom: 58px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 76%, #f6f8fc 100%);
}

.programs-showcase .container {
    max-width: 1360px;
}

.programs-showcase .line-title {
    margin-bottom: 30px;
}

.programs-showcase .line-title .eyebrow {
    color: var(--blue);
    font-size: clamp(1rem, 1.15vw, 1.28rem);
    line-height: 1.2;
    letter-spacing: .055em;
    font-weight: 950;
}

.programs-showcase .line-title .eyebrow::before,
.programs-showcase .line-title .eyebrow::after {
    width: clamp(56px, 6vw, 95px);
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, var(--green));
}

.programs-showcase .line-title .eyebrow::after {
    background: linear-gradient(90deg, var(--green), transparent);
}

.program-row > [class*="col-"] {
    display: flex;
}

.program-card-pro {
    width: 100%;
    min-height: 230px;
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
    padding: 34px 34px 68px;
    border-radius: 24px;
    border-color: #dfe7f2;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 34px rgba(6, 42, 111, .075);
}

.program-card-pro:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(6, 42, 111, .13);
}

.program-card-pro .program-icon {
    width: 98px;
    height: 98px;
    border-radius: 50%;
    font-size: 3.05rem;
    line-height: 1;
    box-shadow: inset 0 -10px 18px rgba(0, 0, 0, .08), 0 16px 28px rgba(6, 42, 111, .14);
}

.program-card-pro .program-icon i {
    line-height: 1;
    transform: translateY(1px);
}

.program-card-pro .program-card-text {
    min-width: 0;
}

.program-card-pro h3 {
    color: var(--blue-dark);
    font-size: clamp(1.35rem, 1.45vw, 1.75rem);
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: .01em;
    margin: 4px 0 16px;
}

.program-card-pro p {
    color: #374155;
    font-size: clamp(1rem, .95vw, 1.12rem);
    line-height: 1.72;
    font-weight: 500;
    margin: 0;
}

.program-card-pro .card-arrow {
    right: 32px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    font-size: 1.35rem;
    box-shadow: 0 12px 22px rgba(11, 61, 145, .22);
}

.program-theme-green .card-arrow {
    background: var(--green);
    box-shadow: 0 12px 22px rgba(0, 107, 63, .2);
}

.program-theme-gold .card-arrow {
    background: var(--gold);
    color: var(--blue-dark);
    box-shadow: 0 12px 22px rgba(255, 214, 0, .26);
}

.program-card-pro.icon-gold,
.icon-gold {
    color: var(--blue-dark) !important;
}

@media (max-width: 1399px) {
    .program-card-pro {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 20px;
        padding: 28px 26px 64px;
    }
    .program-card-pro .program-icon {
        width: 86px;
        height: 86px;
        font-size: 2.55rem;
    }
    .program-card-pro h3 {
        font-size: 1.32rem;
    }
    .program-card-pro p {
        font-size: .98rem;
        line-height: 1.65;
    }
}

@media (max-width: 1199px) {
    .program-card-pro {
        min-height: 210px;
        grid-template-columns: 96px minmax(0, 1fr);
    }
    .program-card-pro .program-icon {
        width: 94px;
        height: 94px;
        font-size: 2.9rem;
    }
    .program-card-pro h3 {
        font-size: 1.45rem;
    }
    .program-card-pro p {
        font-size: 1.02rem;
    }
}

@media (max-width: 575px) {
    .program-card-pro {
        grid-template-columns: 1fr;
        text-align: left;
        min-height: auto;
        padding: 28px 24px 74px;
    }
    .program-card-pro .program-icon {
        width: 88px;
        height: 88px;
        font-size: 2.65rem;
    }
    .program-card-pro .card-arrow {
        right: 24px;
        bottom: 24px;
    }
}

/* --- 2026-05-11: TEE-style flowing banner + rotating headline --- */
.hero-home {
    background:
        radial-gradient(circle at 6% 14%, rgba(11, 61, 145, .10) 0 16px, transparent 17px),
        radial-gradient(circle at 86% 13%, rgba(230, 185, 0, .18) 0 18px, transparent 19px),
        radial-gradient(circle at 70% 88%, rgba(0, 107, 63, .09) 0 20px, transparent 21px),
        linear-gradient(90deg, #fff 0%, #fff 49%, #f8fafc 100%);
}
.hero-home .hero-inner {
    min-height: 560px;
    grid-template-columns: .88fr 1.12fr;
    gap: 42px;
    padding-top: 48px;
    padding-bottom: 60px;
}
.hero-dynamic-title {
    max-width: 650px;
    text-transform: uppercase;
    letter-spacing: .015em;
}
.hero-dynamic-title .hero-topline,
.hero-dynamic-title .hero-mainline {
    display: block;
}
.hero-dynamic-title .hero-topline {
    color: #2b3038;
}
.hero-dynamic-title .hero-mainline {
    color: #2b3038;
}
.rotating-word {
    display: inline-block;
    min-width: 2.5ch;
    margin-right: .18em;
    color: var(--gold-dark);
    font-style: normal;
    text-shadow: 0 8px 28px rgba(255, 214, 0, .22);
    transition: opacity .24s ease, transform .24s ease;
}
.rotating-word.is-changing {
    opacity: 0;
    transform: translateY(-10px) scale(.98);
}
.hero-copy > p {
    max-width: 680px;
    font-size: 1.12rem;
    line-height: 1.85;
    color: #4d596d;
}
.hero-banner-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px 32px 32px 92px;
    min-height: 470px;
    background: #e9eef7;
    box-shadow: 0 28px 70px rgba(6, 42, 111, .16);
    border: 1px solid rgba(255, 255, 255, .85);
    isolation: isolate;
}
.hero-banner-card img {
    width: 100%;
    height: 100%;
    min-height: 470px;
    max-height: 540px;
    object-fit: cover;
    object-position: center center;
    border-radius: inherit;
    box-shadow: none;
    transform: scale(1.01);
    transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .8s ease;
}
.hero-banner-card:hover img,
.hero-banner-card:focus-within img {
    transform: scale(1.075);
    filter: saturate(1.07) contrast(1.04);
}
.hero-banner-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(6, 42, 111, .38) 0%, rgba(6, 42, 111, .08) 39%, rgba(0,0,0,.04) 100%),
        linear-gradient(0deg, rgba(0,0,0,.42) 0%, transparent 35%);
    opacity: .86;
    pointer-events: none;
    transition: opacity .45s ease;
}
.hero-banner-card:hover::after { opacity: .72; }
.banner-flow {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(.1px);
}
.banner-flow-1 {
    left: -10%;
    right: -8%;
    bottom: 28px;
    height: 18px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,107,63,.85) 18%, rgba(11,61,145,.92) 55%, rgba(255,214,0,.92) 100%);
    transform: rotate(-2.5deg);
    animation: bannerFlow 7s linear infinite;
}
.banner-flow-2 {
    left: -20%;
    right: 8%;
    top: 34px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.95) 45%, transparent 100%);
    opacity: .6;
    transform: rotate(-2deg);
    animation: bannerShine 5.4s ease-in-out infinite;
}
@keyframes bannerFlow {
    0% { transform: translateX(-4%) rotate(-2.5deg); }
    50% { transform: translateX(4%) rotate(-2.5deg); }
    100% { transform: translateX(-4%) rotate(-2.5deg); }
}
@keyframes bannerShine {
    0%, 100% { transform: translateX(-45%) rotate(-2deg); opacity: 0; }
    40%, 60% { opacity: .75; }
    70% { transform: translateX(55%) rotate(-2deg); opacity: 0; }
}
.hero-image-caption {
    position: absolute;
    z-index: 3;
    left: 28px;
    right: 28px;
    bottom: 38px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    color: #fff;
}
.hero-image-caption span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    font-weight: 800;
    font-size: .82rem;
}
.hero-image-caption strong {
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    line-height: 1.2;
    text-align: right;
    text-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.hero-photo-wrap .hero-ribbon {
    left: 6%;
    right: 3%;
    bottom: -10px;
    height: 18px;
    z-index: 4;
    box-shadow: 0 12px 32px rgba(6,42,111,.16);
}
@media (max-width: 1199px) {
    .hero-home .hero-inner { grid-template-columns: 1fr; }
    .hero-banner-card { border-radius: 28px; }
    .hero-banner-card img { min-height: 420px; }
}
@media (max-width: 575px) {
    .hero-home .hero-inner { padding-top: 34px; }
    .hero-dynamic-title { font-size: clamp(2rem, 12vw, 3rem); }
    .hero-banner-card { min-height: 350px; border-radius: 22px; }
    .hero-banner-card img { min-height: 350px; }
    .hero-image-caption { flex-direction: column; align-items: flex-start; left: 18px; right: 18px; bottom: 28px; }
    .hero-image-caption strong { text-align: left; }
}

/* Admin rich text editor */
.richtext-wrap {
    border: 1px solid #dce5f3;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(11, 61, 145, .06);
}
.richtext-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    border-bottom: 1px solid #dce5f3;
}
.rt-btn,
.rt-select,
.rt-color {
    min-height: 38px;
    border: 1px solid #cdd9ec;
    background: #fff;
    color: #0b3d91;
    border-radius: 10px;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(11, 61, 145, .06);
}
.rt-btn {
    width: 42px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .18s ease;
}
.rt-btn:hover,
.rt-select:hover,
.rt-color:hover {
    border-color: #0b3d91;
    transform: translateY(-1px);
}
.rt-select {
    padding: 0 12px;
    min-width: 150px;
}
.rt-select-sm {
    min-width: 96px;
}
.rt-color {
    width: 48px;
    padding: 4px;
    cursor: pointer;
}
.rt-separator {
    width: 1px;
    height: 28px;
    background: #cdd9ec;
    margin: 0 2px;
}
.richtext-editor {
    min-height: 260px;
    padding: 18px 20px;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow-y: auto;
    line-height: 1.78;
    font-size: 1rem;
    color: #27313d;
}
.richtext-editor:focus {
    outline: 3px solid rgba(11, 61, 145, .12);
    outline-offset: -3px;
}
.richtext-editor:empty::before {
    content: attr(data-placeholder);
    color: #8996a8;
}
.richtext-editor h2,
.richtext-editor h3,
.richtext-editor h4,
.news-rich-content h2,
.news-rich-content h3,
.news-rich-content h4 {
    color: #0b3d91;
    font-weight: 900;
    margin-top: 1.2em;
    margin-bottom: .55em;
}
.richtext-editor a,
.news-rich-content a {
    color: #006633;
    font-weight: 800;
    text-decoration: underline;
}
.news-rich-content {
    color: #27313d;
    font-size: 1.08rem;
    line-height: 1.85;
}
.news-rich-content p,
.news-rich-content div {
    margin-bottom: 1rem;
}
.news-rich-content blockquote {
    border-left: 5px solid #ffd600;
    background: #f7fafc;
    padding: 14px 18px;
    border-radius: 12px;
    color: #334155;
}
.news-rich-content ul,
.news-rich-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1rem;
}


/* --- 2026-05-11: Program cards compact typography + extra icons --- */
.program-card-pro {
    overflow: hidden;
}
.program-card-pro .program-bg-icon {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 4.8rem;
    line-height: 1;
    color: rgba(11, 61, 145, .055);
    pointer-events: none;
    transform: rotate(-8deg);
    z-index: 0;
}
.program-card-pro.program-theme-green .program-bg-icon {
    color: rgba(0, 107, 63, .06);
}
.program-card-pro.program-theme-gold .program-bg-icon {
    color: rgba(230, 185, 0, .11);
}
.program-card-pro .program-icon,
.program-card-pro .program-card-text,
.program-card-pro .card-arrow {
    position: relative;
    z-index: 1;
}
.program-card-pro h3 {
    font-size: clamp(1.05rem, 1.05vw, 1.32rem);
    line-height: 1.2;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
.program-card-pro p {
    font-size: clamp(.88rem, .84vw, .98rem);
    line-height: 1.6;
    overflow-wrap: break-word;
}
.program-card-pro {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
    padding: 26px 24px 62px;
    min-height: 220px;
}
.program-card-pro .program-icon {
    width: 76px;
    height: 76px;
    font-size: 2.2rem;
}
.program-card-pro .card-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .programs-showcase .container { max-width: 1160px; }
    .program-row { --bs-gutter-x: 1rem; }
    .program-card-pro {
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 13px;
        padding: 22px 18px 58px;
        min-height: 232px;
    }
    .program-card-pro .program-icon {
        width: 64px;
        height: 64px;
        font-size: 1.85rem;
    }
    .program-card-pro h3 {
        font-size: 1.08rem;
        line-height: 1.18;
        margin-bottom: 10px;
    }
    .program-card-pro p {
        font-size: .86rem;
        line-height: 1.58;
    }
    .program-card-pro .program-bg-icon {
        font-size: 3.7rem;
        right: 10px;
        top: 10px;
    }
    .program-card-pro .card-arrow {
        right: 20px;
        bottom: 22px;
        width: 34px;
        height: 34px;
        font-size: 1.05rem;
    }
}
@media (min-width: 1400px) {
    .program-card-pro h3 { font-size: 1.24rem; }
    .program-card-pro p { font-size: .96rem; }
}
@media (max-width: 1199px) {
    .program-card-pro h3 { font-size: 1.22rem; }
    .program-card-pro p { font-size: .96rem; }
    .program-card-pro .program-icon { width: 78px; height: 78px; font-size: 2.25rem; }
}
@media (max-width: 767px) {
    .program-card-pro {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 14px;
        padding: 22px 20px 60px;
        min-height: auto;
    }
    .program-card-pro h3 { font-size: 1.12rem; }
    .program-card-pro p { font-size: .92rem; line-height: 1.55; }
    .program-card-pro .program-icon { width: 68px; height: 68px; font-size: 2rem; }
}
@media (max-width: 575px) {
    .program-card-pro {
        grid-template-columns: 64px minmax(0, 1fr);
        text-align: left;
        padding: 20px 18px 58px;
    }
    .program-card-pro .program-icon { width: 60px; height: 60px; font-size: 1.8rem; }
    .program-card-pro h3 { font-size: 1.05rem; }
    .program-card-pro p { font-size: .88rem; }
}

/* --- 2026-05-11: Fixed-size replaceable hero banner slider --- */
.hero-banner-card {
    height: clamp(430px, 42vw, 560px);
    min-height: 430px;
    width: 100%;
}
.hero-banner-card .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    max-height: none !important;
    border-radius: inherit;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1), filter .8s ease;
    z-index: 0;
}
.hero-banner-card .hero-slide.is-active {
    opacity: 1;
    transform: scale(1.02);
}
.hero-banner-card:hover .hero-slide.is-active,
.hero-banner-card:focus-within .hero-slide.is-active {
    transform: scale(1.085);
    filter: saturate(1.08) contrast(1.04);
}
.hero-slider-dots {
    position: absolute;
    z-index: 6;
    left: 28px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-slider-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.55);
    box-shadow: 0 0 0 1px rgba(255,255,255,.45);
    transition: width .25s ease, background .25s ease, transform .25s ease;
}
.hero-slider-dots button.is-active {
    width: 28px;
    background: var(--gold);
    transform: translateY(-1px);
}
.hero-slider-dots button:hover { background: #fff; }
@media (max-width: 1199px) {
    .hero-banner-card { height: 420px; min-height: 420px; }
}
@media (max-width: 575px) {
    .hero-banner-card { height: 350px; min-height: 350px; }
}
.admin-upload-box {
    height: 100%;
    padding: 14px;
    border: 1px solid #dce5f3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(11,61,145,.05);
}
.banner-admin-preview,
.banner-admin-empty {
    width: 100%;
    height: 130px;
    border-radius: 14px;
    border: 1px solid #e3ebf6;
    background: #f6f8fb;
}
.banner-admin-preview {
    display: block;
    object-fit: cover;
    object-position: center center;
}
.banner-admin-empty {
    display: grid;
    place-items: center;
    color: #6b7280;
    font-size: .92rem;
}


/* --- Header/footer logo updated with transparent Ekhlel icon --- */
.brand img {
    width: 76px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(6, 42, 111, .10));
}
.footer-logo {
    width: 88px;
    height: 74px;
    object-fit: contain;
    padding: 6px;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 16px;
    filter: drop-shadow(0 10px 22px rgba(0,0,0,.18));
}
@media (max-width: 575px) {
    .brand img { width: 58px; height: 52px; }
    .footer-logo { width: 72px; height: 62px; }
}

/* --- 2026-05-11: Softer typography outside the HERO section + removed arrow icons --- */
/* Keep the hero headline bold, but make other overly-bold UI text lighter. */
body h1:not(.hero-dynamic-title),
body h2,
body h3,
body h4,
body h5,
body h6,
.site-header .brand-copy strong,
.nav-link,
.section-title .eyebrow,
.line-title .eyebrow,
.why-item h3,
.program-card-pro h3,
.stat-item strong,
.stat-item span,
.teacher-mini-card h3,
.achievement-summary h3,
.achievement-line strong,
.section-head-row a,
.text-link,
.news-thumb span,
.news-mini-card h3,
.gallery-preview-grid figcaption,
.chip,
.footer-brand,
.site-footer h6,
.btn:not(.hero .btn),
.fw-bold {
    font-weight: 500 !important;
}

body :where(strong, b):not(.hero *):not(.richtext-editor *):not(.news-rich-content *) {
    font-weight: 500 !important;
}

.hero h1,
.hero h1 *,
.hero .btn,
.hero-pill b,
.hero-image-caption strong {
    font-weight: 900 !important;
}

/* Arrow icon elements were removed from HTML. Hide any remaining right-arrow icons if cached/custom content contains them. */
.bi.bi-arrow-right {
    display: none !important;
}

/* When arrow-only circles no longer contain an icon, keep layout clean by hiding them. */
.card-arrow:empty {
    display: none !important;
}

/* ===================== EKHLEL ADMIN PATCH ===================== */
.admin-shell {
    min-height: 100vh;
    background: #f5f8fc;
}

.admin-sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #061d43 0%, #082a5f 100%);
    color: #ffffff;
    box-shadow: 8px 0 28px rgba(6, 29, 67, 0.12);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 8px 20px;
    margin-bottom: 12px;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.admin-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
    padding: 5px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.admin-brand strong {
    display: block;
    font-size: 1rem;
    letter-spacing: .2px;
    line-height: 1.1;
}

.admin-brand small {
    display: block;
    color: rgba(255,255,255,.68);
    font-size: .78rem;
    margin-top: 3px;
}

.admin-nav a,
.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.78);
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all .18s ease;
}

.admin-nav a i,
.admin-sidebar nav a i {
    width: 22px;
    min-width: 22px;
    text-align: center;
    font-size: 1rem;
}

.admin-nav a.active,
.admin-nav a:hover,
.admin-sidebar nav a.active,
.admin-sidebar nav a:hover {
    color: #061d43 !important;
    background: #ffd21f;
    transform: translateX(2px);
}

.admin-nav-separator {
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: 10px 0;
}

.admin-card {
    border: 1px solid #e7ecf4;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(13,42,84,.06);
}

@media (max-width: 991px) {
    .admin-sidebar {
        min-height: auto;
    }

    .admin-nav,
    .admin-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* =================== END EKHLEL ADMIN PATCH =================== */

/* ===================== ADMIN ICON COPY PATCH ===================== */
.admin-floating-home-icon {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0B3D91, #006633);
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 12px 28px rgba(11, 61, 145, 0.28);
    transition: transform .2s ease, box-shadow .2s ease;
}

.admin-floating-home-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(11, 61, 145, 0.35);
}

.admin-floating-home-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
}

.admin-brand-logo-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
    padding: 5px;
    margin-right: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.16);
    vertical-align: middle;
}

.admin-sidebar img.admin-brand-logo-img,
.sidebar img.admin-brand-logo-img {
    display: inline-block;
}

@media (max-width: 768px) {
    .admin-floating-home-icon span {
        display: none;
    }

    .admin-floating-home-icon {
        right: 12px;
        bottom: 12px;
        padding: 8px;
    }
}
/* =================== END ADMIN ICON COPY PATCH =================== */
