/* ============================================================
   UNIVERSITY DETAIL PAGES — Shared CSS
   Fully integrated with SOL design system
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:           #0d1f3c;
  --navy-mid:       #1a3a6b;
  --sky:            #5aadda;
  --sky-light:      #daeef8;
  --sky-deep:       #2a85c7;
  --sky-dark:       #1a5f99;
  --red:            #c0392b;
  --red-hover:      #a93226;
  --card-bg:        #ffffff;
  --body-bg:        #f4f8fc;
  --off-white:      #eaf4fb;
  --text-primary:   #0d1f3c;
  --text-secondary: #4a5568;
  --text-muted:     #8fa3b8;
  --border:         #cce2f0;
  --shadow:         0 4px 20px rgba(13,31,60,0.09);
  --shadow-lg:      0 12px 40px rgba(13,31,60,0.15);
  --nav-bg:         rgba(255,255,255,0.97);
  --header-bg:      linear-gradient(135deg, #0d1f3c 0%, #1a3a6b 50%, #2a85c7 100%);
  --radius:         16px;
  --transition:     all 0.32s cubic-bezier(0.4,0,0.2,1);
}

[data-theme="dark"] {
  --navy:           #1e3a5f;
  --navy-mid:       #243f6a;
  --sky:            #5bbfe8;
  --sky-light:      rgba(91,191,232,0.15);
  --sky-deep:       #5bbfe8;
  --sky-dark:       #7ed0f5;
  --red:            #e05c50;
  --red-hover:      #c94444;
  --card-bg:        #1a2d42;
  --body-bg:        #111d2e;
  --off-white:      #152235;
  --text-primary:   #e8f3fd;
  --text-secondary: #8ab0cc;
  --text-muted:     #4a6a82;
  --border:         rgba(91,191,232,0.18);
  --shadow:         0 4px 20px rgba(0,0,0,0.45);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.6);
  --nav-bg:         rgba(13,22,36,0.98);
  --header-bg:      linear-gradient(135deg, #080f1c 0%, #0d1d30 50%, #163050 100%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', sans-serif;
  background: var(--body-bg);
  color: var(--text-primary);
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
}

/* ============================================================
   STICKY HEADER
============================================================ */
.sol-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background 0.4s;
}
.sol-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5%;
  gap: 12px;
}
.sol-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sol-logo-img { height: 38px; width: 38px; object-fit: contain; }
.sol-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.sol-logo-text .light { font-size: 10px; color: var(--sky-deep); font-weight: 300; letter-spacing: 2px; text-transform: uppercase; }
.sol-logo-text .bold  { font-size: 13px; font-weight: 800; color: var(--text-primary); }

.sol-header-actions { display: flex; align-items: center; gap: 10px; }

.sol-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--off-white);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-family: 'Sora', sans-serif;
}
.sol-back-btn:hover { background: var(--sky-light); border-color: var(--sky); color: var(--sky-dark); }
[data-theme="dark"] .sol-back-btn { background: rgba(91,191,232,0.08); border-color: rgba(91,191,232,0.2); color: var(--text-primary); }

/* Dark toggle */
.dark-toggle {
  width: 56px; height: 28px;
  background: #e2f0fb;
  border-radius: 50px;
  border: 1.5px solid #b8d8f0;
  cursor: pointer;
  position: relative;
  outline: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  transition: background 0.35s, border-color 0.35s;
}
.dark-toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: white;
  transition: left 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  z-index: 0;
}
.toggle-sun  { width: 12px; height: 12px; position: relative; z-index: 1; opacity: 1; transition: opacity 0.25s; }
.toggle-moon { width: 11px; height: 11px; position: relative; z-index: 1; opacity: 0.3; transition: opacity 0.25s; }
[data-theme="dark"] .dark-toggle { background: #0d1d30; border-color: rgba(91,191,232,0.35); }
[data-theme="dark"] .dark-toggle::after { left: calc(100% - 23px); background: #3a8fc7; }
[data-theme="dark"] .toggle-sun  { opacity: 0.28; }
[data-theme="dark"] .toggle-moon { opacity: 1; }

/* ============================================================
   UNIVERSITY HERO
============================================================ */
.uni-detail-hero {
  background: var(--header-bg);
  padding: 52px 5% 60px;
  position: relative;
  overflow: hidden;
}
.uni-detail-hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  top: -130px; right: -60px;
  pointer-events: none;
}
.uni-detail-hero::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(192,57,43,0.08);
  bottom: -50px; left: 5%;
  pointer-events: none;
}
.uni-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.uni-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.uni-detail-hero h1 {
  font-size: clamp(22px, 3.5vw, 46px);
  font-weight: 800;
  color: white;
  font-family: 'Lora', serif;
  line-height: 1.18;
  margin-bottom: 14px;
}
.uni-detail-hero .hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.78);
  max-width: 680px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.uni-detail-hero .hero-desc strong { color: rgba(255,255,255,0.95); }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.course-tag {
  background: rgba(255,255,255,0.12);
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
  padding: 5px 13px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Sora', sans-serif;
  letter-spacing: 0.3px;
}

/* ============================================================
   STICKY SECTION NAV
============================================================ */
.sol-section-nav {
  position: sticky;
  top: 60px;
  z-index: 900;
  background: var(--navy-mid);
  border-bottom: 2px solid rgba(255,255,255,0.08);
}
.sol-section-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}
.sol-section-nav li a {
  display: block;
  padding: 13px 22px;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}
.sol-section-nav li a:hover { color: white; border-bottom-color: var(--sky); background: rgba(255,255,255,0.06); }
[data-theme="dark"] .sol-section-nav { background: #1c3358; }

/* ============================================================
   CONTENT SECTIONS
============================================================ */
.sol-content-section { padding: 60px 5%; background: var(--body-bg); }
.sol-content-section--alt { background: var(--off-white); }
.sol-section-inner { max-width: 1100px; margin: 0 auto; }

.sol-section-title {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Lora', serif;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.sol-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--sky-deep), var(--red));
  border-radius: 2px;
}
[data-theme="dark"] .sol-section-title { color: #ddeeff; border-color: rgba(91,191,232,0.15); }

.about-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }
[data-theme="dark"] .about-text p { color: #8ab0cc; }

/* ============================================================
   ADVANTAGES GRID
============================================================ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.adv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--sky-deep), var(--red));
  border-radius: 4px 0 0 4px;
  transition: width 0.25s;
}
.adv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--sky); }
.adv-card:hover::before { width: 6px; }
.adv-card-icon {
  width: 48px; height: 48px;
  background: var(--sky-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--sky-dark);
  margin-bottom: 14px;
  transition: var(--transition);
}
.adv-card:hover .adv-card-icon { background: var(--navy-mid); color: white; }
.adv-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.adv-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
[data-theme="dark"] .adv-card { background: #16263d; border-color: rgba(91,191,232,0.12); }
[data-theme="dark"] .adv-card-icon { background: rgba(91,191,232,0.12); color: #5bbfe8; }
[data-theme="dark"] .adv-card:hover .adv-card-icon { background: #243f6a; color: #7ed0f5; }
[data-theme="dark"] .adv-card h5 { color: #ddeeff; }
[data-theme="dark"] .adv-card p { color: #8ab0cc; }

.adv-section-title {
  text-align: center;
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 700;
  font-family: 'Lora', serif;
  color: var(--text-primary);
  margin-bottom: 36px;
}
.adv-section-title span { color: var(--sky-deep); }
[data-theme="dark"] .adv-section-title { color: #ddeeff; }

/* ============================================================
   ADMISSION SECTION
============================================================ */
.admission-block { margin-bottom: 40px; }
.admission-block h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--sky-deep);
  margin-bottom: 10px;
  font-family: 'Lora', serif;
  display: flex;
  align-items: center;
  gap: 9px;
}
.admission-block h4::before {
  content: '';
  display: inline-block;
  width: 4px; height: 18px;
  background: linear-gradient(to bottom, var(--sky-deep), var(--red));
  border-radius: 2px;
  flex-shrink: 0;
}
[data-theme="dark"] .admission-block h4 { color: #7ed0f5; }
.admission-block > p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}
[data-theme="dark"] .admission-block > p { color: #8ab0cc; }
[data-theme="dark"] .admission-block > p strong { color: #ddeeff; }

/* Steps list */
.steps-list { list-style: none; margin-top: 14px; }
.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 14px;
  margin-bottom: 8px;
  background: var(--card-bg);
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  transition: var(--transition);
}
.steps-list li:hover { border-color: var(--sky); background: var(--sky-light); }
.steps-list li i { color: #16a34a; margin-top: 2px; flex-shrink: 0; font-size: 15px; }
.steps-list li strong { color: var(--text-primary); }
[data-theme="dark"] .steps-list li { background: #16263d; border-color: rgba(91,191,232,0.1); }
[data-theme="dark"] .steps-list li:hover { background: rgba(91,191,232,0.06); border-color: rgba(91,191,232,0.25); }
[data-theme="dark"] .steps-list li { color: #8ab0cc; }
[data-theme="dark"] .steps-list li strong { color: #ddeeff; }

/* Important notice box */
.notice-box {
  background: var(--sky-light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--sky-deep);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
}
.notice-box h6 { font-size: 13px; font-weight: 700; color: var(--sky-dark); margin-bottom: 8px; }
.notice-box ul { list-style: none; padding: 0; margin: 0; }
.notice-box ul li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 3px 0;
  padding-left: 14px;
  position: relative;
  line-height: 1.6;
}
.notice-box ul li::before { content: '•'; position: absolute; left: 0; color: var(--sky-deep); }
[data-theme="dark"] .notice-box { background: rgba(91,191,232,0.07); border-color: rgba(91,191,232,0.2); border-left-color: #5bbfe8; }
[data-theme="dark"] .notice-box h6 { color: #7ed0f5; }
[data-theme="dark"] .notice-box ul li { color: #8ab0cc; }

/* ============================================================
   6-STEP PROCESS CARDS
============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.process-card {
  background: var(--card-bg);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px 12px 16px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.process-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: white;
  margin: 0 auto 10px;
  font-family: 'Lora', serif;
}
.process-card h6 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
  line-height: 1.3;
}
.process-card p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}
[data-theme="dark"] .process-card { background: #16263d; border-color: rgba(91,191,232,0.12); }
[data-theme="dark"] .process-card h6 { color: #ddeeff; }
[data-theme="dark"] .process-card p  { color: #4a6a82; }

/* Step color variants */
.pc-1 .process-num { background: linear-gradient(135deg, #f97316, #ea580c); }
.pc-2 .process-num { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.pc-3 .process-num { background: linear-gradient(135deg, #ec4899, #be185d); }
.pc-4 .process-num { background: linear-gradient(135deg, #22c55e, #15803d); }
.pc-5 .process-num { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.pc-6 .process-num { background: linear-gradient(135deg, #f59e0b, #b45309); }

/* ============================================================
   CTA ENROLL STRIP
============================================================ */
.enroll-strip {
  background: var(--header-bg);
  padding: 48px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.enroll-strip::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(192,57,43,0.08);
  top: -80px; right: -40px;
}
.enroll-strip h2 {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 800;
  color: white;
  font-family: 'Lora', serif;
  margin-bottom: 12px;
  position: relative;
}
.enroll-strip p { color: rgba(255,255,255,0.72); font-size: 15px; margin-bottom: 24px; position: relative; }
.btn-enroll-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(192,57,43,0.4);
  position: relative;
}
.btn-enroll-strip:hover { background: var(--red-hover); transform: translateY(-3px); color: white; box-shadow: 0 8px 28px rgba(192,57,43,0.55); }

/* ============================================================
   FOOTER
============================================================ */
.sol-footer {
  background: var(--navy);
  padding: 26px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  border-top: 2px solid var(--sky-deep);
}
.sol-footer-copy { color: rgba(255,255,255,0.42); font-size: 12px; }
.sol-footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.sol-footer-links a { color: rgba(255,255,255,0.45); font-size: 12px; text-decoration: none; transition: var(--transition); }
.sol-footer-links a:hover { color: var(--sky); }

/* ============================================================
   WHATSAPP FLOAT
============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 25px;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  z-index: 9000;
  animation: waPulse 2.5s infinite;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.12); animation: none; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 4px 26px rgba(37,211,102,0.7), 0 0 0 7px rgba(37,211,102,0.14); }
}

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal { opacity:0; transform:translateY(22px); transition:opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ============================================================
   DARK MODE — section bg contrast
============================================================ */
[data-theme="dark"] .sol-content-section { background: var(--body-bg); }
[data-theme="dark"] .sol-content-section--alt { background: var(--off-white); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .adv-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-section-nav li a { padding: 10px 12px; font-size: 11px; letter-spacing: 0.6px; }
  .uni-detail-hero { padding: 36px 5% 44px; }
  .sol-content-section { padding: 44px 4%; }
}