@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shrikhand&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

:root {
  --blue:       #184584;
  --lt-blue:    #C4DFF3;
  --tan:        #E4AD5B;
  --lt-tan:     #F6DBA5;
  --text-color: #333;
  --off-white:  #FBFBFB;
  --charcoal:   #3D3C3E;
  --brown:      #796344;
}

html {
  overflow-x: hidden;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  position: relative;
  max-width: 100vw;
  overflow-x: clip;
}

#faqs, #about, #contact {
  animation: fadeInAnimation 1s forwards;
}

:is(h1, h2, h3, h4, h5, h6) {
  color: var(--blue);
  font-family: "Archivo Black", sans-serif;
  font-weight: bold;
}

h1 {
  font-family: "Shrikhand", serif;
  font-size: 4em;
  font-weight: 500;
}

h2 {
  font-size: 2.5em;
  font-weight: 400;
}

h3 {
  font-size: 1em;
  font-weight: 600;
}

.section-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.description {
  font-size: 1.5em;
}
/**** LAYOUT STYLING ***/

.containerPad  { margin: 60px 30px; }
.img-wide      { width: 100%; display: block; position: relative; z-index: 1; margin-top: 40px; }
.py-6          { padding-top: 4rem !important; padding-bottom: 4rem !important; }
.py-7          { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.px-7          { padding-left: 5rem !important; padding-right: 5rem !important; }
.mb-6          { margin-bottom: 4rem !important; }

.section {
  padding: 80px 0;
}

.section-intro {
  text-align: center;
  margin-bottom: 48px;
}

.section-intro p.lead {
  color: #666;
  max-width: 560px;
  margin: 0 auto;
}

.section-sub-lead {
  font-family: "Archivo Black", sans-serif;
  color: var(--blue);
  font-size: 1.3rem;
  font-weight: 500;
  padding: 4px;
}

.callout-band {
  text-align: center;
  margin-top: 25px;
  padding: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #D9E6F2 0%, #fff 100%);
  border: 1px solid var(--lt-blue);
}

.section-styles, .section-location   { background: linear-gradient(to bottom, #fff 0%, var(--lt-tan) 100%); }
.section-schedule { background: linear-gradient(to bottom, var(--lt-tan) 0%, #fff 100%); }
.section-newsletter {background: linear-gradient(to bottom, var(--blue) 0%, var(--charcoal) 100%); }

/**** LOGO & NAVBAR ***/
.logo {
  text-align: center;
  padding: 20px 5px 5px 5px;
  background-color: var(--lt-tan);
}

.nav-logo         { display: none; }
.nav-logo.visible { display: block; transition: 0.5s; }

header {
  position: sticky;
  top: 0; left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 25px 15px 25px;
  z-index: 999;
  transition: 0.6s;
  background: var(--lt-tan);
}

header.sticky {
  background: linear-gradient(to bottom, var(--lt-tan) 80%, transparent 100%);
  padding: 5px 30px 15px 30px;
  justify-content: space-between;
  transition: 0.5s;
}

header .menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .menu a {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--blue);
  margin: 0 6px;
  text-transform: uppercase;
  transition: 0.2s;
  transition-property: color, background;
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 20px 8px;
}

header .menu a:hover {
  color: #fff;
  background: linear-gradient(to bottom, var(--tan) 80%, transparent 100%);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

header .btn {
  font-size: 25px;
  cursor: pointer;
  color: #333;
  display: none;
}

/**** BUTTONS ***/
.callBtn {
  display: inline-block !important;
  padding: 10px 15px !important;
  border-radius: 5px !important;
  background-color: var(--blue) !important;
  color: #ffffff !important;
  text-decoration: none !important;
  letter-spacing: 2px;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-transform: uppercase;
  line-height: 1.3 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 6px 18px rgba(0,0,0,0.12) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0.12) !important;
  z-index: 99999 !important;
}

.callBtn:hover  { transform: translateY(-1px); background-color: #2a5fad !important; color: #fff !important; font-weight: 600 !important; border: 1px solid #0d2d5a !important; }
.callBtn:active { transform: translateY(0); }

.callBtn-gold {
  background-color: var(--tan) !important;
  color: var(--blue) !important;
  border: 2px solid var(--tan) !important;
}

.callBtn-gold:hover {
  background-color: #c9922a !important;
  color: #fff !important;
  border: 2px solid var(--brown) !important;
}

.callBtn-lg {
    font-size: 1.1rem !important;
    padding: 16px 40px !important;
}

.btnDoubleLine {
  line-height: 1.4 !important;
}

/**** DIVIDERS & ICONS ***/
.divider-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--lt-tan);
}

.divider-heading-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.divider-heading h3 {
  color: var(--blue) !important;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0 !important;
  /*margin: 0 0 3px; */
}

.divider-heading p {
  color: #888;
  font-size: 0.85rem;
  margin: 0;
}

.icon-box {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.icon-box-blue   { background: #dce8f7; }
.icon-box-pink   { background: #fde8f0; }
.icon-box-tan    { background: #fdf0e0; }
.icon-box-green  { background: #e8f7e8; }
.icon-box-lt-tan { background: var(--lt-tan); }

.icon-tile {
  width: 44px; height: 44px;
  background: var(--lt-tan);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pill {
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
}

.pill-tan   { background: var(--lt-tan);  color: var(--brown); }
.pill-blue  { background: var(--lt-blue); color: var(--blue); }
.pill-grey  { background: #f0ede8;        color: #666; }


/**** CARDS ***/
.white-card {
  background: #fff;
  border: 1px solid #e8e0d0;
  border-radius: 16px;
  padding: 48px 40px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.white-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--tan);
}

.white-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(24, 69, 132, 0.12);
}

.white-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.white-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.7;
}

.white-card ul {
  color: var(--charcoal);
}

.white-card-compact {
  padding: 20px 24px;
}

.white-card-compact::before {
  background: var(--blue);
}

.white-card-tan::before  { background: var(--tan); }
.white-card-blue::before { background: var(--blue); }

.white-card-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /*background: linear-gradient(135deg, var(--lt-tan) 0%, #fff 100%); */
}

.white-card-cta p {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.flip-card {
    perspective: 1200px;
    min-height: 380px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    min-height: 380px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    min-height: 380px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #fff;
    border: 1px solid #e8e0d0;
    border-radius: 16px;
    padding: 20px 24px;
    overflow: hidden;
}

.flip-card-front::before,
.flip-card-back::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--blue);
}

.flip-card-back {
    transform: rotateY(180deg);
}

/**** DIAMOND UL ***/
.diamond-list {
  list-style: none;
  padding: 0;
  margin-bottom: 28px;
}

.diamond-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.6;
  border-bottom: 1px solid #f0e8da;
}

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

.diamond-list li::before {
  content: '✦';
  color: var(--tan);
  font-size: 0.65rem;
  position: absolute;
  left: 0;
  top: 11px;
}

.diamond-list-pills {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.diamond-list-pills li {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.diamond-list-pills li::before {
  content: '✦ ';
  color: var(--tan);
  font-size: 0.7rem;
}


/**** ROW CARDS ***/
.row-card-day {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 12px;
}

.row-card-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #f0e8da;
}

.row-card-row:last-of-type {
  border-bottom: none;
}

.row-card-time {
  font-size: 0.9rem;
  color: var(--brown);
  white-space: nowrap;
  min-width: 85px;
  flex-shrink: 0;
}

.row-card-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
}

.row-card-price {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  white-space: nowrap;
}

.row-card-row-muted .row-card-time,
.row-card-row-muted .row-card-name {
  color: #aaa;
  font-size: 0.9rem;
}

.row-card-note {
  font-size: 0.78rem;
  color: #aaa;
  margin: 8px 0 0;
}

.style-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 380px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.style-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.style-card:hover .style-card-bg {
  transform: scale(1.07);
}

.style-swing .style-card-bg   { background-image: url(../Img/seaside_class_dancing01.webp); background-position: center top; }
.style-kpop .style-card-bg     { background-image: url(../Img/kpop.webp); background-position: center center; }
.style-bachata .style-card-bg { background-image: url(../Img/seaside_class_dancing02.webp); background-position: center center; }

.style-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: background 0.4s ease;
}

.style-card:hover .style-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

.style-card-overlay h3 {
  color: #fff !important;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.4);
}

.style-card-overlay p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  margin-bottom: 0;
}

.style-card:hover  {
  opacity: 1;
  transform: translateY(0);
}

/**** HERO SECTION ***/
.tm-section-1 {
  height: 600px;
  background-image: url(../Img/seaside_hero.webp);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  padding-bottom: 10px;
  position: relative;
}

.tm-section-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 0;
}

.hero-content {
  width: 100%;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero {
  font-family: "Shrikhand", serif;
  color: var(--blue) !important;
  -webkit-text-stroke: .03rem #ffffff;
}

.hero-sub {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 2px var(--charcoal);
}

.hero-lead {
  color: #fff;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-location {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin: 0;
}

.hero-location i {
  margin-right: 6px;
}

.hero-box {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(3px);
  border-radius: 16px;
  padding: 32px 40px;
  display: inline-block;
}


/**** SECTION BKGD ***/
.bg-off-white  { background-color: var(--off-white); }
.bg-white      { background-color: #fff; }
.bg-lt-tan     { background-color: var(--lt-tan); }
.bg-charcoal   { background-color: var(--charcoal); }
.bg-blue       { background-color: var(--blue); }

.bg-fade-tan   { background: linear-gradient(to bottom, #fff 0%, var(--lt-tan) 100%); }
.bg-fade-white { background: linear-gradient(to bottom, var(--lt-tan) 0%, #fff 100%); }
.bg-fade-cta   { background: linear-gradient(135deg, var(--lt-tan) 0%, var(--lt-blue) 100%); }

/**** IMG ***/
.photo-rounded {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

/**** GRIDS ***/
.first-visit-intro {
  font-size: 1.25rem;
  color: var(--blue);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 40px;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.icon-grid-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ece5d8;
}

.icon-grid-item .icon-box {
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 1rem;
}

.icon-grid-item p {
  margin: 0;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.5;
}

.callout-note {
  background: linear-gradient(135deg, var(--lt-blue) 0%, #fff 100%);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  color: var(--text-color);
  font-size: 0.95rem;
  line-height: 1.7;
}

.instructor-bio {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text-color);
  margin-bottom: 20px;
}

.section-newsletter {
  position: relative;
  overflow: hidden;
}

.section-newsletter::after {
  content: '♪';
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.section-newsletter .section-label { color: var(--tan); }
.section-newsletter h2             { color: #fff !important; }
.section-newsletter p, ul              { color: rgba(255,255,255,0.7); }

.notice-success {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 14px 18px;
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.notice-success i { color: var(--tan); margin-right: 8px; }

.section-final-cta {
  padding: 100px 0;
  text-align: center;
}

.section-final-cta h2 {
  font-size: 2.8rem;
  color: var(--blue) !important;
  margin-bottom: 16px;
}

.section-final-cta p {
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 40px;
}

.cta-divider {
  color: var(--brown);
  margin: 20px 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.map-embed {
  width: 100%;
  height: 380px;
  background: var(--lt-blue);
  border-radius: 16px;
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.location-detail-text strong {
  display: block;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 3px;
}

.location-detail-text span {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
}

footer {
  background-color: var(--blue);
  padding: 56px 0 32px;
  color: rgba(255,255,255,0.7);
}

.footer-logo    { margin-bottom: 16px; }

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0;
}

.footer-heading {
  font-family: "Poppins", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 16px;
}

footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
  display: block;
  margin-bottom: 8px;
}

footer a:hover { color: var(--tan); }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  margin-right: 8px;
  margin-bottom: 0;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: var(--tan);
  color: var(--blue);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.footer-bottom a {
  display: inline;
  text-decoration: none;
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.35);
}

/**** REGISTRATION PAGE ***/
.reg-page {
  background: var(--off-white);
  min-height: 100vh;
  padding-bottom: 80px;
}

.page-banner {
  background: linear-gradient(135deg, var(--blue) 0%, #0d2d5a 100%);
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(196,223,243,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner h1 {
  color: #fff !important;
  font-family: "Shrikhand", serif !important;
  font-size: 2.8rem;
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin: 0;
}

.reg-steps {
  background: #fff;
  border-bottom: 1px solid #e8e0d0;
  display: flex;
  align-items: center;
  padding: 20px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.steps-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.step {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  background: #e8e0d0;
  color: #999;
  transition: all 0.3s;
  flex-shrink: 0;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: #999;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.step-section {
  color: var(--blue) !important;
  font-size: 0.9rem;
}

.step.active .step-num  { background: var(--blue); color: #fff; }
.step.active .step-label { color: var(--blue); }
.step.done .step-num    { background: var(--tan);  color: var(--blue); }
.step.done .step-label  { color: var(--brown); }

.step-line {
  flex: 0 0 40px;
  height: 2px;
  background: #e8e0d0;
}

.reg-h2 {
    font-size: 1.8rem;
    color: var(--blue) !important;
    margin-bottom: 6px;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 10px 22px;
  border-radius: 30px;
  border: 2px solid #ddd;
  background: #fff;
  color: #666;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-tab:hover        { border-color: var(--tan); color: var(--blue); }
.filter-tab.active       { background: var(--blue); border-color: var(--blue); color: #fff; }

.dance-group         { display: none; margin-bottom: 40px; }
.dance-group.visible { display: block; }
    .dance-group-header {
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 20px;
        padding-bottom: 16px;
        border-bottom: 2px solid var(--lt-tan);
    }
.dance-group-icon {
        width: 48px; height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        flex-shrink: 0;
    }

    .dance-group-icon.swing   { background: #dce8f7; }
    .dance-group-icon.kpop    { background: #fde8f0; }
    .dance-group-icon.bachata { background: #fdf0e0; }
    .dance-group-icon.salsa   { background: #e8f7e8; }
 
    .dance-group-title {
        font-family: "Poppins", sans-serif;
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--blue) !important;
        margin: 0;
    }
 
    .dance-group-subtitle {
        font-size: 0.85rem;
        color: #888;
        margin: 0;
    }
    
.class-card {
  background: #fff;
  border: 2px solid #e8e0d0;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.class-card.selected {
  border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(24,69,132,0.12);
}

.class-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
}

.class-checkbox {
  width: 24px; height: 24px;
  border: 2px solid #ccc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: #fff;
}

.class-card.selected .class-checkbox        { background: var(--blue); border-color: var(--blue); }
.class-checkbox i                           { color: #fff; font-size: 0.75rem; opacity: 0; transition: opacity 0.2s; }
.class-card.selected .class-checkbox i     { opacity: 1; }

.class-card-info  { flex: 1; min-width: 0; }

.class-card-name {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 4px;
}

.class-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
    .class-meta-pill {
        font-size: 0.75rem;
        padding: 3px 10px;
        border-radius: 20px;
        font-weight: 500;
        font-family: "Poppins", sans-serif;
    }
 
    .pill-level {
        background: var(--lt-tan);
        color: var(--brown);
    }
 
    .pill-age {
        background: var(--lt-blue);
        color: var(--blue);
    }
 
    .pill-starts {
        background: #f0ede8;
        color: #666;
    }

.class-card-price {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}

.class-expand-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--off-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.class-expand-btn:hover { background: var(--lt-tan); color: var(--blue); }
.class-expand-btn.open  { transform: rotate(180deg); background: var(--lt-tan); color: var(--blue); }

.class-sessions {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--off-white);
  border-top: 0px solid #e8e0d0;
}

.class-sessions.open {
  max-height: 500px;
  border-top: 1px solid #e8e0d0;
}

.sessions-inner  { padding: 20px 24px; }

.sessions-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
}

.sessions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.session-item {
  background: #fff;
  border: 1px solid #e8e0d0;
  border-radius: 8px;
  padding: 10px 12px;
  text-align: center;
}

.session-num {
  font-size: 0.65rem;
  color: #bbb;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  display: block;
}

.session-date {
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  display: block;
}

.session-time {
  font-size: 0.78rem;
  color: #888;
  display: block;
  margin-top: 2px;
}

.selection-bar {
  position: sticky;
  bottom: 0;
  background: var(--blue);
  padding: 16px 24px;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.selection-bar.visible        { display: flex; }
.selection-bar-text           { color: #fff; font-family: "Poppins", sans-serif; font-size: 0.95rem; }
.selection-bar-text strong    { color: var(--tan); }
.selection-bar.bar-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }

.dropin-dates {
    border-top: 1px solid #f0e8da;
    padding: 16px 24px 20px;
    background: var(--off-white);
    margin: 0 -24px -20px;
}
 
.dropin-date-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #fff;
    border: 2px solid #e8e0d0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
 
.dropin-date-option:hover {
    border-color: var(--tan);
}
 
.dropin-date-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: var(--blue);
    cursor: pointer;
}
 
.dropin-date-option:has(input:checked) {
    border-color: var(--blue);
    background: rgba(24,69,132,0.05);
}
 
.dropin-date-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-color);
}
 
.dropin-date-option:has(input:checked) .dropin-date-label {
    color: var(--blue);
    font-weight: 600;
}

.kids-schedule-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}
 
.kids-schedule-time {
    font-size: 0.85rem;
    color: var(--blue);
    font-weight: 600;
    white-space: nowrap;
    min-width: 110px;
}
 
.kids-schedule-class {
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 500;
}
 
.kids-card-option {
    display: block;
    cursor: pointer;
    height: 100%;
}
 
.kids-card-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
 
.kids-card-inner {
    background: #fff;
    border: 2px solid #e8e0d0;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}
 
.kids-card-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--tan);
    transition: background 0.2s;
}
 
.kids-card-option:hover .kids-card-inner {
    border-color: var(--tan);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(24,69,132,0.1);
}
 
.kids-card-option input:checked + .kids-card-inner {
    border-color: var(--blue);
    box-shadow: 0 4px 20px rgba(24,69,132,0.15);
}
 
.kids-card-option input:checked + .kids-card-inner::before {
    background: var(--blue);
}
 
.kids-card-sublabel {
    font-family: "Poppins", sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brown);
    margin-bottom: 6px;
}
 
.kids-card-label {
    font-family: "Poppins", sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
}
 
.kids-card-price {
    font-family: "Poppins", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 10px;
}
 
.kids-card-option input:checked + .kids-card-inner .kids-card-price {
    color: var(--blue);
}
 
.kids-card-note {
    font-size: 0.75rem;
    color: #aaa;
    line-height: 1.5;
}

#week-selection {
    scroll-margin-top: 80px;
}

.custom-pkg-card {
    perspective: 1200px;
    min-height: 174px;
    transition: min-height 0.6s ease;
}

.custom-pkg-card-inner {
    position: relative;
    width: 100%;
    min-height: 174px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.custom-pkg-card.flipped .custom-pkg-card-inner {
    transform: rotateY(180deg);
}
.custom-pkg-card.flipped {
    min-height: 380px; 
}

.custom-pkg-front,
.custom-pkg-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: #fff;
    border: 2px solid #e8e0d0;
    border-radius: 14px;
    overflow: visible;
}

.custom-pkg-front {
    height: 174px;
}

.custom-pkg-back {
    height: auto;
    min-height: 174px;
    transform: rotateY(180deg);
    padding: 16px;
}

.custom-slider-group {
    margin-bottom: 16px;
}

.custom-slider {
    width: 100%;
    accent-color: var(--blue);
    cursor: pointer;
    height: 4px;
}

.custom-slider-value {
    color: var(--blue);
    font-size: 1rem;
    font-weight: 700;
}

.custom-price-value {
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--blue);
}
 
@media (max-width: 768px) {
    .dropin-dates {
        padding: 14px 16px 16px;
        margin: 0 -16px -16px;
    }
    .sessions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .kids-card-inner {
        padding: 16px;
    }
    .kids-card-price {
        font-size: 1.6rem;
    }
}

/**** FORM ***/
    .reg-form-section {
        background: #fff;
        border-radius: 16px;
        padding: 40px;
        border: 1px solid #e8e0d0;
        margin-top: 40px;
    }
 
    .reg-form-section h3 {
        font-size: 1.2rem;
        color: var(--blue) !important;
        margin-bottom: 24px;
        padding-bottom: 14px;
        border-bottom: 2px solid var(--lt-tan);
        display: flex;
        align-items: center;
        gap: 10px;
    }
 
    .reg-form-section h3 .section-num {
        width: 30px; height: 30px;
        background: var(--lt-tan);
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        font-weight: 700;
        color: var(--blue);
        flex-shrink: 0;
    }
    
.form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid #e8e0d0;
  margin-top: 40px;
}

.form-card h3 {
  font-size: 1.2rem;
  color: var(--blue) !important;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--lt-tan);
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-card h3 .step-badge {
  width: 30px; height: 30px;
  background: var(--lt-tan);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  flex-shrink: 0;
}

.form-label {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.form-control, .form-select {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.95rem;
  color: var(--text-color);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus, .form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(24,69,132,0.1);
  outline: none;
}

.required-star {
  color: #e05a5a;
  margin-left: 2px;
}

.student-divider {
  border: none;
  border-top: 2px dashed #e8e0d0;
  margin: 28px 0;
}

.optional-badge {
  font-size: 0.7rem;
  background: #f0ede8;
  color: #888;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  vertical-align: middle;
  margin-left: 6px;
}

.role-group { display: flex; gap: 12px; }

.role-option { flex: 1; position: relative; }

.role-option input[type="radio"],
.role-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.role-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 2px solid #e8e0d0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: #666;
  transition: all 0.2s;
  text-align: center;
}

.role-option input:checked + label {
  border-color: var(--blue);
  background: rgba(24,69,132,0.06);
  color: var(--blue);
}

.payment-summary {
  background: var(--off-white);
  border: 1px solid #e8e0d0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  max-width: 600px
}

.payment-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-color);
    border-bottom: 1px solid #e8e0d0; 
}

.payment-line:last-child {
    border-bottom: none;
}

.payment-line-class {
    align-items: flex-start;
    padding: 12px 0;
}

.payment-line-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px;
    flex: 1;
}

.payment-line-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.payment-line-detail {
    font-size: 0.82rem;
    color: #aaa;
}

.payment-line-amount {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    white-space: nowrap;
    padding-left: 16px;
    padding-top: 2px;
}

.payment-line-subtotal {
    margin-top: 4px;
    padding-top: 12px;
    color: #888;
    font-size: 0.9rem;
}

.payment-line-fee {
    color: #888;
    font-size: 0.9rem;
}

.payment-line-total {
    border-top: 2px solid var(--lt-tan);
    margin-top: 4px;
    padding-top: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--blue);
}

.payment-methods {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pay-method            { flex: 1; min-width: 120px; position: relative; }
.pay-method input[type="radio"] { position: absolute; opacity: 0; }

.pay-method label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 10px;
  border: 2px solid #e8e0d0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.pay-method label i    { font-size: 1.4rem; color: #888; }
.pay-method label span { font-size: 0.8rem; font-family: "Poppins", sans-serif; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 0.05em; }

.pay-method input:checked + label                      { border-color: var(--blue); background: rgba(24,69,132,0.06); }
.pay-method input:checked + label i,
.pay-method input:checked + label span {
    color: var(--blue);
}              

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.submit-btn:hover {
  background: #0d2d5a;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(24,69,132,0.25);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 12px;
}

.notice-warning {
  background: #fff8f0;
  border: 1px solid #f0d0a0;
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--brown);
  font-size: 0.9rem;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-secure-note {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-secure-note i {
    color: var(--blue);
}

.payment-fields {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8e0d0;
}

.seamail-signup {
    background: linear-gradient(135deg, var(--lt-tan) 0%, #fff 100%);
    border: 1px solid #e8d8b0;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
}

.seamail-signup.signup-blue {
    background: linear-gradient(135deg, var(--lt-blue) 0%, #fff 100%);
    border-color: #a8cfe8;
}

.seamail-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.seamail-check input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--blue);
}

.seamail-check label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.seamail-check label strong {
    color: var(--blue);
    font-size: 0.95rem;
}

.seamail-check label span {
    color: #666;
    font-size: 0.85rem;
    font-style: italic;
}

.terms-section {
    margin: 24px 0;
}

.terms-scroll {
    background: var(--off-white);
    border: 1px solid #e8e0d0;
    border-radius: 8px;
    padding: 16px 20px;
    height: 120px;
    overflow-y: scroll;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
    font-family: monospace;
}
.terms-scroll ul {
  color: #666 !important;
}

.terms-agree {
    display: flex;
    align-items: center;
    gap: 12px;
}

.terms-agree input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--blue);
}

.terms-agree label {
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
}

/**** ANIMATION ***/
@-webkit-keyframes gradient-animation {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes gradient-animation {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@-webkit-keyframes fadeInAnimation {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes fadeInAnimation {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.scroll-animate { opacity: 0; }

.scroll-animate.fadeInLeftBig,
.scroll-animate.fadeInRightBig,
.scroll-animate.fadeInLeft,
.scroll-animate.fadeInRight,
.scroll-animate.fadeIn,
.scroll-animate.fadeInUp,
.scroll-animate.fadeInDown,
.scroll-animate.zoomIn {
  -webkit-animation: none;
  animation: none;
  opacity: 0;
}

.scroll-animate.animate-active.fadeInLeftBig  { -webkit-animation: fadeInLeft  0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important; animation: fadeInLeft  0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important; }
.scroll-animate.animate-active.fadeInLeft     { -webkit-animation: fadeInLeft  1s ease-out forwards !important; animation: fadeInLeft  1s ease-out forwards !important; }
.scroll-animate.animate-active.fadeInRightBig { -webkit-animation: fadeInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards !important; animation: fadeInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s forwards !important; }
.scroll-animate.animate-active.fadeInRight    { -webkit-animation: fadeInRight 1s ease-out forwards !important; animation: fadeInRight 1s ease-out forwards !important; }
.scroll-animate.animate-active.fadeIn         { -webkit-animation: fadeIn      0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important; animation: fadeIn      0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important; }
.scroll-animate.animate-active.fadeInUp       { -webkit-animation: fadeInUp    1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards !important; animation: fadeInUp    1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards !important; }
.scroll-animate.animate-active.fadeInDown     { -webkit-animation: fadeInDown  1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important; animation: fadeInDown  1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important; }
.scroll-animate.animate-active.zoomIn         { -webkit-animation: zoomIn      1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important; animation: zoomIn      1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards !important; }

@-webkit-keyframes fadeInLeft  { 0% { opacity:0; -webkit-transform:translateX(-100px); transform:translateX(-100px); } 100% { opacity:1; -webkit-transform:translateX(0); transform:translateX(0); } }
@keyframes fadeInLeft          { 0% { opacity:0; transform:translateX(-100px); } 100% { opacity:1; transform:translateX(0); } }
@-webkit-keyframes fadeInRight { 0% { opacity:0; -webkit-transform:translateX(150px); transform:translateX(150px); } 100% { opacity:1; -webkit-transform:translateX(0); transform:translateX(0); } }
@keyframes fadeInRight         { 0% { opacity:0; transform:translateX(150px); } 100% { opacity:1; transform:translateX(0); } }
@-webkit-keyframes fadeIn      { 0% { opacity:0; -webkit-transform:scale(0.95); transform:scale(0.95); } 100% { opacity:1; -webkit-transform:scale(1); transform:scale(1); } }
@keyframes fadeIn              { 0% { opacity:0; transform:scale(0.95); } 100% { opacity:1; transform:scale(1); } }
@-webkit-keyframes fadeInUp    { 0% { opacity:0; -webkit-transform:translateY(60px); transform:translateY(60px); } 100% { opacity:1; -webkit-transform:translateY(0); transform:translateY(0); } }
@keyframes fadeInUp            { 0% { opacity:0; transform:translateY(60px); } 100% { opacity:1; transform:translateY(0); } }
@-webkit-keyframes fadeInDown  { 0% { opacity:0; -webkit-transform:translateY(-60px); transform:translateY(-60px); } 100% { opacity:1; -webkit-transform:translateY(0); transform:translateY(0); } }
@keyframes fadeInDown          { 0% { opacity:0; transform:translateY(-60px); } 100% { opacity:1; transform:translateY(0); } }
@-webkit-keyframes zoomIn      { 0% { opacity:0; -webkit-transform:scale(0.7); transform:scale(0.7); } 100% { opacity:1; -webkit-transform:scale(1); transform:scale(1); } }
@keyframes zoomIn              { 0% { opacity:0; transform:scale(0.7); } 100% { opacity:1; transform:scale(1); } }

.bounce {
  -moz-animation: bounce 2s infinite;
  -webkit-animation: bounce 2s infinite;
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40%  { transform: translateY(-30px); }
  60%  { transform: translateY(-15px); }
}

/**** RESPONSIVE ***/
@media screen and (max-width: 700px) {
  .logoize { width: 100px; }
}

@media (max-width: 768px) {
  .icon-grid          { grid-template-columns: 1fr; }
  .newsletter-form    { flex-direction: column; }
  .section-final-cta h2 { font-size: 2rem; }
  .style-card         { height: 280px; }
  .class-card-header  { padding: 16px; gap: 12px; }
  .class-card-name    { font-size: 0.9rem; }
  .form-card          { padding: 24px 20px; }
  .role-group         { flex-direction: column; gap: 8px; }
  .sessions-grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  header { justify-content: space-between; }

  .nav-logo {
    display: block;
    order: 2;
    flex: 1;
    text-align: center;
    padding-left: 15%;
  }

  .nav-cta        { order: 3; }
  header .btn     { display: block; order: 4; }
  .logo           { display: none; }

  header .menu .btn { order: unset; }

  header .menu.active { right: 0; }

  header .menu {
    position: fixed;
    background: white;
    flex-direction: column;
    width: 85vw;
    max-width: 400px;
    height: 100vh;
    top: 0;
    right: -85vw;
    padding: 5px 50px;
    transition: right 0.5s;
    justify-content: start;
    border: 3px solid #003e9a;
    border-radius: 15px;
  }

  header .menu .close-btn {
    position: absolute;
    top: 0; left: 0;
    margin: 25px;
  }

  header .menu a {
    display: block;
    font-size: 16px;
    margin: 10px;
    padding: 10px 15px;
  }

  header .menu a:hover {
    color: #fff;
    background: var(--blue);
  }

  .hero-box { padding: 15px 15px; }
}

@media (max-width: 576px) {
  img { max-width: 100%; }
  .tm-section-1 { height: 80vh; }
}

/* Bender added styles */

.custom-pkg-card.flipped .custom-pkg-card-inner {
    transform: rotateY(180deg);
}

.err{
  color: red;
  font-weight: 700;
}