/* Alfaisal: navy, warm stone, and gold across existing portal components. */
:root {
    --ir-navy: #092f57;
    --ir-blue: #123f67;
    --ir-teal: #123f67;
    --ir-sky: #a88a54;
    --ir-aqua: #d1bc93;
    --ir-gold: #b4935b;
    --ir-ink: #18334d;
    --ir-muted: #667582;
    --ir-cloud: #f6f5f1;
    --ir-line: #e4e7e9;
    --ir-shadow: 0 18px 55px rgba(9,47,87,.08);
}
html { scroll-padding-top: 105px; }
body { background: #fff; }
body > header { position: sticky; top: 0; z-index: 1030; }
.ir-navbar { top: 0 !important; background: #fff; border-bottom: 0; box-shadow: 0 3px 24px #092f5708; backdrop-filter: none; }
.ir-navbar::before, .ir-navbar::after, .ir-brand::before { display: none; }
.ir-nav-container { gap: 24px; min-height: 90px; }
.ir-brand img { width: 200px; height: 82px; object-fit: contain; }
.ir-navbar .ir-nav-links .nav-link { font-size: .82rem; padding: 12px 10px; border-radius: 0; color: #344b60; }
.ir-navbar .ir-nav-links .nav-link.active { color: var(--ir-navy); background: transparent; }
.ir-navbar .ir-nav-links .nav-link::after { bottom: 2px; background: var(--ir-gold); }
.ir-nav-actions { gap: 12px; }
.ir-navbar .ir-login-cta { color: var(--ir-navy) !important; background: #f4f5f6; border: 1px solid #e5e9ed; border-radius: 50px; box-shadow: none; animation: none; padding: 8px 16px; }
.ir-login-cta::before, .ir-login-cta__arrow { display: none; }
.ir-login-cta__icon { color: var(--ir-navy); background: transparent; box-shadow: none; width: 26px; }
.ir-btn { border-radius: 50px; box-shadow: none; padding-inline: 24px; }
.ir-btn-primary { background: var(--ir-navy); box-shadow: none; }
.ir-btn-primary:hover { background: #1c4d77; box-shadow: 0 8px 24px #092f571a; }
.ir-kicker { color: #8b6b35; letter-spacing: 0; }
/* A cinematic, asymmetric opening with a quieter area behind the copy. */
.af-hero { position: relative; isolation: isolate; overflow: hidden; background: #072846; padding: 62px 0 95px; }
.af-hero-backdrop { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; opacity: .25; }
.af-hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg,rgba(5,30,53,.25),rgba(5,30,53,.91) 65%); }
[dir="ltr"] .af-hero::before { transform: scaleX(-1); }
.af-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 5% 0%,#b4935b24,transparent 55%); }
.af-hero-watermark { position: absolute; bottom: -34px; inset-inline-start: 5%; z-index: -1; color: transparent; -webkit-text-stroke: 1px #ffffff12; font: 800 clamp(6rem,16vw,15rem)/1 Arial,sans-serif; letter-spacing: .04em; pointer-events: none; }
.af-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 85px; }
.af-hero-copy { padding: 8px 0 22px; }
.af-hero-copy .ir-kicker { color: #e0c48e; font-size: .84rem; }
.af-hero-copy .ir-kicker::before { background: #d0ad70; width: 32px; }
.af-hero-copy h1 { color: #fff; font-size: clamp(3rem,5.2vw,4.8rem); font-weight: 800; line-height: 1.45; margin: 24px 0 20px; letter-spacing: -.03em; }
[dir="rtl"] .af-hero-copy h1 { letter-spacing: 0; }
.af-hero-copy h1 em { color: #e2c38c; font-style: normal; }
.af-hero-copy > p { color: #cbd7e1; font-size: 1rem; line-height: 2; max-width: 490px; margin-bottom: 30px; }
.af-hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.af-hero-actions .ir-btn-primary { background: #e3c58d; color: #102e48 !important; box-shadow: 0 8px 30px #0002; }
.af-hero-actions .ir-btn-primary:hover { background: #f1d7a7; transform: translateY(-3px); }
.af-secondary-link { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: .9rem; font-weight: 700; }
.af-secondary-link:hover { color: #e3c58d; }
.af-hero-trust { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 34px; color: #d1dce5; font-size: .74rem; }
.af-hero-trust i { color: #d6b77e; margin-inline-end: 5px; }
.af-hero-visual { position: relative; min-width: 0; padding: 12px; border: 1px solid #ffffff33; border-radius: 220px 220px 24px 24px; margin: 0 15px 10px 0; }
.af-campus-photo { width: 100%; height: 445px; object-fit: cover; object-position: 48% center; display: block; border-radius: 210px 210px 18px 18px; }
.af-hero-visual::after { content: ''; position: absolute; inset: 50% 12px 12px; border-radius: 0 0 18px 18px; background: linear-gradient(transparent,#061e36ed); pointer-events: none; }
.af-photo-caption { position: absolute; bottom: 42px; inset-inline: 34px; z-index: 1; color: #fff; }
.af-photo-caption span { display: block; letter-spacing: .2em; font-size: .62rem; margin-bottom: 10px; color: #e7cf9f; }
.af-photo-caption strong { font-size: 1.1rem; font-weight: 650; }
.af-photo-note { position: absolute; bottom: 108px; inset-inline-end: -40px; z-index: 2; display: flex; align-items: center; gap: 13px; max-width: 255px; padding: 18px; border: 1px solid #ffffff90; border-radius: 16px; background: #fff; box-shadow: 0 20px 50px #0002; }
.af-note-icon { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; border-radius: 50%; background: #f7f1e7; color: #997442; font-size: 1.25rem; }
.af-photo-note strong, .af-photo-note div > span { display: block; }
.af-photo-note strong { color: var(--ir-navy); font-size: .83rem; margin-bottom: 4px; }
.af-photo-note div > span { color: #657480; font-size: .68rem; line-height: 1.8; }
.af-photo-corner { position: absolute; width: 70px; height: 70px; border: 1px solid #d9b678; border-radius: 50%; top: 25px; inset-inline-end: -12px; z-index: -1; }
.af-photo-explore { position: absolute; top: 46px; inset-inline-start: -15px; z-index: 3; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: #e0c28b; color: #092f57; border: 7px solid #11334f; font-size: 1.2rem; transform: rotate(35deg); }
.af-photo-explore:hover { color: #092f57; background: #f4deb6; }
/* Three clear starting points, overlapping the hero. */
.af-quick-links { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); z-index: 2; margin-top: -36px; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 18px 50px #092f5714; border: 1px solid #e8e9e9; }
.af-quick-links > a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; color: var(--ir-navy); border-radius: 14px; transition: background .2s,transform .2s; }
.af-quick-links > a:hover { background: #f5f2ec; transform: translateY(-3px); }
.af-quick-links > a + a { border-inline-start: 1px solid #e9e8e5; }
.af-quick-icon { width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0; border-radius: 14px; background: #f5f2ed; color: #98763e; font-size: 1.4rem; }
.af-quick-links small { display: block; font-size: .65rem; margin-bottom: 6px; color: #8a775a; }
.af-quick-links strong { display: block; font-size: .87rem; }
.af-quick-links > a > .fa { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f3f5f7; margin-inline-start: auto; font-size: .7rem; }
/* Feature cards and the program catalogue. */
.ir-section { padding: 80px 0; }
.ir-section-heading h2, .ir-about-copy h2 { font-size: clamp(1.8rem,2.8vw,2.6rem); line-height: 1.6; letter-spacing: 0; }
.ir-services { background: #fff; }
.ir-services .ir-section-heading { margin-bottom: 32px; }
.ir-service-card { padding: 27px 24px; min-height: 285px; background: #f7f7f4; border: 1px solid #eeede8; border-radius: 20px; box-shadow: none; }
.ir-service-card::after { display: none; }
.ir-service-card:hover { transform: translateY(-5px); border-color: #cbb98f; box-shadow: var(--ir-shadow); }
.ir-service-icon { background: #fff; color: var(--ir-navy); border: 0; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 24px; }
.ir-card-index { color: #a5a9ad; font-size: 1.4rem; font-weight: 500; }
.ir-services .row > div:first-child .ir-service-card { background: var(--ir-navy); border-color: var(--ir-navy); }
.ir-services .row > div:first-child h3 { color: #fff; }
.ir-services .row > div:first-child p { color: #d0dce6; }
.ir-services .row > div:first-child .ir-card-index { color: #b8a17a; }
.ir-services .row > div:first-child .ir-service-icon { background: #ffffff12; color: #e2c38c; }
.ir-programs { background: #f5f6f8; position: relative; }
.ir-filter-panel { background: #fff; border: 1px solid #e2e7ec; border-radius: 18px; box-shadow: 0 8px 30px #092f5705; }
.ir-filter-title > span { background: #f7f1e7; color: #977440; }
.ir-program-card { border-radius: 20px; border-color: #e2e7ed; box-shadow: 0 5px 20px #092f5705; }
.ir-program-card:hover { transform: translateY(-5px); box-shadow: 0 22px 45px #092f5717; }
.ir-program-image { height: 230px; }
.ir-program-price { background: var(--ir-navy); border-radius: 30px; }
.ir-program-body { padding: 26px; }
.ir-program-body h3 { font-size: 1.1rem; }
.ir-about { background: #fff; }
.ir-about-visual > img { border-radius: 150px 20px 20px 20px; box-shadow: none; }
[dir="ltr"] .ir-about-visual > img { border-radius: 150px 20px 20px 20px; }
.ir-about-quote { background: var(--ir-navy); border: 6px solid #fff; border-radius: 22px; box-shadow: none; }
.ir-about-points > div { border-color: #e6e8eb; }
.ir-impact { background: #fff; padding: 0 0 70px; }
.ir-impact-shell { border: 1px solid #e5e2da; padding: 12px; background: #f6f3ed; border-radius: 26px; box-shadow: none; }
.ir-impact-shell::after, .ir-impact-intro::after, .ir-impact-stats::before { display: none; }
.ir-impact-intro { background: var(--ir-navy); border-radius: 18px; }
.ir-impact-intro h2, .ir-impact-intro .ir-kicker { color: #fff; }
.ir-impact-stats > div, .ir-impact-stats > div:nth-child(even), .ir-impact-stats > div:hover, .ir-impact-stats > div:nth-child(even):hover { width: 100%; height: auto; min-height: 125px; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.ir-impact-stats > div + div { border-inline-start: 1px solid #dcd6cb; }
.ir-impact-stats i { background: transparent; color: #9d7c45; }
.af-next-step { background: #f4f0e8; padding: 48px 0; }
.af-next-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.af-next-step h2 { margin: 10px 0 0; color: var(--ir-navy); font-size: clamp(1.7rem,3vw,2.7rem); font-weight: 800; line-height: 1.6; }
.ir-footer { background: #072641; }
.ir-footer::before, .ir-footer::after { display: none; }
.ir-footer-brand img { width: 210px; height: auto; padding: 10px; background: #fff; border-radius: 10px; filter: none; }
.ir-footer-brand p, .ir-footer-links a { color: #c7d6e3; }
.upm-footer-chat__trigger { background: #113650; border-color: #ffffff25; }
.back-to-top { display: none; }
:is(a,button,input,select):focus-visible { outline: 3px solid #bd9753; outline-offset: 4px; }
[dir="ltr"] .fa-arrow-left, [dir="ltr"] .fa-angle-left { transform: scaleX(-1); }
@media(max-width:1199px) {
 .ir-nav-container { gap: 12px; } .ir-brand img { width: 180px; } .ir-navbar .ir-nav-links .nav-link { padding-inline: 6px; font-size: .76rem; }
 .af-hero-grid { gap: 50px; } .af-hero-copy h1 { font-size: 3.7rem; } .af-photo-note { inset-inline-end: -20px; }
 .af-quick-links > a { padding: 18px 16px; gap: 12px; } .af-quick-links strong { font-size: .8rem; }
}
@media(max-width:991px) {
 .ir-nav-actions { padding-bottom: 18px; } .af-hero { padding: 45px 0 78px; } .af-hero-grid { gap: 32px; }
 .af-hero-copy h1 { font-size: 3rem; } .af-hero-copy > p { font-size: .9rem; } .af-campus-photo { height: 420px; }
 .af-photo-note { max-width: 220px; padding: 14px; bottom: 95px; } .af-photo-caption { inset-inline: 26px; }
 .af-photo-caption strong { font-size: .9rem; } .af-hero-visual { margin: 0; }
 .af-quick-icon { width: 38px; height: 38px; font-size: 1.1rem; } .af-quick-links > a { padding: 16px 12px; }
 .af-quick-links > a > .fa { display: none; } .ir-section { padding: 64px 0; }
}
@media(max-width:767px) {
 html { scroll-padding-top: 90px; } .ir-brand img { height: 72px; } .ir-nav-container { min-height: 78px; }
 .af-hero { padding: 30px 0 70px; } .af-hero-grid { grid-template-columns: 1fr; gap: 30px; }
 .af-hero-copy { padding: 0; } .af-hero-copy h1 { font-size: clamp(2.6rem,10.5vw,3.6rem); margin: 18px 0; }
 .af-hero-copy > p { margin-bottom: 24px; } .af-hero-trust { margin-top: 25px; gap: 10px 16px; font-size: .7rem; }
 .af-hero-actions { gap: 20px; } .af-hero-actions .ir-btn { font-size: .85rem; padding-inline: 20px; }
 .af-hero-visual { width: calc(100% - 28px); margin: 0 auto; border-radius: 180px 180px 24px 24px; }
 .af-campus-photo { height: 350px; } .af-photo-note { inset-inline-end: -14px; bottom: 95px; max-width: 215px; }
 .af-photo-caption { bottom: 32px; } .af-photo-explore { width: 60px; height: 60px; top: 30px; }
 .af-quick-links { grid-template-columns: 1fr; width: calc(100% - 30px); margin-top: -30px; padding: 5px; border-radius: 18px; }
 .af-quick-links > a { padding: 14px 16px; gap: 16px; } .af-quick-links > a + a { border-inline-start: 0; border-top: 1px solid #eceae5; border-radius: 0; }
 .af-quick-links > a > .fa { display: grid; } .af-quick-links strong { font-size: .86rem; }
 .af-quick-links small { display: none; } .af-quick-icon { width: 42px; height: 42px; }
 .ir-section { padding: 52px 0; } .ir-service-card { min-height: 0; } .ir-section-heading { margin-bottom: 26px; }
 .ir-services .row { --bs-gutter-y: 14px; } .ir-service-icon { margin-bottom: 18px; }
 .ir-about-visual { min-height: 470px; } .ir-about-visual > img { height: 420px; }
 .ir-impact { padding-bottom: 45px; } .ir-impact-stats > div + div { border-inline-start: 0; }
 .af-next-inner { flex-direction: column; align-items: flex-start; gap: 24px; } .af-next-step { padding: 38px 0; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation: none !important; transition: none !important; } .wow { visibility: visible !important; } }
