*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #00BCD4; --teal-dark: #0097A7; --teal-light: #E0F7FA;
  --purple: #6B3FA0; --purple-light: #8B5CC8; --purple-pale: #F3EEF9;
  --orange: #F5A623; --yellow: #FDD835;
  --navy: #1A2332; --navy-light: #243144; --navy-muted: #2E3D52;
  --white: #FFFFFF; --gray: #F5F7FA; --gray-2: #E8ECF1;
  --text: #1A2332; --text-muted: #6B7280;
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 28px rgba(0,0,0,0.09);
  --shadow-lg: 0 14px 48px rgba(0,0,0,0.11);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; line-height: 1.6; }
body[dir="rtl"] { font-family: 'Noto Sans Arabic', 'DM Sans', sans-serif; }
body[dir="rtl"] .nav-links, body[dir="rtl"] .topbar-left, body[dir="rtl"] .topbar-right,
body[dir="rtl"] .hero-actions, body[dir="rtl"] .hero-stats, body[dir="rtl"] .footer-bottom-links { flex-direction: row-reverse; }
body[dir="rtl"] .breadcrumb { flex-direction: row-reverse; }
body[dir="rtl"] .footer-grid { direction: rtl; }
body[dir="rtl"] .why-content .section-label, body[dir="rtl"] .why-content .section-title { text-align: right; }

/* TOPBAR */
.topbar { background: var(--navy); color: rgba(255,255,255,0.7); padding: 8px 48px; display: flex; justify-content: center; align-items: center; gap: 16px; font-size: 12.5px; }
.topbar-left { display: flex; gap: 22px; }
.topbar a { color: rgba(255,255,255,0.65); text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color 0.2s; font-size: 12.5px; }
.topbar a:hover { color: var(--teal); }
.topbar-right { display: flex; gap: 10px; align-items: center; }
.btn-portal { color: var(--teal) !important; border: 1px solid rgba(0,188,212,0.45); padding: 4px 13px; border-radius: 5px; font-weight: 600; transition: all 0.2s !important; }
.btn-portal:hover { background: var(--teal) !important; color: var(--navy) !important; }

/* NAV */
nav { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(0,0,0,0.06); padding: 0 48px; display: flex; align-items: center; justify-content: space-between; height: 72px; transition: box-shadow 0.3s; }
nav.scrolled { box-shadow: 0 4px 28px rgba(0,0,0,0.07); }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 64px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 13.5px; font-weight: 500; padding: 7px 12px; border-radius: 8px; transition: background 0.2s, color 0.2s; }
.nav-links a:hover { background: var(--gray); color: var(--purple); }
.nav-links a.active { color: var(--teal-dark); font-weight: 600; }
.nav-cta { background: var(--purple) !important; color: var(--white) !important; padding: 8px 18px !important; border-radius: 8px !important; font-weight: 600 !important; margin-left: 4px; transition: background 0.2s, transform 0.15s !important; }
.nav-cta:hover { background: var(--purple-light) !important; transform: translateY(-1px); }
.lang-toggle { background: none; border: 1.5px solid var(--gray-2); color: var(--text-muted); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 7px; cursor: pointer; transition: all 0.2s; margin-left: 4px; font-family: 'DM Sans', sans-serif; }
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all 0.3s; }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-2); padding: 14px 20px 20px; z-index: 199; box-shadow: 0 8px 32px rgba(0,0,0,0.1); flex-direction: column; gap: 3px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; padding: 10px 12px; border-radius: 8px; transition: background 0.2s; }
.mobile-menu a:hover { background: var(--gray); }
.mobile-menu .nav-cta { margin: 8px 0 0; text-align: center; border-radius: 8px !important; }

/* LAYOUT */
.section { padding: 96px 48px; }
.section-gray { background: var(--gray); }
.container { max-width: 1120px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 10px; text-align: center; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 3vw, 42px); font-weight: 800; color: var(--navy); line-height: 1.2; text-align: center; margin-bottom: 14px; }
.section-sub { color: var(--text-muted); font-size: 15.5px; line-height: 1.72; max-width: 520px; margin: 0 auto 52px; text-align: center; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; border: none; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; font-family: 'DM Sans', sans-serif; }
.btn:hover { transform: translateY(-2px); }
.btn-teal { background: var(--teal); color: var(--navy); }
.btn-teal:hover { box-shadow: 0 8px 24px rgba(0,188,212,0.28); background: var(--teal-dark); color: var(--white); }
.btn-purple { background: var(--purple); color: var(--white); }
.btn-purple:hover { box-shadow: 0 8px 24px rgba(107,63,160,0.28); background: var(--purple-light); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.07); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--gray-2); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }

/* PAGE HERO */
.page-hero { background: var(--navy); padding: 80px 48px 72px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -80px; left: -80px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(0,188,212,0.11), transparent 70%); border-radius: 50%; }
.page-hero::after { content: ''; position: absolute; bottom: -60px; right: -40px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(107,63,160,0.14), transparent 70%); border-radius: 50%; }
.page-hero-inner { max-width: 1120px; margin: 0 auto; position: relative; }
.page-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(0,188,212,0.1); border: 1px solid rgba(0,188,212,0.28); color: var(--teal); padding: 5px 14px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 52px); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 14px; }
.page-hero h1 .accent { color: var(--teal); }
.page-hero p { font-size: 15.5px; color: rgba(255,255,255,0.58); max-width: 520px; line-height: 1.72; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 12.5px; margin-bottom: 22px; }
.breadcrumb a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { color: rgba(255,255,255,0.2); }
.breadcrumb strong { color: rgba(255,255,255,0.7); }

/* FORMS */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 15px; border-radius: 9px; border: 1.5px solid var(--gray-2); background: var(--white); font-size: 13.5px; color: var(--text); font-family: 'DM Sans', sans-serif; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,188,212,0.09); }
.form-group textarea { resize: vertical; min-height: 118px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success { background: rgba(0,188,212,0.08); border: 1.5px solid rgba(0,188,212,0.28); color: var(--teal-dark); padding: 14px 18px; border-radius: 9px; font-weight: 500; font-size: 13.5px; display: none; margin-top: 14px; }

/* FOOTER — with school photo background */
.footer {
  position: relative;
  color: rgba(255,255,255,0.75);
  padding: 64px 48px 30px;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://pub-b5e786ccffef42dab45b515750b94ca0.r2.dev/schools/ChIJjcwFCEIBjj4Rm-IN/1-aada63d402.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.25) saturate(0.6);
  z-index: 0;
}
.footer::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,35,50,0.85) 0%, rgba(26,35,50,0.95) 100%);
  z-index: 1;
}
.footer > * { position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1120px; margin: 0 auto 44px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.footer-logo img { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-desc { font-size: 13px; line-height: 1.72; margin-bottom: 18px; color: rgba(255,255,255,0.6); }
.footer-contact { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,0.6); }
.footer-contact a { color: var(--teal); text-decoration: none; }
.footer-col h4 { color: var(--white); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; max-width: 1120px; margin: 0 auto; font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--teal); }

/* RESPONSIVE */
@media (max-width: 960px) {
  .topbar { display: none; }
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 64px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer { padding: 48px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .page-hero { padding: 56px 20px 52px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 580px) { .footer-grid { grid-template-columns: 1fr; } }

/* Footer brand name (replaces broken logo img) */
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 900;
  color: var(--white); margin-bottom: 14px;
  line-height: 1.2;
}
.footer-brand-name span {
  display: block; font-size: 11px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400; color: rgba(255,255,255,0.45);
  letter-spacing: 0.07em; text-transform: uppercase; margin-top: 3px;
}

/* ── iCAMPUS APP SECTION ── */
.icampus-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-muted) 100%);
  padding: 72px 48px;
}
.icampus-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.icampus-text { flex: 1; min-width: 280px; }
.icampus-icon { font-size: 48px; margin-bottom: 16px; }
.icampus-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 2.8vw, 36px); font-weight: 800;
  color: var(--white); margin-bottom: 12px;
}
.icampus-text p {
  font-size: 15px; color: rgba(255,255,255,0.58);
  line-height: 1.72; max-width: 440px;
}
.icampus-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.store-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 12px;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  min-width: 180px;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(0,0,0,0.3); }
.store-btn.apple { background: var(--white); }
.store-btn.google { background: var(--teal); }
.store-icon { font-size: 28px; flex-shrink: 0; }
.store-btn.apple .store-icon { color: #000; }
.store-btn.google .store-icon { color: var(--navy); font-size: 22px; }
.store-text { display: flex; flex-direction: column; }
.store-text span { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.store-btn.apple .store-text span { color: #666; }
.store-btn.google .store-text span { color: rgba(26,35,50,0.65); }
.store-text strong { font-size: 16px; font-weight: 700; line-height: 1.2; }
.store-btn.apple .store-text strong { color: #000; }
.store-btn.google .store-text strong { color: var(--navy); }

@media(max-width:768px) {
  .icampus-section { padding: 56px 20px; }
  .icampus-inner { flex-direction: column; text-align: center; }
  .icampus-text p { max-width: 100%; }
  .icampus-btns { justify-content: center; }
}

.portal-big {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 16px 28px; border-radius: 12px;
  font-weight: 700; font-size: 15px;
  text-decoration: none; transition: transform 0.2s, opacity 0.2s;
  margin-top: 8px; border: 2px solid rgba(255,255,255,0.4);
  color: var(--white); background: rgba(255,255,255,0.15);
}
.portal-big:hover { transform: translateY(-2px); background: rgba(255,255,255,0.25); }

/* Nav portal buttons - same style as Apply Now */
.nav-portal-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--purple);
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.nav-portal-btn:hover {
  background: var(--purple-dark, #5a2d8a);
  transform: translateY(-1px);
}

/* Fix topbar display:none since we removed it */
.topbar { display: none !important; }

/* ── COMPREHENSIVE RESPONSIVE FIXES ── */

/* Hide portal buttons in nav on tablet/mobile - show in mobile menu instead */
@media (max-width: 960px) {
  .nav-portal-btn { display: none; }
}

/* Mobile menu portal links */
.mobile-menu .nav-portal-btn {
  display: flex;
  text-decoration: none;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,188,212,0.25);
  margin: 2px 0;
  transition: background 0.2s;
}
.mobile-menu .nav-portal-btn:hover { background: var(--teal-light); }

/* Fix branch hero on mobile */
@media (max-width: 600px) {
  .branch-hero { padding: 48px 16px 44px !important; }
  .branch-hero h1 { font-size: 32px !important; }
  .info-grid { grid-template-columns: 1fr !important; }
  .portal-big { font-size: 13px !important; padding: 12px 16px !important; }
}

/* Fix iCampus section on mobile */
@media (max-width: 600px) {
  .icampus-section { padding: 48px 16px !important; }
  .icampus-inner { flex-direction: column; text-align: center; gap: 28px; }
  .store-btn { min-width: 160px; }
  .icampus-btns { justify-content: center; }
}

/* Fix nav on very small screens */
@media (max-width: 380px) {
  nav { padding: 0 12px !important; }
  .logo img { height: 52px !important; }
}

/* Fix hero on mobile */
@media (max-width: 960px) {
  .hero-left { padding: 48px 16px !important; }
  .hero-stats { gap: 16px !important; flex-wrap: wrap; }
  .stat-num { font-size: 22px !important; }
}

/* Fix cards on tablet */
@media (max-width: 768px) {
  .branches-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .branch-card { padding: 32px 24px !important; }
  .why-grid { grid-template-columns: 1fr !important; gap: 32px; }
  .why-visual { grid-template-columns: 1fr 1fr !important; padding: 28px 20px !important; }
}

/* Fix footer on mobile */
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .footer { padding: 40px 16px 24px !important; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* Fix forms on mobile */
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr !important; }
  .admission-grid { grid-template-columns: 1fr !important; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .maps-grid { grid-template-columns: 1fr !important; }
  .admission-form-card { padding: 28px 18px !important; }
  .contact-form-card { padding: 28px 18px !important; }
}

/* Fix programmes page on mobile */
@media (max-width: 600px) {
  .prog-full-card { grid-template-columns: 1fr !important; }
  .subject-grid { grid-template-columns: 1fr !important; }
  .curriculum-grid { grid-template-columns: 1fr !important; }
  .prog-full-left { padding: 32px 20px !important; }
  .prog-full-right { padding: 28px 20px !important; }
}

/* Fix facilities on mobile */
@media (max-width: 600px) {
  .facilities-grid { grid-template-columns: 1fr !important; }
  .bus-grid { grid-template-columns: 1fr !important; }
  .activities-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Fix about page on mobile */
@media (max-width: 600px) {
  .mission-grid { grid-template-columns: 1fr !important; }
  .mission-card.values { grid-column: span 1 !important; }
  .values-grid { grid-template-columns: 1fr 1fr !important; }
  .team-grid { grid-template-columns: 1fr !important; }
  .branch-detail-grid { grid-template-columns: 1fr !important; }
}

/* Fix section padding on small mobile */
@media (max-width: 480px) {
  .section { padding: 48px 16px !important; }
  .page-hero { padding: 48px 16px 44px !important; }
  .page-hero h1 { font-size: 28px !important; }
  .newsletter { padding: 56px 16px !important; }
}

/* ── ACCREDITATION STRIP ── */
.accred-strip {
  background: #f8f9fb;
  border-top: 1px solid #e8ecf1;
  border-bottom: 1px solid #e8ecf1;
  padding: 32px 48px;
}
.accred-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.accred-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #9ca3af;
  white-space: nowrap;
  flex-shrink: 0;
  writing-mode: horizontal-tb;
  border-right: 1px solid #e8ecf1;
  padding-right: 40px;
  min-width: 90px;
  line-height: 1.6;
}
.accred-logos {
  display: flex;
  align-items: center;
  flex: 1;
  flex-wrap: wrap;
  gap: 0;
}
.accred-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  transition: opacity 0.25s, transform 0.25s;
  flex-shrink: 0;
}
.accred-item:first-child { padding-left: 0; }
.accred-item:hover { opacity: 0.85; transform: translateY(-1px); }
.accred-logo-box { display: flex; align-items: center; justify-content: center; }
.accred-logo-box svg { display: block; }
.accred-img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s;
}
.accred-img-ministry {
  height: 52px;
  max-width: 260px;
}
.accred-item:hover .accred-img { opacity: 0.85; }

/* Est. box */
.accred-est {
  flex-direction: column;
  text-align: center;
  gap: 0;
  border: 1.5px solid #e8ecf1;
  border-radius: 10px;
  padding: 10px 20px;
  background: white;
}
.est-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #9ca3af;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.est-year {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.est-sub {
  font-size: 8px;
  color: #9ca3af;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.accred-divider {
  width: 1px;
  height: 48px;
  background: #e8ecf1;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .accred-strip { padding: 24px 20px; }
  .accred-inner { gap: 20px; }
  .accred-label { border-right: none; border-bottom: 1px solid #e8ecf1; padding-right: 0; padding-bottom: 12px; width: 100%; min-width: unset; }
  .accred-logos { justify-content: center; gap: 0; }
  .accred-item { padding: 8px 16px; }
}
@media (max-width: 600px) {
  .accred-divider { display: none; }
  .accred-logos { gap: 8px; justify-content: center; }
  .accred-item { padding: 10px 14px; background: white; border: 1px solid #e8ecf1; border-radius: 10px; }
  .accred-item:first-child { padding-left: 14px; }
}
.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 32px;
}
.app-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.app-icon-wrap {
  font-size: 48px;
}
.app-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.app-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}
.app-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}
@media(max-width:768px) {
  .apps-grid { grid-template-columns: 1fr; }
  .app-btns { flex-direction: column; }
  .store-btn { min-width: unset; width: 100%; }
}

/* Apps section title teal color */
.icampus-section .section-title {
  color: var(--teal) !important;
}
.icampus-section .section-label {
  color: var(--teal) !important;
}
.icampus-section .section-sub {
  color: rgba(255,255,255,0.6) !important;
}

/* ── ACADEMIC CALENDAR ── */
.calendar-wrap {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  max-width: 780px;
  margin: 0 auto;
}
.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.cal-month-year {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  flex: 1;
}
.cal-nav {
  background: var(--teal);
  color: var(--white);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  font-weight: 700;
}
.cal-nav:hover { background: var(--teal-dark); transform: scale(1.1); }
.cal-legend {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.leg-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.leg-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.cal-day-header {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 4px;
}
.cal-day-header.cal-weekend { color: #e53e3e; }
.cal-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  cursor: default;
  position: relative;
  transition: background 0.15s;
}
.cal-day.empty { background: transparent; }
.cal-day.weekend { color: #e53e3e; opacity: 0.6; }
.cal-day.today {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.cal-day.holiday { background: rgba(0,188,212,0.15); color: var(--teal-dark); font-weight: 700; }
.cal-day.event { background: rgba(107,63,160,0.12); color: var(--purple); font-weight: 700; }
.cal-day.exam { background: rgba(245,166,35,0.18); color: #b7791f; font-weight: 700; }
.cal-day:not(.empty):not(.weekend):hover { background: var(--gray-2); }
@media(max-width:600px) {
  .calendar-wrap { padding: 20px 12px; }
  .cal-month-year { font-size: 17px; }
  .cal-day { font-size: 11px; border-radius: 6px; }
}

/* ══════════════════════════════════════
   PREMIUM EFFECTS - DAK Website
══════════════════════════════════════ */

/* 1. SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 2. GLASSMORPHISM CARDS */
.glass-card {
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
}

/* 3. HOVER EFFECTS on cards */
.branch-card {
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease !important;
}
.branch-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25) !important;
}

.why-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease !important;
}
.why-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12) !important;
  background: var(--white) !important;
}

.ql-card {
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease !important;
}
.ql-card:hover {
  transform: translateY(-6px) scale(1.03) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2) !important;
}

.app-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.app-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.2) !important;
}

/* 4. GRADIENT ANIMATION on hero */
.hero-left {
  background-size: 200% 200% !important;
  animation: gradientShift 8s ease infinite !important;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 5. NAV smooth on scroll */
#navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease !important;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.08) !important;
  padding: 0 48px !important;
  height: 64px !important;
}

/* 6. Smooth image hover in carousel */
.photo-slide {
  transition: transform 0.6s ease !important;
}
.photo-slide:hover {
  transform: scale(1.02) !important;
}

/* 7. Button hover lift */
.btn, .nav-cta, .store-btn, .nav-portal-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease !important;
}
.btn:hover, .nav-cta:hover, .store-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

/* 8. Footer link hover */
.footer a {
  transition: color 0.2s ease, padding-left 0.2s ease !important;
}
.footer a:hover {
  color: var(--teal) !important;
  padding-left: 4px !important;
}

/* 9. Logo - no animation, stays clean */
.logo img {
  transition: none !important;
}

/* 10. Section label pulse */
.section-label {
  animation: labelPulse 3s ease-in-out infinite !important;
}
@keyframes labelPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}



.orb-bg.teal {
  background: radial-gradient(circle, rgba(0,188,212,0.55) 0%, rgba(0,188,212,0.15) 60%, transparent 100%);
}
.orb-bg.purple {
  background: radial-gradient(circle, rgba(107,63,160,0.50) 0%, rgba(107,63,160,0.12) 60%, transparent 100%);
}
.orb-bg.gold {
  background: radial-gradient(circle, rgba(245,166,35,0.45) 0%, rgba(245,166,35,0.10) 60%, transparent 100%);
}
.orb-bg.yellow {
  background: radial-gradient(circle, rgba(253,216,53,0.40) 0%, rgba(253,216,53,0.08) 60%, transparent 100%);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
  33% { transform: translateY(-25px) scale(1.06); opacity: 1; }
  66% { transform: translateY(15px) scale(0.96); opacity: 0.8; }
}

/* Make sure content stays above orbs */
.section > .container,
.section-gray > .container,
.page-hero > .page-hero-inner {
  position: relative;
  z-index: 1;
}

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(107,63,160,0.35);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { background: var(--purple-light); }
@media (max-width: 600px) {
  .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
}

/* ── NEWS SECTION ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.news-card {
  background: var(--white);
  border-radius: 18px;
  padding: 28px 26px;
  border: 1px solid var(--gray-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.news-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--teal);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.news-card:hover::before { opacity: 1; }
.news-date {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.news-title-text {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0;
}
.news-excerpt {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-tag {
  display: inline-block;
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
  letter-spacing: 0.05em;
}
@media (max-width: 960px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ── NEWS SECTION COMPACT ── */
.news-section { padding: 56px 48px !important; }
@media (max-width: 960px) { .news-section { padding: 40px 20px !important; } }


/* ── DAK AI ASSISTANT ── */
.dak-ai-bubble{position:fixed;bottom:88px;right:32px;background:var(--purple);color:var(--white);border:none;border-radius:50%;width:68px;height:68px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 24px rgba(107,63,160,0.5);z-index:998;transition:transform 0.3s cubic-bezier(0.34,1.56,0.64,1),box-shadow 0.3s;user-select:none;animation:dakBotWiggle 3s ease-in-out infinite;}
.dak-ai-bubble:hover{transform:translateY(-4px) scale(1.12);box-shadow:0 12px 36px rgba(107,63,160,0.55);}
@keyframes dakBotWiggle{0%,100%{transform:rotate(0deg)}20%{transform:rotate(-8deg)}40%{transform:rotate(8deg)}60%{transform:rotate(-4deg)}80%{transform:rotate(4deg)}}
.dak-ai-label{display:none;}
.dak-ai-chat{position:fixed;bottom:160px;right:32px;width:360px;max-height:520px;background:var(--white);border-radius:20px;box-shadow:0 16px 56px rgba(0,0,0,0.18);display:flex;flex-direction:column;overflow:hidden;z-index:997;opacity:0;transform:translateY(20px) scale(0.97);pointer-events:none;transition:opacity 0.25s,transform 0.25s;}
.dak-ai-chat.open{opacity:1;transform:translateY(0) scale(1);pointer-events:all;}
.dak-ai-header{background:var(--purple);padding:16px 18px;display:flex;align-items:center;justify-content:space-between;flex-shrink:0;}
.dak-ai-avatar{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,0.15);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.dak-ai-name{font-size:14px;font-weight:700;color:var(--white);}
.dak-ai-status{font-size:11px;color:rgba(255,255,255,0.7);margin-top:1px;}
.dak-ai-close{background:none;border:none;color:rgba(255,255,255,0.6);cursor:pointer;font-size:16px;padding:4px;line-height:1;transition:color 0.2s;}
.dak-ai-close:hover{color:var(--white);}
.dak-ai-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;}
.dak-msg{max-width:88%;font-size:13.5px;line-height:1.6;padding:10px 14px;border-radius:14px;}
.dak-msg-bot{background:var(--gray);color:var(--navy);align-self:flex-start;border-bottom-left-radius:4px;}
.dak-msg-user{background:var(--purple);color:var(--white);align-self:flex-end;border-bottom-right-radius:4px;}
.dak-ai-suggestions{padding:8px 12px 6px;display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid var(--gray-2);flex-shrink:0;}
.dak-ai-suggestions button{background:var(--gray);border:none;border-radius:100px;padding:5px 12px;font-size:11.5px;color:var(--navy);cursor:pointer;font-family:'DM Sans',sans-serif;transition:background 0.2s;white-space:nowrap;}
.dak-ai-suggestions button:hover{background:var(--gray-2);}
.dak-ai-input-row{display:flex;gap:8px;padding:10px 12px 12px;border-top:1px solid var(--gray-2);flex-shrink:0;}
.dak-ai-input-row input{flex:1;border:1.5px solid var(--gray-2);border-radius:10px;padding:9px 14px;font-size:13px;font-family:'DM Sans',sans-serif;outline:none;transition:border-color 0.2s;color:var(--navy);}
.dak-ai-input-row input:focus{border-color:var(--purple);}
.dak-send-btn{background:var(--purple);border:none;border-radius:10px;width:38px;height:38px;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;transition:background 0.2s;}
.dak-send-btn:hover{background:var(--purple-light);}
@media(max-width:600px){.dak-ai-chat{width:calc(100vw - 24px);right:12px;bottom:140px;}.dak-ai-bubble{right:12px;bottom:80px;}}




/* ── DAK ASSISTANT CHEERFUL CHAT EFFECTS ── */
.dak-ai-chat{
  isolation:isolate;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 18px 60px rgba(26,35,50,.22),0 0 0 1px rgba(107,63,160,.08);
}
.dak-ai-chat::before{
  content:"";
  position:absolute;
  inset:-35%;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(circle at 18% 22%,rgba(0,188,212,.16),transparent 24%),
    radial-gradient(circle at 78% 12%,rgba(245,166,35,.12),transparent 22%),
    radial-gradient(circle at 78% 82%,rgba(107,63,160,.12),transparent 26%);
  opacity:.72;
  animation:dakChatAurora 9s ease-in-out infinite alternate;
}
.dak-ai-chat::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image:
    radial-gradient(circle,rgba(0,188,212,.20) 0 2px,transparent 3px),
    radial-gradient(circle,rgba(107,63,160,.16) 0 2px,transparent 3px);
  background-size:72px 72px,96px 96px;
  background-position:12px 24px,46px 8px;
  opacity:.20;
  animation:dakChatFloatDots 18s linear infinite;
}
.dak-ai-header,
.dak-ai-messages,
.dak-ai-suggestions,
.dak-ai-input-row{
  position:relative;
  z-index:1;
}
.dak-ai-header{
  overflow:hidden;
  background:linear-gradient(135deg,#2b255b 0%,#6b3fa0 70%,#7b4db5 100%);
}
.dak-ai-header::before{
  content:"";
  position:absolute;
  top:-80%;
  left:-45%;
  width:70%;
  height:260%;
  background:linear-gradient(115deg,transparent,rgba(255,255,255,.28),transparent);
  transform:rotate(18deg);
  animation:dakHeaderShine 5.6s ease-in-out infinite;
  pointer-events:none;
}
.dak-ai-avatar{
  position:relative;
  box-shadow:0 0 0 1px rgba(255,255,255,.30),0 0 22px rgba(0,188,212,.28);
  animation:dakAvatarBreathe 2.8s ease-in-out infinite;
}
.dak-ai-avatar::after{
  content:"";
  position:absolute;
  inset:-7px;
  border-radius:inherit;
  border:1px solid rgba(255,255,255,.26);
  opacity:.65;
  animation:dakAvatarRing 2.8s ease-in-out infinite;
}
.dak-ai-name::after{
  content:" ✨";
  opacity:.85;
  font-size:.82em;
}
.dak-ai-messages{
  background:
    linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.98)),
    radial-gradient(circle at 8% 18%,rgba(0,188,212,.08),transparent 28%);
}
.dak-msg{
  position:relative;
  animation:dakMsgPop .34s cubic-bezier(.2,.95,.2,1) both;
}
.dak-msg-bot{
  background:linear-gradient(135deg,#f7fbff 0%,#eef7fb 100%);
  border:1px solid rgba(0,188,212,.10);
  box-shadow:0 8px 22px rgba(26,35,50,.06);
}
.dak-msg-bot::before{
  content:"";
  position:absolute;
  left:-5px;
  bottom:7px;
  width:10px;
  height:10px;
  background:#eef7fb;
  border-left:1px solid rgba(0,188,212,.10);
  border-bottom:1px solid rgba(0,188,212,.10);
  transform:rotate(45deg);
  border-radius:2px;
}
.dak-msg-user{
  background:linear-gradient(135deg,#6b3fa0,#7d4ec1);
  box-shadow:0 8px 22px rgba(107,63,160,.18);
}
.dak-ai-suggestions button{
  position:relative;
  overflow:hidden;
  box-shadow:0 4px 12px rgba(26,35,50,.05);
  border:1px solid rgba(26,35,50,.06);
}
.dak-ai-suggestions button::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.55),transparent);
  transform:translateX(-120%);
  transition:transform .45s ease;
}
.dak-ai-suggestions button:hover{
  transform:translateY(-2px);
  background:#fff;
  border-color:rgba(0,188,212,.22);
  box-shadow:0 8px 20px rgba(0,188,212,.10);
}
.dak-ai-suggestions button:hover::after{
  transform:translateX(120%);
}
.dak-ai-input-row{
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.dak-ai-input-row input:focus{
  box-shadow:0 0 0 4px rgba(107,63,160,.10);
}
.dak-send-btn{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#6b3fa0,#7b4db5);
  box-shadow:0 8px 20px rgba(107,63,160,.20);
}
.dak-send-btn:hover{
  background:linear-gradient(135deg,#7b4db5,#6b3fa0);
  transform:translateY(-1px);
  box-shadow:0 10px 26px rgba(107,63,160,.26);
}
.dak-send-btn::after{
  content:"";
  position:absolute;
  width:80%;
  height:80%;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  transform:scale(0);
  opacity:0;
}
.dak-send-btn.is-spark::after{
  animation:dakSendRipple .48s ease-out;
}
.dak-chat-sparkle{
  position:absolute;
  z-index:3;
  width:7px;
  height:7px;
  border-radius:50%;
  background:linear-gradient(135deg,#00bcd4,#f5a623);
  pointer-events:none;
  box-shadow:0 0 14px rgba(0,188,212,.45);
  animation:dakChatSparkle .78s ease-out forwards;
}
.dak-typing .dak-dot{
  animation:dakTypingHappy 1s ease-in-out infinite;
}
.dak-typing .dak-dot:nth-child(2){animation-delay:.12s}
.dak-typing .dak-dot:nth-child(3){animation-delay:.24s}

@keyframes dakChatAurora{0%{transform:translate3d(-2%,0,0) rotate(0deg)}100%{transform:translate3d(2%,2%,0) rotate(6deg)}}
@keyframes dakChatFloatDots{0%{background-position:12px 24px,46px 8px}100%{background-position:84px 96px,142px 104px}}
@keyframes dakHeaderShine{0%,45%{transform:translateX(-80%) rotate(18deg);opacity:0}62%{opacity:1}100%{transform:translateX(260%) rotate(18deg);opacity:0}}
@keyframes dakAvatarBreathe{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes dakAvatarRing{0%,100%{transform:scale(.92);opacity:.42}50%{transform:scale(1.16);opacity:.08}}
@keyframes dakMsgPop{0%{opacity:0;transform:translateY(8px) scale(.98)}100%{opacity:1;transform:translateY(0) scale(1)}}
@keyframes dakSendRipple{0%{transform:scale(0);opacity:.5}100%{transform:scale(2.2);opacity:0}}
@keyframes dakChatSparkle{0%{opacity:1;transform:translate(0,0) scale(.8)}100%{opacity:0;transform:translate(var(--sx),var(--sy)) scale(0)}}
@keyframes dakTypingHappy{0%,100%{transform:translateY(0);opacity:.45}50%{transform:translateY(-4px);opacity:1}}

@media (prefers-reduced-motion: reduce){
  .dak-ai-chat::before,
  .dak-ai-chat::after,
  .dak-ai-header::before,
  .dak-ai-avatar,
  .dak-ai-avatar::after,
  .dak-msg,
  .dak-typing .dak-dot{
    animation:none!important;
  }
}
@media(max-width:600px){
  .dak-ai-chat::after{opacity:.13}
  .dak-ai-header::before{display:none}
  .dak-ai-suggestions button:hover{transform:none}
}


/* ── CHILD FUTURE JOURNEY ── */
.journey-section { background: var(--gray); }
.journey-wrap { max-width: 680px; margin: 0 auto; }
.journey-form { background: var(--white); border-radius: 20px; padding: 32px; border: 1px solid var(--gray-2); }
.journey-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.journey-field label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.journey-field input, .journey-field select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-2); border-radius: 10px; font-size: 14px; font-family: 'DM Sans', sans-serif; color: var(--navy); background: var(--white); outline: none; transition: border-color 0.2s; }
.journey-field input:focus, .journey-field select:focus { border-color: var(--purple); }
.journey-btn { width: 100%; padding: 14px; background: var(--purple); color: var(--white); border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background 0.2s, transform 0.15s; }
.journey-btn:hover { background: var(--purple-light); transform: translateY(-1px); }

.journey-result { display: none; }
.journey-result.show { display: block; }

.journey-header { background: var(--navy); border-radius: 16px; padding: 28px 24px; margin-bottom: 16px; text-align: center; color: var(--white); }
.journey-header-label { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.journey-header-name { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 900; margin-bottom: 6px; }
.journey-header-sub { font-size: 13px; color: rgba(255,255,255,0.5); }
.journey-header-badge { display: inline-block; background: rgba(0,188,212,0.15); border: 1px solid rgba(0,188,212,0.3); color: var(--teal); font-size: 11px; padding: 4px 14px; border-radius: 20px; margin-top: 12px; }

.journey-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.journey-stat { background: var(--white); border-radius: 12px; padding: 16px; text-align: center; border: 1px solid var(--gray-2); }
.journey-stat-num { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 900; color: var(--navy); }
.journey-stat-lbl { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

.journey-timeline { position: relative; padding-left: 32px; margin-bottom: 20px; }
.journey-timeline::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: var(--gray-2); border-radius: 2px; }
.j-milestone { position: relative; margin-bottom: 14px; opacity: 0; transform: translateX(-16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.j-milestone.visible { opacity: 1; transform: translateX(0); }
.j-milestone::before { content: ''; position: absolute; left: -26px; top: 16px; width: 12px; height: 12px; border-radius: 50%; background: var(--purple); border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--purple); z-index: 1; }
.j-milestone.cambridge::before { background: #003087; box-shadow: 0 0 0 2px #003087; }
.j-milestone.graduation::before { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); width: 16px; height: 16px; left: -28px; top: 14px; }
.j-card { background: var(--white); border: 1px solid var(--gray-2); border-radius: 12px; padding: 14px 16px; transition: box-shadow 0.2s; }
.j-card:hover { box-shadow: var(--shadow-md); }
.j-milestone.cambridge .j-card { border-left: 3px solid #003087; border-radius: 0 12px 12px 0; }
.j-milestone.graduation .j-card { border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; }
.j-year { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 3px; }
.j-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.j-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.j-badge { display: inline-block; font-size: 10px; padding: 2px 9px; border-radius: 20px; margin-top: 6px; font-weight: 600; }
.j-badge.cambridge { background: #E6F1FB; color: #185FA5; }
.j-badge.start { background: var(--purple-pale); color: var(--purple); }
.j-badge.grad { background: var(--teal-light); color: var(--teal-dark); }

.journey-cta { background: var(--purple); border-radius: 14px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.journey-cta-title { font-size: 15px; font-weight: 700; color: var(--white); }
.journey-cta-sub { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.journey-reset { width: 100%; padding: 11px; background: none; border: 1px solid var(--gray-2); border-radius: 10px; font-size: 13px; color: var(--text-muted); cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background 0.2s; }
.journey-reset:hover { background: var(--gray); }

@media(max-width:600px) {
  .journey-fields { grid-template-columns: 1fr; }
  .journey-stats { grid-template-columns: 1fr 1fr; }
  .journey-form { padding: 20px; }
}

/* ── JOURNEY GENERATOR ── */
.journey-form { max-width: 620px; margin: 0 auto 40px; }
.journey-inputs { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.journey-input-group { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 160px; }
.journey-input-group label { font-size: 13px; font-weight: 600; color: var(--navy); }
.journey-input-group input { padding: 12px 15px; border-radius: 9px; border: 1.5px solid var(--gray-2); font-size: 14px; font-family: 'DM Sans', sans-serif; outline: none; transition: border-color 0.2s; color: var(--navy); background: var(--white); }
.journey-input-group input:focus { border-color: var(--purple); }

.journey-result { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; animation: fadeUp 0.5s ease; }
.journey-header { background: var(--navy); padding: 32px 40px; text-align: center; }
.journey-child-name { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 900; color: var(--white); margin-bottom: 6px; }
.journey-child-sub { font-size: 13px; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }
.journey-timeline { padding: 40px; display: flex; flex-direction: column; gap: 0; }
.journey-step { display: flex; gap: 20px; }
.journey-step-left { display: flex; flex-direction: column; align-items: center; width: 52px; flex-shrink: 0; }
.journey-step-dot { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; border: 3px solid; }
.journey-step-line { width: 2px; flex: 1; min-height: 20px; margin: 6px 0; }
.journey-step:last-child .journey-step-line { display: none; }
.journey-step-right { padding-bottom: 28px; flex: 1; padding-top: 8px; }
.journey-step-year { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.journey-step-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.journey-step-age { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.journey-step-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.journey-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; margin-top: 6px; letter-spacing: 0.05em; }
.journey-footer { background: var(--gray); padding: 28px 40px; text-align: center; }
.journey-footer-text { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }

@media (max-width: 600px) {
  .journey-inputs { flex-direction: column; }
  .journey-timeline { padding: 24px 20px; }
  .journey-header { padding: 24px 20px; }
  .journey-footer { padding: 20px; }
  .journey-child-name { font-size: 22px; }
}

/* ── MINISTRY AGE TABLE ── */
.age-table-wrap { max-width: 760px; margin: 0 auto; }
.age-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.age-table thead { background: var(--navy); }
.age-table thead th { padding: 16px 20px; color: var(--white); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; text-align: left; }
.age-table tbody td { padding: 14px 20px; font-size: 14px; color: var(--navy); border-top: 1px solid var(--gray-2); }
.age-table tbody tr:hover { background: var(--gray); }
.age-table tbody td:first-child { font-weight: 700; }
.age-table-note { font-size: 12px; color: var(--text-muted); margin-top: 14px; font-style: italic; text-align: center; }
html[lang="ar"] .age-table thead th { text-align: right; }
@media (max-width: 600px) {
  .age-table thead th { padding: 12px 12px; font-size: 11px; }
  .age-table tbody td { padding: 12px 12px; font-size: 13px; }
}

/* Journey note */
.journey-note { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; font-style: italic; }


/* === Logo Upgrade === */
.navbar {
  height: 100px;
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 85px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar .logo img:hover {
  transform: scale(1.04);
}

.navbar.scrolled {
  height: 75px;
}

.navbar.scrolled .logo img {
  height: 60px;
}

@media (max-width: 768px) {
  .navbar {
    height: 80px;
  }

  .navbar .logo img {
    height: 64px;
  }
}


/* ── HOMEPAGE ADMISSIONS SECTION ── */
.home-adm-head{display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:end;margin-bottom:26px;}
.home-adm-title{margin-bottom:0}
.home-adm-sub{margin:0;max-width:520px;text-align:left}
.home-adm-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:start;}
.home-adm-panel{background:var(--white);border:1px solid var(--gray-2);border-radius:22px;box-shadow:var(--shadow);}
.home-adm-table-panel{padding:30px 30px 24px;}
.home-adm-panel-top h3,.home-adm-side-block h3{font-family:'Playfair Display',serif;font-size:28px;color:var(--navy);margin-bottom:10px;}
.home-adm-panel-top p,.home-adm-side-block p{font-size:14px;line-height:1.75;color:var(--text-muted);}
.home-adm-chip{display:inline-flex;align-items:center;gap:8px;background:rgba(0,188,212,0.10);border:1px solid rgba(0,188,212,0.18);color:var(--teal-dark);padding:7px 14px;border-radius:100px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin-bottom:16px;}
.home-adm-chip.accent-purple{background:rgba(107,63,160,0.09);border-color:rgba(107,63,160,0.14);color:var(--purple);}
.home-adm-table-wrap{margin-top:20px;overflow:auto;}
.home-adm-age-table{min-width:100%;box-shadow:none;border:1px solid var(--gray-2);}
.home-adm-age-table tbody tr:nth-child(even){background:#fafbfc}
.home-adm-age-table tbody tr:hover{background:var(--gray)}
.home-adm-age-table tbody tr:nth-child(3) td:first-child{color:var(--purple);}
.home-adm-side-panel{background:linear-gradient(180deg,#ffffff 0%, #faf8ff 100%);padding:22px;display:flex;flex-direction:column;gap:18px;}
.home-adm-side-block{border:1px solid var(--gray-2);border-radius:18px;padding:24px;background:var(--white);}
.home-adm-cards{display:grid;grid-template-columns:1fr;gap:12px;margin-top:18px;}
.home-adm-card{display:flex;align-items:flex-start;gap:12px;padding:14px 15px;border-radius:14px;background:var(--gray);border:1px solid transparent;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;}
.home-adm-card:hover{transform:translateY(-2px);border-color:rgba(107,63,160,0.14);box-shadow:0 10px 22px rgba(26,35,50,0.06);}
.home-adm-card span{font-size:18px;line-height:1;margin-top:2px;flex-shrink:0;}
.home-adm-card strong{font-size:14px;line-height:1.55;color:var(--navy);}
.home-adm-side-cta{background:linear-gradient(135deg,var(--navy),#25324a);border-radius:18px;padding:24px;display:flex;flex-direction:column;gap:18px;}
.home-adm-cta-title{font-family:'Playfair Display',serif;font-size:24px;color:var(--white);margin-bottom:6px;}
.home-adm-cta-sub{font-size:13.5px;line-height:1.7;color:rgba(255,255,255,0.68);}
.btn-white{background:var(--white);color:var(--navy);}
.btn-white:hover{background:#f7f9fc;}
html[lang="ar"] .home-adm-sub,html[lang="ar"] .home-adm-title,html[lang="ar"] .home-adm-head .section-label{text-align:right !important;}

/* Logo sizing refinement */
nav{height:96px;align-items:center;}
nav .logo img{height:84px;width:auto;object-fit:contain;transition:transform .3s ease, height .3s ease;}
nav .logo img:hover{transform:scale(1.03);}
nav.scrolled{height:76px !important;}
nav.scrolled .logo img{height:62px;}
@media (max-width: 960px){.home-adm-head,.home-adm-grid{grid-template-columns:1fr;}}
@media (max-width: 768px){nav{height:80px;}nav .logo img{height:62px !important;}nav.scrolled .logo img{height:54px !important;}.home-adm-table-panel,.home-adm-side-panel{padding:20px;}.home-adm-side-block{padding:20px;}.home-adm-panel-top h3,.home-adm-side-block h3,.home-adm-cta-title{font-size:22px;}}


/* === Admission Requirements Visual Refresh === */
body:has(.home-adm-grid) .section > .container > .home-adm-head,
body:has(.home-adm-grid) .section > .container > .home-adm-grid {
  position: relative;
}

.home-adm-head {
  background: linear-gradient(135deg, rgba(0,188,212,0.08) 0%, rgba(107,63,160,0.06) 100%);
  border: 1px solid rgba(0,188,212,0.12);
  border-radius: 24px;
  padding: 24px 28px;
  margin-bottom: 30px;
}

.home-adm-head .section-label {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(26,35,50,0.04);
}

.home-adm-title {
  color: var(--navy);
}

.home-adm-grid {
  align-items: stretch;
}

.home-adm-panel {
  border-color: rgba(26,35,50,0.08);
}

.home-adm-table-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.home-adm-panel-top h3,
.home-adm-side-block h3 {
  color: var(--navy);
}

.home-adm-table-wrap {
  border-radius: 18px;
}

.home-adm-age-table {
  border: 1px solid rgba(26,35,50,0.08);
  border-radius: 18px;
  overflow: hidden;
}

.home-adm-age-table thead {
  background: linear-gradient(135deg, var(--navy) 0%, #24324a 100%);
}

.home-adm-age-table tbody tr:nth-child(even) {
  background: rgba(26,35,50,0.025);
}

.home-adm-age-table tbody tr:hover {
  background: rgba(0,188,212,0.08);
}

.home-adm-age-table tbody tr:nth-child(3) {
  background: rgba(0,188,212,0.10);
}

.home-adm-age-table tbody tr:nth-child(3) td {
  font-weight: 700;
}

.home-adm-age-table tbody tr:nth-child(3) td:first-child {
  color: var(--teal-dark);
}

.age-table-note {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(0,188,212,0.07);
  color: var(--navy);
  font-style: normal;
}

.home-adm-side-panel {
  background: linear-gradient(180deg, rgba(0,188,212,0.05) 0%, rgba(107,63,160,0.06) 100%);
  border: 1px solid rgba(107,63,160,0.10);
}

.home-adm-side-block {
  border-color: rgba(26,35,50,0.08);
  box-shadow: 0 10px 28px rgba(26,35,50,0.04);
}

.home-adm-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
  border: 1px solid rgba(0,188,212,0.10);
}

.home-adm-card:hover {
  border-color: rgba(0,188,212,0.28);
  box-shadow: 0 12px 26px rgba(0,188,212,0.10);
}

.home-adm-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0,188,212,0.10);
}

.home-adm-side-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1f2f46 58%, var(--purple) 100%);
  box-shadow: 0 18px 34px rgba(26,35,50,0.18);
}

.home-adm-cta-title {
  color: #ffffff;
}

.home-adm-cta-sub {
  color: rgba(255,255,255,0.78);
}

@media (max-width: 768px) {
  .home-adm-head {
    padding: 20px;
    border-radius: 20px;
  }

  .age-table-note {
    display: block;
    text-align: center;
  }
}

/* ── SCHOOL UNIFORM SECTION ── */
.uniform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.uniform-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border-top: 5px solid;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.uniform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.uniform-kg { border-color: #00BCD4; }
.uniform-primary { border-color: #6B3FA0; }
.uniform-secondary { border-color: #F5A623; }
.uniform-stage-badge {
  display: inline-block;
  background: var(--gray);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.uniform-kg .uniform-stage-badge { background: #E0F7FA; color: #00838F; }
.uniform-primary .uniform-stage-badge { background: #EEEDFE; color: #3C3489; }
.uniform-secondary .uniform-stage-badge { background: #FAEEDA; color: #854F0B; }
.uniform-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.uniform-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.uniform-card ul li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.uniform-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
}

.uniform-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.uniform-extra-card {
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--gray-2);
}
.uniform-icon {
  font-size: 36px;
  margin-bottom: 10px;
}
.uniform-extra-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
  margin-bottom: 4px;
}
.uniform-extra-sub {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.uniform-note {
  background: #FFF4E0;
  border-left: 4px solid #F5A623;
  padding: 18px 22px;
  border-radius: 10px;
  margin-bottom: 24px;
}
.uniform-note strong {
  display: block;
  color: #854F0B;
  font-size: 14px;
  margin-bottom: 6px;
}
.uniform-note p {
  color: #5a3a0a;
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

.uniform-store {
  background: linear-gradient(135deg, #1A2332 0%, #2a3548 100%);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--white);
}
.uniform-store-icon {
  font-size: 48px;
  flex-shrink: 0;
}
.uniform-store-info { flex: 1; }
.uniform-store-title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
  font-weight: 600;
}
.uniform-store-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.uniform-store-addr {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 10px;
  line-height: 1.5;
}
.uniform-store-phone {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  transition: background 0.2s;
}
.uniform-store-phone:hover { background: var(--teal-dark); }

html[dir="rtl"] .uniform-card { border-top: 5px solid; }
html[dir="rtl"] .uniform-card ul li { padding: 7px 22px 7px 0; }
html[dir="rtl"] .uniform-card ul li::before { left: auto; right: 0; }
html[dir="rtl"] .uniform-note { border-left: none; border-right: 4px solid #F5A623; }

@media (max-width: 768px) {
  .uniform-grid, .uniform-extras { grid-template-columns: 1fr; }
  .uniform-store { flex-direction: column; text-align: center; }
}


/* and / or separator styling */
.uniform-card ul li.uni-sep,
.uniform-card ul li[data-i18n$="_kg2"],
.uniform-card ul li[data-i18n$="_pri2"],
.uniform-card ul li[data-i18n$="_pri5"],
.uniform-card ul li[data-i18n$="_sec4"] {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  padding: 2px 0;
  opacity: 0.7;
}
.uniform-card ul li[data-i18n$="_kg2"]::before,
.uniform-card ul li[data-i18n$="_pri2"]::before,
.uniform-card ul li[data-i18n$="_pri5"]::before,
.uniform-card ul li[data-i18n$="_sec4"]::before {
  display: none;
}

/* ── UNIFORM OFFICIAL POSTER ── */
.uniform-official-poster {
  max-width: 820px;
  margin: 30px auto;
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  text-align: center;
}
.uniform-poster-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}
.uniform-poster-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* ── UNIFORM POSTER — PRO STYLE ── */
.uniform-poster-wrap {
  max-width: 640px;
  margin: 0 auto 36px;
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(26, 35, 50, 0.12);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: zoom-in;
}
.uniform-poster-wrap::before {
  content: '🔍';
  position: absolute;
  top: 36px;
  right: 36px;
  width: 40px;
  height: 40px;
  background: rgba(26, 35, 50, 0.75);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 2;
}
.uniform-poster-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 80px rgba(26, 35, 50, 0.18);
}
.uniform-poster-wrap:hover::before {
  opacity: 1;
}
.uniform-poster-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

@media (max-width: 600px) {
  .uniform-poster-wrap { padding: 14px; border-radius: 18px; }
  .uniform-poster-wrap::before { top: 24px; right: 24px; }
}


/* Newsletter form success — over navy bg */
.nl-form-success {
  display: none;
  max-width: 440px;
  margin: 16px auto 0;
  background: rgba(0, 188, 212, 0.12);
  border: 1.5px solid rgba(0, 188, 212, 0.35);
  color: var(--teal);
  padding: 14px 18px;
  border-radius: 9px;
  font-weight: 500;
  font-size: 13.5px;
  text-align: center;
  position: relative;
  animation: nlFadeIn 0.4s ease;
}
@keyframes nlFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── FIND YOUR PATH BANNER ── */
.fyp-banner-section { padding: 60px 0; }
.fyp-banner {
  background: linear-gradient(135deg, #6B3FA0 0%, #1A2332 100%);
  border-radius: 24px;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.fyp-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,188,212,0.15), transparent 70%);
  pointer-events: none;
}
.fyp-banner-content { flex: 1; position: relative; z-index: 1; }
.fyp-banner-badge {
  display: inline-block;
  background: rgba(0,188,212,0.15);
  border: 1px solid rgba(0,188,212,0.3);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.fyp-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
}
.fyp-banner-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 540px;
}
.fyp-banner-btn {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.fyp-banner-btn:hover {
  background: #00A5BB;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,188,212,0.4);
}
.fyp-banner-visual { position: relative; z-index: 1; }
.fyp-banner-icon {
  font-size: 110px;
  filter: drop-shadow(0 8px 30px rgba(0,188,212,0.3));
  animation: fypIconFloat 4s ease-in-out infinite;
}
@keyframes fypIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
}
@media (max-width: 800px) {
  .fyp-banner { padding: 36px 28px; flex-direction: column; text-align: center; gap: 20px; }
  .fyp-banner-title { font-size: 26px; }
  .fyp-banner-desc { font-size: 14px; }
  .fyp-banner-icon { font-size: 80px; }
}

/* ── DAK BOT TYPING INDICATOR ── */
.dak-typing {
  display: flex !important;
  align-items: center;
  gap: 6px;
  padding: 14px 18px !important;
  width: fit-content;
}
.dak-dot {
  width: 8px;
  height: 8px;
  background: var(--purple);
  border-radius: 50%;
  opacity: 0.5;
  animation: dakDotBounce 1.3s infinite ease-in-out;
}
.dak-dot:nth-child(1) { animation-delay: 0s; }
.dak-dot:nth-child(2) { animation-delay: 0.2s; }
.dak-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dakDotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* ── MOBILE TAP TARGET IMPROVEMENTS ── */
@media (max-width: 768px) {
  .footer-contact { line-height: 2.4; }
  .footer-contact a { 
    display: inline-block; 
    padding: 6px 0; 
    min-height: 32px;
    line-height: 1.4;
  }
  .footer-bottom-links { gap: 20px; flex-wrap: wrap; }
  .footer-bottom-links a { 
    display: inline-block; 
    padding: 8px 4px; 
    min-height: 36px;
    line-height: 1.4;
  }
  .breadcrumb a { 
    display: inline-block; 
    padding: 6px 4px; 
    min-height: 32px;
  }
  .footer-col ul li a { 
    display: inline-block; 
    padding: 6px 0; 
    min-height: 32px;
    line-height: 1.4;
  }
  /* Find Your Path footer programme links */
  footer ul li a { padding: 6px 0; display: inline-block; min-height: 32px; }
}

/* ── MORE MOBILE TAP TARGETS ── */
@media (max-width: 768px) {
  /* DAK Bot improvements */
  .dak-ai-close { 
    width: 36px !important; 
    height: 36px !important; 
    font-size: 18px !important; 
  }
  .dak-suggestion {
    min-height: 38px;
    padding: 10px 16px !important;
    font-size: 14px !important;
  }
  /* Branch cards phone/email */
  .branch-row a, .branch-info a {
    display: inline-block;
    padding: 6px 0;
    min-height: 32px;
    line-height: 1.5;
  }
  .branch-row {
    line-height: 1.7;
  }
}

/* ── FUTURE VISION BANNER ── */
.fv-banner-section { padding: 0 0 60px; }
.fv-banner {
  background: linear-gradient(135deg, #00BCD4 0%, #6B3FA0 100%);
  border-radius: 24px;
  padding: 56px 60px;
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.fv-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(253, 216, 53, 0.18), transparent 70%);
  pointer-events: none;
}
.fv-banner-content { flex: 1; position: relative; z-index: 1; }
.fv-banner-badge {
  display: inline-block;
  background: rgba(253, 216, 53, 0.18);
  border: 1px solid rgba(253, 216, 53, 0.4);
  color: #FDD835;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.fv-banner-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: white;
  line-height: 1.25;
  margin-bottom: 14px;
}
.fv-banner-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 26px;
  max-width: 540px;
}
.fv-banner-btn {
  display: inline-block;
  background: white;
  color: var(--purple);
  padding: 16px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.fv-banner-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}
.fv-banner-visual { position: relative; z-index: 1; }
.fv-banner-icon {
  font-size: 110px;
  filter: drop-shadow(0 8px 30px rgba(253, 216, 53, 0.4));
  animation: fvIconFloat 5s ease-in-out infinite;
}
@keyframes fvIconFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@media (max-width: 800px) {
  .fv-banner { padding: 36px 28px; flex-direction: column; text-align: center; gap: 20px; }
  .fv-banner-title { font-size: 24px; }
  .fv-banner-desc { font-size: 14px; }
  .fv-banner-icon { font-size: 80px; }
}

/* ────────────────────────────────────────────────
   WHATSAPP FLOATING BUTTON
   ──────────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: none;
  animation: waPulse 2.5s infinite;
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.6);
}
.wa-fab svg {
  width: 32px;
  height: 32px;
  fill: white;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* WhatsApp menu (popup) */
.wa-menu {
  position: fixed;
  bottom: 100px;
  left: 24px;
  width: 290px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  z-index: 1001;
  overflow: hidden;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wa-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.wa-menu-header {
  background: #075E54;
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wa-menu-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-menu-header-icon svg { width: 22px; height: 22px; fill: white; }
.wa-menu-header-text {
  font-family: 'DM Sans', sans-serif;
  flex: 1;
  min-width: 0;
}
.wa-menu-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.2;
}
.wa-menu-status {
  font-size: 11.5px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 6px;
}
.wa-menu-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4CD964;
  border-radius: 50%;
}
html[lang="ar"] .wa-menu-title { font-family: 'Noto Sans Arabic', sans-serif; }

.wa-menu-body {
  padding: 14px 16px;
  background: #ECE5DD;
}
.wa-greeting {
  background: white;
  padding: 12px 14px;
  border-radius: 0 8px 8px 8px;
  font-size: 13.5px;
  color: #303030;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.5;
  margin-bottom: 14px;
  position: relative;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}
html[lang="ar"] .wa-greeting { font-family: 'Noto Sans Arabic', sans-serif; }
.wa-greeting::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent white transparent transparent;
}
html[dir="rtl"] .wa-greeting { border-radius: 8px 0 8px 8px; }
html[dir="rtl"] .wa-greeting::before {
  left: auto; right: -8px;
  border-width: 0 0 8px 8px;
  border-color: transparent transparent transparent white;
}

.wa-options { display: flex; flex-direction: column; gap: 8px; }
.wa-option {
  background: white;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
html[lang="ar"] .wa-option { font-family: 'Noto Sans Arabic', sans-serif; text-align: right; }
.wa-option:hover {
  background: #25D366;
  color: white;
  transform: translateX(2px);
}
html[dir="rtl"] .wa-option:hover { transform: translateX(-2px); }
.wa-option-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.wa-option:hover .wa-option-icon {
  background: white;
  color: #25D366;
}
.wa-option-text { flex: 1; min-width: 0; }
.wa-option-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #303030;
  margin-bottom: 2px;
  transition: color 0.2s;
}
.wa-option:hover .wa-option-name { color: white; }
.wa-option-number {
  font-size: 12px;
  color: #888;
  transition: color 0.2s;
}
.wa-option:hover .wa-option-number { color: rgba(255, 255, 255, 0.85); }

.wa-menu-footer {
  background: #f8f8f8;
  padding: 8px 16px;
  text-align: center;
  font-size: 11px;
  color: #888;
  font-family: 'DM Sans', sans-serif;
  border-top: 1px solid #eee;
}

/* Backdrop */
.wa-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 999;
  pointer-events: none;
  transition: background 0.3s;
}
.wa-backdrop.open {
  background: rgba(0, 0, 0, 0.18);
  pointer-events: all;
}

/* WhatsApp always stays on the left side */
html[dir="rtl"] .wa-fab { left: 24px; right: auto; }
html[dir="rtl"] .wa-menu { left: 24px; right: auto; }

/* Mobile */
@media (max-width: 640px) {
  .wa-fab { width: 54px; height: 54px; bottom: 18px; left: 18px; }
  .wa-fab svg { width: 28px; height: 28px; }
  html[dir="rtl"] .wa-fab { left: 18px; right: auto; }
  .wa-menu { left: 12px; right: 12px; bottom: 90px; width: auto; }
  html[dir="rtl"] .wa-menu { left: 12px; right: 12px; }
}

/* ══════════════════════════════════════
   DAK POLISHED MOTION SYSTEM - v103
   Elegant, lightweight, and safe animations
══════════════════════════════════════ */
body.motion-ready { opacity: 0; }
body.motion-ready.page-loaded { opacity: 1; transition: opacity .38s ease; }

.motion-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity .72s cubic-bezier(.22,1,.36,1), transform .72s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.motion-reveal.motion-visible,
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.motion-reveal.motion-from-left { transform: translate3d(-26px, 0, 0); }
.motion-reveal.motion-from-right { transform: translate3d(26px, 0, 0); }
.motion-reveal.motion-scale { transform: translate3d(0, 18px, 0) scale(.985); }
.motion-reveal.motion-scale.motion-visible { transform: translate3d(0, 0, 0) scale(1); }

.motion-card,
.news-card,
.ql-card,
.team-card,
.mission-card,
.branch-card,
.why-card,
.app-card,
.home-adm-card,
.month-card,
.key-card,
.cal-month,
.facility-card,
.activity-card,
.curriculum-card,
.subject-card,
.faq-item,
.contact-card,
.info-card {
  transform-style: preserve-3d;
  transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease, border-color .32s ease, background .32s ease;
}

@media (hover:hover) and (pointer:fine) {
  .motion-card:hover,
  .news-card:hover,
  .ql-card:hover,
  .team-card:hover,
  .mission-card:hover,
  .home-adm-card:hover,
  .month-card:hover,
  .key-card:hover,
  .facility-card:hover,
  .activity-card:hover,
  .curriculum-card:hover,
  .subject-card:hover,
  .faq-item:hover,
  .contact-card:hover,
  .info-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 46px rgba(26,35,50,.14);
    border-color: rgba(0,188,212,.22);
  }
  .motion-card.motion-tilt:hover { transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(-7px); }
}

.btn,
.nav-cta,
.nav-portal-btn,
.store-btn,
.portal-big,
.carousel-btn,
.calendar-actions .btn {
  position: relative;
  overflow: hidden;
}
.btn::after,
.nav-cta::after,
.nav-portal-btn::after,
.store-btn::after,
.portal-big::after,
.calendar-actions .btn::after {
  content: '';
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 55%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  opacity: 0;
  pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
  .btn:hover::after,
  .nav-cta:hover::after,
  .nav-portal-btn:hover::after,
  .store-btn:hover::after,
  .portal-big:hover::after,
  .calendar-actions .btn:hover::after {
    animation: dakShine .75s ease forwards;
    opacity: 1;
  }
}
@keyframes dakShine { to { left: 120%; } }

.motion-orb-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.motion-orb {
  position: absolute;
  width: clamp(130px, 18vw, 310px);
  height: clamp(130px, 18vw, 310px);
  border-radius: 999px;
  filter: blur(18px);
  opacity: .42;
  animation: dakOrbFloat 13s ease-in-out infinite;
}
.motion-orb.one { top: -70px; left: -60px; background: radial-gradient(circle, rgba(0,188,212,.35), transparent 68%); }
.motion-orb.two { right: -80px; bottom: -85px; background: radial-gradient(circle, rgba(107,63,160,.35), transparent 68%); animation-delay: -4s; }
.motion-orb.three { left: 48%; top: 16%; width: clamp(80px, 10vw, 160px); height: clamp(80px, 10vw, 160px); background: radial-gradient(circle, rgba(245,166,35,.22), transparent 70%); animation-delay: -8s; }
@keyframes dakOrbFloat {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  35% { transform: translate3d(14px,-18px,0) scale(1.05); }
  70% { transform: translate3d(-12px,12px,0) scale(.97); }
}
.hero-left > *,
.page-hero-inner,
.newsletter > *,
.icampus-inner,
.branch-hero > * { position: relative; z-index: 1; }

/* Elegant calendar motion */
.month-card { animation: dakMonthIn .55s cubic-bezier(.22,1,.36,1) both; }
.month-card:nth-child(2n) { animation-delay: .04s; }
.month-card:nth-child(3n) { animation-delay: .08s; }
@keyframes dakMonthIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.mini-cal td:not(.muted):not(:empty) { transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
@media (hover:hover) and (pointer:fine) {
  .mini-cal td:not(.muted):not(:empty):hover { transform: scale(1.08); box-shadow: 0 6px 18px rgba(26,35,50,.12); z-index: 2; }
}

/* Premium navigation and page polish */
#navbar.scrolled { backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.logo img { transition: filter .25s ease !important; }
.footer a:hover { padding-left: 0 !important; }
html[dir="rtl"] .footer a:hover { padding-right: 0 !important; }
.section-label { animation: none !important; }

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  body.motion-ready { opacity: 1; }
  .motion-reveal, .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
  .motion-orb-container { display: none !important; }
}

@media (max-width: 760px) {
  .motion-reveal { transform: translate3d(0, 18px, 0); }
  .motion-orb { filter: blur(22px); opacity: .28; }
}

/* Friendly visitor-following glow effect */
.dak-cursor-friend {
  position: fixed;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  transition: opacity .22s ease;
  will-change: transform;
}
.dak-cursor-friend.is-visible { opacity: 1; }
.dak-cursor-core, .dak-cursor-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}
.dak-cursor-core {
  inset: 13px;
  background: radial-gradient(circle, rgba(255,255,255,.96) 0 25%, rgba(0,188,212,.82) 42%, rgba(107,63,160,.72) 100%);
  box-shadow: 0 0 18px rgba(0,188,212,.34), 0 0 28px rgba(107,63,160,.20);
  animation: dakFriendlyPulse 2.4s ease-in-out infinite;
}
.dak-cursor-ring {
  border: 1px solid rgba(0,188,212,.30);
  background: radial-gradient(circle, rgba(0,188,212,.10), rgba(107,63,160,.07) 48%, transparent 72%);
  box-shadow: 0 8px 24px rgba(26,35,50,.08);
  animation: dakFriendlyFloat 3.8s ease-in-out infinite;
}
.dak-cursor-friend.is-clicking .dak-cursor-ring { animation: dakFriendlyClick .22s ease both; }
.dak-cursor-sparkle {
  position: fixed;
  width: 7px;
  height: 7px;
  left: 0;
  top: 0;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9997;
  background: radial-gradient(circle, rgba(255,255,255,.98), rgba(245,166,35,.78) 42%, rgba(0,188,212,.10) 72%, transparent 100%);
  box-shadow: 0 0 12px rgba(245,166,35,.42), 0 0 16px rgba(0,188,212,.22);
  animation: dakSparkleDrift .75s ease-out forwards;
}
.dak-cursor-sparkle.is-strong {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  animation-duration: .9s;
}
@keyframes dakFriendlyPulse {
  0%,100% { transform: scale(1); opacity: .92; }
  50% { transform: scale(1.22); opacity: .68; }
}
@keyframes dakFriendlyFloat {
  0%,100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.10) rotate(7deg); }
}
@keyframes dakFriendlyClick {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.55); opacity: .32; }
}
@keyframes dakSparkleDrift {
  0% { opacity: .95; transform: translate3d(0,0,0) scale(.75); }
  100% { opacity: 0; transform: translate3d(var(--sx), var(--sy), 0) scale(1.35); }
}
@media (max-width: 900px), (hover:none), (pointer:coarse), (prefers-reduced-motion: reduce) {
  .dak-cursor-friend, .dak-cursor-sparkle { display: none !important; }
}

/* Whole-site joyful motion layer */
.dak-joy-layer {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
}
.dak-floating-icon {
  position: absolute;
  left: var(--x);
  bottom: -56px;
  font-size: clamp(18px, 2vw, 28px);
  opacity: .13;
  filter: drop-shadow(0 10px 18px rgba(26,35,50,.10));
  animation: dakFloatUp var(--duration) linear infinite;
  animation-delay: var(--delay);
}
@keyframes dakFloatUp {
  0% { transform: translate3d(0, 0, 0) rotate(-8deg) scale(.92); opacity: 0; }
  10% { opacity: .14; }
  50% { transform: translate3d(28px, -52vh, 0) rotate(8deg) scale(1.05); opacity: .12; }
  90% { opacity: .09; }
  100% { transform: translate3d(-18px, -112vh, 0) rotate(-10deg) scale(.96); opacity: 0; }
}
.dak-word-bubble {
  position: absolute;
  left: var(--x);
  bottom: -80px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  color: rgba(58,36,101,.62);
  background: rgba(255,255,255,.56);
  border: 1px solid rgba(0,188,212,.13);
  box-shadow: 0 12px 34px rgba(26,35,50,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  animation: dakBubbleRise var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}
@keyframes dakBubbleRise {
  0%, 100% { transform: translate3d(0, 0, 0) scale(.94); opacity: 0; }
  12% { opacity: .32; }
  45% { transform: translate3d(-22px, -44vh, 0) scale(1); opacity: .24; }
  82% { opacity: .18; }
  96% { transform: translate3d(24px, -105vh, 0) scale(.98); opacity: 0; }
}
.dak-paper-plane {
  position: fixed;
  left: -70px;
  top: 22vh;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 26px;
  color: rgba(0,188,212,.78);
  text-shadow: 0 10px 24px rgba(26,35,50,.14);
  transform: rotate(12deg);
  opacity: .78;
  animation: dakPlaneFly 28s ease-in-out infinite;
  animation-delay: 2.5s;
}
@keyframes dakPlaneFly {
  0%, 14% { transform: translate3d(-80px, 0, 0) rotate(12deg); opacity: 0; }
  18% { opacity: .72; }
  44% { transform: translate3d(48vw, 12vh, 0) rotate(4deg); opacity: .76; }
  70% { transform: translate3d(105vw, -6vh, 0) rotate(16deg); opacity: .18; }
  100% { transform: translate3d(105vw, -6vh, 0) rotate(16deg); opacity: 0; }
}
.dak-mini-mascot {
  position: fixed;
  right: 22px;
  bottom: 108px;
  z-index: 9996;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(237,250,253,.88));
  box-shadow: 0 16px 40px rgba(26,35,50,.14);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: dakMascotBreathe 3.8s ease-in-out infinite;
}
.dak-mascot-face { font-size: 27px; line-height: 1; }
.dak-mascot-wave {
  position: absolute;
  right: 46px;
  top: 9px;
  padding: 7px 10px;
  border-radius: 999px 999px 4px 999px;
  background: rgba(255,255,255,.94);
  color: #3a2465;
  border: 1px solid rgba(0,188,212,.16);
  box-shadow: 0 12px 28px rgba(26,35,50,.10);
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  transform: translateX(8px) scale(.96);
  animation: dakMascotWave 9s ease-in-out infinite;
}
.dak-mini-mascot:hover,
.dak-mini-mascot.is-happy {
  transform: translateY(-4px) rotate(-2deg);
  box-shadow: 0 20px 48px rgba(26,35,50,.18);
}
.dak-mini-mascot.is-happy .dak-mascot-wave,
.dak-mini-mascot:hover .dak-mascot-wave {
  opacity: 1;
  transform: translateX(0) scale(1);
}
@keyframes dakMascotBreathe {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes dakMascotWave {
  0%, 66%, 100% { opacity: 0; transform: translateX(8px) scale(.96); }
  70%, 83% { opacity: 1; transform: translateX(0) scale(1); }
  88% { opacity: 0; transform: translateX(8px) scale(.96); }
}
.dak-magic-sparkle {
  position: fixed;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9995;
  background: radial-gradient(circle, #fff 0 25%, rgba(245,166,35,.88) 36%, rgba(0,188,212,.25) 70%, transparent 100%);
  box-shadow: 0 0 16px rgba(245,166,35,.42), 0 0 22px rgba(0,188,212,.20);
  animation: dakMagicSparkle .85s ease-out forwards;
}
@keyframes dakMagicSparkle {
  0% { opacity: .95; transform: translate3d(0,0,0) scale(.7) rotate(0deg); }
  100% { opacity: 0; transform: translate3d(var(--mx), var(--my), 0) scale(1.7) rotate(90deg); }
}
@media (max-width: 900px), (hover:none), (pointer:coarse) {
  .dak-paper-plane { animation-duration: 34s; opacity: .42; }
  .dak-word-bubble { display: none; }
  .dak-floating-icon { opacity: .08; }
  .dak-mini-mascot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dak-joy-layer, .dak-mini-mascot, .dak-magic-sparkle { display: none !important; }
}

/* Box-only fun motion refinements: effects stay inside cards/buttons only */
.dak-cursor-friend,
.dak-cursor-sparkle,
.dak-joy-layer,
.dak-paper-plane,
.dak-mini-mascot,
.dak-word-bubble,
.dak-floating-icon {
  display: none !important;
}

.dak-box-joy-ready {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease, filter .32s ease;
  will-change: transform, box-shadow;
}

.dak-box-joy-ready::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
  background: radial-gradient(circle at 50% 45%, rgba(255,255,255,.12), transparent 60%);
  z-index: 0;
}

.dak-box-joy-ready:hover,
.dak-box-joy-ready:focus-within {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 16px 34px rgba(26,35,50,.12), 0 8px 18px rgba(0,188,212,.08);
  animation: dakSoftPulseCard 2.2s ease-in-out infinite;
}

.dak-box-joy-ready:hover::after,
.dak-box-joy-ready:focus-within::after {
  opacity: 1;
  animation: dakSoftPulseGlow 2.2s ease-in-out infinite;
}

.dak-box-joy-ready::before,
  .dak-box-joy-ready::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  top: -80px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,188,212,.16), rgba(107,63,160,.08) 45%, transparent 72%);
  opacity: 0;
  transform: scale(.72);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
  z-index: 0;
}

.dak-box-joy-ready:hover::before,
.dak-box-joy-ready:focus-within::before {
  opacity: 1;
  transform: scale(1);
  animation: dakBoxGlowDrift 3.6s ease-in-out infinite;
}

.dak-box-joy-ready > *:not(.dak-box-fun-icon):not(.dak-box-sparkle) {
  position: relative;
  z-index: 1;
}

.dak-box-fun-icon {
  position: absolute;
  right: 15px;
  top: 13px;
  z-index: 0;
  font-size: 22px;
  line-height: 1;
  opacity: 0;
  transform: translate3d(12px, -10px, 0) rotate(-10deg) scale(.72);
  transition: opacity .32s ease, transform .32s ease;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(26,35,50,.12));
}

.dak-box-joy-ready:hover .dak-box-fun-icon,
.dak-box-joy-ready:focus-within .dak-box-fun-icon {
  opacity: .38;
  transform: translate3d(0, 0, 0) rotate(4deg) scale(1);
  animation: dakBoxIconFloat 2.8s ease-in-out infinite;
}

.dak-box-sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  left: 0;
  top: 0;
  margin: -4px 0 0 -4px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(circle, #fff 0 25%, rgba(245,166,35,.86) 38%, rgba(0,188,212,.24) 72%, transparent 100%);
  box-shadow: 0 0 14px rgba(245,166,35,.36), 0 0 18px rgba(0,188,212,.18);
  animation: dakBoxSparkle .82s ease-out forwards;
}

@keyframes dakBoxSparkle {
  0% { opacity: .95; transform: translate3d(0,0,0) scale(.7) rotate(0deg); }
  100% { opacity: 0; transform: translate3d(var(--bx), var(--by), 0) scale(1.55) rotate(90deg); }
}

@keyframes dakBoxIconFloat {
  0%,100% { transform: translate3d(0,0,0) rotate(4deg) scale(1); }
  50% { transform: translate3d(-4px,5px,0) rotate(-5deg) scale(1.06); }
}

@keyframes dakBoxGlowDrift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-12px,12px,0) scale(1.06); }
}


@keyframes dakSoftPulseCard {
  0%,100% { transform: translateY(-4px) scale(1.012); }
  50% { transform: translateY(-6px) scale(1.02); }
}

@keyframes dakSoftPulseGlow {
  0%,100% { opacity: .55; }
  50% { opacity: .92; }
}
@media (max-width: 900px), (hover:none), (pointer:coarse), (prefers-reduced-motion: reduce) {
  .dak-box-fun-icon,
  .dak-box-sparkle,
  .dak-box-joy-ready::before {
    display: none !important;
    animation: none !important;
  }
}

/* Cute professional motion INSIDE boxes only */
.dak-box-joy-ready { contain: paint; }

/* icon-only motion inside each box */
.dak-box-fun-icon {
  right: 14px;
  top: 12px;
  font-size: 18px;
  opacity: 0;
}

.dak-box-joy-ready:hover .dak-box-fun-icon,
.dak-box-joy-ready:focus-within .dak-box-fun-icon {
  opacity: .26;
}

.dak-box-joy-ready.faq-item .dak-box-fun-icon,
.faq-item .dak-box-fun-icon {
  right: 44px;
  top: 50%;
  transform: translate3d(10px,-50%,0) rotate(-8deg) scale(.72);
}

.dak-box-joy-ready.faq-item:hover .dak-box-fun-icon,
.dak-box-joy-ready.faq-item:focus-within .dak-box-fun-icon,
.faq-item:hover .dak-box-fun-icon,
.faq-item:focus-within .dak-box-fun-icon {
  transform: translate3d(0,-50%,0) rotate(4deg) scale(1);
  opacity: .20;
}

@media (max-width: 900px), (hover:none), (pointer:coarse), (prefers-reduced-motion: reduce) {
  .dak-box-fun-icon { display: none !important; }
}


/* Premium hero motion — dark sections */
.hero-left,
.page-hero,
.branch-hero,
.fyp-hero,
.fv-hero {
  --hero-mx: 50%;
  --hero-my: 50%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-left::before,
.page-hero::before,
.branch-hero::before,
.fyp-hero::before,
.fv-hero::before {
  animation: dakHeroGlowA 11s ease-in-out infinite alternate;
}

.hero-left::after,
.page-hero::after,
.branch-hero::after,
.fyp-hero::after,
.fv-hero::after {
  animation: dakHeroGlowB 13s ease-in-out infinite alternate;
}

.dak-hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .72;
  background:
    radial-gradient(circle at var(--hero-mx) var(--hero-my), rgba(255,255,255,.085), rgba(0,188,212,.045) 18%, transparent 38%);
  transition: opacity .3s ease;
  mix-blend-mode: screen;
}

.dak-hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.dak-hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(0,188,212,.48);
  box-shadow: 0 0 18px rgba(0,188,212,.28);
  opacity: .28;
  animation: dakHeroParticleFloat var(--hero-speed, 11s) ease-in-out infinite;
  animation-delay: var(--hero-delay, 0s);
}

.dak-hero-particle:nth-child(3n) {
  background: rgba(245,166,35,.52);
  box-shadow: 0 0 18px rgba(245,166,35,.22);
}

.dak-hero-particle:nth-child(4n) {
  background: rgba(255,255,255,.45);
  box-shadow: 0 0 16px rgba(255,255,255,.18);
}

.hero-left > *:not(.dak-hero-particles):not(.dak-hero-spotlight),
.page-hero > *:not(.dak-hero-particles):not(.dak-hero-spotlight),
.branch-hero > *:not(.dak-hero-particles):not(.dak-hero-spotlight),
.fyp-hero > *:not(.dak-hero-particles):not(.dak-hero-spotlight),
.fv-hero > *:not(.dak-hero-particles):not(.dak-hero-spotlight) {
  position: relative;
  z-index: 1;
}

.page-hero-badge,
.page-hero h1,
.page-hero p,
.branch-hero-badge,
.branch-hero h1,
.branch-hero p,
.fyp-hero-badge,
.fyp-hero h1,
.fyp-hero p,
.fyp-hero-meta,
.fv-hero h1,
.fv-hero p {
  animation: dakHeroTextRise .72s cubic-bezier(.22,.61,.36,1) both;
}

.page-hero h1,
.branch-hero h1,
.fyp-hero h1,
.fv-hero h1 { animation-delay: .08s; }
.page-hero p,
.branch-hero p,
.fyp-hero p,
.fv-hero p { animation-delay: .16s; }
.fyp-hero-meta { animation-delay: .24s; }

@keyframes dakHeroGlowA {
  0% { transform: translate3d(0,0,0) scale(1); opacity: .88; }
  50% { transform: translate3d(24px,18px,0) scale(1.08); opacity: 1; }
  100% { transform: translate3d(-16px,26px,0) scale(1.03); opacity: .8; }
}

@keyframes dakHeroGlowB {
  0% { transform: translate3d(0,0,0) scale(1); opacity: .82; }
  50% { transform: translate3d(-28px,-18px,0) scale(1.1); opacity: 1; }
  100% { transform: translate3d(18px,-24px,0) scale(1.04); opacity: .78; }
}

@keyframes dakHeroParticleFloat {
  0%,100% { transform: translate3d(0,0,0) scale(.8); opacity: .12; }
  22% { opacity: .42; }
  50% { transform: translate3d(var(--hero-dx, 28px), var(--hero-dy, -34px), 0) scale(1.2); opacity: .34; }
  78% { opacity: .22; }
}

@keyframes dakHeroTextRise {
  from { opacity: 0; transform: translate3d(0,18px,0); filter: blur(3px); }
  to { opacity: 1; transform: translate3d(0,0,0); filter: blur(0); }
}

@media (prefers-reduced-motion: reduce), (max-width: 760px) {
  .dak-hero-particles,
  .dak-hero-spotlight { display: none !important; }
  .hero-left::before,
  .hero-left::after,
  .page-hero::before,
  .page-hero::after,
  .branch-hero::before,
  .branch-hero::after,
  .fyp-hero::before,
  .fyp-hero::after,
  .fv-hero::before,
  .fv-hero::after,
  .page-hero-badge,
  .page-hero h1,
  .page-hero p,
  .branch-hero-badge,
  .branch-hero h1,
  .branch-hero p,
  .fyp-hero-badge,
  .fyp-hero h1,
  .fyp-hero p,
  .fyp-hero-meta,
  .fv-hero h1,
  .fv-hero p {
    animation: none !important;
  }
}

/* Global premium polish pack */
.dak-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 99999;
  pointer-events: none;
  background: linear-gradient(90deg, var(--teal), var(--yellow), var(--purple));
  box-shadow: 0 0 18px rgba(0,188,212,.34);
  transform-origin: left center;
  transition: width .08s linear;
}

.dak-page-loader {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 22% 22%, rgba(0,188,212,.16), transparent 34%),
    radial-gradient(circle at 78% 78%, rgba(107,63,160,.18), transparent 38%),
    var(--navy);
  opacity: 1;
  visibility: visible;
  transition: opacity .55s ease, visibility .55s ease;
}
.dak-page-loader.is-done { opacity: 0; visibility: hidden; }
.dak-loader-card {
  display: grid;
  place-items: center;
  gap: 16px;
  padding: 28px 32px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 28px 90px rgba(0,0,0,.28);
  backdrop-filter: blur(18px);
  animation: dakLoaderRise .75s cubic-bezier(.22,.61,.36,1) both;
}
.dak-loader-logo {
  width: 124px;
  height: auto;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  padding: 10px 14px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.dak-loader-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18);
  border-top-color: var(--teal);
  border-right-color: var(--yellow);
  animation: dakLoaderSpin .92s linear infinite;
}
.dak-loader-text {
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
@keyframes dakLoaderSpin { to { transform: rotate(360deg); } }
@keyframes dakLoaderRise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

.nav-links a {
  position: relative;
  overflow: hidden;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform .26s ease, opacity .26s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  opacity: 1;
}
.nav-links a.active {
  background: rgba(0,188,212,.08);
}
body[dir="rtl"] .nav-links a::after { transform-origin: right center; }

img:not(.logo):not(.dak-loader-logo):not(.calendar-brand img) {
  transition: transform .45s cubic-bezier(.22,.61,.36,1), filter .45s ease;
}
.slide-img,
.branch-image img,
.campus-image img,
.facility-card img,
.programme-image img,
.image-card img {
  will-change: transform, filter;
}
.slide:hover .slide-img,
.branch-image:hover img,
.campus-image:hover img,
.facility-card:hover img,
.programme-image:hover img,
.image-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.06) brightness(1.03);
}

.back-to-top {
  box-shadow: 0 18px 42px rgba(0,188,212,.24), 0 6px 16px rgba(26,35,50,.16);
  transition: opacity .25s ease, transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
}
.back-to-top.visible { animation: dakBackTopFloat 3.2s ease-in-out infinite; }
.back-to-top:hover {
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 22px 52px rgba(0,188,212,.32), 0 8px 20px rgba(26,35,50,.18);
}
@keyframes dakBackTopFloat { 0%,100% { translate: 0 0; } 50% { translate: 0 -4px; } }

.dak-section-dots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.dak-section-dots.is-visible { opacity: 1; pointer-events: auto; }
.dak-section-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(26,35,50,.28);
  box-shadow: 0 4px 12px rgba(26,35,50,.18);
  cursor: pointer;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.dak-section-dot.is-active {
  background: var(--teal);
  transform: scale(1.55);
  box-shadow: 0 0 0 6px rgba(0,188,212,.12), 0 0 18px rgba(0,188,212,.32);
}
body[dir="rtl"] .dak-section-dots { right: auto; left: 18px; }

@media (max-width: 900px), (prefers-reduced-motion: reduce) {
  .dak-page-loader { display: none !important; }
  .dak-section-dots { display: none !important; }
  .back-to-top.visible,
  .dak-loader-ring,
  .dak-loader-card { animation: none !important; }
  img { transition: none !important; }
}


/* DAK WhatsApp left-side lock */
.wa-fab,
html[dir="rtl"] .wa-fab {
  left: 24px !important;
  right: auto !important;
}
.wa-menu,
html[dir="rtl"] .wa-menu {
  left: 24px !important;
  right: auto !important;
}
@media (max-width: 640px) {
  .wa-fab,
  html[dir="rtl"] .wa-fab {
    left: 18px !important;
    right: auto !important;
  }
  .wa-menu,
  html[dir="rtl"] .wa-menu {
    left: 12px !important;
    right: 12px !important;
  }
}

/* ── POLISHED CHILD JOURNEY SECTION ── */
.journey-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0,188,212,.10), transparent 30%),
    radial-gradient(circle at 88% 72%, rgba(107,63,160,.10), transparent 34%),
    linear-gradient(180deg,#f7f9fc 0%,#eef3f8 100%);
}
.journey-section::before{
  content:"";
  position:absolute;
  inset:70px auto auto -120px;
  width:300px;
  height:300px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(0,188,212,.12), transparent 70%);
  pointer-events:none;
}
.journey-section::after{
  content:"";
  position:absolute;
  right:-140px;
  bottom:-160px;
  width:380px;
  height:380px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(107,63,160,.12), transparent 72%);
  pointer-events:none;
}
.journey-section .container{position:relative;z-index:1}
.journey-showcase{
  max-width:980px;
  margin:42px auto 40px;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:24px;
  align-items:stretch;
}
.journey-visual{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  padding:30px;
  min-height:242px;
  background:linear-gradient(135deg,var(--navy),#263a56 58%,#34275e);
  box-shadow:0 22px 58px rgba(26,35,50,.16);
  color:#fff;
  isolation:isolate;
}
.journey-visual::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:linear-gradient(135deg,rgba(0,188,212,.22),transparent 42%,rgba(245,166,35,.12));
  opacity:.7;
  z-index:-1;
}
.journey-orbit{
  position:absolute;
  border-radius:999px;
  pointer-events:none;
  filter:blur(.2px);
}
.journey-orbit-one{
  width:210px;height:210px;right:-70px;top:-80px;
  background:radial-gradient(circle,rgba(0,188,212,.28),transparent 68%);
  animation:journeyOrbitOne 8s ease-in-out infinite;
}
.journey-orbit-two{
  width:180px;height:180px;left:-70px;bottom:-70px;
  background:radial-gradient(circle,rgba(245,166,35,.20),transparent 70%);
  animation:journeyOrbitTwo 9s ease-in-out infinite;
}
.journey-visual-kicker{
  position:relative;
  z-index:1;
  color:var(--teal);
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:22px;
}
.journey-path-card{
  position:relative;
  z-index:1;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.12);
  border-radius:20px;
  padding:20px;
  backdrop-filter:blur(8px);
}
.path-row{display:flex;align-items:center;gap:14px}
.path-row strong{display:block;font-family:'Playfair Display',serif;font-size:20px;line-height:1.1;color:#fff}
.path-row small{display:block;margin-top:4px;font-size:12px;color:rgba(255,255,255,.58);line-height:1.35}
.path-dot{
  width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-weight:900;font-size:13px;flex-shrink:0;box-shadow:0 10px 22px rgba(0,0,0,.18);
}
.path-dot.start{background:var(--teal);color:var(--navy)}
.path-dot.middle{background:var(--purple);color:#fff}
.path-dot.finish{background:var(--yellow);color:var(--navy)}
.path-line{width:2px;height:28px;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.38));margin:7px 0 7px 18px;border-radius:99px}
.journey-mini-badges{position:relative;z-index:1;display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.journey-mini-badges span{padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.10);font-size:11px;font-weight:800;color:rgba(255,255,255,.72)}
.journey-showcase .journey-form{
  max-width:none;
  margin:0;
  padding:30px;
  border-radius:26px;
  box-shadow:0 18px 52px rgba(26,35,50,.10);
  border:1px solid rgba(26,35,50,.08);
  position:relative;
  overflow:hidden;
}
.journey-showcase .journey-form::before{
  content:"";
  position:absolute;
  right:-70px;top:-70px;width:190px;height:190px;border-radius:999px;
  background:radial-gradient(circle,rgba(0,188,212,.12),transparent 68%);
  pointer-events:none;
}
.journey-form-head{position:relative;z-index:1;display:flex;align-items:center;gap:12px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--gray-2)}
.journey-form-icon{width:42px;height:42px;border-radius:14px;background:rgba(107,63,160,.10);display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0}
.journey-form-head strong{display:block;font-family:'Playfair Display',serif;font-size:22px;line-height:1.15;color:var(--navy)}
.journey-form-head small{display:block;margin-top:5px;color:var(--text-muted);font-size:12.5px;line-height:1.45}
.journey-showcase .journey-inputs{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr .85fr;gap:14px;align-items:end}
.journey-showcase .journey-input-group{min-width:0}
.journey-showcase .journey-input-group input{height:54px;border-radius:13px;background:#fbfcfe}
.journey-showcase .btn{grid-column:1 / span 2;min-height:54px;border-radius:13px;box-shadow:0 12px 24px rgba(107,63,160,.20)}
body[dir="rtl"] .journey-form-head{text-align:right}
body[dir="rtl"] .path-line{margin-right:18px;margin-left:0}
@keyframes journeyOrbitOne{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-16px,16px,0) scale(1.06)}}
@keyframes journeyOrbitTwo{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(18px,-14px,0) scale(1.08)}}
@media(max-width:900px){.journey-showcase{grid-template-columns:1fr;max-width:680px}.journey-visual{min-height:auto}.journey-showcase .journey-inputs{grid-template-columns:1fr 1fr}.journey-showcase .journey-input-group:first-child{grid-column:1 / -1}.journey-showcase .btn{grid-column:1 / -1}}
@media(max-width:560px){.journey-showcase{margin-top:30px}.journey-visual,.journey-showcase .journey-form{padding:22px;border-radius:22px}.journey-showcase .journey-inputs{grid-template-columns:1fr}.journey-form-head strong{font-size:19px}}
@media(prefers-reduced-motion:reduce){.journey-orbit{animation:none!important}}


/* === Premium Journey Section Redesign === */
.journey-premium-section{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(0,188,212,.10), transparent 32%),
    radial-gradient(circle at 84% 78%, rgba(107,63,160,.10), transparent 34%),
    linear-gradient(180deg,#f6f8fb 0%,#eef3f7 100%);
}
.journey-premium-section::before{
  content:"";
  position:absolute;
  width:420px;height:420px;
  right:-160px;top:100px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(0,188,212,.16), transparent 65%);
  animation:journeyAmbientFloat 9s ease-in-out infinite;
  pointer-events:none;
}
.journey-premium-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(360px,.86fr);
  gap:0;
  max-width:1060px;
  margin:38px auto 0;
  border-radius:28px;
  overflow:hidden;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(26,35,50,.08);
  box-shadow:0 28px 70px rgba(26,35,50,.11);
  backdrop-filter:blur(14px);
}
.journey-story-panel{
  position:relative;
  min-height:390px;
  padding:38px;
  color:#fff;
  background:linear-gradient(135deg,#172233 0%,#182a43 55%,#3b2870 100%);
  overflow:hidden;
}
.journey-story-glow{
  position:absolute;inset:auto -80px -90px auto;
  width:300px;height:300px;border-radius:50%;
  background:radial-gradient(circle, rgba(0,188,212,.45), transparent 66%);
  filter:blur(4px);
  animation:journeyGlowMove 7s ease-in-out infinite;
}
.journey-story-top{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:34px}
.journey-story-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:rgba(0,188,212,.13);border:1px solid rgba(0,188,212,.28);color:var(--teal);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.journey-story-icon{width:54px;height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);font-size:25px;box-shadow:0 16px 28px rgba(0,0,0,.14)}
.journey-story-panel h3{position:relative;max-width:470px;font-family:'Playfair Display',serif;font-size:34px;line-height:1.08;font-weight:900;margin:0 0 14px;color:#fff}
.journey-story-panel p{position:relative;max-width:520px;font-size:15px;line-height:1.8;color:rgba(255,255,255,.70);margin:0 0 28px}
.journey-stage-flow{position:relative;display:grid;grid-template-columns:1fr 40px 1fr 40px 1fr;align-items:stretch;gap:0;margin-top:24px}
.journey-stage{position:relative;min-height:118px;padding:17px 15px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13);box-shadow:inset 0 1px 0 rgba(255,255,255,.08);transition:transform .25s ease, background .25s ease}
.journey-stage:hover{transform:translateY(-3px);background:rgba(255,255,255,.12)}
.journey-stage span{display:inline-flex;width:34px;height:34px;border-radius:12px;align-items:center;justify-content:center;background:rgba(0,188,212,.16);color:var(--teal);font-size:11px;font-weight:900;margin-bottom:13px}
.journey-stage strong{display:block;color:#fff;font-size:15px;margin-bottom:5px}
.journey-stage small{display:block;color:rgba(255,255,255,.58);font-size:12px;line-height:1.45}
.journey-stage.finish span{background:rgba(245,166,35,.18);color:var(--yellow)}
.journey-flow-line{align-self:center;height:2px;background:linear-gradient(90deg,rgba(0,188,212,.25),rgba(245,166,35,.45));position:relative}
.journey-flow-line::after{content:"";position:absolute;right:-2px;top:50%;width:8px;height:8px;border-radius:50%;background:var(--yellow);transform:translateY(-50%);box-shadow:0 0 14px rgba(245,166,35,.55)}
.journey-pill-row{position:relative;display:flex;gap:9px;flex-wrap:wrap;margin-top:24px}
.journey-pill-row span{padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);font-size:11px;font-weight:800;color:rgba(255,255,255,.76)}
.journey-form-panel{position:relative;padding:38px;background:linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%)}
.journey-form-panel::before{content:"";position:absolute;left:0;top:38px;bottom:38px;width:1px;background:linear-gradient(180deg,transparent,rgba(26,35,50,.10),transparent)}
.journey-form-panel .journey-form-head{display:flex;align-items:center;gap:14px;padding:0 0 24px;margin:0 0 24px;border-bottom:1px solid var(--gray-2)}
.journey-form-panel .journey-form-icon{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,var(--purple),#8d63cb);display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;box-shadow:0 14px 28px rgba(107,63,160,.23)}
.journey-form-panel .journey-form-head strong{display:block;color:var(--navy);font-size:18px;margin-bottom:4px}
.journey-form-panel .journey-form-head small{display:block;color:var(--text-muted);line-height:1.5}
.journey-premium-inputs{display:grid;grid-template-columns:1fr 120px 120px;gap:14px;align-items:end}
.journey-premium-inputs .wide{grid-column:1 / -1}
.journey-premium-inputs .journey-input-group{min-width:0;display:flex;flex-direction:column;gap:8px}
.journey-premium-inputs label{font-size:12px;font-weight:900;letter-spacing:.04em;color:var(--navy)}
.journey-premium-inputs input{height:54px;border-radius:15px;padding:0 16px;background:#fff;border:1.5px solid #dfe7ee;box-shadow:0 8px 22px rgba(26,35,50,.04);transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease}
.journey-premium-inputs input:focus{border-color:var(--teal);box-shadow:0 0 0 4px rgba(0,188,212,.12);transform:translateY(-1px)}
.journey-premium-btn{grid-column:1 / -1;height:56px;border-radius:16px;justify-content:center;font-size:15px;box-shadow:0 14px 30px rgba(107,63,160,.22)}
.journey-premium-result{margin-top:34px;border:1px solid rgba(26,35,50,.07)}
body[dir="rtl"] .journey-premium-inputs label{text-align:right}
body[dir="rtl"] .journey-form-panel::before{left:auto;right:0}
body[dir="rtl"] .journey-flow-line::after{right:auto;left:-2px}
@keyframes journeyAmbientFloat{0%,100%{transform:translate3d(0,0,0) scale(1)}50%{transform:translate3d(-24px,28px,0) scale(1.08)}}
@keyframes journeyGlowMove{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(-30px,-20px,0)}}
@media(max-width:980px){.journey-premium-card{grid-template-columns:1fr}.journey-form-panel::before{display:none}.journey-story-panel{min-height:auto}.journey-stage-flow{grid-template-columns:1fr;gap:12px}.journey-flow-line{height:28px;width:2px;margin:auto;background:linear-gradient(180deg,rgba(0,188,212,.25),rgba(245,166,35,.45))}.journey-flow-line::after{right:auto;left:50%;top:auto;bottom:-2px;transform:translateX(-50%)}}
@media(max-width:620px){.journey-story-panel,.journey-form-panel{padding:24px}.journey-story-panel h3{font-size:28px}.journey-premium-card{border-radius:22px}.journey-premium-inputs{grid-template-columns:1fr 1fr}.journey-premium-inputs .wide,.journey-premium-btn{grid-column:1 / -1}}
@media(prefers-reduced-motion:reduce){.journey-premium-section::before,.journey-story-glow{animation:none!important}}

/* Glowing Journey Path Redesign */
.journey-premium-card{
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.82fr);
}
.journey-story-panel{
  min-height:470px;
  padding:42px 42px 36px;
}
.glowing-journey-path{
  position:relative;
  min-height:235px;
  margin-top:18px;
  border-radius:28px;
  background:
    radial-gradient(circle at 16% 78%, rgba(0,188,212,.18), transparent 22%),
    radial-gradient(circle at 52% 52%, rgba(255,255,255,.07), transparent 26%),
    radial-gradient(circle at 86% 22%, rgba(245,166,35,.18), transparent 24%);
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
}
.glowing-journey-path::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.22) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(0,188,212,.18) 0 1px, transparent 1.5px);
  background-size:46px 46px, 72px 72px;
  background-position:0 0, 18px 28px;
  opacity:.28;
  animation:journeyStarDrift 10s linear infinite;
}
.journey-road{
  position:absolute;
  inset:16px 18px 18px;
  width:calc(100% - 36px);
  height:calc(100% - 34px);
  overflow:visible;
}
.journey-road path{
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.journey-road-shadow{
  stroke:rgba(255,255,255,.12);
  stroke-width:18;
  filter:blur(6px);
}
.journey-road-line{
  stroke:url(#dummy);
  stroke-width:4;
  stroke-dasharray:9 12;
  animation:journeyDashMove 9s linear infinite;
}
.journey-road-line{
  stroke:rgba(0,188,212,.85);
  filter:drop-shadow(0 0 12px rgba(0,188,212,.42));
}
.journey-road-step{
  position:absolute;
  width:150px;
  padding:13px 13px 14px;
  border-radius:22px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10), 0 16px 28px rgba(0,0,0,.16);
  backdrop-filter:blur(10px);
  z-index:2;
  transition:transform .28s ease, background .28s ease, border-color .28s ease;
}
.journey-road-step:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,.14);
  border-color:rgba(0,188,212,.38);
}
.journey-road-step .road-icon{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:linear-gradient(135deg, rgba(0,188,212,.22), rgba(255,255,255,.11));
  margin-bottom:10px;
  font-size:18px;
  box-shadow:0 0 22px rgba(0,188,212,.16);
}
.journey-road-step strong{
  display:block;
  color:#fff;
  font-size:15px;
  font-weight:900;
  margin-bottom:4px;
}
.journey-road-step small{
  display:block;
  color:rgba(255,255,255,.62);
  font-size:11.5px;
  line-height:1.35;
}
.step-start{left:22px;bottom:22px;}
.step-grow{left:50%;top:50%;transform:translate(-50%,-50%);}
.step-grow:hover{transform:translate(-50%,-54%);}
.step-grad{right:22px;top:22px;}
.journey-moving-light{
  position:absolute;
  width:14px;
  height:14px;
  border-radius:999px;
  background:var(--yellow);
  box-shadow:0 0 16px rgba(245,166,35,.85), 0 0 34px rgba(0,188,212,.35);
  z-index:3;
  offset-path:path('M42 158 C145 40 230 38 310 112 C392 188 490 176 578 48');
  offset-rotate:0deg;
  animation:journeyLightTravel 7s ease-in-out infinite;
  transform:translate(18px,16px);
}
.journey-path-pills{
  justify-content:center;
  margin-top:18px;
}
@keyframes journeyDashMove{to{stroke-dashoffset:-210}}
@keyframes journeyLightTravel{0%{offset-distance:0%;opacity:.25}12%{opacity:1}88%{opacity:1}100%{offset-distance:100%;opacity:.25}}
@keyframes journeyStarDrift{to{background-position:46px 46px, 90px 100px}}
body[dir="rtl"] .step-start{left:auto;right:22px}
body[dir="rtl"] .step-grad{right:auto;left:22px}
@media(max-width:980px){
  .journey-story-panel{min-height:auto;padding:32px}
  .glowing-journey-path{min-height:330px}
  .journey-road{display:none}
  .journey-moving-light{display:none}
  .journey-road-step{position:relative;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;width:auto;margin:14px;display:flex;align-items:center;gap:12px}
  .journey-road-step .road-icon{margin-bottom:0;flex:0 0 38px}
}
@media(max-width:620px){.journey-story-panel{padding:24px}.glowing-journey-path{min-height:auto;padding:8px 0}.journey-road-step{margin:10px}}
@media(prefers-reduced-motion:reduce){.journey-road-line,.journey-moving-light,.glowing-journey-path::before{animation:none!important}}


/* Premium Guided Path Tools */
.path-tools-section {
  position: relative;
  padding: 88px 0;
  background:
    radial-gradient(circle at 10% 8%, rgba(0,188,212,.10), transparent 34%),
    radial-gradient(circle at 90% 90%, rgba(107,63,160,.10), transparent 35%),
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%);
  overflow: hidden;
}
.path-tools-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(26,35,50,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(26,35,50,.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, #000 0 34%, transparent 72%);
  pointer-events: none;
}
.path-tools-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 34px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(26,35,50,.08);
  box-shadow: 0 26px 70px rgba(26,35,50,.08);
  backdrop-filter: blur(14px);
  overflow: hidden;
  isolation: isolate;
}
.path-tools-panel::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -170px;
  top: -190px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,188,212,.20), transparent 66%);
  z-index: -1;
  animation: pathGlowDrift 9s ease-in-out infinite;
}
.path-tools-panel::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  left: -190px;
  bottom: -210px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(107,63,160,.16), transparent 66%);
  z-index: -1;
  animation: pathGlowDrift 10s ease-in-out infinite reverse;
}
.path-tools-intro {
  min-height: 420px;
  border-radius: 26px;
  padding: 38px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(26,35,50,.94), rgba(32,48,75,.90)),
    radial-gradient(circle at 18% 18%, rgba(0,188,212,.28), transparent 38%),
    radial-gradient(circle at 88% 86%, rgba(107,63,160,.30), transparent 42%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.path-tools-intro::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.10);
  pointer-events: none;
}
.path-tools-intro .section-label {
  width: fit-content;
  color: var(--teal);
  border-color: rgba(0,188,212,.34);
  background: rgba(0,188,212,.10);
  margin-bottom: 22px;
}
.path-tools-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: .98;
  font-weight: 900;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: -.03em;
}
.path-tools-intro p {
  color: rgba(255,255,255,.74);
  line-height: 1.85;
  font-size: 16px;
  max-width: 440px;
  margin: 0;
}
.path-tools-route {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.path-tools-route i {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--teal), rgba(255,255,255,.20));
  display: inline-block;
}
.path-tools-grid {
  display: grid;
  gap: 18px;
}
.path-tool-card {
  position: relative;
  min-height: 198px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 22px;
  align-items: center;
  padding: 30px;
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(26,35,50,.08);
  box-shadow: 0 18px 44px rgba(26,35,50,.07);
  text-decoration: none;
  color: var(--navy);
  overflow: hidden;
  transition: transform .32s cubic-bezier(.22,.61,.36,1), box-shadow .32s ease, border-color .32s ease;
}
.path-tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background: linear-gradient(135deg, var(--teal), transparent 46%);
  pointer-events: none;
}
.path-tool-card.purple::before { background: linear-gradient(135deg, var(--purple), transparent 48%); }
.path-tool-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--teal), var(--purple));
  opacity: .8;
}
.path-tool-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(0,188,212,.24);
  box-shadow: 0 26px 64px rgba(26,35,50,.12);
}
.path-tool-index {
  grid-row: 1 / 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--teal-dark);
  background: rgba(0,188,212,.13);
  border: 1px solid rgba(0,188,212,.24);
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.52);
}
.path-tool-card.purple .path-tool-index {
  color: var(--purple);
  background: rgba(107,63,160,.11);
  border-color: rgba(107,63,160,.22);
}
.path-tool-icon {
  grid-column: 3;
  grid-row: 1 / 4;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--navy);
  font-size: 22px;
  box-shadow: 0 16px 34px rgba(26,35,50,.16);
  transition: transform .3s ease;
}
.path-tool-card:hover .path-tool-icon { transform: rotate(8deg) scale(1.06); }
.path-tool-card h3 {
  grid-column: 2;
  font-family: 'Playfair Display', serif;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.05;
  font-weight: 900;
  color: var(--navy);
  margin: 0 0 10px;
}
.path-tool-card p {
  grid-column: 2;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.path-tool-action {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 11px 15px;
  border-radius: 999px;
  font-weight: 900;
  color: var(--navy);
  background: rgba(0,188,212,.12);
  border: 1px solid rgba(0,188,212,.22);
}
.path-tool-card.purple .path-tool-action {
  background: rgba(107,63,160,.10);
  border-color: rgba(107,63,160,.20);
}
.path-tool-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  transition: transform .25s ease;
}
.path-tool-card:hover .path-tool-arrow { transform: translateX(4px); }
body[dir="rtl"] .path-tools-panel { direction: rtl; }
body[dir="rtl"] .path-tools-panel::before { right: auto; left: -170px; }
body[dir="rtl"] .path-tools-panel::after { left: auto; right: -190px; }
body[dir="rtl"] .path-tool-card { grid-template-columns: auto minmax(0, 1fr) 74px; }
body[dir="rtl"] .path-tool-index { grid-column: 3; }
body[dir="rtl"] .path-tool-icon { grid-column: 1; }
body[dir="rtl"] .path-tool-card h3,
body[dir="rtl"] .path-tool-card p,
body[dir="rtl"] .path-tool-action { grid-column: 2; }
body[dir="rtl"] .path-tool-card:hover .path-tool-arrow { transform: translateX(-4px); }
@keyframes pathGlowDrift {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-18px,14px,0) scale(1.06); }
}
@media (max-width: 960px) {
  .path-tools-panel { grid-template-columns: 1fr; padding: 18px; }
  .path-tools-intro { min-height: auto; padding: 32px; }
}
@media (max-width: 620px) {
  .path-tools-section { padding: 62px 0; }
  .path-tool-card { grid-template-columns: 1fr; gap: 14px; padding: 26px; }
  .path-tool-index,
  .path-tool-icon,
  .path-tool-card h3,
  .path-tool-card p,
  .path-tool-action { grid-column: 1 !important; grid-row: auto; }
  .path-tool-icon { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; }
  body[dir="rtl"] .path-tool-icon { right: auto; left: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .path-tools-panel::before,
  .path-tools-panel::after { animation: none !important; }
}


/* Compact premium redesign: Discover Your Child's Path */
.path-tools-section {
  padding: 64px 0 !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(0,188,212,.10), transparent 30%),
    radial-gradient(circle at 88% 100%, rgba(107,63,160,.08), transparent 34%),
    linear-gradient(180deg, #f8fbfd 0%, #ffffff 100%) !important;
}
.path-tools-section::before { opacity: .45; }
.path-tools-panel {
  display: block !important;
  max-width: 1060px !important;
  padding: 34px !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.84) !important;
  box-shadow: 0 20px 56px rgba(26,35,50,.075) !important;
}
.path-tools-panel::before {
  width: 260px !important;
  height: 260px !important;
  right: -80px !important;
  top: -100px !important;
  opacity: .82;
}
.path-tools-panel::after {
  width: 260px !important;
  height: 260px !important;
  left: -90px !important;
  bottom: -120px !important;
  opacity: .72;
}
.path-tools-intro {
  min-height: auto !important;
  padding: 0 0 26px !important;
  color: var(--navy) !important;
  background: transparent !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  column-gap: 28px !important;
  align-items: end !important;
  border-bottom: 1px solid rgba(26,35,50,.08);
  overflow: visible !important;
}
.path-tools-intro::before { display: none !important; }
.path-tools-intro .section-label {
  grid-column: 1;
  margin: 0 0 12px !important;
  color: var(--teal-dark) !important;
  background: rgba(0,188,212,.10) !important;
  border-color: rgba(0,188,212,.25) !important;
}
.path-tools-intro h2 {
  grid-column: 1;
  color: var(--navy) !important;
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.02 !important;
  margin: 0 0 10px !important;
  max-width: 640px;
}
.path-tools-intro p {
  grid-column: 1;
  color: var(--text-muted) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  max-width: 580px !important;
}
.path-tools-route {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  margin-top: 0 !important;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(26,35,50,.04);
  border: 1px solid rgba(26,35,50,.07);
  color: rgba(26,35,50,.70) !important;
  white-space: nowrap;
}
.path-tools-route i {
  width: 28px !important;
  background: linear-gradient(90deg, var(--teal), var(--purple)) !important;
}
.path-tools-grid {
  margin-top: 26px;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px !important;
}
.path-tool-card {
  min-height: 190px !important;
  grid-template-columns: 56px minmax(0,1fr) 46px !important;
  column-gap: 18px !important;
  padding: 26px !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 36px rgba(26,35,50,.065) !important;
  background: rgba(255,255,255,.94) !important;
}
.path-tool-card::before {
  opacity: .10 !important;
  background:
    radial-gradient(circle at 8% 15%, rgba(0,188,212,.30), transparent 36%),
    linear-gradient(135deg, rgba(0,188,212,.10), transparent 50%) !important;
}
.path-tool-card.purple::before {
  background:
    radial-gradient(circle at 8% 15%, rgba(107,63,160,.20), transparent 36%),
    linear-gradient(135deg, rgba(107,63,160,.10), transparent 50%) !important;
}
.path-tool-card::after { left: 20px !important; right: 20px !important; height: 3px !important; }
.path-tool-index {
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  font-size: 18px !important;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.60) !important;
}
.path-tool-icon {
  width: 44px !important;
  height: 44px !important;
  font-size: 18px !important;
  box-shadow: 0 12px 24px rgba(26,35,50,.14) !important;
}
.path-tool-card h3 {
  font-size: clamp(25px, 2.2vw, 32px) !important;
  margin-bottom: 8px !important;
}
.path-tool-card p {
  font-size: 13.5px !important;
  line-height: 1.65 !important;
  margin-bottom: 16px !important;
}
.path-tool-action {
  padding: 10px 14px !important;
  font-size: 13px;
}
.path-tool-arrow { width: 23px !important; height: 23px !important; }
body[dir="rtl"] .path-tools-intro { grid-template-columns: auto minmax(0, 1fr) !important; }
body[dir="rtl"] .path-tools-intro .section-label,
body[dir="rtl"] .path-tools-intro h2,
body[dir="rtl"] .path-tools-intro p { grid-column: 2; }
body[dir="rtl"] .path-tools-route { grid-column: 1; }
body[dir="rtl"] .path-tools-panel::before { right: auto !important; left: -80px !important; }
body[dir="rtl"] .path-tools-panel::after { left: auto !important; right: -90px !important; }
@media (max-width: 980px) {
  .path-tools-panel { padding: 24px !important; }
  .path-tools-intro { display: block !important; }
  .path-tools-route { margin-top: 18px !important; width: fit-content; }
  .path-tools-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .path-tools-section { padding: 50px 0 !important; }
  .path-tools-panel { padding: 18px !important; border-radius: 22px !important; }
  .path-tool-card { grid-template-columns: 1fr !important; min-height: auto !important; padding: 24px !important; }
  .path-tool-icon { position: absolute; top: 22px; right: 22px; }
  body[dir="rtl"] .path-tool-icon { right: auto; left: 22px; }
  .path-tools-route { white-space: normal; }
}

/* Elegant animated redesign: Discover Your Child's Path */
.path-tools-section {
  position: relative;
  padding: 70px 0 !important;
  background:
    radial-gradient(circle at 8% 8%, rgba(0,188,212,.14), transparent 30%),
    radial-gradient(circle at 92% 92%, rgba(107,63,160,.16), transparent 34%),
    linear-gradient(180deg, #f7fbfd 0%, #ffffff 100%) !important;
  overflow: hidden;
}

.path-tools-panel {
  position: relative;
  display: grid !important;
  grid-template-columns: .9fr 1.1fr !important;
  gap: 22px !important;
  max-width: 1110px !important;
  padding: 26px !important;
  border-radius: 32px !important;
  overflow: hidden !important;
  color: #fff !important;
  background:
    linear-gradient(135deg, rgba(16,28,45,.98), rgba(31,37,72,.96) 48%, rgba(78,46,126,.94)) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow: 0 28px 70px rgba(26,35,50,.18) !important;
}

.path-tools-panel::before {
  content: "" !important;
  position: absolute !important;
  width: 420px !important;
  height: 420px !important;
  right: -160px !important;
  top: -180px !important;
  border-radius: 999px !important;
  background: radial-gradient(circle, rgba(0,188,212,.34), rgba(0,188,212,.12) 38%, transparent 70%) !important;
  opacity: .95 !important;
  animation: pathToolsGlowOne 8s ease-in-out infinite !important;
  pointer-events: none !important;
}

.path-tools-panel::after {
  content: "" !important;
  position: absolute !important;
  width: 360px !important;
  height: 360px !important;
  left: -145px !important;
  bottom: -170px !important;
  border-radius: 999px !important;
  background: radial-gradient(circle, rgba(245,166,35,.20), rgba(107,63,160,.18) 42%, transparent 72%) !important;
  opacity: .9 !important;
  animation: pathToolsGlowTwo 9s ease-in-out infinite !important;
  pointer-events: none !important;
}

.path-tools-intro {
  position: relative !important;
  z-index: 1 !important;
  min-height: 0 !important;
  padding: 38px 34px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.035)) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 26px !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10) !important;
  overflow: hidden !important;
}

.path-tools-intro::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.20) 1px, transparent 1.5px),
    linear-gradient(120deg, transparent 0%, rgba(0,188,212,.10) 45%, transparent 70%);
  background-size: 34px 34px, 100% 100%;
  opacity: .18 !important;
  animation: pathToolsParticles 14s linear infinite !important;
  pointer-events: none !important;
}

.path-tools-intro .section-label {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 0 16px !important;
  color: var(--teal) !important;
  background: rgba(0,188,212,.12) !important;
  border: 1px solid rgba(0,188,212,.34) !important;
}

.path-tools-intro h2 {
  position: relative !important;
  z-index: 1 !important;
  color: #fff !important;
  font-size: clamp(34px, 4vw, 54px) !important;
  line-height: 1.02 !important;
  margin: 0 0 16px !important;
  max-width: 560px !important;
}

.path-tools-intro p {
  position: relative !important;
  z-index: 1 !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 15px !important;
  line-height: 1.8 !important;
  max-width: 500px !important;
}

.path-tools-route {
  position: relative !important;
  z-index: 1 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  margin-top: 28px !important;
  padding: 11px 14px !important;
  border-radius: 999px !important;
  color: rgba(255,255,255,.82) !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.13) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

.path-tools-route i {
  width: 34px !important;
  background: linear-gradient(90deg, var(--teal), rgba(255,255,255,.22), var(--purple)) !important;
  animation: pathRoutePulse 2.8s ease-in-out infinite !important;
}

.path-tools-grid {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
}

.path-tool-card {
  position: relative !important;
  min-height: 0 !important;
  padding: 28px !important;
  border-radius: 24px !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) 48px !important;
  column-gap: 18px !important;
  align-items: center !important;
  background: rgba(255,255,255,.93) !important;
  border: 1px solid rgba(255,255,255,.70) !important;
  box-shadow: 0 18px 42px rgba(3,10,20,.16) !important;
  overflow: hidden !important;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease !important;
}

.path-tool-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 26px 56px rgba(3,10,20,.22) !important;
  border-color: rgba(0,188,212,.34) !important;
}

.path-tool-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  opacity: 1 !important;
  background:
    radial-gradient(circle at 0% 0%, rgba(0,188,212,.14), transparent 42%),
    linear-gradient(90deg, rgba(0,188,212,.055), transparent 48%) !important;
  pointer-events: none !important;
}

.path-tool-card.purple::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(107,63,160,.14), transparent 42%),
    linear-gradient(90deg, rgba(107,63,160,.055), transparent 48%) !important;
}

.path-tool-card::after {
  content: "" !important;
  position: absolute !important;
  left: 26px !important;
  right: 26px !important;
  bottom: 0 !important;
  height: 3px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--teal), #5574c9, var(--purple)) !important;
  transform: scaleX(.42) !important;
  transform-origin: left !important;
  transition: transform .45s ease !important;
}

.path-tool-card:hover::after { transform: scaleX(1) !important; }

.path-tool-index {
  position: relative !important;
  z-index: 1 !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 17px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  color: var(--teal-dark) !important;
  background: rgba(0,188,212,.12) !important;
  border: 1px solid rgba(0,188,212,.26) !important;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.58) !important;
}

.path-tool-card.purple .path-tool-index {
  color: var(--purple) !important;
  background: rgba(107,63,160,.10) !important;
  border-color: rgba(107,63,160,.25) !important;
}

.path-tool-card h3 {
  position: relative !important;
  z-index: 1 !important;
  color: var(--navy) !important;
  font-size: clamp(25px, 2.45vw, 36px) !important;
  line-height: 1.06 !important;
  margin: 0 0 10px !important;
}

.path-tool-card p {
  position: relative !important;
  z-index: 1 !important;
  color: var(--text-muted) !important;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
  max-width: 460px !important;
  margin: 0 0 16px !important;
}

.path-tool-icon {
  position: relative !important;
  z-index: 1 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: var(--navy) !important;
  box-shadow: 0 14px 28px rgba(26,35,50,.18) !important;
}

.path-tool-action {
  position: relative !important;
  z-index: 1 !important;
  grid-column: 2 !important;
  width: fit-content !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
}

@keyframes pathToolsGlowOne {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-28px,30px,0) scale(1.08); }
}
@keyframes pathToolsGlowTwo {
  0%,100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(34px,-24px,0) scale(1.06); }
}
@keyframes pathToolsParticles {
  from { background-position: 0 0, 0 0; }
  to { background-position: 68px 68px, 0 0; }
}
@keyframes pathRoutePulse {
  0%,100% { opacity: .55; transform: scaleX(.8); }
  50% { opacity: 1; transform: scaleX(1.08); }
}

body[dir="rtl"] .path-tools-panel { direction: rtl; }
body[dir="rtl"] .path-tool-card { grid-template-columns: 48px minmax(0,1fr) 58px !important; }
body[dir="rtl"] .path-tool-index { grid-column: 3; }
body[dir="rtl"] .path-tool-icon { grid-column: 1; }
body[dir="rtl"] .path-tool-action { grid-column: 2 !important; }
body[dir="rtl"] .path-tool-card::after { transform-origin: right !important; }

@media (max-width: 980px) {
  .path-tools-panel { grid-template-columns: 1fr !important; padding: 20px !important; }
  .path-tools-intro { padding: 30px !important; }
}
@media (max-width: 620px) {
  .path-tools-section { padding: 50px 0 !important; }
  .path-tools-panel { border-radius: 24px !important; }
  .path-tool-card,
  body[dir="rtl"] .path-tool-card {
    grid-template-columns: 1fr !important;
    padding: 24px !important;
  }
  .path-tool-icon { position: absolute !important; top: 22px !important; right: 22px !important; }
  body[dir="rtl"] .path-tool-icon { right: auto !important; left: 22px !important; }
  .path-tool-action { grid-column: 1 !important; }
}


/* ── PREMIUM SCHOOL APPS SECTION ── */
.premium-apps-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 18%, rgba(0,188,212,.16), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(107,63,160,.20), transparent 32%),
    linear-gradient(135deg, #111d2d 0%, #243142 100%);
  padding: 86px 48px;
}
.premium-apps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 35%, black, transparent 75%);
  pointer-events: none;
}
.premium-apps-section::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  right: -110px;
  top: 45px;
  background: radial-gradient(circle, rgba(0,188,212,.16), transparent 66%);
  animation: premiumAppsGlow 7s ease-in-out infinite;
  pointer-events: none;
}
.apps-section-head {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 38px;
}
.premium-apps-section .section-title {
  color: #fff !important;
  font-size: clamp(32px, 4vw, 54px);
  margin: 10px 0 12px;
}
.premium-apps-section .section-sub {
  color: rgba(255,255,255,.68) !important;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.apps-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
}
.premium-app-card {
  position: relative;
  min-height: 350px;
  padding: 34px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.125), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
  backdrop-filter: blur(12px);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.premium-app-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.10) 42%, transparent 72%);
  transform: translateX(-110%);
  transition: transform .75s ease;
  pointer-events: none;
}
.premium-app-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,188,212,.34);
  box-shadow: 0 30px 84px rgba(0,0,0,.26), 0 0 42px rgba(0,188,212,.10);
}
.premium-app-card:hover::before { transform: translateX(110%); }
.app-card-glow {
  position: absolute;
  width: 230px;
  height: 230px;
  right: -75px;
  top: -85px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0,188,212,.24), transparent 66%);
  opacity: .72;
  pointer-events: none;
  animation: appCardGlow 6s ease-in-out infinite;
}
.bus-card .app-card-glow {
  background: radial-gradient(circle, rgba(107,63,160,.28), transparent 66%);
}
.app-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 42px;
}
.premium-app-card .app-icon-wrap {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  font-size: 34px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 18px 30px rgba(0,0,0,.14);
}
.app-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(0,188,212,.10);
  border: 1px solid rgba(0,188,212,.22);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.premium-app-card .app-name {
  font-size: clamp(27px, 2.6vw, 38px);
  margin-bottom: 12px;
}
.premium-app-card .app-desc {
  max-width: 560px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,.70);
}
.app-feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 24px;
}
.app-feature-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.76);
  font-size: 12px;
  font-weight: 800;
}
.premium-app-card .app-btns { margin-top: auto; }
.premium-app-card .store-btn {
  border-radius: 16px;
  min-width: 190px;
  box-shadow: 0 14px 28px rgba(0,0,0,.16);
}
.premium-app-card .store-btn.google {
  background: linear-gradient(135deg, var(--teal), #11a9d6);
}
@keyframes premiumAppsGlow { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity:.70; } 50% { transform: translate3d(-28px,22px,0) scale(1.08); opacity:.92; } }
@keyframes appCardGlow { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-18px,24px,0) scale(1.08); } }
@media(max-width:900px){
  .premium-apps-section { padding: 68px 20px; }
  .apps-showcase { grid-template-columns: 1fr; }
  .premium-app-card { min-height: auto; padding: 28px; }
  .premium-app-card .app-btns { flex-direction: column; }
  .premium-app-card .store-btn { width: 100%; min-width: 0; }
}

/* ── DAK ASSISTANT PREMIUM REFINEMENT ── */
.dak-ai-bubble{
  width:70px !important;
  height:70px !important;
  border-radius:24px !important;
  background:linear-gradient(145deg,#7b4bc2 0%,#5b3297 56%,#10bfd0 145%) !important;
  box-shadow:0 18px 42px rgba(107,63,160,.34),0 0 0 8px rgba(107,63,160,.08) !important;
  animation:dakBotSoftFloat 4.5s ease-in-out infinite !important;
  overflow:visible !important;
}
.dak-ai-bubble::before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  background:linear-gradient(135deg,rgba(255,255,255,.35),rgba(255,255,255,0) 42%,rgba(0,188,212,.22));
  pointer-events:none;
}
.dak-ai-bubble::after{
  content:"";
  position:absolute;
  right:10px;
  top:10px;
  width:8px;
  height:8px;
  border-radius:999px;
  background:#18d36b;
  border:2px solid #fff;
  box-shadow:0 0 12px rgba(24,211,107,.75);
}
.dak-ai-bubble .dak-bot-mark{
  position:relative;
  z-index:1;
  filter:drop-shadow(0 8px 16px rgba(26,35,50,.22));
  transition:transform .28s ease;
}
.dak-ai-bubble:hover{
  transform:translateY(-5px) scale(1.055) !important;
  box-shadow:0 22px 52px rgba(107,63,160,.42),0 0 0 10px rgba(0,188,212,.08) !important;
}
.dak-ai-bubble:hover .dak-bot-mark{transform:rotate(-3deg) scale(1.04)}
@keyframes dakBotSoftFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-5px)}
}

.dak-ai-chat{
  width:390px !important;
  max-height:560px !important;
  border-radius:28px !important;
  background:rgba(255,255,255,.96) !important;
  border:1px solid rgba(26,35,50,.08) !important;
  box-shadow:0 28px 80px rgba(26,35,50,.22),0 0 0 1px rgba(255,255,255,.62) inset !important;
  backdrop-filter:blur(18px);
}
.dak-ai-header{
  background:linear-gradient(135deg,#162235 0%,#6B3FA0 100%) !important;
  padding:18px 20px !important;
  min-height:86px;
  position:relative;
  overflow:hidden;
}
.dak-ai-header::after{
  content:"";
  position:absolute;
  width:180px;
  height:180px;
  right:-90px;
  top:-105px;
  border-radius:999px;
  background:radial-gradient(circle,rgba(0,188,212,.32),transparent 62%);
  pointer-events:none;
}
.dak-ai-avatar{
  width:42px !important;
  height:42px !important;
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.20);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);
}
.dak-ai-avatar svg{display:none !important;}
.dak-ai-avatar::before{
  content:"";
  width:24px;
  height:20px;
  border-radius:9px;
  background:#fff;
  box-shadow:0 -6px 0 -3px #fff;
  display:block;
  position:relative;
}
.dak-ai-avatar::after{
  content:"";
  position:absolute;
  width:4px;
  height:4px;
  border-radius:999px;
  background:#6B3FA0;
  box-shadow:9px 0 0 #6B3FA0,4.5px 8px 0 -1px #6B3FA0;
}
.dak-ai-name{font-size:15px !important;font-weight:800 !important;letter-spacing:.01em;}
.dak-ai-status{font-size:12px !important;color:rgba(255,255,255,.78) !important;}
.dak-ai-close{
  width:34px;height:34px;border-radius:999px !important;
  background:rgba(255,255,255,.10) !important;
  color:rgba(255,255,255,.78) !important;
  font-size:17px !important;
  position:relative;z-index:1;
}
.dak-ai-close:hover{background:rgba(255,255,255,.18) !important;color:#fff !important;}
.dak-ai-messages{
  padding:18px !important;
  background:linear-gradient(180deg,#f9fbfd 0%,#fff 100%);
}
.dak-msg{
  font-size:14px !important;
  line-height:1.65 !important;
  padding:13px 16px !important;
  border-radius:18px !important;
}
.dak-msg-bot{
  background:#f3f6fa !important;
  color:#162235 !important;
  border:1px solid rgba(26,35,50,.05);
  border-bottom-left-radius:7px !important;
}
.dak-msg-user{
  background:linear-gradient(135deg,#6B3FA0,#7d55bd) !important;
  border-bottom-right-radius:7px !important;
  box-shadow:0 10px 20px rgba(107,63,160,.20);
}
.dak-ai-suggestions{
  padding:12px 16px 10px !important;
  gap:8px !important;
  background:#fff;
  border-top:1px solid rgba(26,35,50,.07) !important;
}
.dak-ai-suggestions button{
  background:#f4f6fa !important;
  border:1px solid rgba(26,35,50,.06) !important;
  padding:7px 12px !important;
  font-size:12px !important;
  font-weight:650;
}
.dak-ai-suggestions button:hover{
  background:rgba(0,188,212,.12) !important;
  border-color:rgba(0,188,212,.24) !important;
  color:#006876 !important;
}
.dak-ai-input-row{
  padding:12px 16px 16px !important;
  background:#fff;
  border-top:1px solid rgba(26,35,50,.07) !important;
}
.dak-ai-input-row input{
  height:46px;
  border-radius:16px !important;
  background:#fff !important;
  border:1.5px solid rgba(26,35,50,.10) !important;
  font-size:14px !important;
}
.dak-ai-input-row input:focus{
  border-color:rgba(107,63,160,.55) !important;
  box-shadow:0 0 0 4px rgba(107,63,160,.08);
}
.dak-send-btn{
  width:46px !important;
  height:46px !important;
  border-radius:16px !important;
  background:linear-gradient(135deg,#6B3FA0,#7d55bd) !important;
  box-shadow:0 10px 22px rgba(107,63,160,.22);
}
.dak-send-btn:hover{transform:translateY(-1px);background:linear-gradient(135deg,#7d55bd,#6B3FA0) !important;}
@media(max-width:600px){
  .dak-ai-chat{width:calc(100vw - 24px) !important;right:12px !important;bottom:140px !important;border-radius:24px !important;}
  .dak-ai-bubble{right:14px !important;bottom:82px !important;width:64px !important;height:64px !important;border-radius:22px !important;}
}


/* ── PROFESSIONAL DAK ASSISTANT BUBBLE ── */
.dak-ai-bubble{
  width:64px !important;
  height:64px !important;
  border-radius:22px !important;
  right:30px !important;
  bottom:88px !important;
  background:linear-gradient(145deg,#142136 0%,#243651 48%,#6B3FA0 100%) !important;
  box-shadow:0 18px 42px rgba(26,35,50,.28),0 0 0 1px rgba(255,255,255,.10) inset !important;
  animation:dakAssistantFloat 4.8s ease-in-out infinite !important;
  overflow:hidden !important;
}
.dak-ai-bubble::before{
  content:"AI";
  position:absolute;
  inset:11px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:17px;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,188,212,.25), transparent 38%),
    rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
  font-family:"DM Sans",sans-serif;
  font-size:17px;
  font-weight:900;
  letter-spacing:.04em;
  z-index:1;
}
.dak-ai-bubble::after{
  content:"";
  position:absolute;
  right:10px;
  top:10px;
  width:9px;
  height:9px;
  border-radius:999px;
  background:#22d889;
  border:2px solid #fff;
  box-shadow:0 0 14px rgba(34,216,137,.75);
  z-index:2;
}
.dak-ai-bubble .dak-bot-mark,
.dak-ai-bubble svg{
  display:none !important;
}
.dak-ai-bubble:hover{
  transform:translateY(-5px) scale(1.045) !important;
  box-shadow:0 24px 58px rgba(26,35,50,.35),0 0 0 8px rgba(0,188,212,.08) !important;
}
@keyframes dakAssistantFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}
@media(max-width:640px){
  .dak-ai-bubble{right:18px !important;bottom:86px !important;width:58px !important;height:58px !important;border-radius:20px !important;}
  .dak-ai-bubble::before{font-size:15px;inset:10px;border-radius:15px;}
}

/* ── RESTORE CLASSIC BOT BUBBLE + CLEANER CHAT AVATAR ── */
.dak-ai-bubble{
  width:68px !important;
  height:68px !important;
  border-radius:50% !important;
  right:32px !important;
  bottom:88px !important;
  background:linear-gradient(145deg,#7b4bc2 0%,#6B3FA0 62%,#56308c 100%) !important;
  box-shadow:0 14px 34px rgba(107,63,160,.38),0 0 0 8px rgba(107,63,160,.08) !important;
  overflow:visible !important;
  animation:dakBotWiggle 3.8s ease-in-out infinite !important;
}
.dak-ai-bubble::before{
  content:"" !important;
  position:absolute !important;
  inset:-6px !important;
  border-radius:50% !important;
  background:radial-gradient(circle,rgba(255,255,255,.18),transparent 68%) !important;
  border:none !important;
  z-index:0 !important;
  pointer-events:none !important;
}
.dak-ai-bubble::after{
  content:"" !important;
  position:absolute !important;
  right:7px !important;
  top:8px !important;
  width:10px !important;
  height:10px !important;
  border-radius:999px !important;
  background:#20d982 !important;
  border:2px solid #fff !important;
  box-shadow:0 0 12px rgba(32,217,130,.75) !important;
  z-index:3 !important;
}
.dak-ai-bubble .dak-bot-mark,
.dak-ai-bubble svg{
  display:block !important;
  position:relative !important;
  z-index:2 !important;
  width:43px !important;
  height:43px !important;
  filter:drop-shadow(0 8px 14px rgba(26,35,50,.24)) !important;
}
.dak-ai-bubble:hover{
  transform:translateY(-5px) scale(1.10) !important;
  box-shadow:0 18px 44px rgba(107,63,160,.48),0 0 0 10px rgba(0,188,212,.08) !important;
}
.dak-ai-bubble:hover .dak-bot-mark,
.dak-ai-bubble:hover svg{transform:rotate(-3deg) scale(1.04) !important;}

.dak-ai-avatar{
  width:44px !important;
  height:44px !important;
  border-radius:16px !important;
  background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,.10)) !important;
  border:1px solid rgba(255,255,255,.26) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 10px 22px rgba(26,35,50,.18) !important;
  position:relative !important;
  overflow:hidden !important;
}
.dak-ai-avatar svg{display:none !important;}
.dak-ai-avatar::before{
  content:"" !important;
  width:26px !important;
  height:21px !important;
  border-radius:9px !important;
  background:#fff !important;
  box-shadow:none !important;
  display:block !important;
  position:absolute !important;
  left:50% !important;
  top:52% !important;
  transform:translate(-50%,-50%) !important;
}
.dak-ai-avatar::after{
  content:"" !important;
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:4px !important;
  height:4px !important;
  border-radius:999px !important;
  background:#6B3FA0 !important;
  box-shadow:9px 0 0 #6B3FA0,4.5px 8px 0 -1px #6B3FA0 !important;
  transform:translate(-6.5px,-4px) !important;
}
.dak-ai-header::before{
  content:"";
  position:absolute;
  left:31px;
  top:18px;
  width:10px;
  height:10px;
  border-radius:999px;
  background:#20d982;
  border:2px solid rgba(255,255,255,.85);
  box-shadow:0 0 12px rgba(32,217,130,.7);
  z-index:2;
}
@media(max-width:640px){
  .dak-ai-bubble{right:14px !important;bottom:82px !important;width:62px !important;height:62px !important;border-radius:50% !important;}
  .dak-ai-bubble .dak-bot-mark,.dak-ai-bubble svg{width:39px !important;height:39px !important;}
}


/* Footer — cleaner premium layout */
.footer {
  background: #172435;
  padding: 74px 48px 32px !important;
}
.footer::before {
  filter: brightness(.34) saturate(.75) !important;
  transform: scale(1.02);
}
.footer::after {
  background:
    radial-gradient(circle at 10% 10%, rgba(0,188,212,.16), transparent 34%),
    radial-gradient(circle at 92% 20%, rgba(107,63,160,.18), transparent 36%),
    linear-gradient(180deg, rgba(18,29,44,.90), rgba(18,29,44,.96)) !important;
}
.footer-grid {
  grid-template-columns: minmax(280px, 1.45fr) 1fr 1fr !important;
  max-width: 1180px !important;
  gap: 34px !important;
  align-items: stretch;
}
.footer-grid > div {
  min-width: 0;
}
.footer-grid > div:first-child,
.footer-col {
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 26px 26px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  backdrop-filter: blur(10px);
}
.footer-brand-name {
  font-size: 22px !important;
  margin-bottom: 12px !important;
  letter-spacing: -.01em;
}
.footer-brand-name span {
  color: rgba(255,255,255,.62) !important;
  margin-top: 5px !important;
}
.footer-desc {
  color: rgba(255,255,255,.68) !important;
  font-size: 14px !important;
  max-width: 460px;
}
.footer-contact {
  display: grid;
  gap: 9px;
  color: rgba(255,255,255,.74) !important;
  line-height: 1.75 !important;
}
.footer-contact a {
  color: #17d4e7 !important;
  font-weight: 700;
}
.footer-col h4 {
  color: #fff !important;
  font-size: 12px !important;
  letter-spacing: .14em !important;
  margin-bottom: 18px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.footer-col ul li { margin-bottom: 10px !important; }
.footer-col ul li a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.66) !important;
  font-size: 14px !important;
  min-height: 30px;
}
.footer-col ul li a::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--purple));
  opacity: .75;
  flex: 0 0 auto;
}
.footer-col ul li a:hover {
  color: #17d4e7 !important;
  padding-left: 0 !important;
}
.footer-bottom {
  max-width: 1180px !important;
  margin-top: 8px !important;
  padding-top: 22px !important;
  border-top: 1px solid rgba(255,255,255,.11) !important;
  color: rgba(255,255,255,.54) !important;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.58) !important;
  font-weight: 600;
}
.footer-bottom-links a:hover { color: #17d4e7 !important; padding-left: 0 !important; }
html[dir="rtl"] .footer-col ul li a:hover { padding-right: 0 !important; }
@media(max-width: 960px){
  .footer { padding: 54px 20px 28px !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .footer-grid > div:first-child, .footer-col { padding: 22px !important; }
}

/* Footer compact correction — smaller, cleaner, closer to the original size */
.footer {
  padding: 46px 48px 24px !important;
  background: #172435 !important;
}
.footer::before { opacity: .18 !important; filter: brightness(.42) saturate(.75) !important; }
.footer::after {
  background:
    radial-gradient(circle at 12% 18%, rgba(0,188,212,.12), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(107,63,160,.12), transparent 30%),
    linear-gradient(180deg, rgba(18,29,44,.92), rgba(18,29,44,.97)) !important;
}
.footer-grid {
  grid-template-columns: 1.6fr .85fr .85fr !important;
  max-width: 1120px !important;
  gap: 54px !important;
  align-items: start !important;
  margin-bottom: 28px !important;
}
.footer-grid > div:first-child,
.footer-col {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.footer-brand-name {
  font-size: 18px !important;
  margin-bottom: 12px !important;
}
.footer-brand-name span {
  font-size: 11px !important;
  margin-top: 3px !important;
  color: rgba(255,255,255,.55) !important;
}
.footer-desc {
  font-size: 13px !important;
  line-height: 1.65 !important;
  max-width: 420px !important;
  margin-bottom: 14px !important;
  color: rgba(255,255,255,.62) !important;
}
.footer-contact {
  display: block !important;
  font-size: 13px !important;
  line-height: 1.9 !important;
  color: rgba(255,255,255,.62) !important;
}
.footer-contact a { color: var(--teal) !important; font-weight: 700 !important; }
.footer-col h4 {
  font-size: 11.5px !important;
  letter-spacing: .12em !important;
  margin-bottom: 16px !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
  color: rgba(255,255,255,.9) !important;
}
.footer-col ul li { margin-bottom: 9px !important; }
.footer-col ul li a {
  display: inline-block !important;
  min-height: 0 !important;
  font-size: 13px !important;
  color: rgba(255,255,255,.58) !important;
  font-weight: 500 !important;
}
.footer-col ul li a::before { content: none !important; }
.footer-col ul li a:hover { color: var(--teal) !important; }
.footer-bottom {
  max-width: 1120px !important;
  margin-top: 0 !important;
  padding-top: 18px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,.42) !important;
}
.footer-bottom-links { gap: 18px !important; }
.footer-bottom-links a {
  color: rgba(255,255,255,.48) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.footer-bottom-links a:hover { color: var(--teal) !important; }
@media(max-width: 960px){
  .footer { padding: 40px 20px 22px !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
}


/* Bot bubble — clear professional robot icon */
.dak-ai-bubble{
  width:70px !important;
  height:70px !important;
  border-radius:50% !important;
  right:32px !important;
  bottom:88px !important;
  background:linear-gradient(145deg,#7b4bc2 0%,#6B3FA0 62%,#56308c 100%) !important;
  box-shadow:0 16px 38px rgba(107,63,160,.42),0 0 0 8px rgba(107,63,160,.08) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:visible !important;
  animation:dakBotGentleFloat 4s ease-in-out infinite !important;
}
.dak-ai-bubble::before{
  content:"" !important;
  position:absolute !important;
  inset:-7px !important;
  border-radius:50% !important;
  background:radial-gradient(circle,rgba(255,255,255,.20),transparent 70%) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  z-index:0 !important;
  pointer-events:none !important;
}
.dak-ai-bubble::after{
  content:"" !important;
  position:absolute !important;
  right:7px !important;
  top:8px !important;
  width:11px !important;
  height:11px !important;
  border-radius:999px !important;
  background:#20d982 !important;
  border:2px solid #fff !important;
  box-shadow:0 0 12px rgba(32,217,130,.75) !important;
  z-index:4 !important;
}
.dak-ai-bubble .dak-bot-mark,
.dak-ai-bubble svg{
  display:block !important;
  position:relative !important;
  z-index:2 !important;
  width:47px !important;
  height:47px !important;
  filter:drop-shadow(0 9px 16px rgba(26,35,50,.24)) !important;
  transition:transform .25s ease !important;
}
.dak-ai-bubble:hover{
  transform:translateY(-5px) scale(1.08) !important;
  box-shadow:0 20px 48px rgba(107,63,160,.50),0 0 0 10px rgba(0,188,212,.08) !important;
}
.dak-ai-bubble:hover .dak-bot-mark,
.dak-ai-bubble:hover svg{transform:rotate(-2deg) scale(1.04) !important;}
@keyframes dakBotGentleFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(max-width:640px){
  .dak-ai-bubble{right:14px !important;bottom:82px !important;width:64px !important;height:64px !important;}
  .dak-ai-bubble .dak-bot-mark,.dak-ai-bubble svg{width:43px !important;height:43px !important;}
}


/* === v160 Mobile responsiveness audit fixes === */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video, canvas, iframe { max-width: 100%; }
* { -webkit-tap-highlight-color: rgba(0,188,212,.12); }

html[lang="ar"] .btn,
html[lang="ar"] .lang-toggle,
html[lang="ar"] .nav-links a,
html[lang="ar"] .mobile-menu a,
html[lang="ar"] input,
html[lang="ar"] textarea,
html[lang="ar"] select,
html[lang="ar"] .footer,
html[lang="ar"] .section-label,
html[lang="ar"] .page-hero-badge,
html[lang="ar"] .dak-ai-chat,
html[lang="ar"] .dak-msg { font-family: 'Noto Sans Arabic', 'DM Sans', sans-serif; }

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] .form-group label,
html[dir="rtl"] .footer-desc,
html[dir="rtl"] .footer-contact,
html[dir="rtl"] .footer-col ul li a,
html[dir="rtl"] .section-sub,
html[dir="rtl"] .page-hero p { text-align: right; }

@media (max-width: 768px) {
  nav { height: 68px !important; padding: 0 16px !important; }
  .logo img, nav .logo img { height: 54px !important; max-width: 155px !important; object-fit: contain !important; }
  nav.scrolled .logo img { height: 50px !important; }
  .hamburger { display: flex !important; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .mobile-menu { top: 68px !important; max-height: calc(100vh - 68px); overflow-y: auto; padding: 12px 16px 18px !important; }
  .mobile-menu a, .mobile-menu .lang-toggle { min-height: 44px; display: flex; align-items: center; }
  .section { padding: 54px 16px !important; }
  .container { width: 100%; max-width: 100%; }
  .section-title, .page-hero h1 { font-size: clamp(30px, 8.2vw, 38px) !important; line-height: 1.15 !important; }
  html[lang="ar"] .section-title, html[lang="ar"] .page-hero h1 { line-height: 1.32 !important; }
  .section-sub { margin-bottom: 32px !important; max-width: 100%; }
  .page-hero { padding: 46px 16px 42px !important; }
  .page-hero-badge { max-width: 100%; white-space: normal; line-height: 1.45; }
  .breadcrumb { flex-wrap: wrap; gap: 8px; }
  .btn, .nav-cta, .btn-teal, .btn-purple, .btn-outline, .btn-ghost { width: 100%; justify-content: center; text-align: center; min-height: 46px; }
  .footer { padding: 42px 16px 24px !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px !important; margin-bottom: 28px !important; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  html[dir="rtl"] .footer-bottom { align-items: flex-end; }
  .footer-bottom-links { width: 100%; justify-content: flex-start; gap: 14px !important; }
  html[dir="rtl"] .footer-bottom-links { justify-content: flex-end; }
  .form-row, .contact-grid, .maps-grid, .admission-grid, .info-grid { grid-template-columns: 1fr !important; }
  .form-group input, .form-group textarea, .form-group select { font-size: 16px !important; }
  .age-table-wrap, .table-wrap, .summary-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr !important; min-height: auto !important; }
  .hero-left { padding: 48px 16px !important; }
  .hero-title { font-size: clamp(32px, 10.2vw, 43px) !important; line-height: 1.13 !important; letter-spacing: -.02em !important; }
  html[lang="ar"] .hero-title { line-height: 1.28 !important; }
  .hero-desc { font-size: 14.5px !important; line-height: 1.8 !important; max-width: 100% !important; }
  .hero-actions { flex-direction: column; gap: 10px !important; }
  .hero-stats { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; margin-top: 30px !important; }
  .hero-stat { padding: 12px 10px !important; }
  .hero-right { height: 260px !important; min-height: 260px !important; }
  .hero-pill { left: 14px !important; right: 14px !important; bottom: 14px !important; width: auto !important; }
  .programmes-grid, .ql-grid, .branches-grid, .why-grid, .news-grid, .apps-grid, .team-grid, .values-grid, .mission-grid, .facilities-grid, .bus-grid, .curriculum-grid, .subject-grid { grid-template-columns: 1fr !important; }
  .activities-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .branch-card, .why-card, .ql-card, .news-card, .app-card, .team-card, .mission-card, .facility-card, .contact-card, .info-card, .key-card { padding: 22px 18px !important; border-radius: 18px !important; }
  .newsletter, .icampus-section, .fyp-banner-section, .fv-banner-section { padding-left: 16px !important; padding-right: 16px !important; }
  .newsletter-card, .fyp-banner, .fv-banner { border-radius: 22px !important; padding: 24px 18px !important; }
  .fyp-banner-icon, .fv-banner-icon { font-size: 58px !important; }
  .journey-premium-card, .journey-showcase { margin-left: 0 !important; margin-right: 0 !important; border-radius: 20px !important; }
  .journey-story-panel, .journey-form-panel, .journey-visual, .journey-showcase .journey-form { padding: 22px 18px !important; }
  .journey-premium-inputs, .journey-showcase .journey-inputs { grid-template-columns: 1fr !important; }
  .journey-stage-flow { grid-template-columns: 1fr !important; }
  .age-table { min-width: 520px; }
  .home-adm-age-table { min-width: 560px; }
  .home-adm-table-panel { overflow-x: auto; }
  .dak-ai-chat { width: calc(100vw - 24px) !important; right: 12px !important; left: 12px !important; bottom: 92px !important; height: min(620px, calc(100vh - 118px)) !important; max-height: calc(100vh - 118px) !important; border-radius: 18px !important; }
  .dak-ai-bubble { right: 16px !important; bottom: 22px !important; }
  .wa-fab, html[dir="rtl"] .wa-fab { left: 16px !important; bottom: 22px !important; right: auto !important; width: 52px !important; height: 52px !important; }
  .wa-menu, html[dir="rtl"] .wa-menu { left: 10px !important; right: 10px !important; bottom: 84px !important; width: auto !important; }
  .back-to-top { right: 16px !important; bottom: 82px !important; }
}

@media (max-width: 390px) {
  .hero-title { font-size: 32px !important; }
  .page-hero h1, .section-title { font-size: 29px !important; }
  .section { padding-left: 14px !important; padding-right: 14px !important; }
  .activities-grid { grid-template-columns: 1fr !important; }
  .hero-stats { grid-template-columns: 1fr 1fr !important; }
}

@media (hover:none), (pointer:coarse) {
  .dak-box-joy-ready:hover, .dak-box-joy-ready:focus-within, .motion-card:hover, .news-card:hover, .ql-card:hover, .team-card:hover, .mission-card:hover, .home-adm-card:hover, .month-card:hover, .key-card:hover, .facility-card:hover, .activity-card:hover, .curriculum-card:hover, .subject-card:hover, .faq-item:hover, .contact-card:hover, .info-card:hover { transform: none !important; animation: none !important; }
  .dak-box-sparkle, .dak-box-fun-icon, .dak-hero-particles, .dak-hero-spotlight { display: none !important; }
}

/* === v161: Child Journey mobile fix === */
@media (max-width: 700px) {
  .journey-premium-section {
    overflow: hidden !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .journey-premium-section .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    overflow: hidden !important;
  }
  .journey-premium-card {
    display: block !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 26px auto 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    background: #fff !important;
  }
  .journey-story-panel {
    display: none !important;
  }
  .journey-form-panel {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 24px 18px 26px !important;
    border-left: 0 !important;
    border-right: 0 !important;
    background: linear-gradient(180deg,#ffffff 0%,#fbfcfd 100%) !important;
  }
  .journey-form-panel::before,
  body[dir="rtl"] .journey-form-panel::before {
    display: none !important;
    content: none !important;
  }
  .journey-form-panel .journey-form-head {
    display: grid !important;
    grid-template-columns: 58px minmax(0,1fr) !important;
    gap: 14px !important;
    align-items: center !important;
    padding-bottom: 20px !important;
    margin-bottom: 22px !important;
  }
  .journey-form-panel .journey-form-icon {
    width: 58px !important;
    height: 58px !important;
    border-radius: 18px !important;
  }
  .journey-form-panel .journey-form-head strong {
    font-size: clamp(22px, 7vw, 30px) !important;
    line-height: 1.08 !important;
  }
  .journey-form-panel .journey-form-head small {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  .journey-premium-inputs {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .journey-premium-inputs .wide,
  .journey-premium-inputs .compact,
  .journey-premium-btn {
    grid-column: 1 / -1 !important;
  }
  .journey-premium-inputs input {
    width: 100% !important;
    height: 58px !important;
    font-size: 16px !important;
  }
  .journey-premium-btn {
    width: 100% !important;
    margin-top: 8px !important;
    min-height: 58px !important;
    white-space: normal !important;
    line-height: 1.35 !important;
  }
}


/* ── PEARSON EDEXCEL RECOGNITION ── */
.edexcel-recognition-section{position:relative;overflow:hidden;background:linear-gradient(180deg,#fff 0%,#f7fbfd 100%)}
.edexcel-recognition-card{display:grid;grid-template-columns:.92fr 1.08fr;gap:0;align-items:center;background:#fff;border:1px solid rgba(26,35,50,.08);border-radius:26px;box-shadow:0 20px 60px rgba(26,35,50,.10);overflow:hidden;position:relative}
.edexcel-recognition-card::before{content:'';position:absolute;top:0;left:0;right:0;height:5px;background:linear-gradient(90deg,#005A9C,#00BCD4,#6B3FA0,#F5A623)}
.edexcel-logo-wrap{background:linear-gradient(135deg,#f8fbfd,#fff);padding:30px;display:flex;align-items:center;justify-content:center;min-height:290px;border-right:1px solid rgba(26,35,50,.06)}
.edexcel-logo-wrap img{width:100%;max-width:430px;border-radius:18px;box-shadow:0 12px 32px rgba(26,35,50,.10);display:block;background:#fff}
.edexcel-content{padding:42px 44px}.edexcel-content .section-label{margin-bottom:12px}.edexcel-title{font-family:'Playfair Display',serif;font-size:36px;line-height:1.08;color:var(--navy);margin-bottom:16px;font-weight:900}.edexcel-text{font-size:15px;line-height:1.8;color:var(--text-muted);max-width:620px;margin-bottom:22px}.edexcel-pills{display:flex;flex-wrap:wrap;gap:10px}.edexcel-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;background:rgba(0,188,212,.10);color:var(--navy);font-size:12px;font-weight:800;border:1px solid rgba(0,188,212,.20)}.edexcel-pill:nth-child(2){background:rgba(107,63,160,.10);border-color:rgba(107,63,160,.18)}.edexcel-pill:nth-child(3){background:rgba(245,166,35,.16);border-color:rgba(245,166,35,.22)}
.home-edexcel-strip{margin-top:30px;background:rgba(255,255,255,.92);border:1px solid rgba(26,35,50,.07);border-radius:22px;box-shadow:0 14px 38px rgba(26,35,50,.08);padding:18px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;overflow:hidden;position:relative}.home-edexcel-strip::before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#005A9C,#00BCD4,#6B3FA0)}.home-edexcel-left{display:flex;align-items:center;gap:16px;min-width:0}.home-edexcel-left img{width:120px;border-radius:12px;box-shadow:0 8px 20px rgba(26,35,50,.09);background:#fff}.home-edexcel-copy strong{display:block;font-family:'Playfair Display',serif;font-size:20px;color:var(--navy);line-height:1.15}.home-edexcel-copy span{display:block;font-size:13px;color:var(--text-muted);margin-top:4px;line-height:1.5}.home-edexcel-badge{flex-shrink:0;padding:10px 15px;border-radius:999px;background:rgba(0,188,212,.10);border:1px solid rgba(0,188,212,.22);font-size:12px;font-weight:800;color:var(--teal-dark)}
body[dir="rtl"] .edexcel-recognition-card,body[dir="rtl"] .home-edexcel-strip{text-align:right}body[dir="rtl"] .edexcel-logo-wrap{border-right:none;border-left:1px solid rgba(26,35,50,.06)}body[dir="rtl"] .home-edexcel-strip::before{left:auto;right:0}
@media(max-width:900px){.edexcel-recognition-card{grid-template-columns:1fr}.edexcel-logo-wrap{border-right:none;border-bottom:1px solid rgba(26,35,50,.06);min-height:auto;padding:24px}.edexcel-content{padding:30px 24px}.edexcel-title{font-size:30px}.home-edexcel-strip{flex-direction:column;align-items:flex-start}.home-edexcel-badge{align-self:flex-start}.home-edexcel-left img{width:110px}}
@media(max-width:560px){.edexcel-logo-wrap img{max-width:100%}.home-edexcel-left{align-items:flex-start}.home-edexcel-copy strong{font-size:18px}.edexcel-title{font-size:27px}}


/* Pearson Edexcel logo clarity and curriculum integration */
.home-edexcel-left img{object-fit:contain;background:#fff;padding:6px;image-rendering:auto}
.edexcel-logo-wrap img,.edexcel-card-logo{image-rendering:auto}
.curriculum-card.edexcel{background:#fff!important;color:var(--navy);border:1px solid rgba(26,35,50,.08);box-shadow:0 14px 34px rgba(26,35,50,.10)}
.curriculum-card.edexcel h3{color:var(--navy)!important}
.curriculum-card.edexcel p{color:var(--text-muted)!important}
.curriculum-card .edexcel-card-logo{width:min(220px,92%);height:auto;background:#fff;border-radius:10px;margin:0 auto 18px;display:block;object-fit:contain;box-shadow:0 6px 18px rgba(26,35,50,.08)}
@media(max-width:1100px){.curriculum-grid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:640px){.curriculum-grid{grid-template-columns:1fr!important}.curriculum-card .edexcel-card-logo{width:min(230px,96%)}}


/* Al Irfan Pearson Edexcel badge fit */
.branch-card .branch-tags .tag,
.prog-tags .prog-tag {
  white-space: nowrap;
}
@media(max-width:640px){
  .branch-tags,
  .prog-tags {
    gap: 8px;
  }
  .branch-card .branch-tags .tag,
  .prog-tags .prog-tag {
    font-size: 12px;
    padding: 8px 12px;
  }
}


/* === v175 Scroll & Fit Safety Pass === */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

.container,
.nav-container,
.footer,
.footer-grid,
.section,
.page-hero,
.hero,
.hero-wrap,
.hero-content,
.branch-grid,
.programmes-grid,
.curriculum-grid,
.contact-grid,
.facility-grid,
.info-grid,
.calendar-shell,
.month-grid,
.journey-premium-wrap,
.path-tools-shell {
  max-width: 100%;
}

.branch-tags,
.prog-tags,
.curriculum-card,
.branch-card,
.info-card,
.contact-card,
.faq-item,
.team-card,
.home-adm-card,
.month-card,
.key-card {
  min-width: 0;
}

.branch-tags,
.prog-tags,
.edexcel-tags,
.footer-bottom-links,
.nav-actions,
.mobile-actions {
  display: flex;
  flex-wrap: wrap;
}

.branch-tags .tag,
.prog-tags .prog-tag,
.edexcel-tags span,
.curriculum-card .tag {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

@media (max-width: 900px) {
  .section {
    overflow-x: clip;
  }

  .container {
    width: 100%;
    padding-left: max(18px, env(safe-area-inset-left));
    padding-right: max(18px, env(safe-area-inset-right));
  }

  .hero h1,
  .page-hero h1,
  .section-title,
  .section-header h2,
  .edexcel-title {
    overflow-wrap: anywhere;
  }

  .branch-card,
  .info-card,
  .contact-card,
  .facility-card,
  .curriculum-card,
  .team-card,
  .home-adm-card,
  .faq-item {
    width: 100%;
  }

  .dak-ai-chat {
    max-width: calc(100vw - 24px);
  }

  .dak-ai-bubble,
  .back-to-top {
    max-width: 74px;
    max-height: 74px;
  }

  .wa-fab {
    left: 14px !important;
    right: auto !important;
  }
}

@media (max-width: 560px) {
  .branch-tags,
  .prog-tags {
    justify-content: flex-start;
  }

  .branch-tags .tag,
  .prog-tags .prog-tag {
    font-size: 12px;
    padding: 8px 11px;
    line-height: 1.25;
  }

  .footer-bottom,
  .footer-grid,
  .calendar-shell,
  .contact-grid,
  .info-grid {
    width: 100%;
  }

  .calendar-board,
  .key-card {
    width: 100%;
    overflow: hidden;
  }

  .mini-cal {
    width: 100%;
    table-layout: fixed;
  }

  .mini-cal th,
  .mini-cal td {
    word-break: keep-all;
  }
}


/* === v178 Final Premium Fit Pass === */
/* Goal: keep the premium identity, but make sections cleaner, lighter, and better fit on desktop/mobile. */

:root {
  --fit-section-y: clamp(54px, 6vw, 86px);
  --fit-section-y-compact: clamp(42px, 5vw, 68px);
  --fit-card-radius: 22px;
}

.section {
  padding-top: var(--fit-section-y);
  padding-bottom: var(--fit-section-y);
}

.section-header,
.section-intro {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-title,
.section-header h2 {
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section-subtitle,
.section-header p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* Make large homepage cards feel more premium and less oversized */
.branch-card,
.prog-card,
.curriculum-card,
.home-adm-card,
.why-card,
.news-card,
.ql-card,
.app-card,
.contact-card,
.info-card,
.facility-card,
.activity-card,
.team-card,
.faq-item {
  border-radius: var(--fit-card-radius);
}

.branch-card {
  min-height: 0;
  padding: clamp(32px, 4vw, 48px);
}

.branch-card .branch-quote,
.branch-card p {
  max-width: 680px;
}

.branch-tags,
.prog-tags {
  gap: 10px;
}

.branch-tags .tag,
.prog-tags .prog-tag {
  padding: 9px 15px;
  line-height: 1.25;
}

/* Our Programmes cards: more compact, less empty */
.prog-card {
  padding: clamp(28px, 3.4vw, 42px) clamp(22px, 3vw, 34px);
  min-height: 0;
}

.prog-card .prog-icon,
.team-avatar,
.why-icon,
.feature-icon {
  transform: scale(.94);
}

/* Curriculum cards should look balanced with 4 items */
.curriculum-grid {
  gap: clamp(18px, 2.2vw, 28px);
}

.curriculum-card {
  min-height: 0;
  padding: clamp(30px, 3vw, 44px) clamp(22px, 2.4vw, 34px);
}

.curriculum-card h3 {
  line-height: 1.18;
}

.curriculum-card p {
  line-height: 1.62;
}

/* Branch details / About cards */
.branch-detail,
.info-card {
  box-shadow: 0 18px 45px rgba(26,35,50,.08);
}

.branch-detail-row,
.info-row {
  gap: 18px;
}

.branch-detail-row span,
.info-row .val {
  overflow-wrap: anywhere;
}

/* Footer: keep elegant but not huge */
.footer {
  padding-top: clamp(56px, 6vw, 82px);
  padding-bottom: clamp(28px, 4vw, 44px);
}

.footer-grid {
  gap: clamp(28px, 5vw, 72px);
}

/* Floating elements should not crowd the visitor */
.dak-ai-bubble {
  width: 62px;
  height: 62px;
  bottom: 86px;
}

.back-to-top {
  width: 48px;
  height: 48px;
}

.wa-fab {
  width: 62px;
  height: 62px;
}

/* Slightly calmer shadows */
.motion-card:hover,
.branch-card:hover,
.prog-card:hover,
.curriculum-card:hover,
.info-card:hover,
.contact-card:hover {
  box-shadow: 0 20px 48px rgba(26,35,50,.12);
}

/* Desktop: prevent very wide content from feeling stretched */
@media (min-width: 1200px) {
  .container {
    max-width: 1180px;
  }

  .hero-wrap,
  .page-hero .container {
    max-width: 1180px;
  }

  .branch-grid,
  .campus-grid,
  .contact-grid,
  .info-grid {
    gap: 28px;
  }
}

/* Tablet and mobile fit */
@media (max-width: 900px) {
  .section {
    padding-top: clamp(44px, 8vw, 64px);
    padding-bottom: clamp(44px, 8vw, 64px);
  }

  .section-title,
  .section-header h2 {
    font-size: clamp(34px, 8vw, 48px);
  }

  .section-subtitle,
  .section-header p {
    font-size: 16px;
  }

  .branch-card,
  .prog-card,
  .curriculum-card,
  .home-adm-card,
  .why-card,
  .news-card,
  .ql-card,
  .app-card,
  .contact-card,
  .info-card,
  .facility-card,
  .activity-card,
  .team-card,
  .faq-item {
    border-radius: 20px;
  }

  .branch-card {
    padding: 30px 24px;
  }

  .branch-card h3,
  .branch-card .branch-title {
    font-size: clamp(30px, 7vw, 40px);
    line-height: 1.08;
  }

  .branch-tags .tag,
  .prog-tags .prog-tag {
    padding: 8px 12px;
    font-size: 12px;
  }

  .dak-ai-chat {
    bottom: 130px;
  }

  .dak-ai-bubble {
    bottom: 72px;
    right: 14px;
    width: 58px;
    height: 58px;
  }

  .back-to-top {
    right: 14px;
    bottom: 130px;
  }

  .wa-fab {
    left: 14px !important;
    bottom: 72px;
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 560px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .section-label {
    font-size: 11px;
    letter-spacing: .15em;
  }

  .section-title,
  .section-header h2 {
    font-size: clamp(30px, 9vw, 38px);
  }

  .section-subtitle,
  .section-header p {
    font-size: 15px;
    line-height: 1.6;
  }

  .branch-card,
  .prog-card,
  .curriculum-card,
  .home-adm-card,
  .why-card,
  .news-card,
  .ql-card,
  .app-card,
  .contact-card,
  .info-card,
  .facility-card,
  .activity-card,
  .team-card,
  .faq-item {
    padding: 24px 20px;
  }

  .branch-card {
    padding: 26px 20px;
  }

  .branch-card h3,
  .branch-card .branch-title {
    font-size: 30px;
  }

  .branch-card p,
  .branch-card .branch-quote,
  .prog-card p,
  .curriculum-card p,
  .info-card p,
  .contact-card p {
    font-size: 14.5px;
    line-height: 1.62;
  }

  .branch-tags,
  .prog-tags {
    gap: 8px;
  }

  .branch-tags .tag,
  .prog-tags .prog-tag {
    font-size: 11.5px;
    padding: 7px 10px;
  }

  .btn,
  .branch-link,
  .journey-btn {
    min-height: 44px;
  }

  .dak-ai-chat {
    width: calc(100vw - 20px);
    right: 10px;
    bottom: 124px;
    max-height: min(72vh, 560px);
    border-radius: 18px;
  }

  .dak-ai-messages {
    padding: 14px;
  }

  .dak-msg {
    font-size: 13.5px;
  }

  .dak-ai-suggestions button {
    font-size: 11px;
    padding: 6px 10px;
  }

  .footer {
    padding-top: 44px;
    padding-bottom: 32px;
  }

  .footer-grid {
    gap: 26px;
  }
}

/* Arabic fit: keep text elegant and prevent cramped cards */
html[dir="rtl"] .branch-card p,
html[dir="rtl"] .prog-card p,
html[dir="rtl"] .curriculum-card p,
html[dir="rtl"] .info-card p,
html[dir="rtl"] .contact-card p {
  line-height: 1.85;
}

html[dir="rtl"] .branch-tags .tag,
html[dir="rtl"] .prog-tags .prog-tag {
  font-family: 'Noto Sans Arabic', 'DM Sans', sans-serif;
}


/* === v179 Natural Smooth Scrolling Fix === */
/* Fixes sticky/jumpy feeling while lightly scrolling near the top of the page. */
html {
  scroll-behavior: auto !important;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

/* Keep the design premium, but remove scroll-heavy movement that can feel sticky on phones. */
.hero-left .motion-orb-container,
.page-hero .motion-orb-container,
.branch-hero .motion-orb-container,
.fyp-hero .motion-orb-container,
.fv-hero .motion-orb-container {
  transform: none !important;
}

/* Reduce animation pressure while the user is actively scrolling. */
body.is-scrolling .dak-hero-particles,
body.is-scrolling .motion-orb-container,
body.is-scrolling .dak-chat-sparkle {
  animation-play-state: paused !important;
}

/* Mobile: avoid heavy hero overlays interfering with natural touch scrolling. */
@media (max-width: 900px) {
  .dak-hero-spotlight,
  .dak-hero-particles,
  .motion-orb-container {
    pointer-events: none !important;
  }

  .hero-left,
  .page-hero,
  .branch-hero,
  .fyp-hero,
  .fv-hero {
    will-change: auto !important;
  }
}


/* === v180 Wonderful Mobile Experience Pass === */
/* Mobile-only polish: more refined, app-like, readable, and smooth. */

@media (max-width: 900px) {
  body {
    background:
      radial-gradient(circle at 8% 5%, rgba(0,188,212,.09), transparent 28%),
      radial-gradient(circle at 95% 18%, rgba(107,63,160,.08), transparent 30%),
      #f7f9fc;
  }

  nav {
    height: 66px !important;
    padding: 0 16px !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 8px 26px rgba(26,35,50,.06);
  }

  .logo img {
    max-height: 52px !important;
    width: auto !important;
    object-fit: contain;
  }

  .mobile-menu {
    border-radius: 0 0 24px 24px;
    box-shadow: 0 22px 44px rgba(26,35,50,.12);
    overflow: hidden;
  }

  .mobile-menu a,
  .mobile-menu .btn-portal,
  .mobile-menu .lang-toggle {
    min-height: 44px;
    border-radius: 14px !important;
  }

  .hero,
  .page-hero,
  .branch-hero,
  .fyp-hero,
  .fv-hero {
    position: relative;
    overflow: hidden;
  }

  .hero-left,
  .page-hero,
  .branch-hero,
  .fyp-hero,
  .fv-hero {
    border-radius: 0 0 28px 28px;
  }

  .hero-left::after,
  .page-hero::after,
  .branch-hero::after,
  .fyp-hero::after,
  .fv-hero::after {
    content: "";
    position: absolute;
    inset: auto 18px 14px 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent);
    pointer-events: none;
  }

  .hero-title,
  .page-hero h1,
  .branch-hero h1,
  .fyp-hero h1,
  .fv-hero h1 {
    text-wrap: balance;
    letter-spacing: -.035em;
  }

  .hero-subtitle,
  .page-hero p,
  .branch-hero p,
  .fyp-hero p,
  .fv-hero p {
    text-wrap: pretty;
  }

  .section {
    position: relative;
    background:
      radial-gradient(circle at 0% 0%, rgba(0,188,212,.045), transparent 28%),
      radial-gradient(circle at 100% 10%, rgba(107,63,160,.045), transparent 32%);
  }

  .section:nth-of-type(even) {
    background:
      radial-gradient(circle at 100% 0%, rgba(245,166,35,.045), transparent 28%),
      radial-gradient(circle at 0% 18%, rgba(0,188,212,.04), transparent 32%);
  }

  .section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0,188,212,.08);
    border: 1px solid rgba(0,188,212,.14);
  }

  .section-label::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    box-shadow: 0 0 12px rgba(0,188,212,.55);
  }

  .section-title,
  .section-header h2 {
    margin-top: 14px;
    text-wrap: balance;
  }

  .section-subtitle,
  .section-header p,
  .section-sub {
    text-wrap: pretty;
  }

  .branch-card,
  .prog-card,
  .curriculum-card,
  .home-adm-card,
  .why-card,
  .news-card,
  .ql-card,
  .app-card,
  .contact-card,
  .info-card,
  .facility-card,
  .activity-card,
  .team-card,
  .faq-item,
  .month-card,
  .key-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26,35,50,.075);
    box-shadow: 0 16px 38px rgba(26,35,50,.075);
  }

  .branch-card::before,
  .prog-card::before,
  .curriculum-card::before,
  .home-adm-card::before,
  .why-card::before,
  .contact-card::before,
  .info-card::before,
  .facility-card::before,
  .team-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 36%);
    pointer-events: none;
  }

  .branch-card,
  .prog-card,
  .curriculum-card,
  .info-card,
  .contact-card {
    transform: translateZ(0);
  }

  .branch-card h3,
  .prog-card h3,
  .curriculum-card h3,
  .info-card h3,
  .contact-card h3 {
    text-wrap: balance;
  }

  .branch-tags,
  .prog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .branch-tags .tag,
  .prog-tags .prog-tag {
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(26,35,50,.07);
  }

  .btn,
  .branch-link,
  .journey-btn,
  .dak-send-btn,
  button {
    -webkit-tap-highlight-color: transparent;
  }

  .btn,
  .branch-link,
  .journey-btn {
    box-shadow: 0 12px 24px rgba(107,63,160,.13);
  }

  .btn:active,
  .branch-link:active,
  .journey-btn:active,
  .dak-send-btn:active {
    transform: scale(.98);
  }

  .dak-ai-bubble {
    box-shadow:
      0 16px 32px rgba(107,63,160,.28),
      0 0 0 8px rgba(107,63,160,.08);
  }

  .dak-ai-chat {
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(26,35,50,.24);
  }

  .wa-fab {
    box-shadow:
      0 16px 32px rgba(37,211,102,.25),
      0 0 0 8px rgba(37,211,102,.08);
  }

  .back-to-top {
    box-shadow: 0 14px 28px rgba(107,63,160,.22);
  }

  .footer {
    border-radius: 28px 28px 0 0;
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  nav {
    height: 62px !important;
    padding: 0 14px !important;
  }

  .logo img {
    max-height: 48px !important;
  }

  .hero-left {
    padding-top: 44px !important;
    padding-bottom: 42px !important;
  }

  .hero-title {
    font-size: clamp(34px, 10.5vw, 44px) !important;
    line-height: 1.08 !important;
  }

  .page-hero,
  .branch-hero,
  .fyp-hero,
  .fv-hero {
    padding-top: 58px !important;
    padding-bottom: 52px !important;
  }

  .page-hero h1,
  .branch-hero h1,
  .fyp-hero h1,
  .fv-hero h1 {
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.08 !important;
  }

  .hero-subtitle,
  .page-hero p,
  .branch-hero p,
  .fyp-hero p,
  .fv-hero p {
    font-size: 15.5px !important;
    line-height: 1.68 !important;
  }

  .section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  .section-title,
  .section-header h2 {
    font-size: clamp(31px, 9.4vw, 39px) !important;
    line-height: 1.08 !important;
  }

  .section-subtitle,
  .section-header p,
  .section-sub {
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .branch-card,
  .prog-card,
  .curriculum-card,
  .home-adm-card,
  .why-card,
  .news-card,
  .ql-card,
  .app-card,
  .contact-card,
  .info-card,
  .facility-card,
  .activity-card,
  .team-card,
  .faq-item,
  .month-card,
  .key-card {
    border-radius: 24px !important;
    padding: 24px 20px !important;
  }

  .branch-card h3,
  .prog-card h3,
  .curriculum-card h3 {
    font-size: clamp(26px, 8vw, 34px) !important;
  }

  .branch-detail-row,
  .info-row {
    border-radius: 16px;
    background: rgba(255,255,255,.62);
  }

  .branch-detail-row strong,
  .info-row .lbl {
    font-size: 13.5px;
  }

  .branch-detail-row span,
  .info-row .val {
    font-size: 14.5px;
  }

  .branch-tags .tag,
  .prog-tags .prog-tag {
    font-size: 11.5px !important;
    padding: 7px 10px !important;
  }

  .dak-ai-bubble {
    width: 56px;
    height: 56px;
    bottom: 72px;
    right: 12px;
  }

  .wa-fab {
    width: 56px;
    height: 56px;
    bottom: 72px;
    left: 12px !important;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 132px;
    right: 18px;
  }

  .dak-ai-chat {
    right: 8px;
    bottom: 128px;
    width: calc(100vw - 16px);
    max-height: 73vh;
  }

  .dak-ai-header {
    padding: 15px 16px;
  }

  .dak-ai-messages {
    padding: 15px;
  }

  .dak-msg {
    max-width: 91%;
    border-radius: 16px;
  }
}

@media (max-width: 390px) {
  .branch-tags .tag,
  .prog-tags .prog-tag {
    font-size: 11px !important;
    padding: 7px 9px !important;
  }

  .section-title,
  .section-header h2 {
    font-size: clamp(29px, 9vw, 36px) !important;
  }
}

/* Arabic mobile refinement */
@media (max-width: 560px) {
  html[dir="rtl"] .hero-title,
  html[dir="rtl"] .page-hero h1,
  html[dir="rtl"] .section-title,
  html[dir="rtl"] .section-header h2 {
    letter-spacing: 0 !important;
    line-height: 1.22 !important;
  }

  html[dir="rtl"] .branch-card p,
  html[dir="rtl"] .prog-card p,
  html[dir="rtl"] .curriculum-card p,
  html[dir="rtl"] .info-card p,
  html[dir="rtl"] .contact-card p {
    line-height: 1.9 !important;
  }
}


/* === v181 Mobile Branch Cards + Floating Buttons Professional Fix === */
/* Fixes overly heavy branch info cards and separates bot/back-to-top on phones. */

@media (max-width: 760px) {
  .branch-contact-card,
  .campus-contact-card,
  .branch-info-card,
  .branch-detail,
  .info-card {
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .branch-contact-card,
  .campus-contact-card {
    padding: 26px 20px !important;
  }

  .branch-contact-card h2,
  .campus-contact-card h2,
  .branch-detail-header h3 {
    font-size: clamp(30px, 8vw, 38px) !important;
    line-height: 1.12 !important;
    margin-bottom: 8px !important;
  }

  .branch-contact-card .subtitle,
  .campus-contact-card .subtitle,
  .branch-detail-header p {
    font-size: 12px !important;
    letter-spacing: .15em !important;
    opacity: .78 !important;
  }

  .contact-info-row,
  .branch-detail-row,
  .info-row {
    display: grid !important;
    grid-template-columns: 42px 1fr !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 14px !important;
    margin: 10px 0 !important;
    border-radius: 18px !important;
    background: rgba(255,255,255,.13) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .branch-detail .branch-detail-row,
  .info-card .info-row {
    background: rgba(255,255,255,.78) !important;
    border: 1px solid rgba(26,35,50,.07) !important;
  }

  .contact-info-row .icon,
  .contact-info-row .contact-icon,
  .branch-detail-row .icon,
  .info-row .icon {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255,255,255,.18) !important;
    box-shadow: none !important;
    font-size: 18px !important;
  }

  .contact-info-row strong,
  .contact-info-row .label,
  .branch-detail-row strong,
  .info-row .lbl {
    display: block !important;
    font-size: 11px !important;
    letter-spacing: .11em !important;
    text-transform: uppercase !important;
    margin-bottom: 3px !important;
    opacity: .72 !important;
  }

  .contact-info-row span,
  .contact-info-row a,
  .branch-detail-row span,
  .info-row .val {
    font-size: 14.5px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  .dak-ai-bubble {
    width: 56px !important;
    height: 56px !important;
    right: 14px !important;
    bottom: 78px !important;
    z-index: 998 !important;
  }

  .back-to-top {
    width: 44px !important;
    height: 44px !important;
    right: 20px !important;
    bottom: 152px !important;
    z-index: 999 !important;
    box-shadow: 0 12px 28px rgba(107,63,160,.24) !important;
  }

  .wa-fab {
    width: 56px !important;
    height: 56px !important;
    left: 14px !important;
    right: auto !important;
    bottom: 78px !important;
    z-index: 998 !important;
  }

  .dak-ai-chat {
    bottom: 148px !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
    max-height: 70vh !important;
  }
}

@media (max-width: 390px) {
  .contact-info-row,
  .branch-detail-row,
  .info-row {
    grid-template-columns: 38px 1fr !important;
    gap: 10px !important;
    padding: 13px 12px !important;
  }

  .contact-info-row span,
  .contact-info-row a,
  .branch-detail-row span,
  .info-row .val {
    font-size: 13.8px !important;
  }

  .dak-ai-bubble,
  .wa-fab {
    width: 54px !important;
    height: 54px !important;
  }

  .back-to-top {
    width: 42px !important;
    height: 42px !important;
    bottom: 150px !important;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: env(safe-area-inset-bottom);
  }
}


/* === v182 Clean Professional Mobile Pass === */
/* Overrides the heavier mobile styling from v180/v181. The goal is clarity, no overlap, and premium calm. */

@media (max-width: 760px) {
  /* Calm the mobile design: no excessive overlays inside cards */
  .branch-card::before,
  .prog-card::before,
  .curriculum-card::before,
  .home-adm-card::before,
  .why-card::before,
  .contact-card::before,
  .info-card::before,
  .facility-card::before,
  .team-card::before,
  .branch-detail::before,
  .branch-contact-card::before,
  .campus-contact-card::before {
    display: none !important;
  }

  .section {
    background: #f7f9fc !important;
  }

  .section:nth-of-type(even) {
    background: #f7f9fc !important;
  }

  /* Universal mobile text clarity */
  body,
  p,
  li,
  span,
  a,
  input,
  textarea,
  select,
  button {
    line-height: 1.6 !important;
  }

  h1, h2, h3, h4 {
    line-height: 1.12 !important;
    text-wrap: balance;
  }

  /* Cards: softer, cleaner, less crowded */
  .branch-card,
  .prog-card,
  .curriculum-card,
  .home-adm-card,
  .why-card,
  .news-card,
  .ql-card,
  .app-card,
  .contact-card,
  .info-card,
  .facility-card,
  .activity-card,
  .team-card,
  .faq-item,
  .month-card,
  .key-card,
  .branch-detail {
    border-radius: 22px !important;
    box-shadow: 0 14px 34px rgba(26,35,50,.07) !important;
    border: 1px solid rgba(26,35,50,.07) !important;
    overflow: hidden !important;
  }

  /* About page branch cards */
  .branch-detail-header {
    padding: 30px 22px !important;
  }

  .branch-detail-header h3 {
    font-size: clamp(30px, 8vw, 38px) !important;
    line-height: 1.12 !important;
    margin-bottom: 8px !important;
  }

  .branch-detail-header p {
    font-size: 12px !important;
    letter-spacing: .12em !important;
    line-height: 1.45 !important;
    opacity: .82 !important;
  }

  .branch-detail-body {
    padding: 18px 16px 20px !important;
    gap: 10px !important;
    background: #fff !important;
  }

  .branch-detail-row {
    display: grid !important;
    grid-template-columns: minmax(86px, 32%) 1fr !important;
    gap: 12px !important;
    align-items: start !important;
    padding: 13px 12px !important;
    margin: 0 !important;
    border-radius: 15px !important;
    background: #fff !important;
    border: 1px solid rgba(26,35,50,.08) !important;
    box-shadow: none !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .branch-detail-row strong {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    color: var(--navy) !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    opacity: 1 !important;
  }

  .branch-detail-row span {
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
    color: #5f6b7a !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  /* Branch pages info cards */
  .info-card {
    padding: 22px 18px !important;
    background: #fff !important;
  }

  .info-card h3 {
    font-size: 23px !important;
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
  }

  .info-card .info-row,
  .contact-grid .info-row {
    display: grid !important;
    grid-template-columns: minmax(84px, 32%) 1fr !important;
    gap: 12px !important;
    align-items: start !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(26,35,50,.08) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .info-card .info-row:last-child,
  .contact-grid .info-row:last-child {
    border-bottom: 0 !important;
  }

  .info-card .info-row .lbl,
  .contact-grid .info-row strong {
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 800 !important;
    color: #6b7483 !important;
    opacity: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .info-card .info-row .val,
  .contact-grid .info-row span,
  .contact-grid .info-row a {
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  /* Contact page colored cards: keep readable on mobile */
  .contact-info .info-card.navy,
  .contact-info .info-card.purple {
    color: #fff !important;
  }

  .contact-info .info-card.navy .info-row,
  .contact-info .info-card.purple .info-row {
    grid-template-columns: 24px 1fr !important;
    gap: 10px !important;
    padding: 9px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.13) !important;
    background: transparent !important;
  }

  .contact-info .info-icon {
    margin-top: 2px !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    font-size: 16px !important;
  }

  .contact-info .info-row strong {
    color: rgba(255,255,255,.72) !important;
    font-size: 12px !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    margin-bottom: 2px !important;
  }

  .contact-info .info-row span,
  .contact-info .info-row a {
    color: inherit !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  /* Programme tags: prevent words sticking/overlapping */
  .branch-tags,
  .prog-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: flex-start !important;
  }

  .branch-tags .tag,
  .prog-tags .prog-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    text-align: center !important;
    min-height: 34px !important;
    padding: 8px 11px !important;
    font-size: 11.5px !important;
    max-width: 100% !important;
  }

  /* Floating actions: separate and smaller */
  .dak-ai-bubble {
    width: 54px !important;
    height: 54px !important;
    right: 14px !important;
    bottom: 74px !important;
    box-shadow: 0 12px 26px rgba(107,63,160,.25) !important;
  }

  .back-to-top {
    width: 42px !important;
    height: 42px !important;
    right: 20px !important;
    bottom: 144px !important;
    box-shadow: 0 10px 22px rgba(107,63,160,.22) !important;
  }

  .wa-fab {
    width: 54px !important;
    height: 54px !important;
    left: 14px !important;
    right: auto !important;
    bottom: 74px !important;
    box-shadow: 0 12px 26px rgba(37,211,102,.23) !important;
  }

  .dak-ai-chat {
    width: calc(100vw - 18px) !important;
    right: 9px !important;
    bottom: 136px !important;
    max-height: 72vh !important;
    border-radius: 22px !important;
  }

  /* Prevent mobile sections from feeling too tall */
  .section {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .section-header,
  .section-intro {
    margin-bottom: 26px !important;
  }
}

@media (max-width: 430px) {
  .branch-detail-row,
  .info-card .info-row {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  .branch-detail-row strong,
  .info-card .info-row .lbl {
    font-size: 13px !important;
  }

  .branch-detail-row span,
  .info-card .info-row .val {
    font-size: 14px !important;
  }

  .contact-info .info-card.navy .info-row,
  .contact-info .info-card.purple .info-row {
    grid-template-columns: 22px 1fr !important;
  }
}

/* RTL mobile: keep Arabic clean and not cramped */
@media (max-width: 760px) {
  html[dir="rtl"] .branch-detail-row,
  html[dir="rtl"] .info-card .info-row {
    text-align: right !important;
  }

  html[dir="rtl"] .branch-detail-row strong,
  html[dir="rtl"] .info-card .info-row .lbl,
  html[dir="rtl"] .branch-detail-row span,
  html[dir="rtl"] .info-card .info-row .val {
    line-height: 1.9 !important;
  }
}


/* === v183 Contact Page Mobile Emergency Fix === */
/* Restores visible text and professional layout on the Contact page after mobile overrides. */
@media (max-width: 760px) {
  body.contact-page .contact-info {
    gap: 18px !important;
  }

  body.contact-page .contact-info .info-card {
    padding: 24px 20px !important;
    border-radius: 24px !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  body.contact-page .contact-info .info-card.navy,
  body.contact-page .contact-info .info-card.purple {
    color: #fff !important;
  }

  body.contact-page .contact-info .info-card.navy {
    background: linear-gradient(135deg, #10263a 0%, #0a6f78 100%) !important;
  }

  body.contact-page .contact-info .info-card.purple {
    background: linear-gradient(135deg, #4b287d 0%, #7a45b5 100%) !important;
  }

  body.contact-page .contact-branch-head {
    margin-bottom: 20px !important;
  }

  body.contact-page .contact-branch-head h4 {
    display: block !important;
    color: #fff !important;
    font-size: clamp(28px, 7.8vw, 36px) !important;
    line-height: 1.15 !important;
    margin: 0 0 6px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.contact-page .contact-branch-sub {
    display: block !important;
    color: rgba(255,255,255,.72) !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.contact-page .contact-info .info-row {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 13px 0 !important;
    margin: 0 !important;
    min-height: auto !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.14) !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  body.contact-page .contact-info .info-row:last-child {
    border-bottom: 0 !important;
  }

  body.contact-page .contact-info .info-icon {
    display: flex !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    background: rgba(255,255,255,.14) !important;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.contact-page .contact-info .info-row > div {
    display: block !important;
    min-width: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.contact-page .contact-info .info-row strong {
    display: block !important;
    color: rgba(255,255,255,.66) !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    margin: 0 0 3px !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body.contact-page .contact-info .info-row span,
  body.contact-page .contact-info .info-row a {
    display: inline !important;
    color: #ffffff !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    text-decoration: none !important;
  }

  body.contact-page .contact-info .info-card.navy .info-row a {
    color: #22d9e8 !important;
  }

  body.contact-page .contact-info .info-card.purple .info-row a {
    color: #ffdf55 !important;
  }

  body.contact-page .office-hours-card {
    background: #fff !important;
    color: var(--navy) !important;
  }

  body.contact-page .office-hours-card h4,
  body.contact-page .office-hours-card p,
  body.contact-page .office-hours-card strong,
  body.contact-page .office-hours-card small,
  body.contact-page .office-hours-card span {
    visibility: visible !important;
    opacity: 1 !important;
  }

  body.contact-page .hours-row-item {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    gap: 12px !important;
    align-items: center !important;
  }

  body.contact-page .dak-ai-bubble {
    bottom: 76px !important;
    right: 14px !important;
    width: 54px !important;
    height: 54px !important;
  }

  body.contact-page .back-to-top {
    bottom: 146px !important;
    right: 20px !important;
    width: 42px !important;
    height: 42px !important;
  }

  body.contact-page .wa-fab {
    bottom: 76px !important;
    left: 14px !important;
    width: 54px !important;
    height: 54px !important;
  }
}

@media (max-width: 390px) {
  body.contact-page .contact-info .info-row {
    grid-template-columns: 34px minmax(0,1fr) !important;
    gap: 10px !important;
  }

  body.contact-page .contact-info .info-icon {
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    font-size: 15px !important;
  }

  body.contact-page .contact-info .info-row span,
  body.contact-page .contact-info .info-row a {
    font-size: 13.8px !important;
  }
}





/* === v198 Contact mobile icon cleanup === */
/* Keep the contact text fix, but remove the translucent icon blocks on phones. */
@media (max-width: 760px) {
  body.contact-page .contact-info .info-row {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 11px !important;
  }

  body.contact-page .contact-info .info-icon {
    display: inline-flex !important;
    width: 24px !important;
    min-width: 24px !important;
    height: auto !important;
    align-items: flex-start !important;
    justify-content: center !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    color: inherit !important;
    font-size: 19px !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 390px) {
  body.contact-page .contact-info .info-row {
    grid-template-columns: 26px minmax(0, 1fr) !important;
  }

  body.contact-page .contact-info .info-icon {
    width: 23px !important;
    min-width: 23px !important;
    font-size: 18px !important;
  }
}



/* === v228: Arabic Journey yellow orb motion hard fix ===
   Keeps the yellow orb animated after switching to Arabic by applying a full
   RTL animation shorthand at the very end of the stylesheet and restarting it from JS. */
html[dir="rtl"] .glowing-journey-path .journey-moving-light,
body[dir="rtl"] .glowing-journey-path .journey-moving-light,
html[lang="ar"] .glowing-journey-path .journey-moving-light {
  display: block !important;
  animation: journeyYellowOrbRTL 7.2s cubic-bezier(.45,0,.22,1) infinite !important;
  animation-play-state: running !important;
  left: 92% !important;
  top: 67% !important;
}

html:not([dir="rtl"]) .glowing-journey-path .journey-moving-light,
body:not([dir="rtl"]) .glowing-journey-path .journey-moving-light {
  animation: journeyYellowOrbLTR 7.2s cubic-bezier(.45,0,.22,1) infinite !important;
  animation-play-state: running !important;
}

html[dir="rtl"] .glowing-journey-path .journey-moving-light::before,
body[dir="rtl"] .glowing-journey-path .journey-moving-light::before,
html[lang="ar"] .glowing-journey-path .journey-moving-light::before {
  right: auto !important;
  left: 8px !important;
  background: linear-gradient(270deg, transparent, rgba(253,216,53,.18), rgba(0,188,212,.26)) !important;
}

@media (max-width: 980px) {
  html[dir="rtl"] .glowing-journey-path .journey-moving-light,
  body[dir="rtl"] .glowing-journey-path .journey-moving-light,
  html[lang="ar"] .glowing-journey-path .journey-moving-light,
  html:not([dir="rtl"]) .glowing-journey-path .journey-moving-light,
  body:not([dir="rtl"]) .glowing-journey-path .journey-moving-light {
    display: none !important;
  }
}


/* === v236: Smart School Office Status Card === */
.home-office-status {
  position: relative;
  z-index: 5;
  margin-top: -42px;
  margin-bottom: 18px;
}

.home-office-status .container {
  display: flex;
  justify-content: flex-start;
}

.office-status-card {
  --status-accent: var(--teal);
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(26,35,50,0.08);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(26,35,50,0.13);
  padding: 18px 20px;
  color: var(--navy);
  width: min(100%, 520px);
  overflow: hidden;
  position: relative;
}

.office-status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(0,188,212,0.11), transparent 32%),
    radial-gradient(circle at 94% 10%, rgba(107,63,160,0.08), transparent 28%);
  pointer-events: none;
}

.office-status-card > * {
  position: relative;
}

.office-status-card.compact {
  max-width: 470px;
  backdrop-filter: blur(16px);
}

.contact-office-status {
  width: 100%;
  margin-bottom: 18px;
}

.office-status-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.office-status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--status-accent);
  box-shadow: 0 0 0 7px rgba(0,188,212,0.11), 0 0 18px rgba(0,188,212,0.32);
  flex: 0 0 auto;
  animation: officeStatusPulse 1.9s ease-in-out infinite;
}

.office-status-card.is-closed {
  --status-accent: #F5A623;
}

.office-status-card.is-closed .office-status-dot {
  box-shadow: 0 0 0 7px rgba(245,166,35,0.12), 0 0 18px rgba(245,166,35,0.32);
}

.office-status-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(26,35,50,0.52);
  margin-bottom: 3px;
}

.office-status-title {
  display: block;
  font-size: 18px;
  line-height: 1.2;
  color: var(--navy);
}

.office-status-note {
  margin: 11px 0 0 26px;
  color: rgba(26,35,50,0.64);
  font-size: 13px;
  line-height: 1.55;
}

.office-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.office-status-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(26,35,50,0.055);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.office-status-action:hover {
  transform: translateY(-2px);
  background: var(--navy);
  color: #fff;
}

html[dir="rtl"] .home-office-status .container {
  justify-content: flex-end;
}

html[dir="rtl"] .office-status-note {
  margin-left: 0;
  margin-right: 26px;
}

@keyframes officeStatusPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.18); opacity: .72; }
}

@media (max-width: 760px) {
  .home-office-status {
    margin-top: 14px;
    margin-bottom: 8px;
  }

  .home-office-status .container {
    justify-content: center;
  }

  .office-status-card {
    border-radius: 18px;
    padding: 15px 15px;
  }

  .office-status-title {
    font-size: 16px;
  }

  .office-status-note {
    margin-left: 25px;
    font-size: 12.5px;
  }

  html[dir="rtl"] .office-status-note {
    margin-right: 25px;
  }

  .office-status-actions {
    gap: 7px;
  }

  .office-status-action {
    flex: 1 1 auto;
    min-width: 92px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .office-status-dot {
    animation: none !important;
  }
}


/* ── DAK SCHOOL ASSISTANT v2.0 ── */
.dak-ai-header-tools{
  display:flex;
  align-items:center;
  gap:7px;
  margin-left:auto;
  position:relative;
  z-index:3;
}
html[dir="rtl"] .dak-ai-header-tools{margin-left:0;margin-right:auto;}
.dak-ai-reset{
  width:34px;
  height:34px;
  border:0;
  border-radius:999px;
  display:grid;
  place-items:center;
  cursor:pointer;
  color:rgba(255,255,255,.84);
  background:rgba(255,255,255,.10);
  transition:background .2s ease,transform .2s ease,color .2s ease;
}
.dak-ai-reset svg{width:17px;height:17px;}
.dak-ai-reset:hover,.dak-ai-reset:focus-visible{
  background:rgba(255,255,255,.19);
  color:#fff;
  transform:translateY(-1px);
  outline:none;
}
.dak-ai-disclaimer{
  padding:9px 16px 10px;
  font-size:10.5px;
  line-height:1.45;
  text-align:center;
  color:#69788a;
  background:#f8fafc;
  border-top:1px solid rgba(26,35,50,.07);
}
.dak-msg-text{white-space:pre-line;}
.dak-msg-actions{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:11px;
  padding-top:10px;
  border-top:1px solid rgba(26,35,50,.08);
}
.dak-msg-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:31px;
  padding:6px 10px;
  border-radius:10px;
  border:1px solid rgba(107,63,160,.18);
  background:#fff;
  color:#5d3793;
  font-size:11.5px;
  line-height:1.2;
  font-weight:750;
  text-decoration:none;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.dak-msg-action:hover,.dak-msg-action:focus-visible{
  background:#f3eefb;
  border-color:rgba(107,63,160,.34);
  transform:translateY(-1px);
  outline:none;
}
.dak-ai-suggestions{display:flex;flex-wrap:wrap;}
.dak-ai-suggestions button{white-space:normal;text-align:left;line-height:1.3;}
html[dir="rtl"] .dak-ai-suggestions button{text-align:right;}
.dak-msg[dir="rtl"]{text-align:right;}
.dak-msg[dir="ltr"]{text-align:left;}
.dak-ai-bubble:focus-visible{
  outline:3px solid rgba(0,188,212,.42);
  outline-offset:4px;
}
.dak-ai-bubble::after{background:#00BCD4 !important;box-shadow:0 0 12px rgba(0,188,212,.52) !important;}
@media(max-width:600px){
  .dak-ai-disclaimer{padding-left:12px;padding-right:12px;font-size:10px;}
  .dak-msg-action{flex:1 1 auto;}
}

/* ==========================================================
   ACCESSIBILITY & KEYBOARD SUPPORT — PHASE 1
   ========================================================== */
.skip-link{
  position:fixed;
  inset-inline-start:16px;
  top:12px;
  z-index:100000;
  padding:11px 16px;
  border-radius:10px;
  background:#ffffff;
  color:#101a2a;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 12px 34px rgba(0,0,0,.24);
  transform:translateY(-160%);
  transition:transform .18s ease;
}
.skip-link:focus{transform:translateY(0)}
html[data-theme="dark"] .skip-link{background:#f6f8fb;color:#0b1220}

:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid #00bcd4;
  outline-offset:3px;
  border-radius:8px;
}
html[data-theme="dark"] :where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline-color:#62e6f5;
}

.hamburger{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  font:inherit;
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto!important}
  *,*::before,*::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
    scroll-behavior:auto!important;
  }
}

/* Static official uniform flyer */
.uniform-poster-wrap.uniform-poster-static {
  cursor: default;
}
.uniform-poster-wrap.uniform-poster-static::before {
  display: none;
}
.uniform-poster-wrap.uniform-poster-static:hover {
  transform: none;
  box-shadow: 0 20px 60px rgba(26, 35, 50, 0.12);
}

/* === FINAL HEADER RESTORE: previous approved desktop appearance only === */
/* Restores only the desktop/monitor navbar appearance from the immediately
   previous approved build. Phone/tablet styling and all page content remain unchanged. */
@media (min-width: 1200px) {
  .logo {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    line-height: 0 !important;
  }

  .logo img,
  nav .logo img,
  .navbar .logo img {
    display: block !important;
    width: 318px !important;
    height: auto !important;
    max-height: 64px !important;
    max-width: 36vw !important;
    object-fit: contain !important;
    image-rendering: auto !important;
    backface-visibility: hidden !important;
    transform: translateZ(0) !important;
    filter: saturate(1.06) contrast(1.06) drop-shadow(0 7px 14px rgba(26,35,50,.06)) !important;
    transition: transform .22s ease, filter .22s ease, height .22s ease !important;
  }

  .logo:hover img,
  nav .logo:hover img,
  .navbar .logo:hover img {
    transform: translateZ(0) scale(1.018) !important;
    filter: saturate(1.06) contrast(1.045) drop-shadow(0 9px 18px rgba(26,35,50,.075)) !important;
  }

  nav,
  .navbar {
    overflow: visible !important;
  }

  nav.scrolled .logo img,
  .navbar.scrolled .logo img {
    width: 284px !important;
    height: auto !important;
    max-height: 56px !important;
  }

  .nav-links a.nav-portal-btn,
  .nav-links a.nav-portal-btn:visited {
    background: linear-gradient(135deg, #6B3FA0 0%, #7B4CC4 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(107, 63, 160, .32) !important;
    box-shadow: 0 8px 20px rgba(107, 63, 160, .14) !important;
    opacity: 1 !important;
  }

  .nav-links a.nav-portal-btn:hover,
  .nav-links a.nav-portal-btn:focus-visible {
    background: linear-gradient(135deg, #7B4CC4 0%, #5A2D8A 100%) !important;
    color: #FFFFFF !important;
    border-color: rgba(107, 63, 160, .42) !important;
    box-shadow: 0 12px 28px rgba(107, 63, 160, .24) !important;
    transform: translateY(-2px) !important;
    text-shadow: none !important;
  }

  .nav-links a.nav-portal-btn::after {
    display: none !important;
  }

  .nav-links a.nav-portal-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 6px 18px rgba(107, 63, 160, .18) !important;
  }

  .nav-links .lang-toggle {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    min-width: 86px !important;
    height: 40px !important;
    padding: 5px 12px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(26,35,50,.14) !important;
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,250,253,.95)) !important;
    color: var(--navy) !important;
    font-family: 'DM Sans','Noto Sans Arabic',sans-serif !important;
    font-size: 12.8px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .01em !important;
    box-shadow: 0 10px 24px rgba(26,35,50,.075), inset 0 1px 0 rgba(255,255,255,.95) !important;
    cursor: pointer !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    isolation: isolate !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  .nav-links .lang-toggle::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background:
      radial-gradient(circle at 20% 30%, rgba(0,188,212,.18), transparent 42%),
      radial-gradient(circle at 85% 70%, rgba(107,63,160,.13), transparent 46%);
    opacity: .55;
    z-index: -1;
    transition: opacity .24s ease, transform .24s ease;
  }

  .nav-links .lang-toggle-track {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(230,242,247,.98), rgba(240,235,250,.98));
    border: 1px solid rgba(0,188,212,.20);
    box-shadow: inset 0 1px 5px rgba(26,35,50,.08);
    flex: 0 0 auto;
  }

  .nav-links .lang-toggle-track::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    box-shadow: 0 5px 12px rgba(0,188,212,.25);
    transition: transform .25s cubic-bezier(.22,.8,.24,1), box-shadow .25s ease;
  }

  .nav-links .lang-toggle[data-current-lang="ar"] .lang-toggle-track::after {
    transform: translateX(14px);
    box-shadow: 0 5px 12px rgba(107,63,160,.25);
  }

  .nav-links .lang-toggle-label {
    position: relative;
    top: .5px;
    color: var(--navy);
  }

  html[lang="ar"] .nav-links .lang-toggle-label {
    font-family: 'Noto Sans Arabic','DM Sans',sans-serif !important;
    top: 0;
    letter-spacing: 0;
  }

  html[dir="rtl"] .nav-links .lang-toggle {
    margin-left: 0 !important;
    margin-right: 4px !important;
  }
}

@media (min-width: 1200px) and (hover:hover) and (pointer:fine) {
  .nav-links .lang-toggle:hover {
    border-color: rgba(0,188,212,.42) !important;
    background: linear-gradient(135deg, #fff, #f6fcff) !important;
    color: var(--navy) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 30px rgba(26,35,50,.12), 0 0 0 4px rgba(0,188,212,.07) !important;
  }
  .nav-links .lang-toggle:hover::before { opacity: .86; transform: scale(1.03); }
  .nav-links .lang-toggle:hover .lang-toggle-track::after { transform: translateX(1px) scale(1.04); }
  .nav-links .lang-toggle[data-current-lang="ar"]:hover .lang-toggle-track::after { transform: translateX(13px) scale(1.04); }
}

@media (min-width: 1200px) {
  .nav-links .lang-toggle:focus-visible {
    outline: 3px solid rgba(0,188,212,.25) !important;
    outline-offset: 3px !important;
  }
}


/* DAK mobile newsletter visibility hard-fix — 2026-09-22
   Mobile only. Keeps approved laptop/desktop layout untouched. */
@media (max-width: 760px) {
  .newsletter {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: auto !important;
    overflow: visible !important;
  }
  .newsletter-card,
  .newsletter-card.reveal,
  .newsletter-card.reveal.visible {
    display: grid !important;
    grid-template-columns: 1fr !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .newsletter-copy,
  .newsletter-form-panel,
  .nl-form {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .newsletter-copy {
    flex-direction: column !important;
  }
  .newsletter-form-panel,
  .nl-form {
    flex-direction: column !important;
  }
  .newsletter-form-panel {
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
  }
  .nl-form input[type="email"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    border: 1.5px solid #cfdbe5 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #1a2332 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
  }
  .nl-form button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    min-height: 52px !important;
  }
}

/* DAK 2026-09-23: journey helper note removed on all devices */
.journey-note,[data-i18n="journey_note"]{display:none !important;visibility:hidden !important;height:0 !important;margin:0 !important;padding:0 !important;overflow:hidden !important;}


/* =========================================================
   GLOBAL PAGE SCROLLBAR — HIDDEN V3.0
   Keep normal page scrolling, but hide the browser scrollbar
   on both LTR and RTL layouts across all responsive versions.
   ========================================================= */
html,
body {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
