/* ============================
   CSS Variables / Theme
   ============================ */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #f4f4f8;
  --text-primary: #1a1a2e;
  --text-secondary: #6c757d;
  --text-muted: #999;
  --accent-orange: #f5a623;
  --accent-blue: #5b5fc7;
  --border-color: #e8e8ef;
  --card-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  --card-active-border: #5b5fc7;
  --nav-bg: rgba(255, 255, 255, 0.98);
  --nav-text: #2d2d2d;
  --hero-overlay: rgba(0, 0, 0, 0.35);
  --cta-overlay: rgba(0, 0, 0, 0.45);
  --curve-fill: var(--bg-primary);
  --footer-text: #ffffff;
  --day-badge-light-bg: #f0f0f5;
  --day-badge-light-color: #333;
  --day-badge-muted-bg: #e8e6f0;
  --day-badge-muted-color: #7b73a0;
  --day-list-color: #888;
  --schedule-bg: #ffffff;
}

[data-theme="dark"] {
  --bg-primary: #121220;
  --bg-secondary: #1a1a2e;
  --bg-card: #1e1e32;
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b8;
  --text-muted: #707088;
  --border-color: #2a2a40;
  --card-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  --nav-bg: rgba(18, 18, 32, 0.95);
  --nav-text: #e0e0e8;
  --curve-fill: #121220;
  --day-badge-light-bg: #2a2a40;
  --day-badge-light-color: #ccc;
  --day-badge-muted-bg: #2a2a40;
  --day-badge-muted-color: #a89ec8;
  --day-list-color: #888;
  --schedule-bg: #121220;
}

/* ============================
   Reset & Base
   ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* ============================
   Navbar
   ============================ */
#mainNav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 12px 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  box-shadow: none;
}

#mainNav.scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border-color);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

#mainNav.scrolled .nav-link {
  color: var(--nav-text);
}

#mainNav.scrolled .theme-toggle {
  color: var(--nav-text);
}

/* [data-theme="dark"] #mainNav.scrolled {
  background: rgba(18, 18, 32, 0.98);
} */

[data-theme="dark"] #mainNav.scrolled .nav-link {
  color: #e0e0e8;
}

[data-theme="dark"] #mainNav.scrolled .theme-toggle {
  color: #e0e0e8;
}

.nav-logo {
  margin-top: 50px;
  margin-left: 20px;
  margin-right: 20px;
  /* background-color: white; */
  height: 50px;
  width: auto;
}

.navbar-nav {
  gap: 0;
}

.custom-scale-200 {
  transform: scale(1.8); /* Scales the element to 200% */
  display: inline-block;
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  padding: 7px 16px !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-orange);
}

.theme-toggle {
  font-size: 20px;
  cursor: pointer;
  border: none;
  background: none;
  color: #ffffff;
  padding: 8px 12px !important;
  transition: color 0.3s;
}

.theme-toggle:hover {
  color: var(--accent-orange);
}

.btn-login {
  background-color: var(--accent-orange);
  color: #fff;
  border-radius: 7px;
  padding: 9px 18px;
  font-size: 13px;
  /* font-weight: 600; */
  border: none;
  transition: all 0.3s ease;
  margin-left: 4px;
}

.btn-login:hover {
  background-color: #e09510;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNav.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(100,100,100,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="dark"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(200,200,200,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================
   Hero Section
   ============================ */
.hero-section {
  position: relative;
  width: 98%;
  height: 100vh;
  background: white;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin: 1%;
  margin-top: 10px;
  align-self: center;
  border-radius: 30px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(107, 101, 101, 0.49);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 120px;
  padding-left: 20px;
  width: 100%;
}

.hero-subtitle {
  color: var(--accent-orange);
  font-family: "Inter", sans-serif;
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: "Outfit", sans-serif;
  color: #ffffff;
  font-size: 110px;
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
  max-width: 1300px;
}

.hero-date {
  color: var(--accent-orange);
  font-family: "Inter", sans-serif;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0;
}

.hero-location {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.2px;
}

/* ============================
   Schedule / Three Days Section
   ============================ */
.schedule-section {
  padding: 80px 0 100px;
  background-color: var(--schedule-bg);
  transition: background-color 0.3s ease;
}

.section-title {
  /* font-family: "Playfair Display", serif; */
  font-size: 54px;
  font-weight: 1000;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
}

.day-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 35px 30px;
  height: 100%;
  border: 1px solid rgba(67, 87, 250, 0.2);
  transition: all 0.3s ease;
  position: relative;
  
}

.day-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.day-card-active {
  border: 3px solid #4357FA;
  box-shadow: 0 4px 30px rgba(91, 95, 199, 0.15);
}

.day-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.day-badge-light {
  background: var(--day-badge-light-bg);
  color: #4357FA;
}

.day-badge-primary {
  background: #4357FA;
  color: #ffffff;
}

.day-badge-muted {
  background: var(--day-badge-muted-bg);
  color: #4357FA
}

.day-date {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.day-venue {
  color: var(--accent-orange);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 18px;
}

.day-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.day-list li {
  color: var(--day-list-color);
  font-size: 14px;
  padding: 5px 0;
  position: relative;
  padding-left: 16px;
}

.day-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--day-list-color);
}

/* ============================
   CTA Section
   ============================ */
.cta-section {
  padding: 40px 0 80px;
  background-color: var(--bg-primary);
  transition: background-color 0.3s ease;
}

.cta-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  min-height: 300px;
}

.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(0, 0, 0, 0.45); */
}

.cta-content {
  position: relative;
  z-index: 2;
  padding: 60px 50px;
}

.cta-title {
  font-family: "Inter", sans-serif;
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.cta-text {
  color: white;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-cta-login {
  background-color: var(--accent-orange);
  color: #fff;
  border-radius: 8px;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
}

.btn-cta-login:hover {
  background-color: #e09510;
  color: #fff;
  transform: translateY(-1px);
}

.btn-cta-register {
  background-color: #ffffff;
  color: var(--accent-orange);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.3s;
}

.btn-cta-register:hover {
  background-color: #f8f8f8;
  color: var(--accent-orange);
  transform: translateY(-1px);
}

.social-section {
  text-align: right;
  padding-top: 20px;
}

.social-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.social-icons {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}

.social-icon {
  width:64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* ============================
   Footer
   ============================ */
.site-footer {
  background: linear-gradient(
    135deg,
    #4357FA 0%,
    #7b6cb5 30%,
    #b07aaa 55%,
    #d4944e 80%,
    #f5a623 100%
  );
  padding: 60px 0 0;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  margin-top: 0;
}

.footer-brand {
  font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact i {
  color: #f5a623;
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links li:first-child a {
  font-weight: 700;
}

.footer-links li a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.25);
  margin: 30px 0 20px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 25px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  margin: 0;
}

.scroll-top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.scroll-top-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================
   Responsive
   ============================ */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 58px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-date {
    font-size: 17px;
  }

  .hero-location {
    font-size: 13px;
  }

  .section-title {
    font-size: 36px;
  }

  .cta-content {
    padding: 40px 30px;
  }

  .social-section {
    text-align: left;
    padding-top: 30px;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 44px;
    line-height: 1;
  }

  .hero-subtitle {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .hero-date {
    font-size: 16px;
  }

  .hero-location {
    font-size: 12px;
  }

  .hero-content {
    padding-bottom: 60px;
    padding-left: 15px;
  }

  .section-title {
    font-size: 30px;
  }

  .cta-content {
    padding: 30px 20px;
  }

  .cta-title {
    font-size: 18px;
  }

  .footer-links {
    margin-bottom: 15px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .hero-date {
    font-size: 14px;
  }

  .hero-location {
    font-size: 11px;
  }

  .hero-content {
    padding-bottom: 50px;
  }

  .day-card {
    padding: 25px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================
   Inner Page Nav (solid background)
   ============================ */
#mainNav.nav-inner {
  position: relative;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border-color);
}

#mainNav.nav-inner .nav-link {
  color: var(--nav-text);
}

#mainNav.nav-inner .theme-toggle {
  color: var(--nav-text);
}

#mainNav.nav-inner .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(100,100,100,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="dark"] #mainNav.nav-inner .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(200,200,200,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================
   Inner Page Content
   ============================ */
.inner-page-content {
  padding: 60px 0 80px;
  background-color: var(--bg-primary);
  min-height: 60vh;
  transition: background-color 0.3s ease;
}

.page-header {
  text-align: center;
  margin-bottom: 50px;
}

.page-header h1 {
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards for inner pages */
.content-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 35px 30px;
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.content-card:hover {
  box-shadow: var(--card-shadow);
}

.content-card h2 {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.content-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.content-card p,
.content-card li {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.content-card a {
  color: #4357FA;
  text-decoration: none;
  font-weight: 500;
}

.content-card a:hover {
  text-decoration: underline;
}

/* Highlight card (e.g., fee card) */
.content-card-highlight {
  border: 2px solid #4357FA;
  box-shadow: 0 4px 30px rgba(67, 87, 250, 0.1);
}

.fee-amount {
  font-family: "Outfit", sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: #4357FA;
  line-height: 1;
}

.fee-amount small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: 8px;
}

/* Check list items */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.check-list li:last-child {
  border-bottom: none;
}

.check-icon {
  color: #12b76a;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-list .item-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
  display: block;
}

.check-list .item-desc {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* Sidebar sticky card */
.sidebar-card {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--border-color);
}

.sidebar-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.sidebar-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Primary button */
.btn-primary-custom {
  background-color: #4357FA;
  color: #fff;
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  width: 100%;
  justify-content: center;
}

.btn-primary-custom:hover {
  background-color: #3341d8;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(67, 87, 250, 0.3);
}

/* Warning banner */
.warning-banner {
  background: rgba(249, 176, 34, 0.1);
  border: 1px solid rgba(249, 176, 34, 0.3);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--accent-orange);
}

[data-theme="dark"] .warning-banner {
  background: rgba(249, 176, 34, 0.08);
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--text-muted);
  font-size: 12px;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  padding-top: 10px;
  line-height: 1.7;
}

/* Form styles */
.form-label-custom {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-label-custom .required {
  color: #f04438;
}

.form-label-custom .optional {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
}

.form-control-custom {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.form-control-custom::placeholder {
  color: var(--text-muted);
}

.form-control-custom:focus {
  outline: none;
  border-color: #4357FA;
  box-shadow: 0 0 0 3px rgba(67, 87, 250, 0.12);
}

.form-control-custom.is-invalid {
  border-color: #f04438;
}

.invalid-feedback-custom {
  font-size: 12px;
  color: #f04438;
  margin-top: 4px;
}

/* Success card */
.success-card {
  background: rgba(18, 183, 106, 0.08);
  border: 1px solid rgba(18, 183, 106, 0.2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.success-card .success-icon {
  font-size: 48px;
  color: #12b76a;
  margin-bottom: 16px;
}

.success-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #12b76a;
  margin-bottom: 8px;
}

.success-card p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* CMS Content within homepage layout */
.cms-content-homepage h1 {
  font-family: "Outfit", sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

.cms-content-homepage h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 28px;
  margin-bottom: 12px;
}

.cms-content-homepage h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.cms-content-homepage p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.cms-content-homepage a {
  color: #4357FA;
  text-decoration: underline;
}

.cms-content-homepage a:hover {
  color: #3341d8;
}

.cms-content-homepage ul,
.cms-content-homepage ol {
  color: var(--text-secondary);
  padding-left: 24px;
  margin-bottom: 16px;
}

.cms-content-homepage li {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.7;
}

.cms-content-homepage blockquote {
  border-left: 4px solid #4357FA;
  padding: 12px 20px;
  margin: 20px 0;
  background: var(--bg-card);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.cms-content-homepage img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 20px 0;
}

.cms-content-homepage table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.cms-content-homepage table th {
  background: var(--bg-card);
  padding: 10px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.cms-content-homepage table td {
  padding: 10px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.cms-content-homepage pre {
  background: #1a1a2e;
  color: #e8e8f0;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  overflow-x: auto;
  font-size: 13px;
}

.cms-content-homepage code {
  background: var(--bg-card);
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 4px;
}

.cms-content-homepage pre code {
  background: transparent;
  padding: 0;
}

/* ============================
   Schedule Detail Rows
   ============================ */
.schedule-list {
  padding: 0;
}

.schedule-row {
  display: flex;
  gap: 20px;
  padding: 16px 30px;
  border-bottom: 1px solid var(--border-color);
  align-items: flex-start;
}

.schedule-row:last-child {
  border-bottom: none;
}

.schedule-row-highlight {
  background: rgba(67, 87, 250, 0.04);
}

[data-theme="dark"] .schedule-row-highlight {
  background: rgba(67, 87, 250, 0.08);
}

.schedule-time {
  min-width: 90px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: #4357FA;
}

.schedule-row strong {
  font-size: 14px;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

/* ============================
   Sponsors / Partners Carousel
   ============================ */
.sponsors-section {
  padding: 60px 0 80px;
  background: var(--bg-secondary);
}

.sponsor-carousel {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.sponsor-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  will-change: transform;
}

.sponsor-slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-logo {
  max-width: 250px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.sponsor-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

[data-theme="dark"] .sponsor-logo {
  filter: grayscale(30%) brightness(1.2);
  opacity: 0.8;
}

[data-theme="dark"] .sponsor-logo:hover {
  filter: grayscale(0%) brightness(1.2);
  opacity: 1;
}

@media (max-width: 767px) {
  .sponsors-section {
    padding: 40px 0 60px;
  }
  .sponsor-track {
    gap: 40px;
  }
  .sponsor-logo {
    max-width: 160px;
    max-height: 60px;
  }
}

/* ============================
   Dark Mode Transition Helpers
   ============================ */
.day-card,
.schedule-section,
.cta-section,
#mainNav {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}
