/* ============================================
   ProSanta School — Single Stylesheet
   Premium festive / warm / professional
   ============================================ */

/* --- Custom Properties --- */
:root {
  --red: #CF1B15;
  --red-dark: #a81610;
  --red-deep: #7f1d1d;
  --navy: #1a5c3a;
  --navy-light: #227a4d;
  --green: #22c55e;
  --green-dark: #16a34a;
  --gold: #d4a84b;
  --cream: #fdf8f0;
  --text: #2d2d2d;
  --text-mid: #555;
  --text-light: #888;
  --border: #e8e0d8;
  --bg: #fff;
  --bg-warm: #faf6f1;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 14px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--red-dark); }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--text); }
h1 { font-size: 2.5rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* --- Top Bar --- */
.top-bar {
  background: #0f172a;
  color: rgba(255,255,255,0.7);
  font-size: 0.8rem;
  padding: 6px 24px;
  letter-spacing: 0.02em;
}
.top-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}
.top-bar a { color: rgba(255,255,255,0.9); font-weight: 600; }
.top-bar a:hover { color: #fff; }
.top-bar-location { margin-right: auto; }

/* --- Navigation --- */
.nav-wrap {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav-logo img { max-height: 60px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-menu a:hover { color: var(--red); background: rgba(207,27,21,0.04); }
.nav-menu a.active { color: var(--red); font-weight: 600; }
.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: 10px 26px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 12px rgba(207,27,21,0.25);
  transition: all 0.25s ease !important;
}
.nav-cta:hover {
  background: var(--red-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(207,27,21,0.35) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- Hero --- */
.hero {
  background: linear-gradient(160deg, #1a4a2e 0%, #0f3321 40%, #0a2618 100%);
  color: #fff;
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(34,120,60,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212,168,75,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Snowfall */
.snowfall {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 1;
}
.snowflake {
  position: absolute;
  top: -10px;
  background: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: snowfall linear infinite;
}
@keyframes snowfall {
  0%   { opacity: 0; transform: translateX(0) rotate(0deg); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateX(60px) rotate(360deg); top: 100%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 600;
}
.hero h1 {
  color: #fff;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}
.hero-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}
.hero-sub em { color: rgba(255,255,255,0.85); font-style: italic; }
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-banner {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.08);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  text-align: center;
  padding: 13px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 12px rgba(207,27,21,0.3);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(207,27,21,0.4);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 12px rgba(15,23,42,0.3);
}
.btn-navy:hover {
  background: var(--navy-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15,23,42,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: #fff;
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}
.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 8px rgba(34,197,94,0.3);
}
.btn-green:hover {
  background: var(--green-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 38px; font-size: 1rem; }

/* --- Credibility Strip --- */
.cred-strip {
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.cred-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.cred-item { text-align: center; }
.cred-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1.2;
}
.cred-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 600;
}
.cred-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* --- Sections --- */
.section { padding: 80px 0; }
.section-courses { background: var(--bg); }
.section-venue { background: var(--bg-warm); }
.section-cta {
  background: linear-gradient(160deg, #1a4a2e 0%, #0a2618 100%);
  color: #fff;
  padding: 80px 0;
  position: relative;
}
.section-cta h2 { color: #fff; }
.cta-sub { color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 28px; font-size: 1.05rem; }
.section-alt { background: var(--bg-warm); }
.section-red { background: var(--cream); }

.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--text-mid); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

/* --- Course Cards --- */
.course-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}
.course-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.course-card-header {
  padding: 32px 28px 28px;
  text-align: center;
  position: relative;
}
.course-card-header.red {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
}
.course-card-header.navy {
  background: linear-gradient(160deg, var(--navy) 0%, #0e3d24 100%);
  color: #fff;
}
.card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}
.course-card-header h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.card-dates {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
}
.course-card-body { padding: 28px; }
.course-card-body .price {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--red);
  text-align: center;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.02em;
}
.card-features {
  margin-bottom: 24px;
}
.card-features li {
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.card-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}
.course-card-buttons { display: flex; flex-direction: column; gap: 10px; }
.course-card-body .date-info {
  text-align: center;
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* --- Venue --- */
.venue-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.venue-main-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.venue-info h2 { margin-bottom: 8px; }
.venue-address {
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

/* --- Course Detail Pages --- */
.course-banner {
  text-align: center;
  padding: 56px 20px;
  color: #fff;
}
.course-banner.red-bg { background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%); }
.course-banner.navy-bg { background: linear-gradient(160deg, var(--navy) 0%, #0e3d24 100%); }
.course-banner h1 { color: #fff; margin-bottom: 8px; }
.course-banner .banner-meta { font-size: 1.1rem; opacity: 0.9; }
.course-banner .banner-meta span { margin: 0 12px; }

.course-intro { max-width: 800px; margin: 0 auto; font-size: 1.1rem; color: var(--text-mid); }

/* Course At-a-Glance */
.glance-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.glance-main h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.glance-main p {
  color: var(--text-mid);
  line-height: 1.75;
  font-size: 1.02rem;
}
.glance-photo {
  margin-top: 24px;
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  max-height: 300px;
  box-shadow: var(--shadow-md);
}
.glance-curriculum {
  background: var(--bg-warm);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.glance-curriculum h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text);
}
.glance-topics {
  list-style: none;
  margin: 0 0 0 0;
  padding: 0;
}
.glance-topics li {
  padding: 7px 0 7px 24px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.glance-topics li:last-child { border-bottom: none; }
.glance-topics li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.85rem;
}

/* Info Boxes */
.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.info-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
}
.info-box h4 { color: var(--red); margin-bottom: 8px; font-family: 'Open Sans', sans-serif; font-weight: 700; }
.info-box p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 0; }

/* Topics Grid */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.topic-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  font-size: 0.95rem;
}
.topic-item .check { color: var(--green); font-weight: 700; flex-shrink: 0; font-size: 1.1rem; }

/* Schedule Table */
.schedule-section { max-width: 900px; margin: 0 auto; }
.schedule-section h3 { color: var(--red); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--cream); }
.schedule-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.schedule-table th {
  background: var(--red);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
}
.schedule-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.schedule-table tr:hover td { background: var(--cream); }
.schedule-table .topic-name { font-weight: 600; color: var(--text); }

/* Venue Gallery & Map */
.venue-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.venue-gallery img { border-radius: var(--radius); width: 100%; height: 200px; object-fit: cover; }
.venue-map { border-radius: var(--radius); overflow: hidden; margin-top: 20px; }
.venue-map iframe { width: 100%; height: 350px; border: none; }

/* Cancellation Policy */
.policy-box {
  background: var(--cream);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 800px;
  margin: 0 auto;
}

/* --- Instructor Cards --- */
.instructor-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.instructor-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--border);
}
.instructor-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 20%;
}
.instructor-card-body { padding: 20px; }
.instructor-card-body h3 { margin-bottom: 4px; }
.instructor-card-body .role { color: var(--red); font-weight: 600; font-size: 0.9rem; margin-bottom: 12px; }
.instructor-card-body p { color: var(--text-mid); font-size: 0.9rem; }

/* Instructor Full Bio Layout */
.instructor-bio {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.instructor-bio:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.instructor-bio img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.instructor-bio-text h3 { margin-bottom: 4px; }
.instructor-bio-text .role {
  color: var(--red);
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 16px;
}
.instructor-bio-text p {
  color: var(--text-mid);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* --- Registration Form --- */
.register-section { max-width: 700px; margin: 0 auto; }
.course-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.course-option {
  border: 2px solid #ddd;
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.course-option:hover { border-color: var(--red); }
.course-option.selected {
  border-color: var(--red);
  background: var(--cream);
  box-shadow: 0 0 0 3px rgba(207,27,21,0.12);
}
.course-option h4 { margin-bottom: 4px; }
.course-option .course-date { font-size: 0.85rem; color: #666; margin-bottom: 8px; }
.course-option .course-price { font-size: 1.4rem; font-weight: 700; color: var(--red); font-family: 'Playfair Display', serif; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  transition: border-color 0.25s ease;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(207,27,21,0.1);
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; }
.form-error { color: var(--red); font-size: 0.85rem; margin-top: 4px; display: none; }

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
  padding: 18px 24px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  background: #fff;
  transition: background 0.2s ease;
}
.faq-question:hover { background: var(--cream); }
.faq-question .arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--red);
}
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-mid);
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  padding: 0 24px 18px;
  max-height: 500px;
}

/* --- Footer --- */
.footer {
  background: #0f172a;
  color: #aaa;
  padding: 56px 24px 24px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { }
.footer-logo {
  max-height: 50px;
  margin-bottom: 16px;
  filter: brightness(10);
}
.footer-brand p { font-size: 0.88rem; color: #888; line-height: 1.6; }
.footer h4 {
  color: #fff;
  margin-bottom: 14px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.footer a { color: #999; font-size: 0.9rem; }
.footer a:hover { color: var(--red); }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: #666;
}

/* --- Legal Pages --- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin-top: 30px; margin-bottom: 12px; }
.legal-content h3 { font-size: 1.2rem; margin-top: 20px; margin-bottom: 8px; }
.legal-content ul { margin-left: 20px; margin-bottom: 16px; list-style: disc; }
.legal-content li { margin-bottom: 6px; color: var(--text-mid); }

/* --- Success / Cancel --- */
.result-page {
  text-align: center;
  padding: 80px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.result-icon { font-size: 4rem; margin-bottom: 20px; }
.result-page h1 { margin-bottom: 16px; }
.result-page p { color: var(--text-mid); max-width: 500px; margin: 0 auto 24px; }

/* --- 404 --- */
.page-404 { text-align: center; padding: 100px 20px; }
.page-404 h1 { font-size: 6rem; color: var(--red); margin-bottom: 0; }
.page-404 h2 { margin-bottom: 16px; }

/* --- Utility --- */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .top-bar-inner { font-size: 0.75rem; gap: 12px; }
  .top-bar-email { display: none; }

  .nav-inner { height: 64px; }
  .nav-logo img { max-height: 48px; }
  .hamburger { display: flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 4px;
    border-top: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { width: 100%; padding: 12px 16px; }

  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-content { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-banner { max-width: 400px; margin: 0 auto; }

  .cred-items { flex-wrap: wrap; gap: 20px; }
  .cred-divider { display: none; }

  .course-cards { grid-template-columns: 1fr; max-width: 420px; }
  .venue-flex { grid-template-columns: 1fr; gap: 24px; }
  .venue-main-img { height: 220px; }
  .glance-grid { grid-template-columns: 1fr; gap: 24px; }
  .glance-details { grid-template-columns: 1fr; gap: 12px; }
  .glance-curriculum { padding: 24px 20px; }
  .info-boxes { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .course-selector { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin: 0 auto 16px; }
  .venue-gallery { grid-template-columns: 1fr; }
  .schedule-table { font-size: 0.8rem; }
  .schedule-table th, .schedule-table td { padding: 8px 10px; }
  .instructor-cards { grid-template-columns: 1fr; max-width: 350px; margin: 0 auto; }
  .instructor-bio { grid-template-columns: 1fr; gap: 20px; }
  .instructor-bio img { height: 220px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero h1 { font-size: 3rem; }
  .hero-content { gap: 36px; }
  .hero-banner { max-width: 400px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu a { font-size: 0.85rem; padding: 8px 10px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
