:root {
    --primary: #fe5d37;
    --primary-dark: #e94b26;
    --navy: #103741;
    --text: #74787c;
    --light: #fff5f3;
    --white: #fff;
    --green: #198754;
    --yellow: #ffc107;
    --blue: #0d6efd;
    --shadow: 0 12px 35px rgba(16, 55, 65, .10)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Heebo, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.65
}

body.nav-open {
    overflow: hidden
}

img {
    display: block;
    width: 100%
}

a {
    text-decoration: none;
    color: inherit
}

button,
input,
textarea {
    font: inherit
}

.container {
    width: min(1140px, calc(100% - 40px));
    margin-inline: auto
}

.section {
    padding: 96px 0
}

h1,
h2,
h3 {
    font-family: "Lobster Two", cursive;
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 18px
}

h1 {
    font-size: clamp(2.7rem, 6vw, 4.6rem)
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem)
}

h3 {
    font-size: 1.5rem
}

p {
    margin: 0 0 18px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 15px 30px;
    font-weight: 600;
    transition: .25s;
    cursor: pointer
}

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

.btn-primary {
    background: var(--primary);
    color: #fff
}

.btn-primary:hover {
    background: var(--primary-dark)
}

.btn-dark {
    background: var(--navy);
    color: #fff
}

.btn-block {
    width: 100%;
    border-radius: 10px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .06)
}

.navbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary);
    font: 700 2rem/1 "Lobster Two", cursive
}

.brand i {
    font-size: 1.7rem
}

.nav-menu {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 26px
}

.nav-menu>a,
.dropdown-toggle {
    font-weight: 600;
    color: var(--navy);
    background: none;
    border: 0;
    cursor: pointer;
    padding: 26px 0
}

.nav-menu>a:hover,
.nav-menu>a.active,
.dropdown-toggle:hover {
    color: var(--primary)
}

.nav-menu .nav-cta {
    padding: 13px 24px;
    color: #741c73
}

.dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center
}

.dropdown-toggle i {
    font-size: .7rem;
    margin-left: 5px
}

.dropdown-menu {
    position: absolute;
    top: 72px;
    left: -15px;
    min-width: 220px;
    background: #fff;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none
}

.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    color: var(--navy)
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary)
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 9px
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--navy);
    margin: 5px
}

.hero {
    height: calc(100vh - 76px);
    min-height: 620px;
    position: relative;
    overflow: hidden
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-image: var(--hero);
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.03);
    transition: opacity .7s, transform 5s
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1)
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 55, 65, .78), rgba(16, 55, 65, .18))
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    color: #fff;
    padding-bottom: 40px
}

.hero-content h1 {
    color: #fff;
    max-width: 780px
}

.hero-content p {
    max-width: 720px;
    font-size: 1.16rem
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 12px
}

.hero-control {
    position: absolute;
    right: 30px;
    z-index: 4;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer
}

.hero-control.prev {
    top: 44%
}

.hero-control.next {
    top: 54%
}

.hero-control:hover {
    background: var(--primary);
    border-color: var(--primary)
}

.hero-dots {
    position: absolute;
    z-index: 4;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 9px
}

.hero-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent;
    padding: 0
}

.hero-dots button.active {
    background: var(--primary);
    border-color: var(--primary)
}

.wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 28px;
    background-size: 80px 28px
}

.wave-bottom {
    bottom: -1px;
    background-image: radial-gradient(42px 20px at 40px 0, transparent 41px, #fff 42px)
}

.section-heading {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 55px
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.facility-card {
    text-align: center;
    padding: 0 18px 35px;
    border-radius: 50% 50% 12px 12px;
    position: relative;
    margin-top: 55px;
    transition: .3s
}

.facility-card.red {
    background: #fff1ed;
    color: var(--primary)
}

.facility-card.green {
    background: #eaf8f0;
    color: var(--green)
}

.facility-card.yellow {
    background: #fff8df;
    color: #e6a700
}

.facility-card.blue {
    background: #eef5ff;
    color: var(--blue)
}

.facility-card:hover {
    transform: translateY(-8px)
}

.facility-icon {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: -52px auto 20px;
    background: inherit;
    border: 15px solid #fff
}

.facility-icon i {
    font-size: 2.3rem
}

.facility-card h3 {
    color: currentColor
}

.facility-card p {
    color: var(--text)
}

.two-column {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center
}

.about-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 25px
}

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

.founder img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover
}

.founder strong,
.founder span {
    display: block
}

.founder strong {
    color: var(--primary)
}

.founder span {
    font-size: .9rem
}

.about-images {
    height: 520px;
    position: relative
}

.about-images img {
    object-fit: cover;
    border-radius: 50%;
    border: 14px solid var(--light);
    position: absolute
}

.image-main {
    width: 330px;
    height: 330px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.image-small {
    width: 190px;
    height: 190px
}

.image-small.top {
    right: 0;
    top: 0
}

.image-small.bottom {
    left: 0;
    bottom: 0
}

.teacher-cta {
    padding-top: 25px
}

.cta-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--light);
    border-radius: 12px;
    overflow: hidden
}

.cta-panel>img {
    height: 100%;
    min-height: 390px;
    object-fit: cover
}

.cta-copy {
    padding: 65px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px
}

.class-card {
    border-radius: 50% 50% 12px 12px;
    overflow: hidden;
    background: var(--light);
    box-shadow: 0 5px 20px rgba(16, 55, 65, .04);
    transition: .3s
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow)
}

.class-card>img {
    height: 270px;
    object-fit: cover;
    border-radius: 50%
}

.class-body {
    padding: 25px
}

.class-body h3 {
    text-align: center
}

.teacher-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding-bottom: 18px
}

.teacher-row img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover
}

.teacher-row strong,
.teacher-row span {
    display: block
}

.teacher-row strong {
    color: var(--primary)
}

.teacher-row span {
    font-size: .86rem
}

.teacher-row b {
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center
}

.class-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #edd8d3;
    padding-top: 16px;
    gap: 8px;
    text-align: center;
    font-size: .84rem
}

.class-meta span {
    border-right: 1px solid #edd8d3
}

.class-meta span:last-child {
    border: 0
}

.class-meta strong {
    display: block;
    color: var(--primary)
}

.appointment-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light)
}

.appointment-form {
    padding: 55px
}

.appointment-panel>img {
    height: 100%;
    object-fit: cover
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.appointment-form label {
    display: block;
    margin-bottom: 16px
}

.appointment-form label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.appointment-form input,
.appointment-form textarea {
    width: 100%;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: 15px;
    background: #fff;
    outline: none
}

.appointment-form input:focus,
.appointment-form textarea:focus {
    border-color: var(--primary)
}

.form-message {
    margin: 12px 0 0;
    color: var(--green);
    min-height: 24px
}

.teacher-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px
}

.teacher-card {
    text-align: center
}

.teacher-photo {
    position: relative;
    border-radius: 50%;
    padding: 20px
}

.teacher-photo:before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 14px solid var(--light);
    border-radius: 50%;
    transition: .3s
}

.teacher-photo img {
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover
}

.teacher-card:hover .teacher-photo:before {
    border-color: #ffe3dc
}

.teacher-card h3 {
    margin-top: 18px;
    margin-bottom: 6px
}

.socials {
    position: absolute;
    right: 12px;
    bottom: 35px;
    display: flex;
    gap: 7px
}

.socials a,
.footer-socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff
}

.testimonials {
    background: #fff
}

.testimonial-window {
    overflow: hidden
}

.testimonial-track {
    display: flex;
    transition: transform .45s ease
}

.testimonial {
    flex: 0 0:calc(50% - 14px);
    margin-right: 28px;
    background: var(--light);
    padding: 30px;
    border-radius: 12px
}

.testimonial>p {
    font-size: 1.05rem
}

.testimonial>div {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    align-items: center;
    gap: 14px
}

.testimonial img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover
}

.testimonial strong,
.testimonial small {
    display: block
}

.testimonial strong {
    font: 700 1.25rem "Lobster Two";
    color: var(--navy)
}

.testimonial i {
    font-size: 3rem;
    color: var(--primary)
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px
}

.testimonial-controls button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer
}

.footer {
    position: relative;
    background: var(--navy);
    color: #aab8bc;
    padding: 100px 0 28px
}

.wave-top {
    top: -1px;
    transform: rotate(180deg);
    background-image: radial-gradient(42px 20px at 40px 0, transparent 41px, #fff 42px)
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr .8fr 1.1fr 1.1fr;
    gap: 45px
}

.footer h3 {
    color: #fff
}

.footer p i {
    color: var(--primary);
    width: 24px
}

.footer-grid section:nth-child(2)>a {
    display: block;
    margin-bottom: 8px
}

.footer-grid section:nth-child(2)>a:before {
    content: "›";
    margin-right: 9px
}

.footer a:hover {
    color: var(--primary)
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 22px
}

.footer-socials a {
    background: transparent;
    border: 1px solid #789099
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px
}

.gallery img {
    aspect-ratio: 1;
    object-fit: cover;
    border: 4px solid #fff;
    border-radius: 5px
}

.newsletter-form {
    position: relative;
    margin-top: 18px
}

.newsletter-form input {
    width: 100%;
    padding: 17px 105px 17px 14px;
    border: 0;
    border-radius: 8px
}

.newsletter-form button {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    border: 0;
    border-radius: 7px;
    background: var(--primary);
    color: #fff;
    padding: 0 15px
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 45px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 20px
}

.footer-bottom div {
    display: flex;
    gap: 22px
}

.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s;
    z-index: 900
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none
}

.page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 9999;
    display: grid;
    place-items: center;
    transition: .35s
}

.page-loader span {
    width: 48px;
    height: 48px;
    border: 5px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .8s linear infinite
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: .7s
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@media(max-width:991px) {
    .nav-toggle {
        display: block
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        display: block;
        padding: 20px 30px;
        transform: translateX(100%);
        transition: .3s;
        overflow: auto
    }

    .nav-menu.open {
        transform: none
    }

    .nav-menu>a,
    .dropdown-toggle {
        display: block;
        width: 100%;
        text-align: left;
        padding: 13px 0
    }

    .nav-menu .nav-cta {
        display: inline-flex;
        width: auto;
        padding: 13px 24px;
        margin-top: 12px
    }

    .dropdown {
        height: auto;
        display: block
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 15px
    }

    .dropdown.open .dropdown-menu {
        display: block
    }

    .hero {
        height: 720px
    }

    .facility-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 70px
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .about-images {
        max-width: 620px;
        width: 100%;
        margin: auto
    }

    .class-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .appointment-panel {
        grid-template-columns: 1fr
    }

    .appointment-panel>img {
        height: 450px;
        order: -1
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .testimonial {
        flex-basis: 100%;
        margin-right: 0
    }

    .teacher-grid {
        gap: 25px
    }
}

@media(max-width:767px) {
    .container {
        width: min(100% - 28px, 1140px)
    }

    .section {
        padding: 72px 0
    }

    .hero {
        height: 650px;
        min-height: 0
    }

    .hero-content p {
        font-size: 1rem
    }

    .hero-control {
        display: none
    }

    .facility-grid,
    .class-grid,
    .teacher-grid,
    .footer-grid {
        grid-template-columns: 1fr
    }

    .facility-grid {
        gap: 70px
    }

    .about-footer {
        align-items: flex-start;
        flex-direction: column
    }

    .about-images {
        height: 400px
    }

    .image-main {
        width: 260px;
        height: 260px
    }

    .image-small {
        width: 135px;
        height: 135px
    }

    .cta-panel {
        grid-template-columns: 1fr
    }

    .cta-panel>img {
        min-height: 300px
    }

    .cta-copy,
    .appointment-form {
        padding: 35px 25px
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .appointment-panel>img {
        height: 300px
    }

    .class-card>img {
        height: 300px
    }

    .teacher-card {
        max-width: 420px;
        margin: auto
    }

    .footer-bottom {
        flex-direction: column
    }

    .footer-bottom div {
        flex-wrap: wrap
    }

    .testimonial {
        padding: 24px
    }

    .testimonial>div {
        grid-template-columns: 54px 1fr auto
    }

    .testimonial img {
        width: 54px;
        height: 54px
    }

    .socials {
        right: 20px
    }
}

@media(max-width:480px) {
    .brand {
        font-size: 1.65rem
    }

    .navbar {
        height: 68px
    }

    .nav-menu {
        top: 68px
    }

    .hero {
        height: 600px
    }

    .hero-actions {
        width: 100%
    }

    .hero-actions .btn {
        padding: 13px 21px
    }

    .about-images {
        height: 330px
    }

    .image-main {
        width: 220px;
        height: 220px
    }

    .image-small {
        width: 112px;
        height: 112px
    }

    .class-card>img {
        height: 250px
    }

    .class-meta {
        font-size: .75rem
    }

    .footer-bottom div {
        gap: 12px
    }
}

/* Additional pages — extends the existing homepage design without changing its main layout */
.inner-hero {
    min-height: 430px;
    position: relative;
    background-image: var(--inner-hero);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden
}

.inner-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 95px 0
}

.inner-hero h1 {
    color: #fff;
    max-width: 760px
}

.inner-hero p {
    max-width: 680px;
    font-size: 1.15rem
}

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 700;
    font-size: .78rem;
    color: #fff
}

.eyebrow.dark {
    color: var(--primary)
}

.soft-section {
    background: var(--light)
}

.page-two-column {
    align-items: center
}

.page-image-stack {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    align-items: end
}

.page-image-stack img {
    height: 430px;
    object-fit: cover;
    border-radius: 18px
}

.page-image-stack img+img {
    height: 320px
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px
}

.info-card {
    padding: 34px 26px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    text-align: center
}

.info-card i {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    background: var(--light);
    color: var(--primary);
    font-size: 1.8rem
}

.educator-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px
}

.educator-card {
    display: grid;
    grid-template-columns: 190px 1fr;
    background: var(--light);
    border-radius: 14px;
    overflow: hidden
}

.educator-card img {
    height: 100%;
    min-height: 270px;
    object-fit: cover
}

.educator-card>div {
    padding: 30px
}

.educator-card span {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-top: -8px;
    margin-bottom: 14px
}

.content-note {
    margin-top: 28px;
    padding: 18px 22px;
    border-left: 4px solid var(--primary);
    background: var(--light)
}

.facility-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px
}

.facility-detail {
    display: grid;
    grid-template-columns: 45% 55%;
    background: var(--light);
    border-radius: 14px;
    overflow: hidden;
    min-height: 290px
}

.facility-detail img {
    height: 100%;
    object-fit: cover
}

.facility-detail>div {
    padding: 30px
}

.facility-detail i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px
}

.overflow-hidden {
    overflow: hidden
}

.auto-gallery {
    overflow: hidden;
    width: 100%
}

.auto-gallery-track {
    display: flex;
    width: max-content;
    gap: 18px;
    animation: facilityScroll 55s linear infinite
}

.auto-gallery:hover .auto-gallery-track {
    animation-play-state: paused
}

.auto-gallery figure {
    width: 320px;
    margin: 0;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow)
}

.auto-gallery img {
    height: 230px;
    object-fit: cover
}

.auto-gallery figcaption {
    padding: 14px 18px;
    color: var(--navy);
    font-weight: 600
}

.rounded-feature {
    height: 480px;
    object-fit: cover;
    border-radius: 18px
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 28px 0
}

.check-list li {
    margin: 12px 0;
    padding-left: 30px;
    position: relative
}

.check-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px
}

.gallery-filters button {
    border: 1px solid #eed8d2;
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 600
}

.gallery-filters button.active,
.gallery-filters button:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff
}

.photo-grid {
    columns: 4 250px;
    column-gap: 18px
}

.gallery-item {
    width: 100%;
    display: block;
    position: relative;
    border: 0;
    padding: 0;
    margin: 0 0 18px;
    background: none;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    break-inside: avoid
}

.gallery-item img {
    width: 100%;
    height: auto
}

.gallery-item span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(16, 55, 65, .55);
    color: #fff;
    font-size: 2rem;
    opacity: 0;
    transition: .25s
}

.gallery-item:hover span {
    opacity: 1
}

.gallery-item.is-hidden {
    display: none
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px
}

.lightbox.open {
    display: flex
}

.lightbox img {
    max-width: min(1000px, 86vw);
    max-height: 86vh;
    width: auto;
    border-radius: 8px
}

.lightbox button {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer
}

.lightbox-close {
    top: 24px;
    right: 24px
}

.lightbox-prev {
    left: 24px
}

.lightbox-next {
    right: 24px
}

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 65px;
    align-items: start
}

.contact-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid #eee
}

.contact-card>i {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--light);
    color: var(--primary);
    font-size: 1.4rem
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 7px
}

.contact-card a {
    color: var(--primary);
    font-weight: 600
}

.standalone-form {
    background: var(--light);
    border-radius: 14px;
    box-shadow: var(--shadow)
}

.standalone-form input,
.standalone-form textarea {
    border-color: #f1ddd8
}

.form-disclaimer {
    display: block;
    margin-top: 12px;
    line-height: 1.45
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 440px;
    border: 0
}

@keyframes facilityScroll {
    from {
        transform: translateX(-50%)
    }

    to {
        transform: translateX(0)
    }
}

@media(max-width:991px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .educator-grid,
    .facility-detail-grid {
        grid-template-columns: 1fr
    }

    .contact-layout {
        grid-template-columns: 1fr
    }

    .photo-grid {
        columns: 3 220px
    }
}

@media(max-width:767px) {
    .inner-hero {
        min-height: 360px
    }

    .inner-hero-content {
        padding: 75px 0
    }

    .page-image-stack {
        grid-template-columns: 1fr
    }

    .page-image-stack img,
    .page-image-stack img+img {
        height: 320px
    }

    .info-grid {
        grid-template-columns: 1fr
    }

    .educator-card {
        grid-template-columns: 1fr
    }

    .educator-card img {
        height: 320px
    }

    .facility-detail {
        grid-template-columns: 1fr
    }

    .facility-detail img {
        height: 270px
    }

    .photo-grid {
        columns: 2 160px
    }

    .auto-gallery figure {
        width: 270px
    }

    .auto-gallery img {
        height: 200px
    }

    .rounded-feature {
        height: 350px
    }
}

@media(max-width:480px) {
    .photo-grid {
        columns: 1
    }

    .lightbox-prev {
        left: 8px
    }

    .lightbox-next {
        right: 8px
    }

    .lightbox-close {
        right: 12px;
        top: 12px
    }
}
/* =========================================================
   Londonderry Childcare — professional logo-aligned theme
   Primary: blue | Secondary: purple | Accents: green/orange/pink
   ========================================================= */
:root {
    --primary: #1268b3;
    --primary-dark: #0b4f8d;
    --secondary: #57277d;
    --secondary-dark: #3f1b5d;
    --accent-green: #59bd46;
    --accent-orange: #f59a23;
    --accent-pink: #df174f;
    --navy: #173447;
    --text: #5f6f7b;
    --light: #f4f8fc;
    --white: #ffffff;
    --green: #59bd46;
    --yellow: #f59a23;
    --blue: #1268b3;
    --shadow: 0 14px 38px rgba(41, 49, 92, .12);
}

body {
    color: var(--text);
    background: #fff;
}

.site-header {
    border-bottom: 1px solid rgba(18, 104, 179, .10);
    box-shadow: 0 6px 24px rgba(41, 49, 92, .08);
}

.brand {
    color: var(--secondary);
}

.brand i {
    color: var(--primary);
}

.nav-menu>a:hover,
.nav-menu>a.active,
.dropdown-toggle:hover {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1979c9);
    color: #fff;
    box-shadow: 0 8px 22px rgba(18, 104, 179, .22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    box-shadow: 0 10px 26px rgba(87, 39, 125, .24);
}

.btn-dark {
    background: var(--secondary);
    color: #fff;
}

.btn-dark:hover {
    background: var(--secondary-dark);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(23, 52, 71, .79), rgba(87, 39, 125, .28), rgba(18, 104, 179, .12));
}

.hero-control:hover,
.testimonial-controls button,
.back-to-top {
    background: var(--primary);
    border-color: var(--primary);
}

.hero-dots button.active {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.section-heading h2,
.about-copy h2,
.cta-copy h2,
.appointment-form h2,
.contact-info h2 {
    color: var(--secondary);
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 15px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--accent-green), var(--accent-orange), var(--accent-pink));
}

.facility-card.red {
    background: #fff0f5;
    color: var(--accent-pink);
}

.facility-card.green {
    background: #effaed;
    color: var(--accent-green);
}

.facility-card.yellow {
    background: #fff7e8;
    color: var(--accent-orange);
}

.facility-card.blue {
    background: #edf6ff;
    color: var(--primary);
}

.facility-card {
    box-shadow: 0 12px 28px rgba(41, 49, 92, .08);
    border: 1px solid rgba(18, 104, 179, .06);
}

.facility-card:hover,
.class-card:hover,
.info-card:hover {
    box-shadow: 0 18px 38px rgba(87, 39, 125, .16);
}

.facility-icon {
    border-color: #fff;
}

.about,
.soft-section,
.appointment,
.teacher-cta {
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}

.founder strong,
.teacher-row strong,
.contact-card a,
.eyebrow.dark {
    color: var(--primary);
}

.cta-panel,
.appointment-panel,
.standalone-form,
.educator-card,
.facility-detail {
    background: #f6f1fa;
    border: 1px solid rgba(87, 39, 125, .08);
}

.class-card {
    background: #fff;
    border: 1px solid rgba(18, 104, 179, .09);
}

.class-card:nth-child(4n+1) { border-top: 5px solid var(--primary); }
.class-card:nth-child(4n+2) { border-top: 5px solid var(--secondary); }
.class-card:nth-child(4n+3) { border-top: 5px solid var(--accent-green); }
.class-card:nth-child(4n+4) { border-top: 5px solid var(--accent-orange); }

.teacher-row b {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.class-meta strong {
    color: var(--secondary);
}

.appointment-form input:focus,
.appointment-form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(18, 104, 179, .10);
}

.socials a,
.footer-socials a {
    background: var(--primary);
}

.socials a:nth-child(2),
.footer-socials a:nth-child(2) {
    background: var(--secondary);
}

.socials a:nth-child(3),
.footer-socials a:nth-child(3) {
    background: var(--accent-green);
}

.socials a:nth-child(4),
.footer-socials a:nth-child(4) {
    background: var(--accent-orange);
}

.testimonial {
    background: #f7f3fa;
    border-left: 5px solid var(--secondary);
}

.testimonial:nth-child(2) {
    border-left-color: var(--primary);
}

.testimonial:nth-child(3) {
    border-left-color: var(--accent-green);
}

.testimonial i {
    color: var(--secondary);
}

.footer {
    background: linear-gradient(135deg, #3e185c 0%, #57277d 50%, #174f87 100%);
    color: rgba(255,255,255,.76);
}

.footer h3,
.footer a {
    color: #fff;
}

.footer p i {
    color: #9ddf85;
}

.footer a:hover {
    color: #ffd27a;
}

.footer-socials a {
    border-color: rgba(255,255,255,.35);
}

.footer-bottom {
    border-top-color: rgba(255,255,255,.18);
}

.inner-hero {
    background-color: #eef5fb;
}

.inner-hero .hero-overlay {
    background: linear-gradient(90deg, rgba(23, 52, 71, .70), rgba(87, 39, 125, .30), rgba(18, 104, 179, .12));
}

.info-card:nth-child(4n+1) i { color: var(--primary); background: #edf6ff; }
.info-card:nth-child(4n+2) i { color: var(--secondary); background: #f5eff9; }
.info-card:nth-child(4n+3) i { color: var(--accent-green); background: #effaed; }
.info-card:nth-child(4n+4) i { color: var(--accent-orange); background: #fff7e8; }

.educator-card span,
.facility-detail i {
    color: var(--primary);
}

.gallery-filters button.active,
.gallery-filters button:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
}

.contact-card>i {
    background: #edf6ff;
    color: var(--primary);
}

.page-loader span {
    border-top-color: var(--primary);
}

@media(max-width: 991px) {
    .nav-menu {
        border-top: 3px solid var(--primary);
    }
}

.brand{
    display:flex;
    align-items:center;
}

.brand img{
    height:72px;
    width:auto;
    display:block;
}
