/* ============================================================
   Your Bridge School — Shared Styles
   Multi-page website with interactive features
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1A2B48;
  background: #F4F7F9;
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  padding-top: 64px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.page-header { padding: 48px 0 32px; text-align: center; }
.page-header h1 { font-size: 40px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 8px; }
.page-header p { font-size: 17px; color: #5A6A7E; font-weight: 500; }

/* --- Animations --- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ============================================================
   NAVBAR (shared across all pages)
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 12px rgba(26, 43, 72, 0.06);
  padding: 0;
  height: 64px;
  display: flex;
  align-items: center;
}
.navbar .container {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 800; color: #1A2B48;
}
.nav-brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: #5A6A7E;
  padding: 6px 12px; border-radius: 8px; transition: all 0.15s;
}
.nav-links a:hover { color: #1A2B48; background: #F4F7F9; }
.nav-links a.active { color: #F5841F; background: rgba(245, 132, 31, 0.08); }
.nav-login {
  background: #F5841F; color: #fff !important; padding: 8px 18px !important;
  border-radius: 8px; font-weight: 700; margin-left: 4px;
}
.nav-login:hover { background: #E07418; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 4px;
}
.nav-toggle span { width: 22px; height: 2.5px; background: #1A2B48; border-radius: 2px; transition: 0.2s; }

@media (max-width: 900px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 16px 20px;
    gap: 4px; box-shadow: 0 8px 24px rgba(26, 43, 72, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 14px; font-size: 14px; }
  .nav-toggle { display: flex; }
}

/* ============================================================
   FOOTER (shared across all pages)
   ============================================================ */
.footer { background: #1A2B48; color: #fff; padding: 56px 0 28px; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand img { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 12px; }
.footer-brand h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 280px; }
.footer-col h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 14px; color: rgba(255,255,255,0.6);
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.78); transition: color 0.15s; }
.footer-col a:hover { color: #F5841F; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.35);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* Filter tabs */
.filter-tabs { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.filter-tab {
  background: #fff; padding: 8px 18px; border-radius: 20px;
  font-size: 14px; font-weight: 700; color: #5A6A7E;
  border: 1px solid #D0D7DE; transition: all 0.15s;
  letter-spacing: -0.2px;
}
.filter-tab:hover { border-color: #28466F; color: #28466F; }
.filter-tab.active { background: #1A2B48; color: #fff; border-color: #1A2B48; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card-grid.two-col { grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card-grid.three-col { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* Base card */
.card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(26, 43, 72, 0.05);
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26, 43, 72, 0.1); }
.card-img {
  width: 100%; height: 170px; object-fit: cover; background: #E8EDF2;
}
.card-body { padding: 16px; }
.card-tag {
  display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; color: #F5841F; margin-bottom: 6px;
}
.card-body h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.card-meta { font-size: 13px; color: #5A6A7E; font-weight: 500; }
.card-meta span { display: inline-flex; align-items: center; gap: 3px; margin-right: 10px; }
.card-meta .material-icons { font-size: 13px; }

/* Buttons */
.btn-primary {
  background: #F5841F; color: #fff; padding: 11px 24px; border-radius: 9px;
  font-size: 14px; font-weight: 700; display: inline-flex; align-items: center;
  gap: 6px; transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: #E07418; transform: translateY(-1px); }
.btn-secondary {
  background: #F4F7F9; color: #1A2B48; padding: 11px 24px; border-radius: 9px;
  font-size: 14px; font-weight: 700; display: inline-flex; align-items: center;
  gap: 6px; transition: background 0.15s;
}
.btn-secondary:hover { background: #E8EDF2; }
.btn-sm { padding: 7px 14px; font-size: 12px; border-radius: 7px; }
.btn-green { background: #27AE60; color: #fff; }
.btn-green:hover { background: #219A52; }

/* Empty state */
.empty-state { text-align: center; padding: 56px 20px; color: #5A6A7E; }
.empty-state .material-icons { font-size: 48px; margin-bottom: 12px; opacity: 0.35; }
.empty-state p { font-size: 16px; font-weight: 600; }

/* ============================================================
   MODAL (shared overlay for courses, games, etc.)
   ============================================================ */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid #E8EDF2;
  position: sticky; top: 0; background: #fff; z-index: 1; border-radius: 18px 18px 0 0;
}
.modal-header h3 { font-size: 18px; font-weight: 800; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%; background: #F4F7F9;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #5A6A7E; transition: background 0.15s;
}
.modal-close:hover { background: #E8EDF2; }
.modal-body { padding: 20px 24px; }
.modal-full { max-width: 95vw; max-height: 95vh; border-radius: 12px; }
.modal-full .modal-header { border-radius: 12px 12px 0 0; }

/* ============================================================
   LIGHTBOX (gallery)
   ============================================================ */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.94); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 92vw; max-height: 85vh; border-radius: 6px; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 16px; right: 20px;
  background: rgba(255,255,255,0.12); color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; transition: background 0.15s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; transition: background 0.15s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-info {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 13px; font-weight: 600;
  background: rgba(0,0,0,0.5); padding: 8px 16px; border-radius: 8px;
  text-align: center; max-width: 80vw;
}

/* ============================================================
   VIDEO PLAYER (gallery)
   ============================================================ */
.video-player-wrap {
  position: relative; width: 100%; max-width: 800px; margin: 0 auto;
  border-radius: 12px; overflow: hidden; background: #000;
}
.video-player-wrap video { width: 100%; display: block; }

/* ============================================================
   IFRAME MODAL (games)
   ============================================================ */
.iframe-modal {
  display: none; position: fixed; inset: 0; z-index: 2500;
  background: #1A2B48; flex-direction: column;
}
.iframe-modal.open { display: flex; }
.iframe-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; background: #141E30; color: #fff; flex-shrink: 0;
}
.iframe-header h4 { font-size: 15px; font-weight: 700; }
.iframe-header .btn-group { display: flex; gap: 8px; }
.iframe-header .btn-sm { background: rgba(255,255,255,0.12); color: #fff; }
.iframe-header .btn-sm:hover { background: rgba(255,255,255,0.22); }
.iframe-body { flex: 1; position: relative; }
.iframe-body iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}

/* ============================================================
   FORM STYLES (registration, verify)
   ============================================================ */
.form-group { margin-bottom: 12px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; color: #1A2B48; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 9px 12px; border: 2px solid #D0D7DE; border-radius: 10px;
  font-size: 14px; font-family: inherit; transition: border-color 0.15s;
  background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: #28466F;
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-hint { font-size: 12px; color: #5A6A7E; margin-top: 4px; }
.form-error { font-size: 12px; color: #E74C3C; margin-top: 4px; display: none; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 5000; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 20px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  animation: toastIn 0.3s ease;
}
.toast.success { background: #27AE60; }
.toast.error { background: #E74C3C; }
.toast.info { background: #28466F; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* ============================================================
   SKELETON LOADING
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, #E8EDF2 25%, #D0D7DE 50%, #E8EDF2 75%);
  background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 8px;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 280px; border-radius: 14px; }
.skeleton-text { height: 16px; margin-bottom: 8px; }
.skeleton-text.short { width: 60%; }

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 768px) {
  .page-header h1 { font-size: 28px; }
  .card-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .form-row { grid-template-columns: 1fr; }
  .delivery-options-grid { grid-template-columns: repeat(2, 1fr); }
  .reg-delivery-grid { grid-template-columns: repeat(2, 1fr); }
  .teacher-cards-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .delivery-options-grid { grid-template-columns: 1fr; }
  .reg-delivery-grid { grid-template-columns: 1fr; }
  .teacher-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .reg-course-header { flex-direction: column; text-align: center; }
  .reg-course-thumb-lg { height: 160px; }
}

/* ============================================================
   BACK-TO-TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: #1A2B48; color: #fff; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(26,43,72,0.3);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s, background 0.15s;
  cursor: pointer; border: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: #F5841F; transform: translateY(-2px); }
.back-to-top .material-icons { font-size: 24px; }

/* ============================================================
   HOME PAGE — Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: #1A2B48; margin-top: -64px; padding-top: 64px;
}
.hero-carousel { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-animated-gradient {
  background: linear-gradient(-45deg, #1A2B48, #28466F, #1A2B48, #2E4A78);
  background-size: 400% 400%;
  animation: heroGradient 8s ease infinite;
}
@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,43,72,0.88) 0%, rgba(40,70,111,0.75) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 80px 0; }
.hero-badge {
  display: inline-block; background: rgba(245,132,31,0.15); color: #F5841F;
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 700;
  margin-bottom: 20px; border: 1px solid rgba(245,132,31,0.3);
}
.hero h1 { font-size: 52px; font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 16px; letter-spacing: -1px; }
.hero h1 span { color: #F5841F; }
.hero-tagline { font-size: 18px; color: rgba(255,255,255,0.7); font-weight: 500; font-style: italic; margin-bottom: 12px; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-outline {
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }

/* ============================================================
   HOME PAGE — Stats Bar
   ============================================================ */
.stats-bar { background: #1A2B48; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item h3 { font-size: 40px; font-weight: 900; color: #F5841F; line-height: 1; margin-bottom: 6px; }
.stat-item p { font-size: 14px; color: rgba(255,255,255,0.65); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ============================================================
   HOME PAGE — Quick Actions
   ============================================================ */
.quick-actions { padding: 64px 0; background: #fff; }
.actions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.action-card {
  background: #F4F7F9; border-radius: 16px; padding: 28px 20px; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; display: block;
}
.action-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,43,72,0.1); }
.action-icon {
  width: 56px; height: 56px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 24px;
}
.action-icon.orange { background: rgba(245,132,31,0.12); color: #F5841F; }
.action-icon.blue { background: rgba(40,70,111,0.1); color: #28466F; }
.action-icon.green { background: rgba(39,174,96,0.1); color: #27AE60; }
.action-icon.purple { background: rgba(142,68,173,0.1); color: #8E44AD; }
.action-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.action-card p { font-size: 13px; color: #5A6A7E; }

/* ============================================================
   SECTION BLOCKS (home page sections)
   ============================================================ */
.section-block { padding: 72px 0; }
.section-alt { background: #fff; }
.section-title { font-size: 32px; font-weight: 800; text-align: center; margin-bottom: 8px; letter-spacing: -0.5px; }
.section-subtitle { font-size: 16px; color: #5A6A7E; text-align: center; margin-bottom: 40px; font-weight: 500; }

/* ============================================================
   GAMES & STORIES CARDS (home page)
   ============================================================ */
.gs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gs-card {
  background: #fff; border-radius: 16px; padding: 36px; text-align: center;
  box-shadow: 0 2px 12px rgba(26,43,72,0.06);
}
.gs-icon {
  width: 72px; height: 72px; border-radius: 18px; display: flex;
  align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 32px;
}
.gs-icon.games-icon { background: rgba(245,132,31,0.1); color: #F5841F; }
.gs-icon.stories-icon { background: rgba(142,68,173,0.1); color: #8E44AD; }
.gs-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.gs-card p { font-size: 15px; color: #5A6A7E; margin-bottom: 20px; line-height: 1.6; }

/* ============================================================
   GALLERY — Teacher Cards Grid
   ============================================================ */
.teacher-cards-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
@media (max-width: 1024px) {
  .teacher-cards-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .teacher-cards-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .teacher-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
.teacher-card-item {
  background: #fff; border-radius: 14px; padding: 24px 16px; text-align: center;
  box-shadow: 0 2px 12px rgba(26,43,72,0.05); cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.teacher-card-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,43,72,0.1); }
.teacher-card-avatar {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 3px solid #1A2B48; margin: 0 auto 12px; display: block;
}
.teacher-card-initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1A2B48, #28466F);
  color: #fff; font-size: 26px; font-weight: 700;
}
.teacher-card-name {
  font-size: 15px; font-weight: 700; color: #1A2B48; margin-bottom: 4px;
}
.teacher-card-count {
  font-size: 12px; color: #5A6A7E; font-weight: 500;
}

/* ============================================================
   SCHOOLS — Branch Cards
   ============================================================ */
.school-branch-card {
  background: #F4F7F9; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
  border: 1px solid #E8EDF2;
}
.school-branch-card:hover { border-color: #D0D7DE; }

/* ============================================================
   SCHOOLS — Horizontal Cards (matching Flutter app layout)
   ============================================================ */
.school-hcard {
  display: flex; border-radius: 22px; overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, #fff, #F8FBFF, #F3F8FF);
  border: 1px solid #D7E1EE; box-shadow: 0 4px 16px rgba(26,43,72,0.07);
  transition: transform 0.15s, box-shadow 0.15s; margin-bottom: 12px;
}
.school-hcard:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,43,72,0.12); }
.school-hcard-accent { width: 6px; flex-shrink: 0; background: #F5841F; border-radius: 22px 0 0 22px; }
.school-hcard-accent.flagged { background: #EF4444; }
.school-hcard-accent.agent { background: #0EA5E9; }
.school-hcard-photo {
  width: 108px; min-height: 124px; flex-shrink: 0; display: flex;
  align-items: center; justify-content: center; background: #F4F7F9; overflow: hidden;
}
.school-hcard-content { flex: 1; padding: 14px; display: flex; flex-direction: column; min-width: 0; }
.school-hcard-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.school-hcard-stars { margin-left: auto; }
.school-hcard-name { font-size: 16px; font-weight: 900; color: #1A2B48; line-height: 1.15; margin-bottom: 4px; }
.school-hcard-places { font-size: 12px; color: #5A6A7E; font-weight: 700; margin-bottom: 6px; }
.school-hcard-bottom { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.school-hcard-meta {
  display: inline-flex; align-items: center; gap: 3px; font-size: 11px;
  font-weight: 800; color: #1A2B48; background: rgba(26,43,72,0.06);
  padding: 3px 8px; border-radius: 999px;
}
.school-hcard-meta .material-icons { font-size: 13px; }
.school-hcard-warning { font-size: 11px; color: #DC2626; font-weight: 800; flex: 1; text-align: right; }
.school-hcard-bar { height: 4px; border-radius: 999px; background: #E8EDF2; margin-top: 8px; overflow: hidden; }
.school-hcard-bar-fill { height: 100%; border-radius: 999px; transition: width 0.3s; }

.school-tag {
  display: inline-block; font-size: 10px; font-weight: 900; letter-spacing: 0.3px;
  padding: 3px 8px; border-radius: 999px;
}
.school-tag-blue { color: #1A2B48; background: rgba(26,43,72,0.1); border: 1px solid rgba(26,43,72,0.18); }
.school-tag-sky { color: #0284C7; background: rgba(14,165,233,0.1); border: 1px solid rgba(14,165,233,0.18); }
.school-tag-red { color: #DC2626; background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.18); }

@media (max-width: 600px) {
  .school-hcard-photo { width: 80px; min-height: 100px; }
  .school-hcard-name { font-size: 14px; }
  .school-hcard-content { padding: 10px; }
}

/* ============================================================
   SCHOOLS — Detail Modal
   ============================================================ */
.detail-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.detail-photo {
  width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex-shrink: 0;
}
.detail-photo-placeholder {
  display: flex; align-items: center; justify-content: center; background: #F4F7F9;
}
.detail-photo-placeholder .material-icons { font-size: 30px; color: #1A2B48; }
.detail-header-info { flex: 1; }
.detail-warning {
  display: flex; align-items: flex-start; gap: 8px; background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.22); border-radius: 14px; padding: 12px 16px;
  font-size: 12px; color: #DC2626; font-weight: 800; margin-bottom: 16px;
}
.detail-warning .material-icons { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.detail-section { margin-top: 16px; }
.detail-section-title {
  font-size: 15px; font-weight: 900; color: #1A2B48; margin-bottom: 10px;
  display: flex; align-items: center; gap: 6px;
}
.detail-section-title .material-icons { font-size: 18px; }
.detail-info-row { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; }
.detail-info-label { width: 72px; font-size: 12px; font-weight: 900; color: #1A2B48; flex-shrink: 0; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-chip {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px;
  border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none;
  background: #F4F7F9; color: #1A2B48; border: 1px solid #E8EDF2;
  transition: background 0.15s;
}
.detail-chip:hover { background: #E8EDF2; }
.detail-chip .material-icons { font-size: 16px; color: #1A2B48; }
a.detail-chip[href^="https://wa.me"] { color: #059669; border-color: #D1FAE5; background: #ECFDF5; }
a.detail-chip[href^="https://wa.me"] .material-icons { color: #059669; }
a.detail-chip[href^="mailto"] { color: #2563EB; border-color: #DBEAFE; background: #EFF6FF; }
a.detail-chip[href^="mailto"] .material-icons { color: #2563EB; }

/* Branch tiles */
.branch-tile {
  background: #fff; border: 1px solid #E8EDF2; border-radius: 14px;
  padding: 14px; margin-bottom: 10px;
}
.branch-tile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.branch-tile-name { font-size: 14px; font-weight: 900; color: #1A2B48; }
.branch-tile-row {
  display: flex; align-items: center; gap: 4px; font-size: 12px;
  color: #5A6A7E; font-weight: 600; margin-bottom: 4px;
}
.branch-tile-row .material-icons { font-size: 14px; color: #5A6A7E; }
.branch-address { color: #1A2B48; text-decoration: underline; font-weight: 700; }
.branch-tile-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.branch-reviews-divider { border-top: 1px solid #E8EDF2; margin: 12px 0 8px; }

/* Review cards */
.review-card {
  background: #F8FBFF; border: 1px solid #DCE6F2; border-radius: 14px;
  padding: 12px; margin-bottom: 8px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.review-card:hover { border-color: #B0C4DE; background: #F0F6FF; }
.review-card-sm { padding: 10px; margin-bottom: 6px; }
.review-card-stars { margin-bottom: 0; }
.review-card-name { font-size: 14px; font-weight: 900; color: #1A2B48; }
.review-card-date { font-size: 11px; color: #8896A6; font-weight: 700; margin-left: 6px; }
.review-card-comment { font-size: 13px; color: #3A4B60; line-height: 1.5; margin-top: 4px; font-weight: 600; }
.review-card-details { display: none; margin-top: 8px; }
.review-card.expanded .review-card-details { display: block; }
.review-card-expand {
  position: absolute; top: 10px; right: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(26,43,72,0.06); display: flex;
  align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.review-card-expand .material-icons { font-size: 16px; color: #5A6A7E; }
.review-card.expanded .review-card-expand { transform: rotate(180deg); }
.review-avg-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(245,166,35,0.1); border: 1px solid rgba(245,166,35,0.25);
  font-size: 13px; font-weight: 800; color: #1A2B48;
}

/* ============================================================
   GALLERY — Video Card Metadata
   ============================================================ */
.gallery-card-meta {
  display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 16px;
  font-size: 12px; color: #5A6A7E; font-weight: 500;
}
.gallery-card-meta span {
  display: inline-flex; align-items: center; gap: 4px;
}
.video-thumb-placeholder {
  width: 100%; height: 170px; background: linear-gradient(135deg, #1A2B48, #28466F);
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px 14px 0 0;
}
.gallery-card-meta .material-icons {
  font-size: 14px; color: #28466F;
}

/* Gallery type badge (photo/video) */
.gallery-type-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 8px; font-size: 11px;
  font-weight: 700; backdrop-filter: blur(6px);
}
.gallery-type-badge.video {
  background: rgba(147,51,234,0.85); color: #fff;
}
.gallery-type-badge.photo {
  background: rgba(37,99,235,0.85); color: #fff;
}
.gallery-type-badge .material-icons { font-size: 14px; }

/* ============================================================
   COURSE — Delivery Cards (App-style gradient colors)
   ============================================================ */
.reg-delivery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
.reg-delivery-card {
  border-radius: 24px; padding: 14px 10px; text-align: center;
  cursor: pointer; transition: all 0.22s; position: relative;
  border: 2px solid transparent;
}
.reg-delivery-card:hover { transform: translateY(-2px); }

/* Per-type gradient backgrounds — unselected (light tint) */
.reg-delivery-card[data-key="flexible"] {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(6,182,212,0.08));
  border-color: rgba(16,185,129,0.30);
}
.reg-delivery-card[data-key="inclass"] {
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(56,189,248,0.08));
  border-color: rgba(37,99,235,0.30);
}
.reg-delivery-card[data-key="private"] {
  background: linear-gradient(135deg, rgba(147,51,234,0.12), rgba(236,72,153,0.08));
  border-color: rgba(147,51,234,0.30);
}
.reg-delivery-card[data-key="recorded"] {
  background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(249,115,22,0.08));
  border-color: rgba(245,158,11,0.30);
}

/* Per-type selected (full gradient) */
.reg-delivery-card[data-key="flexible"].selected {
  background: linear-gradient(135deg, #10B981, #06B6D4);
  border-color: #fff; box-shadow: 0 6px 20px rgba(16,185,129,0.28);
}
.reg-delivery-card[data-key="inclass"].selected {
  background: linear-gradient(135deg, #2563EB, #38BDF8);
  border-color: #fff; box-shadow: 0 6px 20px rgba(37,99,235,0.28);
}
.reg-delivery-card[data-key="private"].selected {
  background: linear-gradient(135deg, #9333EA, #EC4899);
  border-color: #fff; box-shadow: 0 6px 20px rgba(147,51,234,0.28);
}
.reg-delivery-card[data-key="recorded"].selected {
  background: linear-gradient(135deg, #F59E0B, #F97316);
  border-color: #fff; box-shadow: 0 6px 20px rgba(245,158,11,0.28);
}

.reg-delivery-icon {
  width: 36px; height: 36px; border-radius: 10px; margin: 0 auto 6px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.reg-delivery-card[data-key="flexible"] .reg-delivery-icon { background: rgba(16,185,129,0.18); color: #10B981; }
.reg-delivery-card[data-key="inclass"] .reg-delivery-icon { background: rgba(37,99,235,0.18); color: #2563EB; }
.reg-delivery-card[data-key="private"] .reg-delivery-icon { background: rgba(147,51,234,0.18); color: #9333EA; }
.reg-delivery-card[data-key="recorded"] .reg-delivery-icon { background: rgba(245,158,11,0.18); color: #F59E0B; }

.reg-delivery-card.selected .reg-delivery-icon {
  background: rgba(255,255,255,0.20); color: #fff;
}
.reg-delivery-icon .material-icons { font-size: 18px; }

.reg-delivery-label {
  font-size: 15px; font-weight: 900; margin-bottom: 2px; color: #1A2B48;
}
.reg-delivery-card.selected .reg-delivery-label { color: #fff; }
.reg-delivery-sublabel {
  font-size: 11px; color: #5A6A7E; line-height: 1.2; font-weight: 600;
}
.reg-delivery-card.selected .reg-delivery-sublabel { color: rgba(255,255,255,0.85); }
.reg-delivery-price {
  font-size: 13px; font-weight: 800; color: #F5841F; margin-top: 6px;
}
.reg-delivery-card.selected .reg-delivery-price { color: #fff; }

/* ============================================================
   COURSE DETAIL — Instructors
   ============================================================ */
.instructor-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.instructor-card {
  display: flex; align-items: center; gap: 10px;
  background: #F4F7F9; border-radius: 10px; padding: 10px 12px;
}
.instructor-avatar {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
  border: 2px solid #1A2B48; flex-shrink: 0;
}
.instructor-initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1A2B48, #28466F);
  color: #fff; font-size: 14px; font-weight: 700;
}
.instructor-name { font-size: 13px; font-weight: 700; color: #1A2B48; }
.instructor-about { font-size: 11px; color: #5A6A7E; margin-top: 1px; line-height: 1.3; }

/* ============================================================
   COURSE REGISTRATION — Course Header
   ============================================================ */
.reg-course-header {
  display: flex; gap: 16px; align-items: center;
  background: #F4F7F9; border-radius: 12px; padding: 16px;
  margin-bottom: 24px;
}
.reg-course-thumb {
  width: 80px; height: 80px; border-radius: 10px; object-fit: cover; flex-shrink: 0;
}
.reg-course-info h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }

/* ============================================================
   COURSE REGISTRATION — Sections
   ============================================================ */
.reg-section { margin-bottom: 14px; }
.reg-section-title {
  font-size: 14px; font-weight: 800; color: #1A2B48;
  display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.reg-section-title .material-icons { font-size: 18px; color: #28466F; }
.reg-section-subtitle { font-size: 12px; color: #5A6A7E; margin-bottom: 10px; }

/* ============================================================
   COURSE REGISTRATION — Delivery Cards
   ============================================================ */
.reg-delivery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px;
}
.reg-delivery-card {
  background: #fff; border: 2px solid #D0D7DE; border-radius: 12px;
  padding: 12px 10px; text-align: center; cursor: pointer;
  transition: all 0.2s;
}
.reg-delivery-card:hover { border-color: #28466F; }
.reg-delivery-card.selected {
  border-color: #1A2B48; background: #1A2B48; color: #fff;
  box-shadow: 0 4px 16px rgba(26,43,72,0.2);
}
.reg-delivery-icon {
  width: 40px; height: 40px; border-radius: 10px; margin: 0 auto 8px;
  background: rgba(40,70,111,0.1); display: flex; align-items: center;
  justify-content: center; color: #28466F; transition: all 0.2s;
}
.reg-delivery-card.selected .reg-delivery-icon {
  background: rgba(255,255,255,0.2); color: #fff;
}
.reg-delivery-label { font-size: 13px; font-weight: 800; margin-bottom: 2px; color: #1A2B48; }
.reg-delivery-sublabel { font-size: 11px; color: #5A6A7E; line-height: 1.3; }
.reg-delivery-card.selected .reg-delivery-sublabel { color: rgba(255,255,255,0.7); }
.reg-delivery-price { font-size: 14px; font-weight: 800; color: #F5841F; margin-top: 6px; }
.reg-delivery-card.selected .reg-delivery-price { color: #F5841F; }

/* ============================================================
   COURSE — Selected Summary (gradient-colored per type)
   ============================================================ */
.reg-selected-summary {
  display: flex; align-items: flex-start; gap: 10px;
  border-radius: 14px; padding: 12px 14px; margin-bottom: 10px;
  transition: all 0.22s;
}
/* Default (flexible) */
.reg-selected-summary[data-key="flexible"] {
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(6,182,212,0.06));
  border: 1px solid rgba(16,185,129,0.25);
}
.reg-selected-summary[data-key="inclass"] {
  background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(56,189,248,0.06));
  border: 1px solid rgba(37,99,235,0.25);
}
.reg-selected-summary[data-key="private"] {
  background: linear-gradient(135deg, rgba(147,51,234,0.12), rgba(236,72,153,0.06));
  border: 1px solid rgba(147,51,234,0.25);
}
.reg-selected-summary[data-key="recorded"] {
  background: linear-gradient(135deg, rgba(245,158,11,0.12), rgba(249,115,22,0.06));
  border: 1px solid rgba(245,158,11,0.25);
}
.reg-selected-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.reg-selected-summary[data-key="flexible"] .reg-selected-icon {
  background: linear-gradient(135deg, #10B981, #06B6D4); color: #fff;
}
.reg-selected-summary[data-key="inclass"] .reg-selected-icon {
  background: linear-gradient(135deg, #2563EB, #38BDF8); color: #fff;
}
.reg-selected-summary[data-key="private"] .reg-selected-icon {
  background: linear-gradient(135deg, #9333EA, #EC4899); color: #fff;
}
.reg-selected-summary[data-key="recorded"] .reg-selected-icon {
  background: linear-gradient(135deg, #F59E0B, #F97316); color: #fff;
}
.reg-selected-icon .material-icons { font-size: 20px; }
.reg-selected-info { flex: 1; }
.reg-selected-label { font-size: 14px; font-weight: 800; color: #1A2B48; }
.reg-selected-sublabel { font-size: 12px; color: #5A6A7E; font-weight: 600; }
.reg-selected-price-pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 800; margin-top: 3px;
}
.reg-selected-summary[data-key="flexible"] .reg-selected-price-pill {
  background: rgba(16,185,129,0.15); color: #059669;
}
.reg-selected-summary[data-key="inclass"] .reg-selected-price-pill {
  background: rgba(37,99,235,0.15); color: #2563EB;
}
.reg-selected-summary[data-key="private"] .reg-selected-price-pill {
  background: rgba(147,51,234,0.15); color: #9333EA;
}
.reg-selected-summary[data-key="recorded"] .reg-selected-price-pill {
  background: rgba(245,158,11,0.15); color: #D97706;
}
.reg-selected-access {
  font-size: 12px; color: #5A6A7E; font-weight: 500; margin-top: 4px;
}
.reg-selected-pitch {
  font-size: 13px; color: #3A4B60; line-height: 1.55; font-weight: 600;
  margin-top: 8px;
}
.reg-selected-bestfor {
  font-size: 13px; font-weight: 900; color: #1A2B48; margin-top: 6px;
}

/* ============================================================
   COURSE — Delivery Explanation (app-style)
   ============================================================ */
.reg-explanation {
  background: #fff; border: 1px solid #E8EDF2; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 14px; font-size: 13px;
  color: #3A4B60; line-height: 1.6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.reg-explanation-text { font-weight: 700; line-height: 1.5; margin-bottom: 6px; font-size: 13px; }
.reg-explanation-best { color: #1A2B48; font-weight: 800; margin-bottom: 8px; font-size: 12px; }
.reg-explanation-features {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.reg-feature-tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px; font-size: 11px;
  font-weight: 700; background: #F4F7F9; border: 1px solid #D0D7DE;
  color: #1A2B48;
}
.reg-feature-tag .material-icons { font-size: 14px; }
/* Per-type feature tag tint */
.reg-feature-tag[data-tone="flexible"] { background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.25); color: #065F46; }
.reg-feature-tag[data-tone="flexible"] .material-icons { color: #10B981; }
.reg-feature-tag[data-tone="inclass"] { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.25); color: #1E3A5F; }
.reg-feature-tag[data-tone="inclass"] .material-icons { color: #2563EB; }
.reg-feature-tag[data-tone="private"] { background: rgba(147,51,234,0.08); border-color: rgba(147,51,234,0.25); color: #581C87; }
.reg-feature-tag[data-tone="private"] .material-icons { color: #9333EA; }
.reg-feature-tag[data-tone="recorded"] { background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.25); color: #92400E; }
.reg-feature-tag[data-tone="recorded"] .material-icons { color: #F59E0B; }

/* ============================================================
   COURSE — Promo Badges (with icons)
   ============================================================ */
#promoBadges {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px;
}
.promo-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700;
}
.promo-badge .material-icons { font-size: 14px; }
.promo-badge-original {
  background: #F4F7F9; color: #5A6A7E; text-decoration: line-through;
  border: 1px solid #D0D7DE;
}
.promo-badge-original .material-icons { color: #5A6A7E; }
.promo-badge-discount {
  background: rgba(39,174,96,0.1); color: #059669;
  border: 1px solid rgba(39,174,96,0.3);
}
.promo-badge-discount .material-icons { color: #27AE60; }
.promo-badge-total {
  background: #27AE60; color: #fff;
  border: 1px solid #27AE60;
}
.promo-badge-total .material-icons { color: #fff; }

/* ============================================================
   COURSE — Gender Pills (app-style gradients)
   ============================================================ */
.gender-pills {
  display: flex; gap: 8px;
}
.gender-pill {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 5px; padding: 9px; border-radius: 12px; font-size: 13px;
  font-weight: 800; border: 2px solid #D0D7DE; background: #fff;
  color: #1A2B48; transition: all 0.2s; cursor: pointer;
}
.gender-pill:hover { border-color: #28466F; }
/* Male — blue gradient when selected */
.gender-pill[data-value="male"].active {
  background: linear-gradient(135deg, #1A2B48, #2E4A78);
  border-color: #00D4FF; color: #fff;
  box-shadow: 0 4px 16px rgba(26,43,72,0.22);
}
/* Female — pink gradient when selected */
.gender-pill[data-value="female"].active {
  background: linear-gradient(135deg, #EC4899, #F472B6);
  border-color: #EC4899; color: #fff;
  box-shadow: 0 4px 16px rgba(236,72,153,0.22);
}
.gender-pill .material-icons { font-size: 18px; }

/* ============================================================
   COURSE REGISTRATION — Info Banner
   ============================================================ */
.form-info-banner {
  display: flex; align-items: center; gap: 6px;
  background: rgba(40,70,111,0.06); border-radius: 8px;
  padding: 8px 12px; font-size: 12px; color: #5A6A7E;
  font-weight: 500; margin-bottom: 12px;
}
.form-info-banner .material-icons { font-size: 16px; color: #28466F; }

/* ============================================================
   BUTTON — Link style
   ============================================================ */
.btn-link {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit;
}

/* ============================================================
   BUTTON — Large
   ============================================================ */
.btn-lg {
  padding: 14px 32px; font-size: 16px; border-radius: 12px;
}

/* ============================================================
   COURSE — Private Study Mode Section
   ============================================================ */
.reg-private-section {
  background: #F4F7F9; border: 1px solid #E8EDF2; border-radius: 12px;
  padding: 12px 14px; margin-bottom: 12px;
}
.reg-private-section .reg-section-title { margin-bottom: 10px; }

/* ============================================================
   COURSE — Description & Instructors (inside modal)
   ============================================================ */
.reg-modal-header {
  display: flex; gap: 14px; align-items: center;
  margin-bottom: 16px;
}
.reg-course-thumb-sm {
  width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex-shrink: 0;
}
.reg-desc-section { margin-bottom: 16px; }
.reg-desc-section h3 {
  font-size: 15px; font-weight: 800; color: #1A2B48; margin-bottom: 6px;
}
.reg-desc-text {
  font-size: 13px; color: #3A4B60; line-height: 1.6;
}
.reg-desc-short { }
.reg-desc-full { display: none; }

/* ============================================================
   COLLAPSIBLE (Instructors)
   ============================================================ */
.reg-collapsible {
  margin-bottom: 16px; border: 1px solid #E8EDF2; border-radius: 14px;
  background: #F9FBFC; overflow: hidden;
}
.reg-collapsible summary {
  padding: 12px 16px; cursor: pointer; list-style: none;
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 800; color: #1A2B48;
  transition: background 0.2s;
}
.reg-collapsible summary::-webkit-details-marker { display: none; }
.reg-collapsible summary::after {
  content: 'expand_more'; font-family: 'Material Icons'; font-size: 20px;
  margin-left: auto; color: #5A6A7E; transition: transform 0.2s;
}
.reg-collapsible[open] summary::after { transform: rotate(180deg); }
.reg-collapsible summary:hover { background: #F0F4F7; }
.reg-collapsible summary .material-icons { font-size: 20px; color: #28466F; }
.reg-collapsible .instructor-list {
  padding: 0 16px 14px;
}

/* ============================================================
   SUCCESS MODAL
   ============================================================ */
.success-icon-wrap {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, #10B981, #06B6D4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
}
.success-icon-wrap .material-icons { font-size: 48px; color: #fff; }

/* ============================================================
   HOME RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero h1 { font-size: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero-content { padding: 60px 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons a { text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item h3 { font-size: 32px; }
  .actions-grid { grid-template-columns: repeat(2, 1fr); }
  .gs-grid { grid-template-columns: 1fr; }
  .section-block { padding: 56px 0; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .actions-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .action-card { padding: 20px 14px; }
}
