/* File: css/style.css */
:root {
  --brand-blue: #1297d8;
  --brand-gold: #fee895;
  --text-dark: #1a1a1a;
  --white: #fff;
  --quote-bg: rgba(255, 232, 200, 0.5);
  --highlight-bg: #fee895;
}

/* GLOBAL */
body {
  margin: 0 !important;            /* ensure no other margins slip in */
  font-family: Arial, sans-serif;
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 30px 20px 40px;         /* one clean padding shorthand */
  line-height: 1.6;
}
h1,
h2 {
  text-align: center;
  margin: 0;
  color: var(--white);
}
h1 {
  font-size: 2.4rem;
}
h2.subheading {
  font-size: 2rem;
  font-style: italic;
  color: var(--brand-gold);
  margin: 10px 0 20px;
}

.tagline {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--brand-gold);
  margin: 3px 0 15px;
  letter-spacing: 0.5px;
}

.mobile-break {
  display: none;
}
@media (max-width: 768px) {
  .mobile-break {
    display: inline;
  }
}

/* HERO IMAGE */
.hero-img {
  display: block;
  margin: 30px auto 50px;
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* NAVBAR */


.navbar {
  position: -webkit-sticky; /* for older Safari */
  position: sticky;
  top: 0;                   /* sticks when its top would be < 0 */
  z-index: 1000;            /* stay above page content */
  background-color: #0b6fa4;
  padding: 12px 20px;
  text-align: center;
  /* optional styling to visually separate it when stuck */
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
   border-radius: 12px;
}

.navbar a.active {
  border: 2px solid #fee895;   /* yellow border */
  background-color: #fff;      /* white background */
  color: #0b6fa4;              /* your brand blue */
  font-weight: bold;
  border-radius: 6px;
  padding: 6px 12px;
}


.navbar a {
  color: var(--brand-gold);
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
}



.navbar a:hover {
  color: #fff;
}

.nav-link {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.nav-link.active {
  background-color: var(--brand-gold); /* or any standout color */
  color: var(--text-dark);
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


/* FOOTER */
footer {
  text-align: center;
  padding: 30px 20px;
  background-color: #0b6fa4;
  color: var(--white);
  font-size: 0.9rem;
  margin-top: 30px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
}
.footer-img {
  max-width: 320px;
  width: 80%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
}
.footer-links a {
  color: var(--brand-gold);
  text-decoration: none;
  margin: 0 10px;
}
.footer-links a:hover {
  color: #fff;
}

/* HOME CARDS */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin: 30px 0 60px;
}
.card {
  background: var(--brand-gold);
  color: var(--text-dark);
  border-radius: 16px;
  padding: 20px;
  width: 290px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
}
.card .icon {
  font-size: 40px;
  margin-bottom: 10px;
}
.card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}
.cards-grid {
  margin-top: 40px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .cards-grid {
    flex-direction: column;
    align-items: center;
  }
  .hero-img {
    width: 90%;
  }
  .footer-img {
    max-width: 90%;
  }
  
  .sticky-sponsor-btn {
    font-size: 14px;
    padding: 6px 4px;
    top: 60%;
    right: 0;
  }
}

/* ABOUT PAGE CONTENT */
.content {
  max-width: 900px;
  margin: 0 auto 60px;
  background: var(--white);
  color: var(--text-dark);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}
.content h2 {
  color: var(--brand-blue);
  margin-top: 0;
  font-size: 2rem;
}
blockquote {
  background: var(--quote-bg);
  border-left: 5px solid var(--brand-gold);
  margin: 20px 0;
  padding: 15px 20px;
  font-style: italic;
  color: var(--text-dark);
}
.content ul {
  list-style: none;
  margin: 20px 0;
  padding: 0;
}
.content ul li {
  position: relative;
  margin: 10px 0;
  padding-left: 1.6em;
  line-height: 1.4;
}
.content ul li::before {
  content: "⭐";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-blue);
}

/* Curriculum headings */
.curriculum-title {
  color: var(--brand-blue);
  margin: 30px 0 10px;
  text-align: center;
  font-size: 1.75rem;
}
.curriculum-credit {
  font-style: italic;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-dark);
}
copyright-note {
  font-size: 0.9rem;
  color: var(--text-dark);
  text-align: center;
  margin: 5px 0 30px;
}

/* CTA Button */
.cta-button, .btn {
  display: inline-block;
  padding: 12px 24px;
  background: var(--brand-gold);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: transform 0.2s, background 0.3s;
  border: none;
  cursor: pointer;
  margin: 8px 4px;
}
.cta-button:hover, .btn:hover {
  transform: translateY(-2px);
}
.btn.primary {
  background: var(--brand-blue);
  color: #fff;
}
.btn.primary:hover {
  background: #1e3a8a;
}
.btn.secondary {
  background: #e6e6e6;
  color: var(--text-dark);
}
.btn.secondary:hover {
  background: #d5d5d5;
}

/* Accordion */
.accordion {
  background: var(--brand-gold);
  color: var(--text-dark);
  cursor: pointer;
  padding: 16px;
  width: 100%;
  text-align: left;
  border: none;
  font-size: 1rem;
  margin: 10px 0;
  border-radius: 8px;
  transition: background 0.3s;
}
.accordion:hover {
  background: #e6c774;
}
.panel {
  display: none;
  background: #f9f9f9;
  color: var(--text-dark);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.panel p {
  margin: 0;
}

/* ────────────── PRICING/JOIN PAGE ────────────── */
.tracks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}
.tracks .card {
  background: var(--white);
  color: var(--text-dark);
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  padding: 20px;
  width: 320px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.tracks .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
}
.tracks .card.highlighted {
  border: 3px solid var(--brand-gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.tracks .card .icon {
  font-size: 130px !important;
  margin-bottom: 5px;
  line-height: 1.2;
}
.tracks h2.plan-name {
  margin: 8px 0;
  color: var(--brand-blue);
  font-size: 1.5rem;
}
.tracks .price {
  font-weight: bold;
  font-size: 24px;
  color: var(--brand-blue);
  margin: 4px 0 16px;
}
.tracks .card ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
  font-size: 0.96rem;
}
.tracks .card ul li {
  position: relative;
  margin: 10px 0;
  padding-left: 1.6em;
  line-height: 1.4;
}
.tracks .card ul li::before {
  content: "⭐";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-blue);
}
.details {
  display: none;
  margin-top: 16px;
  font-size: 0.95rem;
  text-align: left;
}
.details.open {
  display: block;
}
#moreTracks {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

/* ────────────── SPONSOR PAGE ────────────── */
.counter {
  text-align: center;
  font-size: 1.5rem;
  margin: 20px 0;
}
.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
.student-card {
  background: var(--brand-gold);
  color: var(--text-dark);
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
  text-align: center;
}
.student-card img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}
.student-card .student-name {
  font-weight: bold;
  margin: 8px 0;
  color: var(--text-dark);
}
.student-card .student-desc {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.student-card a {
  display: inline-block;
  margin-top: 10px;
  background: var(--white);
  color: var(--brand-blue);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: bold;
}

/* Responsive student cards */
@media (max-width: 768px) {
  .student-grid {
    grid-template-columns: 1fr;
  }
  .student-card img {
    width: 100px;
  }
}

/* ────────────── CONTACT PAGE OVERRIDES ────────────── */
body.contact .tagline {
  margin-bottom: 30px;
}
body.contact .content {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 30px;
}
body.contact form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
body.contact input,
body.contact textarea {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  color: var(--text-dark);
}
body.contact textarea {
  resize: vertical;
}
body.contact .char-limit {
  font-size: 0.9rem;
  color: #555;
  text-align: right;
}
body.contact button[type="submit"] {
  background-color: var(--brand-gold);
  color: var(--text-dark);
  font-weight: bold;
  padding: 14px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
}
body.contact button[type="submit"]:hover {
  background-color: #ffdb63;
}
@media (max-width: 768px) {
  body.contact .hero-img,
  body.contact .footer-img {
    max-width: 90%;
  }
}
body.contact header,
body.contact footer {
  text-align: center;
}
body.contact header h1 {
  font-size: 2.4rem;
  margin: 0;
  color: var(--white);
}
body.contact h2.subheading {
  font-size: 2rem;
  font-style: italic;
  color: var(--brand-gold);
  margin: 10px 0 20px;
}
body.contact .tagline {
  font-size: 1.2rem;
  font-weight: 500;
  font-style: italic;
  color: var(--brand-gold);
  margin-bottom: 30px;
}
body.contact .hero-img {
  display: block;
  margin: 0 auto 40px;
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
body.contact .content h2 {
  text-align: center;
  color: var(--brand-blue);
  margin-bottom: 20px;
}

/* ────────────── SCHEDULE PAGE ────────────── */
body.schedule {
  background: var(--brand-blue);
  color: var(--white);
}
body.schedule .mobile-break {
  display: none;
}
@media (max-width: 768px) {
  body.schedule .mobile-break {
    display: inline;
  }
}

/* Calendar container */
body.schedule .calendar-container {
  max-width: 560px;
  margin: 0 auto 50px;
  background: #fff;
  color: var(--text-dark);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
  padding: 20px;
  text-align: center;
}

/* Calendar nav */
body.schedule .calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
body.schedule .calendar-nav button {
  background: var(--brand-blue);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-weight: bold;
  cursor: pointer;
}
body.schedule .calendar-nav button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
body.schedule .calendar-title {
  font-weight: bold;
  color: var(--brand-blue);
}

/* Table styling */
body.schedule table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
body.schedule th,
body.schedule td {
  padding: 10px 6px;
  border: 1px solid #444;
  text-align: center;
  font-size: 0.95rem;
  position: relative;
}
body.schedule th {
  background: #f6f9fa;
  color: #1e3a8a;
}

/* Disabled days */
body.schedule td.day-cell.disabled {
  background: #f6f6f6;
  color: #aaa;
}

/* Clickable days */
body.schedule td.day-cell.clickable {
  background: var(--highlight-bg);
  cursor: pointer;
}

/* Guest-speaker nights */
body.schedule td.day-cell.guest {
  border: 2px solid var(--brand-blue);
}

/* Past sessions */
body.schedule td.day-cell.past {
  background: var(--highlight-bg);
  color: #1a1a1a;
  cursor: default;
}
body.schedule td.day-cell.past::after {
  content: "✔ 😊";
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 0.75rem;
  color: green;
}

/* Holidays */
body.schedule td.day-cell.holiday {
  background: #ffe0e0;
}
body.schedule td.day-cell.holiday::before {
  content: attr(data-holiday);
  position: absolute;
  bottom: 2px;
  left: 2px;
  font-size: 0.6rem;
  color: red;
  background: rgba(255,255,255,0.8);
  padding: 1px 4px;
  border-radius: 3px;
}

/* Modal */
body.schedule .modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
body.schedule .modal {
  background: #fff;
  color: var(--text-dark);
  border-radius: 12px;
  padding: 20px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  position: relative;
}
body.schedule .modal h3 {
  margin-top: 0;
  color: var(--brand-blue);
}
body.schedule .modal p {
  margin: 8px 0;
  color: #555;
}
body.schedule .modal .close {
  position: absolute;
  top: 8px; right: 12px;
  font-size: 1.2rem;
  cursor: pointer;
  color: #888;
}
body.schedule .modal a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: var(--brand-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
}

/* CSV download button */
body.schedule #downloadCsv {
  display: block;
  margin: 20px auto;
}

.sticky-sponsor-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #e63946; /* Bold red */
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 6px;
  border-radius: 10px 0 0 10px;
  font-family: Arial, sans-serif;
  text-align: center;
  line-height: 1.2;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

.sticky-sponsor-btn:hover {
  background-color: #c92a36;
}


