@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import "header.css";
@import "footer.css";

* {
  box-sizing: border-box;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

:root {
  --primary-color: #ffc400;
  /* Metallic Gold */
  --primary-dark: #1a1a1a;
  --secondary-color: #ac8402;
  /* Darker Gold */
  --third-color: #e5c158;
  /* Lighter Gold (Darkened) */
  --accent-cyan: #00d2ff;
  --glass-bg: rgba(22, 22, 26, 0.7);
  --glass-border: rgba(48, 40, 13, 1);

  --heading-font: "Open Sans", sans-serif;
  --paragraph-font: Roboto, "Roboto Slab", sans-serif;

  --gold-gradient: linear-gradient(135deg, #1a1a1a 0%, #d4af37 100%);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.4);
}

body {
  background-color: black;
  color: white;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-attachment: fixed;
  font-family: var(--paragraph-font);
}

body,
html {
  height: 100%;
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

main {
  margin-top: 80px;
  /* Offset for fixed header */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: clamp(3rem, 8vw, 100px);
  letter-spacing: 5px;
}

h2 {
  font-size: clamp(2rem, 5vw, 50px);
  font-weight: 500;
  color: var(--primary-color);
}

h3 {
  font-size: 20px;
}

p {
  font-family: var(--paragraph-font);
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Transitions */
.transition0 {
  background-color: black;
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}

/* Hero Section */
.hero-image {
  background-image: url("../images/Background5.webp");
  min-height: calc(80vh - 140px);
  width: 100%;
  padding-top: 170px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background-position: center -65px;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: auto 100%;
  position: relative;
  background-color: black;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background:
    linear-gradient(to top, black 0%, transparent 150px),
    linear-gradient(to right,
      black 0%,
      black calc(50% - 50vh),
      rgba(0, 0, 0, 0.4) calc(50% - 50vh + 300px),
      rgba(0, 0, 0, 0.4) calc(50% + 50vh - 300px),
      black calc(50% + 50vh),
      black 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-text {
  text-align: center;
  color: white;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: clamp(1.5rem, 8vw, 100px);
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(80, 80, 80, 0.3);
  margin: 0;
  line-height: 1;
}

.hero-text p {
  font-size: clamp(1.2rem, 3vw, 2.5rem);
  color: white;
  margin-top: 15px;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1.4;
  background: transparent;
}

.hero-text2 {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 50px 40px 50px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-text2::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: conic-gradient(from var(--angle),
      transparent 0%,
      var(--primary-color) 8%,
      transparent 16%,
      transparent 55%,
      var(--primary-color) 63%,
      transparent 71%,
      transparent 100%);
  border-radius: inherit;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  opacity: 0.7;
  transition: opacity 0.5s ease;
  pointer-events: none;
  filter: blur(1.5px);
  z-index: 10;
  /* Start animation but keep it paused so it's static */
  animation: borderTrace 4s linear infinite paused;
  animation-delay: var(--random-delay, 0s);
}

.hero-text2:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes borderTrace {
  0% {
    --angle: 0deg;
  }

  100% {
    --angle: 360deg;
  }
}

.hero-text2 h2 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 30px;
  font-size: clamp(2rem, 5vw, 50px);
}

.table-container {
  overflow-x: auto;
  width: 100%;
}

.fees-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 auto;
  color: white;
  font-family: var(--paragraph-font);
}

.fees-table th,
.fees-table td {
  padding: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  text-align: left;
}

.fees-table th {
  color: var(--primary-color);
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
}

.fees-table tr:last-child td {
  border-bottom: none;
}

.fees-table tr:hover td {
  background: rgba(212, 175, 55, 0.05);
  transition: background 0.3s ease;
}

.fees-table td:nth-child(3) {
  font-weight: bold;
  color: var(--primary-color);
  text-align: right;
}

.fees-table th:nth-child(3) {
  text-align: right;
}

.policy-notice {
  margin-top: 35px;
  padding: 20px 25px;
  background: rgba(255, 196, 0, 0.04);
  border: 1px solid rgba(255, 196, 0, 0.2);
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.policy-notice h3 {
  color: var(--primary-color);
  font-family: var(--heading-font);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px 0;
}

.policy-notice p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  font-family: var(--paragraph-font);
}

.policy-notice p strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Calendar Section */
.calendar-box {
  max-width: 950px;
  margin: 0 auto;
  padding: 60px 30px 15px 30px;
}

.calendar-box h2 {
  margin-top: 0;
  margin-bottom: 10px;
}

.calendar-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 25px;
  font-family: var(--paragraph-font);
  letter-spacing: 1px;
}

/* Lesson Selector Tabs */
.lesson-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.lesson-tab {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 196, 0, 0.3);
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lesson-tab:hover {
  border-color: var(--primary-color);
  background: rgba(255, 196, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 196, 0, 0.2);
}

.lesson-tab.active {
  background: var(--primary-color);
  color: black;
  border-color: var(--primary-color);
  box-shadow: 0 0 20px rgba(255, 196, 0, 0.4);
}

.star-emoji {
  display: inline-block;
  margin-right: 5px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 1)) drop-shadow(0 0 3px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 1px rgba(0, 0, 0, 1));
  vertical-align: -1px;
}

.cal-embed-container {
  width: 100%;
  min-height: 480px;
  background: transparent;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

@media (max-width: 768px) {
  .calendar-box {
    padding: 30px 15px 10px 15px;
  }

  .cal-embed-container {
    min-height: 600px;
  }
}

/* Button consistency */
.book_now a {
  text-decoration: none;
  background-color: white;
  color: black;
  font-family: var(--heading-font);
  padding: 12px 30px;
  border: 1px solid transparent;
  display: block;
  margin: 50px auto 0;
  width: fit-content;
  border-radius: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 24px;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.book_now a:hover {
  background-color: var(--secondary-color);
  color: white;
  border-color: white;
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3), 0 0 15px rgba(212, 175, 55, 0.4);
}





/* Large Desktop: keep subtitle on a single line */
@media (min-width: 901px) {
  .hero-text {
    max-width: 1200px;
  }

  .hero-text p {
    font-size: clamp(1.2rem, 2.3vw, 2.2rem);
    white-space: nowrap;
  }
}

/* Responsiveness */
@media (max-width: 900px) {
  .hero-text2 {
    width: 90%;
    padding: 30px 20px;
  }
}

@media (max-width: 600px) {
  .hero-text2::before {
    opacity: 1;
    animation: borderTrace 10s linear infinite running;
  }

  .container1 {
    padding: 0 20px;
  }

  .hero-text h1 {
    font-size: clamp(1.5rem, 14vw, 100px);
  }
}

@media (max-width: 400px) {
  .hero-text h1 {
    font-size: clamp(40px, 12.8vw, 64px);
  }
}

.lesson-info-section {
  padding: 0;
  display: flex;
  justify-content: center;
}

.info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px 50px;
  width: 90%;
  max-width: 900px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.info-card p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
  color: white;
}

/* Fix iOS Background Attachment Bug */
@media (max-width: 400px) {
  @supports (-webkit-touch-callout: none) {
    .parallax, .hero-section, .hero-image {
      background-attachment: scroll !important;
    }
  }
}