/* ===========================
   COURSE PAGE STYLES
   Extends style.css
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 15px; color: #111827; background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

:root {
  --blue: #1a56db;
  --blue-dark: #1344b5;
  --blue-light: #eff6ff;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-light: #6b7280;
  --border: #e5e7eb;
}

/* ===========================
   NAVBAR
=========================== */
.navbar { position: sticky; top: 0; z-index: 1000; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo-img { height: 44px; width: auto; object-fit: contain; display: block; }
.logo-img-footer { height: 48px; filter: brightness(0) invert(1); }
.nav-links { display: flex; gap: 20px; flex: 1; justify-content: center; align-items: center; }
.nav-links a, .nav-dropdown-toggle { font-size: 13.5px; font-weight: 500; color: var(--text-mid); transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-dropdown-toggle:hover { color: var(--blue); }

/* ===========================
   PROGRAMS MEGA-DROPDOWN
=========================== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 6px 0;
}

.nav-dropdown-toggle:focus {
  outline: none;
}

.nav-item-dropdown.open .nav-dropdown-toggle,
.nav-item-dropdown:hover .nav-dropdown-toggle {
  color: var(--blue);
}

.dropdown-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  stroke: currentColor;
}

.nav-item-dropdown.open .dropdown-chevron,
.nav-item-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.mega-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 760px;
  max-width: 92vw;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 45px -8px rgba(15, 23, 42, 0.18), 0 8px 20px -4px rgba(15, 23, 42, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1100;
  overflow: hidden;
}

.nav-item-dropdown.open .mega-dropdown-menu,
.nav-item-dropdown:hover .mega-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.mega-header-title {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.mega-header-sub {
  font-size: 12px;
  color: #64748b;
}

.mega-header-all {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.15s, color 0.15s;
  white-space: nowrap;
}

.mega-header-all:hover {
  color: var(--blue-dark);
  transform: translateX(2px);
}

.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 18px;
  gap: 6px 14px;
}

.mega-program-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.18s, transform 0.15s;
}

.mega-program-item:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.mega-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.badge-ds { background: #eff6ff; color: #2563eb; }
.badge-cd { background: #f0fdf4; color: #16a34a; }
.badge-cs { background: #fef2f2; color: #dc2626; }
.badge-da { background: #fefce8; color: #ca8a04; }
.badge-ai { background: #faf5ff; color: #9333ea; }
.badge-de { background: #ecfeff; color: #0891b2; }
.badge-az { background: #f0f9ff; color: #0284c7; }
.badge-sc { background: #fdf2f8; color: #db2777; }

.mega-content {
  flex: 1;
  min-width: 0;
}

.mega-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 2px;
}

.mega-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

.mega-tag-popular {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mega-desc {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.35;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-meta {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}

.mega-footer {
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mega-footer-text {
  font-size: 12px;
  color: #475569;
}

.mega-footer-text strong {
  color: #0f172a;
  font-weight: 700;
}

.btn-mega-all {
  background: var(--blue);
  color: #fff !important;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-mega-all:hover {
  background: var(--blue-dark);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login { background: transparent; border: 1.5px solid var(--border); padding: 8px 18px; border-radius: 7px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--text-dark); transition: border-color 0.2s; }
.btn-login:hover { border-color: var(--blue); color: var(--blue); }
.btn-apply { background: var(--blue); color: #fff; border: none; padding: 9px 18px; border-radius: 7px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.btn-apply:hover { background: var(--blue-dark); }
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-dark); margin-left: auto; padding: 6px; line-height: 1; }

/* Enhanced Mobile Menu & Programs Accordion */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 14px 20px 24px;
  gap: 4px;
  max-height: 82vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.mobile-menu.open { display: flex !important; }
.mobile-menu > a {
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.15s ease;
}
.mobile-menu > a:hover { color: var(--blue); }

/* Mobile Programs Sub-menu Accordion */
.mobile-nav-item {
  border-bottom: 1px solid #f1f5f9;
}
.mobile-nav-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 700;
  color: #1a56db;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.mobile-chevron {
  width: 18px;
  height: 18px;
  stroke: #1a56db;
  transition: transform 0.25s ease;
}
.mobile-nav-item.open .mobile-chevron {
  transform: rotate(180deg);
}
.mobile-sub-menu {
  display: none;
  flex-direction: column;
  background: #f8fafc;
  border-radius: 10px;
  padding: 12px 10px;
  margin: 4px 0 14px;
  border: 1px solid #e2e8f0;
}
.mobile-nav-item.open .mobile-sub-menu {
  display: flex;
}
.mobile-programs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mobile-view-all {
  color: #1a56db !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  border: none !important;
  padding: 0 !important;
  text-decoration: none !important;
}
.mobile-programs-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}
.mobile-prog-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mobile-prog-link:hover {
  background: #eff6ff !important;
  border-color: #bfdbfe !important;
}
.m-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 800;
  flex-shrink: 0;
}
.m-badge.m-ds { background: #dbeafe; color: #1d4ed8; }
.m-badge.m-ai { background: #fae8ff; color: #86198f; }
.m-badge.m-cd { background: #ffedd5; color: #c2410c; }
.m-badge.m-az { background: #e0f2fe; color: #0369a1; }
.m-badge.m-cs { background: #fee2e2; color: #b91c1c; }
.m-badge.m-da { background: #dcfce7; color: #15803d; }
.m-badge.m-de { background: #fef3c7; color: #b45309; }

.mobile-prog-link div strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}
.mobile-prog-link div small {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}
.mobile-all-programs-btn {
  margin-top: 10px;
  text-align: center;
  padding: 11px 16px !important;
  background: #1a56db;
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  border-radius: 8px;
  border: none !important;
  text-decoration: none !important;
  display: block !important;
}
.mobile-btns { display: flex; gap: 10px; margin-top: 16px; }

/* ===========================
   COURSE HERO BANNER
=========================== */
.course-hero-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 35%, #1a56db 65%, #2563eb 100%);
  padding: 44px 0 40px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
.course-hero-banner::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,179,237,0.18) 0%, transparent 65%);
  top: -150px; right: -80px;
  pointer-events: none;
}
.course-hero-banner::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 65%);
  bottom: -100px; left: -60px;
  pointer-events: none;
}
.course-hero-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.course-hero-banner h1 {
  font-size: 2.65rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.16;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}
@media (max-width: 768px) {
  .course-hero-banner h1 { font-size: 2rem; }
}

.course-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 35%, #1a56db 65%, #2563eb 100%);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.course-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,179,237,0.15) 0%, transparent 65%);
  top: -150px; right: -80px;
  pointer-events: none;
}
.course-hero::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 65%);
  bottom: -100px; left: -60px;
  pointer-events: none;
}
.course-hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
  position: relative; z-index: 1;
}
.course-category {
  font-size: 11px;
  font-weight: 700;
  color: rgba(147,197,253,1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.course-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.course-tagline {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 540px;
}
.course-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.pill {
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.course-cta-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

/* Hero image below buttons */
.course-hero-img-wrap {
  margin-top: 4px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,86,219,0.13);
  max-width: 520px;
  position: relative;
}
.course-hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(26,86,219,0.08) 100%);
  pointer-events: none;
}
.course-hero-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.course-hero-img-wrap:hover .course-hero-img { transform: scale(1.03); }
.btn-enquire {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 13px 28px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-enquire:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-brochure {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
  padding: 12px 28px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}
.btn-brochure:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.18); color: #fff; }

/* ===========================
   TWO-COLUMN COURSE PAGE LAYOUT
=========================== */
.course-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 36px;
  align-items: stretch;
  margin-top: 36px;
  margin-bottom: 64px;
}

.course-main-col {
  min-width: 0;
}

.course-sidebar-col {
  position: relative;
  height: 100%;
}

/* Sticky Enrollment Card - Client Spec Matching */
.sticky-enrollment-card {
  position: -webkit-sticky;
  position: sticky;
  top: 84px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  z-index: 40;
}

.sticky-enrollment-card:hover {
  box-shadow: 0 18px 48px -4px rgba(26, 86, 219, 0.18);
}

.enrollment-card-banner {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #0b1120;
}

.enrollment-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92);
  transition: transform 0.4s ease;
}

.sticky-enrollment-card:hover .enrollment-card-banner img {
  transform: scale(1.03);
}

.enrollment-card-badge {
  position: absolute;
  bottom: 12px;
  left: 14px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.enrollment-card-body {
  padding: 24px;
}

.enrollment-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.enrollment-status {
  font-size: 11px;
  font-weight: 800;
  color: #1a56db;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.enrollment-seats-badge {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.enrollment-title {
  font-size: 1.42rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.enrollment-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.enrollment-price {
  font-size: 2.25rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1;
}

.enrollment-gst {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 500;
}

.enrollment-emi-box {
  background: #f0f7ff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.emi-box-left {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
}

.emi-box-right {
  font-size: 13px;
  font-weight: 700;
  color: #1a56db;
}

.enrollment-checklist {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 24px;
  padding: 0;
  list-style: none;
}

.enrollment-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.45;
}

.enrollment-item .check-icon {
  color: #10b981;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  flex-shrink: 0;
}

.enrollment-item.highlight-internship {
  color: #1a56db;
  font-weight: 700;
}

.enrollment-item.highlight-internship .check-icon {
  color: #1a56db;
}

.btn-reserve-seat {
  width: 100%;
  background: #1a56db;
  color: #ffffff;
  border: none;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-reserve-seat:hover {
  background: #1344b5;
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.45);
  transform: translateY(-1px);
}

.enrollment-disclaimer {
  font-size: 11.5px;
  color: #64748b;
  text-align: center;
  margin-top: 13px;
  line-height: 1.45;
}

/* Legacy fee-card compatibility */
.fee-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: 0 8px 32px rgba(26,86,219,0.1);
  position: sticky;
  top: 80px;
}
.fee-label { font-size: 11px; font-weight: 600; color: var(--text-light); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.fee-amount { font-size: 3rem; font-weight: 900; color: var(--text-dark); line-height: 1; margin-bottom: 4px; }
.fee-amount span { font-size: 1.6rem; }
.fee-gst { font-size: 12px; color: var(--text-light); margin-bottom: 20px; }
.fee-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.fee-feature { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-mid); }
.fee-feature .fcheck { color: #059669; font-size: 14px; font-weight: 700; flex-shrink: 0; }
.btn-apply-now {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-apply-now:hover { background: var(--blue-dark); }

/* ===========================
   BOTTOM MENTOR CTA CARD (CLIENT SPEC)
=========================== */
.mentor-cta-card {
  margin-top: 48px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #172554 100%);
  border-radius: 20px;
  padding: 36px 36px 32px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
}

.mentor-cta-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.mentor-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mentor-cta-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.mentor-cta-desc {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 24px;
}

.mentor-perks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 28px;
}

.mentor-perk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #dbeafe;
}

.mentor-perk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

.mentor-actions-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-mentor-cta {
  background: #ffffff;
  color: #1e3a8a;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-mentor-cta:hover {
  background: #f0f7ff;
  color: #1a56db;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.mentor-callout-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

/* Media Queries */
@media (max-width: 1120px) {
  .course-page-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
  }
  .enrollment-card-banner {
    height: 170px;
  }
}

@media (max-width: 860px) {
  .course-page-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .course-sidebar-col {
    height: auto;
  }
  .sticky-enrollment-card {
    position: static;
    max-width: 520px;
    margin: 0 auto;
  }
  .mega-dropdown-menu {
    display: none !important;
  }
}

/* ===========================
   PROGRAM HIGHLIGHTS
=========================== */
.highlights-section { padding: 56px 0; background: linear-gradient(135deg, #f8faff 0%, #eff6ff 100%); border-top: 1px solid #dbeafe; }
.section-label-cp { font-size: 11px; font-weight: 700; color: var(--blue); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.section-title-cp { font-size: 1.8rem; font-weight: 800; color: var(--text-dark); margin-bottom: 32px; }
.highlights-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.highlight-card {
  border: 1.5px solid #dbeafe;
  border-radius: 14px;
  padding: 20px 16px;
  background: #f8fbff;
  text-align: left;
  transition: box-shadow 0.2s, transform 0.2s;
}
.highlight-card:hover { box-shadow: 0 6px 20px rgba(26,86,219,0.1); transform: translateY(-2px); }
.highlight-name { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.highlight-desc { font-size: 12px; color: var(--text-light); line-height: 1.4; }

/* ===========================
   CURRICULUM + TOOLS — split layout
=========================== */
.learn-section { padding: 64px 0; background: #f8faff; }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.learn-col-title { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.learn-col-sub { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }

/* Curriculum items */
.curriculum-list { display: flex; flex-direction: column; gap: 0; }
.curriculum-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-bottom: none;
  transition: background 0.15s;
}
.curriculum-item:first-child { border-radius: 12px 12px 0 0; }
.curriculum-item:last-child { border-bottom: 1px solid var(--border); border-radius: 0 0 12px 12px; }
.curriculum-item:hover { background: #f0f7ff; }
.c-num {
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-content {}
.c-title { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.c-desc  { font-size: 12.5px; color: var(--text-light); }

/* Tools grid */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tool-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tool-card:hover { border-color: var(--blue); box-shadow: 0 3px 12px rgba(26,86,219,0.1); }
.tool-name { font-size: 13.5px; font-weight: 700; color: var(--blue); margin-bottom: 2px; }
.tool-label { font-size: 11px; color: var(--text-light); }

/* ===========================
   COURSE PROJECTS SECTION
=========================== */
.course-projects-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}
.course-section-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.course-section-sub {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}
.projects-grid-cp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 640px) {
  .projects-grid-cp { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
}
.project-card-cp {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  transition: all 0.2s ease;
}
.project-card-cp:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.09);
  transform: translateY(-2px);
}
.project-tag {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.project-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}
.project-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 12px;
}
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tech-pill {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ===========================
   CAREER ROLES & SALARY CP
=========================== */
.career-section-cp {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}
.career-box-cp {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.career-salary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}
.salary-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.salary-val {
  font-size: 1.45rem;
  font-weight: 900;
  color: #059669;
}
.roles-list-cp {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.role-badge-cp {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ===========================
   FAQS SECTION CP
=========================== */
.faqs-section-cp {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}
.faq-list-cp {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-card-cp {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-card-cp:hover {
  border-color: #cbd5e1;
}
.faq-q-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq-q-btn .faq-icon {
  font-size: 18px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-card-cp.open .faq-icon {
  transform: rotate(45deg);
}
.faq-a-body {
  display: none;
  padding: 0 20px 16px;
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
}
.faq-card-cp.open .faq-a-body {
  display: block;
}

/* ===========================
   LEARN FROM GLOBAL ECOSYSTEMS
=========================== */
.ecosystems-banner {
  background: linear-gradient(135deg, #e8f0fe 0%, #dbeafe 100%);
  padding: 48px 0;
  border-top: 1px solid #bfdbfe;
  border-bottom: 1px solid #bfdbfe;
}
.ecosystems-banner-inner { text-align: center; margin-bottom: 32px; }
.ecosystems-banner-inner h2 { font-size: 1.6rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.ecosystems-banner-inner p { font-size: 14px; color: var(--text-mid); }
.eco-logos-row { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; }
.eco-logo-item {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 200px;
  box-shadow: 0 2px 12px rgba(26,86,219,0.07);
}
.eco-logo-item .eco-access { font-size: 12px; color: var(--text-mid); }
.eco-logo-item .eco-tags { font-size: 11px; color: var(--text-light); }

/* ===========================
   FOOTER
=========================== */
.footer { background: #111827; color: #d1d5db; padding: 60px 0 0; }
.footer-top { display: grid; grid-template-columns: 220px repeat(5, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo-ai { background: var(--blue); }
.footer-brand .logo-campus { color: #fff; }
.footer-brand .logo-tagline { color: #9ca3af; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a { width: 34px; height: 34px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #d1d5db; transition: background 0.2s; }
.footer-socials a:hover { background: var(--blue); color: #fff; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: #9ca3af; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 12.5px; color: #6b7280; flex-wrap: wrap; gap: 8px; }
.footer-developer {
  font-size: 12.5px;
  color: #9ca3af;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.developer-link {
  color: #60a5fa;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.developer-link:hover {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===========================
   RESPONSIVE — Full Device Coverage
=========================== */

/* ── Tablet ── */
@media (max-width: 900px) {
  .course-hero-inner { grid-template-columns: 1fr; }
  .fee-card { position: static; }
  .highlights-grid { grid-template-columns: repeat(3, 1fr); }
  .learn-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .course-hero h1 { font-size: 2.1rem; }
  .course-hero-img { height: 200px; }
  .course-hero-img-wrap { max-width: 100%; }
  .eco-logos-row { gap: 20px; }
}

/* ── Large phone ── */
@media (max-width: 768px) {
  .course-hero { padding: 44px 0 36px; }
  .course-hero h1 { font-size: 1.9rem; }
  .course-tagline { font-size: 15px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .highlights-section { padding: 44px 0; }
  .learn-section { padding: 48px 0; }
  .ecosystems-banner { padding: 40px 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .course-hero-img { height: 190px; }
}

/* ── Phone portrait ── */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-actions { display: none; }
  .hamburger { display: block; }
  .logo-img { height: 38px; }

  /* Hero */
  .course-hero { padding: 36px 0 28px; }
  .course-hero h1 { font-size: 1.65rem; line-height: 1.2; }
  .course-tagline { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }
  .course-category { font-size: 10px; }
  .course-meta-pills { gap: 8px; margin-bottom: 24px; }
  .pill { font-size: 12px; padding: 6px 12px; }
  .course-cta-btns { gap: 10px; }
  .btn-enquire  { padding: 12px 22px; font-size: 14px; }
  .btn-brochure { padding: 11px 22px; font-size: 14px; }
  .course-hero-img { height: 170px; }

  /* Fee card mobile */
  .fee-card { border-radius: 14px; padding: 20px 18px; }
  .fee-amount { font-size: 2.6rem; }
  .fee-amount span { font-size: 1.3rem; }
  .fee-feature { font-size: 13px; gap: 8px; }
  .btn-apply-now { padding: 13px; font-size: 14.5px; }

  /* Highlights */
  .highlights-section { padding: 32px 0; }
  .section-label-cp { font-size: 10px; }
  .highlights-grid { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .highlight-card { padding: 14px 10px; border-radius: 10px; }
  .highlight-name { font-size: 12.5px; }
  .highlight-desc { font-size: 10.5px; }

  /* Learn section */
  .learn-section { padding: 40px 0; }
  .learn-col-title { font-size: 1.2rem; }
  .curriculum-item { padding: 13px 14px; gap: 10px; }
  .c-title { font-size: 13px; }
  .c-desc { font-size: 11.5px; }
  .c-num { width: 24px; height: 24px; font-size: 10px; border-radius: 6px; }

  /* Tools grid */
  .tools-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tool-card { padding: 11px 12px; }
  .tool-name { font-size: 12.5px; }

  /* Ecosystems banner */
  .ecosystems-banner { padding: 32px 0; }
  .ecosystems-banner-inner h2 { font-size: 1.2rem; margin-bottom: 6px; }
  .ecosystems-banner-inner p { font-size: 13px; margin-bottom: 20px; }
  .eco-logos-row { flex-direction: column; align-items: center; gap: 16px; }
  .eco-logo-item { padding: 14px 18px; min-width: 0; width: 100%; max-width: 300px; }
  .eco-logo-item .eco-access { font-size: 11px; text-align: center; }

  /* Footer course */
  .footer { padding: 44px 0 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-brand { grid-column: 1/-1; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; font-size: 12px; }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  .course-hero h1 { font-size: 1.45rem; }
  .course-tagline { font-size: 13.5px; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .course-cta-btns { flex-direction: column; }
  .btn-enquire, .btn-brochure { width: 100%; text-align: center; }
  .fee-card { padding: 20px 16px; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-col h4 { font-size: 12px; }
  .footer-col a  { font-size: 12px; }
}

/* ── Very small phones ── */
@media (max-width: 380px) {
  .course-hero h1 { font-size: 1.3rem; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .highlight-card { padding: 13px 10px; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ===================================================
   UNIVERSAL FAQ ACCORDION COMPONENT
   =================================================== */
.faq-section {
  padding: 80px 0;
  background: #ffffff;
}
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px 26px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.faq-item:hover {
  border-color: #cbd5e1;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}
.faq-item.open {
  border-color: #93c5fd;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(26, 86, 219, 0.08);
}
.faq-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0;
  line-height: 1.4;
}
.faq-item h3::after {
  content: '+';
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  color: #1a56db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
  border: 1px solid #dbeafe;
}
.faq-item.open h3::after {
  content: '−';
  background: #1a56db;
  color: #ffffff;
  transform: rotate(180deg);
  border-color: #1a56db;
}
.faq-item p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.75;
  margin-top: 14px;
  margin-bottom: 0;
  display: none !important;
}
.faq-item.open p {
  display: block !important;
  animation: faqSlideDown 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes faqSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================================================
   INTERACTIVE PORTAL & ENQUIRY MODALS
   =================================================== */
.portal-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.portal-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.portal-modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 490px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  border: 1px solid #e2e8f0;
  position: relative;
  transform: scale(0.94) translateY(12px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.portal-modal-overlay.active .portal-modal-box {
  transform: scale(1) translateY(0);
}
.portal-modal-header {
  padding: 24px 28px 18px;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.modal-badge-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  display: inline-block;
}
.modal-badge-text {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.portal-modal-header h3 {
  font-size: 1.28rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.3;
}
.portal-modal-header p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}
.portal-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 18px;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.portal-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: scale(1.05);
}
.portal-modal-body {
  padding: 22px 28px 26px;
}
.portal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 480px) {
  .portal-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.portal-form-group {
  margin-bottom: 15px;
}
.portal-form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.portal-form-group input,
.portal-form-group select {
  width: 100%;
  padding: 10.5px 13px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  font-size: 13.5px;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.portal-form-group select {
  cursor: pointer;
}
.portal-form-group input:focus,
.portal-form-group select:focus {
  border-color: #1a56db;
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}
.portal-phone-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.portal-phone-prefix {
  position: absolute;
  left: 12px;
  font-weight: 700;
  font-size: 13px;
  color: #64748b;
  pointer-events: none;
}
.portal-phone-wrap input {
  padding-left: 44px;
}
.portal-modal-btn {
  width: 100%;
  background: linear-gradient(135deg, #1a56db, #1e40af);
  color: #ffffff;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.portal-modal-btn:hover {
  background: linear-gradient(135deg, #1344b5, #1e3a8a);
  transform: translateY(-1px);
}
.portal-modal-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.portal-modal-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 11.5px;
  color: #64748b;
  flex-wrap: wrap;
}
.portal-modal-trust span.dot {
  color: #cbd5e1;
}

/* ===== Dynamic Top Announcement Bar ===== */
.top-announcement-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e40af 50%, #0284c7 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 10px 48px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1001;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.top-announcement-bar span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.top-announcement-bar a {
  color: #fef08a;
  text-decoration: underline;
  margin-left: 6px;
  font-weight: 700;
  transition: opacity 0.2s;
}
.top-announcement-bar a:hover {
  opacity: 0.85;
}
.top-announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  transition: background 0.2s, transform 0.15s;
}
.top-announcement-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.08);
}


