/* ---------------------------------------------------
   PAGE SECTIONS
--------------------------------------------------- */

body { background: #F2FAEE; }

/* Hero */
.sl-hero {
  background: #F2FAEE;
  padding: 48px 24px 40px;
  text-align: center;
}

.sl-hero__inner {
  max-width: 860px;
  margin: 0 auto;
}

.sl-hero__title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--cm-text);
  margin: 0 0 10px;
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: 1.2;
}

.sl-hero__sub {
  font-size: 0.95rem;
  color: var(--cm-text-sub);
  margin: 0 0 18px;
}

.sl-hero__instructors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

/* Main two-column layout */
.sl-main {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 24px;
}

/* About section */
.sl-about {
  display: flex;
  justify-content: center;
  padding: 0 24px 40px;
}

/* Testimonials section */
.sl-testimonials {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

@media (max-width: 1200px) {
  .sl-main {
    flex-direction: column;
    align-items: center;
  }
  .sl-testimonials .reviews-boxes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sl-hero__title { font-size: 1.4rem; }
  .sl-main { padding: 0 16px; margin-top: 24px; }
  .sl-about { padding: 0 16px 32px; }
  .sl-testimonials { padding: 0 16px; }
}

/* ---------------------------------------------------
   LAYOUT STRUCTURE (legacy, kept for register-column etc.)
--------------------------------------------------- */

.kids-holder {
    display: flex !important;
    gap: 60px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

/* container that holds the large + small images */
.image-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.image-column {
    flex: 1;
}


/* ---------------------------------------------------
   IMAGES
--------------------------------------------------- */

.main-photo-wrapper img {
    width: 100%;
    height: 420px;
    object-fit: cover;

    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
    transition: 0.2s ease;
}

.main-photo-wrapper img:hover {
    transform: scale(1.01);
}

/* row of 3 thumbnails */
.gallery-row {
    margin-top: 15px;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px;
    width: 100%;
}

/* thumbnails */
.gallery-row img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    background: white;
}


/* ---------------------------------------------------
   ZOOM VIEWER
--------------------------------------------------- */

.image-viewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.image-viewer img {
    max-width: 100%;
    max-height: 100%;
}

.nav-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    font-size: 32px;
}

.left-btn {
    left: 5%;
}

.right-btn {
    right: 5%;
}

.close-btn {
    font-size: 48px;
    position: absolute;
    top: 20px;
    right: 40px;
    cursor: pointer;
}


/* ---------------------------------------------------
   PAGE BACKGROUND FIX FOR NEW NAVBARS
--------------------------------------------------- */

body {
    background: #f8fafc;
}

/* ---------------------------------------------------
   RESPONSIVE
--------------------------------------------------- */


/* Center all banner content */
.banner .content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Center the entire About section */
.about-section {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.about-box{
    background: #fff;
    max-width: 800px;
    width: 100%;
    padding: 32px;
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
}
.footer-big h2,
.footer-big p,
.footer-big a {
    font-family: 'Montserrat', sans-serif !important;
}


/* --------------------------------------------
   Instructor Button — Match Navbar Button Style
--------------------------------------------- */

.instructor-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    border-radius: var(--cm-radius-sm);
    border: 1px solid var(--cm-border);
    background: #fff;

    font-weight: 600;
    font-size: 14px;

    padding: 6px 12px;
    transition: 0.15s ease;
}

.instructor-btn:hover {
    background: var(--cm-green-light);
    border-color: var(--cm-green-border);
}

.instructor-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--cm-green-border);
    margin-left: 8px;
    vertical-align: middle;
}

.thumb {
    border-radius: var(--cm-radius-sm);
    overflow: hidden;
    box-shadow: var(--cm-shadow);
    transition: 0.15s ease;
}

.thumb:hover {
    transform: translateY(-2px);
}

.thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.register-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 0 0 360px;
    position: sticky;
    top: 100px;
}

.next-term-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    padding: 16px;

    border-radius: var(--cm-radius-sm);
    background: var(--cm-green);
    color: #fff !important;

    font-weight: 700;
    font-size: 16px;
    text-decoration: none;

    transition: 0.15s ease;
}

.next-term-btn:hover {
    filter: brightness(0.92);
}

.next-term-name {
    font-size: 13px;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 4px;
}


/* --------------------------------------------
   CENTER REGISTRATION CARD
--------------------------------------------- */

/* Wrapper centers the card horizontally */
.reg-card-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.reviews-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}


.review-box,
.about-box {
    background: #fff;
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
    padding: 24px;
    transition: 0.2s ease;
}

.review-box:hover,
.about-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.about-box {
    max-width: 800px;
    width: 100%;
    text-align: center;
}


.reg-card
{
    background: #fff;
    border-radius: var(--cm-radius);
    box-shadow: var(--cm-shadow);
}

.reg-card:hover
{
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.price-total {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.price-breakdown {
    font-size: 13px;
    margin-top: 6px;
    font-weight: 400;
    opacity: 0.9;
}

@media (max-width: 1200px) {

    .kids-holder {
        flex-direction: column;
        align-items: center;
    }

    .register-column {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .reg-card-wrapper {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .reg-card {
        width: 100%;
        max-width: 420px;
    }
}