/* ==========================================================================
   bachelors-programs.css — brandseducation.com (theme 33) "البكالوريوس / Bachelor's Degree" page
   (/bachelors-programs, udemy_theme/bachelors_programs.blade.php). ARSHAD-10, 2026-10-14.
   Scoped to .cp-ba-page so nothing leaks into the site header / footer.
   Bilingual: dir="rtl" (Arabic, Tajawal) / dir="ltr" (English, Inter) on .cp-ba-page;
   logical properties only, so the layout mirrors by itself; chevrons flip in English.
   ========================================================================== */
.cp-ba-page{
  --cp-primary:#497E9F; --cp-primary-dark:#3A6683; --cp-primary-light:#B6CBD9;
  --cp-text:#2B2B3C; --cp-muted:#6A6F73;
  --cp-gold:#F0A92E; --cp-pink:#E5536F;
  --cp-bg:#F4F8FB; --cp-border:#E3ECF2;
  --tint-blue:rgba(73,126,159,.14); --tint-gold:rgba(240,169,46,.16); --tint-pink:rgba(229,83,111,.12);
  font-family:"Tajawal","Inter",-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--cp-text); background:var(--cp-bg); overflow-x:hidden;
}
.cp-ba-page[dir="ltr"]{font-family:"Inter",-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
.cp-ba-page *,.cp-ba-page *::before,.cp-ba-page *::after{box-sizing:border-box}
.cp-ba-page h1,.cp-ba-page h2,.cp-ba-page h3,.cp-ba-page h4,.cp-ba-page p{margin:0;padding:0;font-family:inherit;letter-spacing:normal;text-transform:none}
.cp-ba-page a{color:inherit;text-decoration:none}
.cp-ba-page a:hover,.cp-ba-page a:focus{text-decoration:none}

/* ===== 1. Banner ===== */
.cp-ba-page .cp-ba-hero{position:relative;overflow:hidden;padding:70px 16px 120px;background:linear-gradient(180deg,#E8F0F6 0%,var(--cp-bg) 70%,var(--cp-bg) 100%)}
.cp-ba-page .cp-ba-hero::before,.cp-ba-page .cp-ba-hero::after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.cp-ba-page .cp-ba-hero::before{width:460px;height:460px;top:-200px;inset-inline-start:-140px;background:radial-gradient(circle,rgba(73,126,159,.22),transparent 70%)}
.cp-ba-page .cp-ba-hero::after{width:360px;height:360px;bottom:-120px;inset-inline-end:-120px;background:radial-gradient(circle,rgba(229,83,111,.13),transparent 70%)}
.cp-ba-page .cp-ba-hero__in{position:relative;z-index:1;max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:32px}
.cp-ba-page .cp-ba-hero__text{flex:1;min-width:0;text-align:center}
.cp-ba-page .cp-pill{display:inline-block;padding:6px 16px;border-radius:999px;background:#fff;border:1px solid var(--cp-border);color:var(--cp-primary);font-weight:600;font-size:13px;line-height:1.5;margin-bottom:14px}
.cp-ba-page .cp-ba-hero h1{font-size:46px;font-weight:800;line-height:1.25;color:var(--cp-text)}
.cp-ba-page .cp-ba-hero h2{font-size:24px;font-weight:600;line-height:1.4;color:var(--cp-primary);margin-top:8px}
.cp-ba-page .cp-divider{display:flex;align-items:center;justify-content:center;gap:10px;margin:16px auto}
.cp-ba-page .cp-divider::before,.cp-ba-page .cp-divider::after{content:"";width:70px;height:2px;background:linear-gradient(90deg,transparent,var(--cp-gold))}
.cp-ba-page .cp-divider::after{transform:scaleX(-1)}
.cp-ba-page .cp-divider i{display:block;width:9px;height:9px;transform:rotate(45deg);border:2px solid var(--cp-gold)}
.cp-ba-page .cp-ba-hero p{color:var(--cp-muted);font-size:16px;line-height:1.8}
.cp-ba-page .cp-ba-hero__art{flex:none;width:260px;height:220px;display:grid;place-items:center;border-radius:28px;
  background:linear-gradient(145deg,#fff,#EAF2F8);border:1px solid var(--cp-border);box-shadow:0 20px 40px rgba(73,126,159,.15)}
.cp-ba-page .cp-ba-hero__art svg{width:170px;height:170px}

/* ===== 2. Sector columns ===== */
.cp-ba-page .cp-ba-sectors{position:relative;z-index:2;margin-top:-72px;padding:0 16px 80px}
.cp-ba-page .cp-ba-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:start}
.cp-ba-page .cp-sector{background:#fff;border:1px solid var(--cp-border);border-radius:18px;overflow:hidden;box-shadow:0 10px 30px rgba(43,43,60,.07)}
.cp-ba-page .cp-sector__head{display:flex;align-items:center;gap:12px;padding:16px 20px;min-height:82px;color:#fff;
  background:linear-gradient(135deg,var(--cp-primary-dark),var(--cp-primary));border-bottom:3px solid var(--cp-gold)}
.cp-ba-page .cp-sector--blue .cp-sector__head{border-bottom-color:var(--cp-primary-light)}
.cp-ba-page .cp-sector--pink .cp-sector__head{border-bottom-color:var(--cp-pink)}
.cp-ba-page .cp-sector__head svg{width:30px;height:30px;flex:none;fill:none;stroke:#fff;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.cp-ba-page .cp-sector__head h3{font-size:17px;font-weight:700;line-height:1.4;color:#fff;text-align:start}
.cp-ba-page .cp-sector__list{padding:14px;display:flex;flex-direction:column;gap:10px;background:var(--cp-bg)}
.cp-ba-page .cp-major{display:flex;align-items:center;gap:14px;padding:12px 14px;min-height:76px;background:#fff;border:1px solid var(--cp-border);border-radius:14px;color:var(--cp-text);
  transition:transform .25s,border-color .25s,box-shadow .25s}
.cp-ba-page .cp-major:hover,.cp-ba-page .cp-major:focus-visible{transform:translateY(-3px);border-color:var(--cp-primary-light);box-shadow:0 10px 22px rgba(73,126,159,.15);color:var(--cp-text)}
.cp-ba-page .cp-ico{flex:none;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--tint-blue);color:var(--cp-primary)}
.cp-ba-page .cp-ico svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.cp-ba-page .cp-sector--gold .cp-ico{background:var(--tint-gold);color:#C9861A}
.cp-ba-page .cp-sector--pink .cp-ico{background:var(--tint-pink);color:var(--cp-pink)}
.cp-ba-page .cp-major h4{flex:1;min-width:0;font-size:16px;font-weight:700;line-height:1.45;color:var(--cp-text);text-align:start}
.cp-ba-page .cp-arrow{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--cp-bg);color:var(--cp-primary);transition:background .25s,color .25s}
.cp-ba-page .cp-arrow svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.cp-ba-page[dir="ltr"] .cp-arrow svg{transform:scaleX(-1)}
.cp-ba-page .cp-major:hover .cp-arrow,.cp-ba-page .cp-major:focus-visible .cp-arrow{background:var(--cp-primary);color:#fff}

/* ===== 3. CTA ===== */
.cp-ba-page .cp-cta{text-align:center;margin-top:40px}
.cp-ba-page .cp-btn{display:inline-block;padding:14px 34px;border-radius:999px;background:var(--cp-primary);color:#fff;font-weight:600;font-size:15px;line-height:1.4;box-shadow:0 10px 22px rgba(73,126,159,.28);transition:background .25s}
.cp-ba-page .cp-btn:hover,.cp-ba-page .cp-btn:focus-visible{background:var(--cp-primary-dark);color:#fff}

/* ===== Responsive ===== */
@media (max-width:1024px){
  .cp-ba-page .cp-ba-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cp-ba-page .cp-ba-hero__art{width:200px;height:180px}
  .cp-ba-page .cp-ba-hero__art svg{width:130px;height:130px}
  .cp-ba-page .cp-ba-hero h1{font-size:38px}
}
@media (max-width:760px){ .cp-ba-page .cp-ba-hero__art{display:none} }
@media (max-width:560px){
  .cp-ba-page .cp-ba-grid{grid-template-columns:minmax(0,1fr)}
  .cp-ba-page .cp-ba-hero{padding:56px 16px 100px}
  .cp-ba-page .cp-ba-hero h1{font-size:32px}
  .cp-ba-page .cp-ba-hero h2{font-size:19px}
  .cp-ba-page .cp-ico{width:46px;height:46px}
  .cp-ba-page .cp-ico svg{width:23px;height:23px}
}
