/* ============================================
   BoloMusic - Pixel Perfect Styles
   Font Specs:
   - Hero: Spicy Rice 400, 120px/120px
   - Navbar: Open Sans 700, 14px/20px
   - Normal: Open Sans 800
   ============================================ */

:root {
    --teal: #1a5f5f;
    --teal-dark: #0f4545;
    --mustard: #e6b800;
    --mustard-light: #f5d547;
    --orange: #e85d04;
    --orange-hover: #d35400;
    --cream: #f8f6f1;
    --cream-dark: #ebe8e0;
    --dark: #2d2d2d;
    --light-grey: #6b6b6b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-style: normal;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========== PACE.JS PRELOADER & CUSTOM SOUNDWAVE ========== */
/* Hide the default Pace bar since we have a custom center one */
.pace {
    display: none !important;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f7f5ef;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soundwave-loader {
    display: flex;
    align-items: center;
    gap: 4px;
    /* Space between bars */
    height: 60px;
    /* Max height of the bars */
}

.soundwave-loader .bar {
    width: 8px;
    /* Width of each stick */
    background-color: #c25934;
    /* Orange/Brown color */
    border-radius: 2px;
    animation: soundwave 1s ease-in-out infinite;
}

/* Creating staggered animation speeds and heights to look like a music wave */
.soundwave-loader .bar:nth-child(1) {
    height: 20px;
    animation-delay: 0.0s;
}

.soundwave-loader .bar:nth-child(2) {
    height: 35px;
    animation-delay: 0.1s;
}

.soundwave-loader .bar:nth-child(3) {
    height: 50px;
    animation-delay: 0.2s;
}

.soundwave-loader .bar:nth-child(4) {
    height: 60px;
    animation-delay: 0.3s;
}

.soundwave-loader .bar:nth-child(5) {
    height: 50px;
    animation-delay: 0.4s;
}

.soundwave-loader .bar:nth-child(6) {
    height: 35px;
    animation-delay: 0.5s;
}

.soundwave-loader .bar:nth-child(7) {
    height: 20px;
    animation-delay: 0.6s;
}

@keyframes soundwave {

    0%,
    100% {
        transform: scaleY(0.5);
        /* Shrink */
        opacity: 0.7;
    }

    50% {
        transform: scaleY(1);
        /* Grow to full height */
        opacity: 1;
    }
}

/* ========== NAVBAR DROPDOWN CSS ========== */
#nav-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.navbar {
    width: 100%;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 4%;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.navbar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-toggle {
    display: none;
}

nav.navbar #navbar ul.navbar-nav {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav.navbar #navbar ul.navbar-nav>li {
    position: relative;
}

nav.navbar #navbar ul.navbar-nav a {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-style: normal;
    font-size: 13px;
    line-height: 20px;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
}

nav.navbar #navbar ul.navbar-nav a:hover,
nav.navbar #navbar ul.navbar-nav a.active {
    color: #efcf4f;
    /* Yellow/gold - transparent navbar */
}

/* Dropdown visibility */
@media (min-width: 1200px) {
    nav.navbar #navbar ul.navbar-nav>li.menu-item-has-children:hover>ul {
        display: block;
    }

    /* Sub-menu styling */
    nav.navbar #navbar ul.navbar-nav ul.sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        min-width: 250px;
        padding: 10px 0;
        border-radius: 10px;
        list-style: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        z-index: 200;
    }

    nav.navbar #navbar ul.navbar-nav li.menu-item-has-children>a::after {
        content: "";
        display: inline-block;
        width: 6px;
        height: 6px;
        margin-left: 8px;
        border-right: 2px solid currentColor;
        border-top: 2px solid currentColor;
        transform: rotate(45deg);
        vertical-align: middle;
        position: relative;
        top: -1px;
        transition: transform 0.2s ease-in-out, top 0.2s ease-in-out;
    }

    nav.navbar #navbar ul.navbar-nav li.menu-item-has-children:hover>a::after {
        transform: rotate(135deg);
        top: -3px;
    }

    nav.navbar #navbar ul.navbar-nav ul.sub-menu {
        padding: 5px 0;
        /* Minimal vertical padding so hover items touch edges nicely */
    }

    nav.navbar #navbar ul.navbar-nav ul.sub-menu li a {
        color: #0c4b65;
        padding: 12px 24px;
        display: block;
        text-transform: none;
        font-size: 16px;
        margin: 0 5px;
        /* Margin to allow border-radius separation from edge */
        border-radius: 8px;
        transition: all 0.2s;
    }

    nav.navbar #navbar ul.navbar-nav ul.sub-menu li:not(.mega-menu-col):hover>a {
        color: #ffffff !important;
        background-color: #c25934;
    }
}

/* Mobile Dropdown (<1200px) */
@media (max-width: 1199px) {
    #nav-wrapper {
        position: fixed;
        /* Keep it fixed during scroll in mobile if needed, or absolute */
    }

    #nav-wrapper.mob-visible {
        background-color: #efcf4f;
    }

    nav.navbar {
        background-color: #efcf4f;
        /* Yellow */
    }

    .navbar-container {
        flex-direction: column;
        padding: 15px 24px;
    }

    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo span {
        color: #0c4b65 !important;
    }

    .logo-icon {
        background: #0c4b65 !important;
    }

    .logo-icon::after {
        color: #efcf4f !important;
    }

    .navbar-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .navbar-toggle .icon-bar {
        display: block;
        width: 24px;
        height: 3px;
        border-radius: 2px;
        background-color: #0c4b65;
        margin-bottom: 5px;
        transition: 0.3s;
    }

    .navbar-toggle:not(.collapsed) .icon-bar:nth-child(2) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .navbar-toggle:not(.collapsed) .icon-bar:nth-child(3) {
        opacity: 0;
    }

    .navbar-toggle:not(.collapsed) .icon-bar:nth-child(4) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    nav.navbar #navbar {
        width: 100%;
        display: none;
    }

    nav.navbar #navbar:not(.collapse) {
        display: block;
    }

    nav.navbar #navbar ul.navbar-nav {
        flex-direction: column;
        gap: 0;
        margin-top: 20px;
    }

    nav.navbar #navbar ul.navbar-nav a {
        color: #0c4b65;
        padding: 12px 0;
        display: flex;
        align-items: center;
        width: 100%;
    }

    nav.navbar #navbar ul.navbar-nav a.active {
        color: #c25934;
    }

    nav.navbar ul.navbar-nav li>a:hover {
        background-color: #c25934;
        /* Brown/orange */
        color: #efcf4f;
        padding-left: 10px;
    }

    nav.navbar ul.navbar-nav li.menu-item-has-children>a {
        justify-content: space-between;
        /* push arrow to right */
    }

    nav.navbar ul.navbar-nav li.menu-item-has-children>a::after {
        content: "▼";
        color: #0c4b65;
        /* Dark blue */
    }

    nav.navbar ul.navbar-nav ul.sub-menu {
        display: none;
        /* Hidden by default */
        padding-left: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    nav.navbar ul.navbar-nav li.show>ul.sub-menu,
    nav.navbar ul.navbar-nav ul.sub-menu.show {
        display: block;
    }

    nav.navbar ul.navbar-nav ul li a {
        color: #0c4b65;
        text-transform: none;
    }

    ul.sub-menu li:hover>a,
    ul.sub-menu li>a:hover {
        color: #ffffff !important;
        background-color: #c25934;
        padding-left: 10px;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--mustard);
    border-radius: 50%;
    position: relative;
}

.logo-icon::after {
    content: "♪";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 20px;
}

.logo span {
    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: var(--white);
    white-space: nowrap;
}

/* ========== HERO SECTION - Spicy Rice 400, 120px/120px ========== */
.hero-section {
    min-height: 100vh;
    background-color: #0f4545;
    /* Fallback until slider images load */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
    /* Make sure the text sits above the background slider */
}

.hero-preheading {
    font-family: "Spicy Rice", serif;
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 53px;
    color: rgb(239, 207, 79);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-heading {
    font-family: "Spicy Rice", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 120px;
    line-height: 120px;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-description {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ========== BUTTONS ========== */
.btn {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-hover);
}

.btn-teal {
    background: var(--teal);
    color: var(--white);
}

.btn-teal:hover {
    background: var(--teal-dark);
}

.btn-yellow {
    background: var(--mustard);
    color: var(--dark);
}

.btn-yellow:hover {
    background: var(--mustard-light);
}

.btn-large {
    padding: 16px 48px;
    font-size: 16px;
    margin-top: 40px;
}

/* ========== NEW BUTTON CLASSES ========== */
.btn-dark-blue {
    background: #0c4b65;
    color: var(--white);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 14px 28px;
}

.btn-dark-blue:hover {
    background: #0a3a4e;
}

.btn-orange-brown {
    background: #c25934;
    color: var(--white);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 14px 28px;
}

.btn-orange-brown:hover {
    background: #a34828;
}

/* ========== FREE LESSON SECTION ========== */
.free-lesson-wrapper {
    position: relative;
    z-index: 20;
    margin-top: -80px;
    margin-bottom: -1px;
    padding: 0 24px;
    background: linear-gradient(to bottom, transparent 80px, var(--cream) 80px);
}

.free-lesson-section {
    background: #efce4d;
    max-width: 900px;
    margin: 0 auto;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icons>div {
    position: absolute;
}

.icon-red-circle {
    width: 12px;
    height: 12px;
    border: 2.5px solid #c25934;
    border-radius: 50%;
    top: 20%;
    left: 8%;
}

.icon-blue-diamond {
    width: 8px;
    height: 8px;
    border: 2px solid #0c4b65;
    transform: rotate(45deg);
    top: 35%;
    left: 14%;
}

.icon-music-block {
    width: 32px;
    top: 55%;
    left: 5%;
    transform: rotate(-15deg);
}

.icon-music-block img {
    width: 100%;
}

.icon-white-squiggle {
    color: #fff;
    font-size: 20px;
    top: 75%;
    left: 12%;
    transform: rotate(-20deg);
    font-weight: normal;
}

.icon-blue-dot {
    width: 6px;
    height: 6px;
    background: #0c4b65;
    border-radius: 50%;
    top: 85%;
    left: 7%;
}

.icon-green-squiggle {
    color: #50bda4;
    font-size: 20px;
    top: 15%;
    right: 10%;
    transform: rotate(15deg);
    font-weight: normal;
}

.icon-music-note {
    color: #f99011;
    border: 1px solid #000;
    -webkit-text-stroke: 1.5px #000;
    text-shadow: -1px 0px 0px #000;
    font-size: 32px;
    font-weight: bold;
    top: 40%;
    right: 9%;
    transform: rotate(-15deg);
    line-height: 1;
    font-family: Arial;
}

.icon-blue-circle-small {
    width: 8px;
    height: 8px;
    border: 2px solid #0c4b65;
    border-radius: 50%;
    top: 60%;
    right: 7%;
}

.icon-white-diamond {
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    transform: rotate(45deg);
    top: 70%;
    right: 18%;
}

.icon-orange-dot {
    width: 4px;
    height: 4px;
    background: #c25934;
    border-radius: 50%;
    top: 85%;
    right: 12%;
}

.opening-offer {
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: 15px;
    color: #c25934;
    margin-bottom: 12px;
}

.free-lesson-section .section-heading-large {
    font-family: "Spicy Rice", serif;
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.free-lesson-section .section-description {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    color: #0c4b65;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== SECTION COMMON STYLES ========== */
.section-subheading {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.section-subheading.light {
    color: var(--mustard);
}

.section-subheading.dark {
    color: var(--teal-dark);
}

.section-heading {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-heading.light {
    color: var(--white);
}

.section-heading.dark {
    color: var(--teal-dark);
}

.section-description {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 16px;
    color: var(--light-grey);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ========== CLASSES SECTION ========== */
.classes-section {
    background: var(--cream);
    padding: 80px 48px;
    text-align: center;
}

.classes-section .section-subheading.text-orange {
    color: #c25934;
    text-transform: capitalize;
    font-size: 18px;
}

.classes-section .section-heading.text-dark-blue {
    color: #0c4b65;
    font-size: 48px;
    font-weight: 800;
}

.classes-section .section-description.text-dark-blue {
    color: #0c4b65;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.6;
}

.class-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.class-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
}

.class-card .card-image {
    height: 220px;
    overflow: hidden;
}

.class-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.class-card .card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.class-card h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 16px 0;
}

.class-card h3 .text-orange {
    color: #c25934;
}

.class-card h3 .text-dark-blue {
    color: #0c4b65;
}

.class-card p {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #0c4b65;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.class-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.class-card .card-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.class-card .meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #0c4b65;
    font-weight: 800;
}

.btn-more-info {
    background-color: #efcf4f;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-more-info:hover {
    background-color: #e5c33e;
}

.btn-view-all {
    background-color: #c25934;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 14px 40px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    margin-top: 48px;
    text-transform: uppercase;
    transition: background 0.2s;
    letter-spacing: 1px;
}

.btn-view-all:hover {
    background-color: #a34828;
}

/* ========== FESTIVE CELEBRATION EFFECTS ========== */
.festive-section {
    position: relative;
    overflow: hidden;
}

.festive-section::before {
    content: "\1F3B7";
    position: absolute;
    top: 30px;
    left: 4%;
    font-size: 80px;
    opacity: 0.3;
    transform: rotate(-15deg);
}

.festive-section::after {
    content: "\1F3B8";
    position: absolute;
    top: 50px;
    right: 4%;
    font-size: 80px;
    opacity: 0.3;
    transform: rotate(15deg);
}

.festive-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.festive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(194, 89, 52, 0.15);
    border-color: #efcf4f;
}

.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #efce4d;
    opacity: 0.6;
    animation: drift 5s infinite linear;
    border-radius: 2px;
}

.confetti:nth-child(1) {
    left: 10%;
    animation-duration: 4s;
    background-color: #c25934;
}

.confetti:nth-child(2) {
    left: 20%;
    animation-duration: 6s;
}

.confetti:nth-child(3) {
    left: 30%;
    animation-duration: 5s;
    background-color: #0c4b65;
}

.confetti:nth-child(4) {
    left: 40%;
    animation-duration: 7s;
}

.confetti:nth-child(5) {
    left: 50%;
    animation-duration: 4.5s;
    background-color: #c25934;
}

.confetti:nth-child(6) {
    left: 60%;
    animation-duration: 6.5s;
}

.confetti:nth-child(7) {
    left: 70%;
    animation-duration: 5.5s;
    background-color: #0c4b65;
}

.confetti:nth-child(8) {
    left: 80%;
    animation-duration: 4.2s;
}

.confetti:nth-child(9) {
    left: 90%;
    animation-duration: 6.2s;
    background-color: #c25934;
}

.confetti-note {
    position: absolute;
    font-size: 24px;
    color: #efcf4f;
    opacity: 0.6;
    animation: drift-note 6s infinite linear;
}

.confetti-note:nth-child(10) {
    left: 15%;
    animation-duration: 5.5s;
    color: #c25934;
}

.confetti-note:nth-child(11) {
    left: 35%;
    animation-duration: 4.8s;
    color: #0c4b65;
}

.confetti-note:nth-child(12) {
    left: 55%;
    animation-duration: 6.2s;
    color: #50bda4;
}

.confetti-note:nth-child(13) {
    left: 75%;
    animation-duration: 5.1s;
    color: #c25934;
}

.confetti-note:nth-child(14) {
    left: 85%;
    animation-duration: 4.5s;
    color: #efcf4f;
}

.confetti-note:nth-child(15) {
    left: 5%;
    animation-duration: 6.8s;
    color: #0c4b65;
    font-size: 30px;
}

@keyframes drift {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(1200px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes drift-note {
    0% {
        transform: translateY(-20px) rotate(-15deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        transform: translateY(1200px) rotate(45deg);
        opacity: 0;
    }
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: linear-gradient(rgba(12, 75, 101, 0.92), rgba(12, 75, 101, 0.92)), url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?w=1920&h=1080&fit=crop') no-repeat center center/cover;
    padding: 100px 48px;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-content .section-subheading.text-yellow {
    color: #efcf4f;
    text-transform: capitalize;
    font-size: 18px;
    margin-bottom: 8px;
}

.about-content .section-heading.text-white {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 32px;
}

.about-content p.text-bold-yellow {
    font-family: "Open Sans", sans-serif;
    color: #efcf4f;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 32px;
}

.about-content p.text-white-normal {
    font-family: "Open Sans", sans-serif;
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 40px;
}

.about-content .btn-view-all {
    margin-top: 0;
}

.about-image {
    position: relative;
}

.about-image .image-wrapper {
    position: relative;
    padding-bottom: 30px;
    padding-right: 30px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-image .image-wrapper::after {
    content: "";
    position: absolute;
    top: 30px;
    left: 30px;
    right: 0;
    bottom: 0;
    background-color: #efcf4f;
    border-radius: 12px;
    z-index: 1;
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: #efcf4f;
    padding: 80px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: 72px;
    color: #ffffff;
    display: block;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.15);
}

.stat-label {
    display: block;
    line-height: 1.2;
}

.stat-label-top {
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #0c4b65;
}

.stat-label-bottom {
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #c25934;
}

/* ========== STUDENTS SECTION ========== */
.students-section {
    background: #ffffff;
    padding: 100px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.students-section .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1;
    pointer-events: none;
}

.students-section .circle-1 {
    width: 450px;
    height: 450px;
}

.students-section .circle-2 {
    width: 850px;
    height: 850px;
}

.students-section .circle-3 {
    width: 1250px;
    height: 1250px;
}

.students-section .circle-4 {
    width: 1650px;
    height: 1650px;
}

.floating-media-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-media-icons .m-icon {
    position: absolute;
    font-weight: bold;
}

.floating-media-icons .icon-red-circle {
    top: 80%;
    left: 10%;
    width: 16px;
    height: 16px;
    border: 3px solid #c25934;
    border-radius: 50%;
}

.floating-media-icons .icon-blue-diamond {
    top: 20%;
    left: 85%;
    width: 12px;
    height: 12px;
    border: 2px solid #0c4b65;
    transform: rotate(45deg);
}

.floating-media-icons .icon-orange-dot {
    top: 60%;
    right: 10%;
    width: 6px;
    height: 6px;
    background: #c25934;
    border-radius: 50%;
}

.floating-media-icons .icon-blue-dot {
    top: 45%;
    left: 10%;
    width: 8px;
    height: 8px;
    background: #0c4b65;
    border-radius: 50%;
    border: none;
}

.m-note-1 {
    top: 15%;
    left: 15%;
    font-size: 35px;
    transform: rotate(-20deg);
    color: #0c4b65;
    text-shadow: -2px 2px 0 #efcf4f;
}

.m-note-2 {
    top: 30%;
    left: 5%;
    font-size: 30px;
    transform: rotate(10deg);
    color: #0c4b65;
}

.m-note-3 {
    top: 70%;
    left: 18%;
    font-size: 45px;
    transform: rotate(15deg);
    color: #efcf4f;
    text-shadow: 2px 2px 0 #0c4b65;
}

.m-note-4 {
    top: 10%;
    right: 15%;
    font-size: 30px;
    transform: rotate(15deg);
    color: #0c4b65;
    text-shadow: 2px 2px 0 #efcf4f;
}

.m-note-5 {
    top: 35%;
    right: 5%;
    font-size: 40px;
    transform: rotate(-15deg);
    color: #c25934;
}

.m-note-6 {
    top: 65%;
    right: 20%;
    font-size: 35px;
    transform: rotate(20deg);
    color: #0c4b65;
    text-shadow: -2px -2px 0 #89c5cc;
}

.students-container {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin: 0 auto;
}

.students-section .section-subheading.text-orange {
    color: #c25934;
    text-transform: capitalize;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 800;
}

.students-section .section-heading.text-dark-blue {
    color: #0c4b65;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.students-section .section-description.text-grey {
    color: #0c4b65;
    font-size: 14px;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.video-placeholder {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
    transition: transform 0.2s;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.play-button::before {
    content: '';
    width: 50px;
    height: 50px;
    background: #c25934;
    border-radius: 50%;
    position: absolute;
}

.play-button::after {
    content: "";
    position: relative;
    border-left: 14px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

/* ========== CHOOSE CLASS SECTION ========== */
.choose-class-section {
    background: #f7f5ef;
    padding: 100px 48px;
    text-align: center;
}

.choose-class-section .section-subheading.text-orange {
    color: #c25934;
    text-transform: capitalize;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 800;
}

.choose-class-section .section-heading.text-dark-blue {
    color: #0c4b65;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 48px;
}

.choose-class-section .btn-read-more {
    background-color: #c25934;
    color: #ffffff;
    font-weight: 800;
    font-size: 14px;
    padding: 14px 40px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.2s;
    letter-spacing: 1px;
}

.choose-class-section .btn-read-more:hover {
    background-color: #a34828;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&h=600&fit=crop') center/cover;
    padding: 80px 48px;
    text-align: center;
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 32px;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-header h4 {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 20px;
    color: var(--dark);
}

.testimonial-role {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    color: var(--light-grey);
}

.stars {
    color: var(--mustard);
    font-size: 16px;
    margin-top: 4px;
}

.testimonial-quote {
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    font-weight: 800;
    font-size: 18px;
    color: var(--dark);
    line-height: 1.8;
    font-style: italic;
}

.quote-marks {
    font-size: 72px;
    color: var(--cream-dark);
    font-family: Georgia, serif;
    margin-top: 16px;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.nav-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}

.nav-arrow:hover {
    background: var(--white);
    color: var(--teal);
}

/* ========== TEACHERS SECTION ========== */
.teachers-section {
    background: #ffffff;
    padding: 100px 24px;
}

.teachers-section .container.text-center {
    text-align: center;
}

.teachers-section .section-subheading {
    color: #c25934;
    font-size: 20px;
    text-transform: capitalize;
    margin-bottom: 5px;
}

.teachers-section .section-heading {
    color: #0c4b65;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
}

.teachers-section .section-description {
    color: #0c4b65;
    font-size: 15px;
    margin: 0 auto 60px;
    max-width: 700px;
    line-height: 1.8;
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.teacher-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.teacher-image-wrapper {
    margin: 0 auto 25px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px solid #efcf4f;
    /* Yellow ring */
    padding: 8px;
    /* Gap between ring and image */
    display: flex;
    align-items: center;
    justify-content: center;
}

.teacher-card img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    margin: 0;
}

.teacher-card h4 {
    font-family: "Open Sans", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0c4b65;
    margin-bottom: 5px;
}

.teacher-card .teacher-role {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #c25934;
    text-transform: capitalize;
    display: block;
    margin-bottom: 12px;
}

.teacher-social {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.teacher-social a {
    color: #9baab8;
    /* Grayish blue for social icons */
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.teacher-social a:hover {
    color: #0c4b65;
}

.teachers-section .btn-wrap {
    text-align: center;
}

/* ========== BLOG SECTION ========== */
.blog-section {
    position: relative;
    background: #fdfaf6;
    padding: 100px 24px 180px;
    /* Extra bottom padding to allow newsletter overlap */
    text-align: center;
    overflow: hidden;
}

.blog-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.2;
    /* Very faint */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.83-1.66 1.66-.83-.83.83-.83zM27.83 0l.83.83-1.66 1.66-.83-.83.83-.83zM1.03 0l.83.83-1.66 1.66-.83-.83.83-.83zM0 1.03l.83.83-1.66 1.66L-.83 1.86.03 1.03zM0 27.83l.83.83-1.66 1.66-.83-.83.83-.83zM0 54.627l.83.83-1.66 1.66-.83-.83.83-.83z' fill='%23c25934' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.blog-section .section-subheading {
    color: #c25934;
    font-size: 20px;
    text-transform: none;
    margin-bottom: 5px;
}

.blog-section .section-heading {
    color: #0c4b65;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 50px;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: transparent;
    text-align: left;
}

.blog-image-wrapper {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image-wrapper img {
    transform: scale(1.05);
}

.blog-meta {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #dfbea7;
    /* Pipe color */
    margin-bottom: 15px;
}

.blog-meta .blog-date {
    color: #efcf4f;
}

.blog-meta .blog-cat {
    color: #c25934;
}

.blog-card h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #0c4b65;
    margin: 0 0 15px;
    line-height: 1.3;
}

.blog-card .blog-excerpt {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    /* Normal weight description */
    color: #0c4b65;
    margin: 0 0 20px;
    line-height: 1.6;
}

.blog-card .read-more {
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #c25934;
    text-decoration: none;
    text-transform: lowercase;
}

.blog-card .read-more:hover {
    text-decoration: underline;
}

/* ========== FOOTER & NEWSLETTER OVERLAP ========== */
.footer-area {
    position: relative;
    background: #0c4b65;
    padding-top: 120px;
    /* Space for the overlapping newsletter box */
}

.newsletter-wrapper {
    position: absolute;
    top: -65px;
    /* Pulls it up over the blog section */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1100px;
    padding: 0 24px;
    z-index: 10;
}

.newsletter-inner {
    background: #efcf4f;
    border-radius: 8px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.newsletter-text {
    flex: 1;
}

.newsletter-subheading {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 5px 0;
}

.newsletter-heading {
    font-family: "Open Sans", sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: #0c4b65;
    margin: 0;
    line-height: 1;
}

.newsletter-form-inline {
    display: flex;
    flex: 1;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.newsletter-form-inline input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    outline: none;
}

.newsletter-form-inline input::placeholder {
    color: #a0a0a0;
}

.btn-subscribe {
    background: #c25934;
    color: #ffffff;
    border: none;
    padding: 18px 30px;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 800;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-subscribe:hover {
    background: #a34828;
}

/* ========== MAIN FOOTER ========== */
.footer-main {
    padding: 60px 24px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Left logo/desc, Right Instagram */
    gap: 60px;
}

.footer-left {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.logo-icon-svg {
    width: 60px;
    height: 60px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .logo-title {
    font-family: "Spicy Rice", serif;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 4px;
}

.logo-text .nota {
    color: #efcf4f;
}

.logo-text .corda {
    color: #c25934;
}

.logo-text small {
    font-family: "Open Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.footer-desc {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

.footer-right .footer-heading {
    font-size: 24px;
    font-weight: 800;
    color: #efcf4f;
    margin-bottom: 25px;
}

/* ========== FOOTER BOTTOM LAYER ========== */
.footer-bottom {
    background: #083b50;
    padding: 24px;
}

.footer-bottom-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
}

.footer-bottom p span,
.footer-bottom p a {
    color: #c25934;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom p a:hover {
    color: #efcf4f;
}

.scroll-to-top {
    background: #efcf4f;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 4px 50%;
    /* Tear drop shape similar to design */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    position: relative;
    padding: 100px 24px;
    background: url('https://images.unsplash.com/photo-1511379938547-c1f69419868d?w=1920&h=1080&fit=crop') center/cover no-repeat;
    text-align: center;
}

.testimonials-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 45, 45, 0.75);
    z-index: 1;
}

.testimonials-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonials-container .section-subheading {
    color: #efcf4f;
    font-size: 20px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.testimonials-container .section-heading {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 60px;
}

.testimonial-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.nav-btn {
    background: #efcf4f;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.nav-btn:hover {
    background: #e6b800;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 6px;
    padding: 60px 80px;
    position: relative;
    width: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 6px solid #e0e0e0;
    overflow: hidden;
}

.testimonial-bg-quote {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 350px;
    color: #f7f3ed;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}

.testimonial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    text-align: left;
}

.testimonial-info h4 {
    color: #c25934;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 2px 0;
    text-transform: none;
}

.testimonial-role {
    color: #0c4b65;
    font-size: 14px;
    font-weight: 800;
    display: block;
}

.testimonial-quote {
    font-size: 18px;
    color: #0c4b65;
    font-weight: 800;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 80px;
        line-height: 80px;
    }

    .class-cards,
    .blog-cards {
        grid-template-columns: 1fr;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        min-height: 400px;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonial-card {
        padding: 50px 40px;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px;
    }

    .newsletter-form-inline {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Navbar styling handled in max-width: 1199px breakpoint */

    .hero-heading {
        font-size: 56px;
        line-height: 56px;
    }

    .section-heading {
        font-size: 28px;
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .teachers-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .testimonial-content-wrapper {
        flex-direction: column;
    }

    .nav-btn {
        display: none;
    }

    .testimonial-card {
        padding: 40px 20px;
    }

    .testimonials-container .section-heading {
        font-size: 32px;
    }

    .newsletter-form-inline {
        flex-direction: column;
    }

    .newsletter-form-inline input {
        border-radius: 4px;
        margin-bottom: 10px;
    }

    .btn-subscribe {
        border-radius: 4px;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}