/* ==========================================================================
   Montessori theme — playful kindergarten / early-years school
   Palette + type follow the Kidearn design language.
   Colour tokens are declared in layout.html.twig from ThemeConfig.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */
body {
    font-family: var(--mt-font);
    font-size: 16px;
    line-height: 2em;
    color: var(--mt-text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--mt-heading-font);
    color: var(--mt-black);
    font-weight: 700;
    line-height: 1.25em;
    letter-spacing: -0.03em;
}

a {
    color: var(--mt-base);
    text-decoration: none;
    transition: all 400ms ease;
}

a:hover {
    color: var(--mt-primary);
}

::selection {
    background-color: var(--mt-base);
    color: #fff;
}

.section-padding {
    padding: 80px 0;
}

@media (min-width: 992px) {
    .section-padding {
        padding: 120px 0;
    }
}

.bg-cream {
    background-color: var(--mt-gray);
}

.text-base {
    color: var(--mt-base) !important;
}

.text-teal {
    color: var(--mt-primary) !important;
}

.text-sun {
    color: var(--mt-secondary) !important;
}

.text-leaf {
    color: var(--mt-secondary2) !important;
}

.text-sky {
    color: var(--mt-blue) !important;
}

.bg-base {
    background-color: var(--mt-base) !important;
}

.bg-teal {
    background-color: var(--mt-primary) !important;
}

.bg-sun {
    background-color: var(--mt-secondary) !important;
}

.bg-leaf {
    background-color: var(--mt-secondary2) !important;
}

.bg-ink {
    background-color: var(--mt-black) !important;
}

/* --------------------------------------------------------------------------
   2. Section titles
   -------------------------------------------------------------------------- */
.sec-title {
    padding-bottom: 42px;
}

.sec-title__tagline {
    margin: 0;
    font-family: var(--mt-special-font);
    color: var(--mt-base);
    font-size: 20px;
    line-height: 1.2em;
}

@media (min-width: 768px) {
    .sec-title__tagline {
        font-size: 24px;
    }
}

.sec-title__title {
    margin: 5px 0 0;
    font-size: 30px;
    color: var(--mt-black);
    font-weight: 700;
    line-height: 1.25em;
}

@media (min-width: 768px) {
    .sec-title__title {
        font-size: 40px;
    }
}

.sec-title--light .sec-title__title {
    color: #fff;
}

.sec-title--light .sec-title__tagline {
    color: var(--mt-secondary);
}

/* --------------------------------------------------------------------------
   3. Buttons — pill-free rounded rect with criss-cross bubble hover
   -------------------------------------------------------------------------- */
.mt-btn {
    display: inline-block;
    vertical-align: middle;
    -webkit-appearance: none;
    border: none;
    outline: none !important;
    background-color: var(--mt-base);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--mt-font);
    padding: 12px 40px;
    transition: 800ms;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.mt-btn:before,
.mt-btn:after {
    position: absolute;
    top: 50%;
    content: "";
    width: 20px;
    height: 20px;
    background-color: var(--mt-black);
    border-radius: 50%;
}

.mt-btn:before {
    left: -20px;
    transform: translate(-50%, -50%);
}

.mt-btn:after {
    right: -20px;
    transform: translate(50%, -50%);
}

.mt-btn:hover {
    color: #fff;
}

.mt-btn:hover:before {
    animation: criss-cross-left 0.8s both;
    animation-direction: alternate;
}

.mt-btn:hover:after {
    animation: criss-cross-right 0.8s both;
    animation-direction: alternate;
}

.mt-btn span {
    position: relative;
    color: inherit;
    z-index: 2;
}

.mt-btn--sun {
    background-color: var(--mt-secondary);
    color: var(--mt-black);
}

.mt-btn--sun:hover {
    color: #fff;
}

.mt-btn--teal {
    background-color: var(--mt-primary);
}

.mt-btn--light {
    background-color: #fff;
    color: var(--mt-black);
}

.mt-btn--light:before,
.mt-btn--light:after {
    background-color: var(--mt-base);
}

.mt-btn--light:hover {
    color: #fff;
}

.mt-btn--ink {
    background-color: var(--mt-black);
}

.mt-btn--ink:before,
.mt-btn--ink:after {
    background-color: var(--mt-base);
}

.mt-btn--sm {
    font-size: 14px;
    padding: 8px 26px;
}

.mt-btn--xl {
    padding: 16px 50px;
}

@keyframes criss-cross-left {
    0% {
        left: -20px;
    }
    50% {
        left: 50%;
        width: 20px;
        height: 20px;
    }
    100% {
        left: 50%;
        width: 375px;
        height: 375px;
    }
}

@keyframes criss-cross-right {
    0% {
        right: -20px;
    }
    50% {
        right: 50%;
        width: 20px;
        height: 20px;
    }
    100% {
        right: 50%;
        width: 375px;
        height: 375px;
    }
}

@keyframes br-translate {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-6px) translateY(-6px);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

@keyframes mt-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes mt-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes mt-ripple {
    70% {
        box-shadow: 0 0 0 30px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* --------------------------------------------------------------------------
   4. Blob masks (the signature Kidearn shape language)
   -------------------------------------------------------------------------- */
.blob,
.blob-soft,
.blob-tall,
.blob-wide {
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center center;
    mask-position: center center;
    -webkit-mask-size: cover;
    mask-size: cover;
}

/* teardrop-ish blob used for the feature images */
.blob {
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 242.000000 272.000000"><g transform="translate(0.000000,272.000000) scale(0.050000,-0.050000)"><path d="M1964 5419 c-1535 -200 -2432 -1656 -1704 -2766 229 -349 558 -588 1194 -865 517 -225 635 -392 715 -1018 41 -323 92 -499 170 -593 485 -585 1941 579 2357 1884 595 1865 -822 3606 -2732 3358z"/></g></svg>');
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 242.000000 272.000000"><g transform="translate(0.000000,272.000000) scale(0.050000,-0.050000)"><path d="M1964 5419 c-1535 -200 -2432 -1656 -1704 -2766 229 -349 558 -588 1194 -865 517 -225 635 -392 715 -1018 41 -323 92 -499 170 -593 485 -585 1941 579 2357 1884 595 1865 -822 3606 -2732 3358z"/></g></svg>');
}

/* softer, rounder blob — about section */
.blob-soft {
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300.000000 302.000000"><g transform="translate(0.000000,302.000000) scale(0.050000,-0.050000)"><path d="M2590 6019 c-2434 -335 -3454 -3293 -1730 -5019 1056 -1057 3313 -1336 4368 -540 955 721 1014 3098 109 4368 -600 843 -1726 1331 -2747 1191z"/></g></svg>');
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300.000000 302.000000"><g transform="translate(0.000000,302.000000) scale(0.050000,-0.050000)"><path d="M2590 6019 c-2434 -335 -3454 -3293 -1730 -5019 1056 -1057 3313 -1336 4368 -540 955 721 1014 3098 109 4368 -600 843 -1726 1331 -2747 1191z"/></g></svg>');
}

/* leaning blob — team portraits */
.blob-tall {
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300.000000 323.000000"><g transform="translate(0.000000,323.000000) scale(0.050000,-0.050000)"><path d="M2604 6431 c-971 -184 -1745 -939 -2241 -2184 -795 -1996 -232 -3697 1377 -4154 2121 -604 4630 1739 4223 3945 -244 1322 -2087 2635 -3359 2393z"/></g></svg>');
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300.000000 323.000000"><g transform="translate(0.000000,323.000000) scale(0.050000,-0.050000)"><path d="M2604 6431 c-971 -184 -1745 -939 -2241 -2184 -795 -1996 -232 -3697 1377 -4154 2121 -604 4630 1739 4223 3945 -244 1322 -2087 2635 -3359 2393z"/></g></svg>');
}

/* rounded pebble — programme card thumbnails */
.blob-wide {
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 217 136"><path d="M10.2005 22.1275C26.0731 -8.66231 181.064 -6.06071 203.472 22.1275C225.88 50.3158 216.544 108.86 203.472 124.471C190.401 140.083 21.3236 140.868 10.2005 120.459C-0.922529 100.051 -5.67204 52.9174 10.2005 22.1275Z"/></svg>');
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 217 136"><path d="M10.2005 22.1275C26.0731 -8.66231 181.064 -6.06071 203.472 22.1275C225.88 50.3158 216.544 108.86 203.472 124.471C190.401 140.083 21.3236 140.868 10.2005 120.459C-0.922529 100.051 -5.67204 52.9174 10.2005 22.1275Z"/></svg>');
}

/* --------------------------------------------------------------------------
   5. Top bar + navigation
   -------------------------------------------------------------------------- */
.top-bar {
    background-color: var(--mt-black);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    padding: 10px 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.7);
}

.top-bar a:hover {
    color: var(--mt-secondary);
}

.top-bar i {
    color: var(--mt-base);
}

.main-header {
    background-color: #fff;
    padding: 14px 0;
    box-shadow: 0 6px 30px rgba(11, 32, 56, 0.06);
    z-index: 1030;
}

.main-header .navbar-brand {
    font-family: var(--mt-heading-font);
    font-weight: 700;
    font-size: 26px;
    color: var(--mt-black);
    letter-spacing: -0.03em;
    padding: 0;
}

.main-header .navbar-brand img {
    max-height: 52px;
    width: auto;
}

.main-header .navbar-brand .brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 16px 16px 16px 4px;
    background-color: var(--mt-base);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 12px;
    flex-shrink: 0;
}

.main-header .navbar-nav > li > .nav-link,
.main-header .navbar-nav > li > a {
    font-family: var(--mt-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--mt-black);
    padding: 10px 16px;
    position: relative;
}

.main-header .navbar-nav > li > .nav-link:hover,
.main-header .navbar-nav > li > a:hover,
.main-header .navbar-nav > li > .nav-link.active,
.main-header .navbar-nav > li > a.active {
    color: var(--mt-base);
}

.main-header .navbar-nav > li > .nav-link:after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 3px;
    border-radius: 3px;
    background-color: var(--mt-base);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 400ms ease;
}

.main-header .navbar-nav > li > .nav-link:hover:after,
.main-header .navbar-nav > li > .nav-link.active:after {
    transform: scaleX(1);
}

.main-header .dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(11, 32, 56, 0.12);
    padding: 12px 0;
    min-width: 220px;
}

.main-header .dropdown-item {
    font-weight: 500;
    color: var(--mt-black);
    padding: 8px 22px;
}

.main-header .dropdown-item:hover,
.main-header .dropdown-item:focus {
    background-color: var(--mt-gray);
    color: var(--mt-base);
}

.main-header .navbar-toggler {
    border: none;
    color: var(--mt-black);
    font-size: 24px;
    padding: 4px 10px;
}

.main-header .navbar-toggler:focus {
    box-shadow: none;
}

.header-call {
    display: flex;
    align-items: center;
}

.header-call__icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: rgba(242, 83, 52, 0.1);
    color: var(--mt-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.header-call__text {
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    color: var(--mt-text);
}

.header-call__number {
    font-family: var(--mt-heading-font);
    font-weight: 700;
    font-size: 17px;
    color: var(--mt-black);
    line-height: 1.3;
    margin: 0;
}

/* --------------------------------------------------------------------------
   6. Hero / banner
   -------------------------------------------------------------------------- */
.banner {
    position: relative;
    overflow: hidden;
    background-color: var(--mt-gray);
}

.banner__slide {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
}

@media (min-width: 992px) {
    .banner__slide {
        min-height: 760px;
    }
}

.banner__slide:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 32, 56, 0.75) 0%, rgba(11, 32, 56, 0.35) 60%, rgba(11, 32, 56, 0.1) 100%);
}

.banner__content {
    position: relative;
    z-index: 3;
    max-width: 640px;
    padding: 60px 0;
}

.banner__tagline {
    font-family: var(--mt-special-font);
    font-size: 26px;
    color: var(--mt-secondary);
    margin-bottom: 6px;
    display: block;
}

.banner__title {
    font-size: 40px;
    color: #fff;
    line-height: 1.1em;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .banner__title {
        font-size: 60px;
    }
}

@media (min-width: 992px) {
    .banner__title {
        font-size: 80px;
    }
}

.banner__title em {
    font-style: normal;
    color: var(--mt-secondary);
    position: relative;
}

.banner__text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
    line-height: 1.9em;
    margin-bottom: 32px;
}

.banner__shape {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.banner__shape--1 {
    left: 4%;
    bottom: 6%;
    max-width: 120px;
    animation: mt-float 4s ease-in-out infinite;
}

.banner__shape--2 {
    right: 5%;
    top: 12%;
    max-width: 140px;
    animation: mt-float 5s ease-in-out infinite;
}

.banner .carousel-control-prev,
.banner .carousel-control-next {
    width: 56px;
    height: 56px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    opacity: 1;
    z-index: 5;
    transition: all 400ms ease;
}

.banner .carousel-control-prev {
    left: 24px;
}

.banner .carousel-control-next {
    right: 24px;
}

.banner .carousel-control-prev:hover,
.banner .carousel-control-next:hover {
    background-color: var(--mt-base);
}

/* wavy divider that sits at the bottom of the hero */
.wave-divider {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 4;
    line-height: 0;
    pointer-events: none;
}

.wave-divider svg {
    width: 100%;
    height: 60px;
    display: block;
    fill: #fff;
}

@media (min-width: 992px) {
    .wave-divider svg {
        height: 90px;
    }
}

/* --------------------------------------------------------------------------
   7. Feature / "why us" items
   -------------------------------------------------------------------------- */
.feature-item {
    position: relative;
    text-align: center;
    max-width: 260px;
    margin: 0 auto 40px;
    --accent-color: var(--mt-secondary2);
}

.feature-item--base {
    --accent-color: var(--mt-base);
}

.feature-item--sun {
    --accent-color: var(--mt-secondary);
}

.feature-item--teal {
    --accent-color: var(--mt-primary);
}

.feature-item--sky {
    --accent-color: var(--mt-blue);
}

.feature-item__image-wrapper {
    position: relative;
    margin-bottom: 26px;
}

.feature-item__image {
    position: relative;
    width: 100%;
    aspect-ratio: 242 / 272;
    object-fit: cover;
    background-color: var(--mt-gray);
}

.feature-item__ball {
    position: absolute;
    left: 6px;
    top: 14px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--accent-color);
    animation: br-translate 3s ease infinite;
    z-index: 2;
}

.feature-item__icon {
    position: absolute;
    right: 4px;
    bottom: 10px;
    width: 62px;
    height: 62px;
    border-radius: 22px 22px 22px 6px;
    background-color: var(--accent-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 3;
    box-shadow: 0 12px 25px rgba(11, 32, 56, 0.15);
}

.feature-item__title {
    font-size: 22px;
    margin: 0 0 8px;
}

.feature-item__title a {
    color: inherit;
}

.feature-item__title a:hover {
    color: var(--accent-color);
}

.feature-item__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.8em;
}

/* --------------------------------------------------------------------------
   8. About
   -------------------------------------------------------------------------- */
.about-block__image {
    position: relative;
    max-width: 460px;
}

.about-block__image__main {
    width: 100%;
    aspect-ratio: 300 / 302;
    object-fit: cover;
    background-color: var(--mt-gray);
    position: relative;
    z-index: 2;
}

.about-block__image__border {
    position: absolute;
    left: -22px;
    top: -22px;
    width: 100%;
    z-index: 1;
    animation: mt-spin 24s linear infinite;
    opacity: 0.9;
}

.about-block__image__leaf {
    position: absolute;
    right: -20px;
    bottom: 10px;
    max-width: 110px;
    z-index: 3;
    animation: mt-float 4s ease-in-out infinite;
}

.about-block__image__badge {
    position: absolute;
    left: -18px;
    bottom: 26px;
    z-index: 4;
    background-color: var(--mt-secondary);
    color: var(--mt-black);
    border-radius: 24px 24px 24px 6px;
    padding: 18px 26px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(11, 32, 56, 0.15);
}

.about-block__image__badge strong {
    display: block;
    font-family: var(--mt-heading-font);
    font-size: 32px;
    line-height: 1;
}

.about-block__image__badge span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.about-block__list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.about-block__list li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--mt-black);
}

.about-block__list li i {
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--mt-secondary2);
}

/* --------------------------------------------------------------------------
   9. Counters
   -------------------------------------------------------------------------- */
.counter-box {
    text-align: center;
    padding: 34px 20px;
    border-radius: 28px 28px 28px 8px;
    background-color: #fff;
    box-shadow: 0 20px 50px rgba(11, 32, 56, 0.08);
    height: 100%;
}

.counter-box__icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
    margin-bottom: 16px;
}

.counter-box__number {
    font-family: var(--mt-heading-font);
    font-size: 38px;
    font-weight: 700;
    color: var(--mt-black);
    line-height: 1;
    margin-bottom: 6px;
}

.counter-box__label {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mt-text);
}

/* --------------------------------------------------------------------------
   10. Video CTA
   -------------------------------------------------------------------------- */
.video-cta {
    position: relative;
    background-size: cover;
    background-position: center center;
    padding: 100px 0;
    overflow: hidden;
}

.video-cta:before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(11, 32, 56, 0.7);
}

.video-cta__inner {
    position: relative;
    z-index: 3;
    text-align: center;
}

.video-cta__title {
    color: #fff;
    font-size: 30px;
    max-width: 720px;
    margin: 0 auto 34px;
}

@media (min-width: 768px) {
    .video-cta__title {
        font-size: 44px;
    }
}

.video-cta__btn {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: var(--mt-secondary);
    color: var(--mt-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 28px;
    animation: mt-ripple 3s infinite;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
}

.video-cta__btn:hover {
    background-color: var(--mt-base);
    color: #fff;
}

.video-cta__shape {
    position: absolute;
    z-index: 2;
    max-width: 110px;
    pointer-events: none;
    opacity: 0.9;
}

.video-cta__shape--1 {
    left: 6%;
    top: 14%;
    animation: mt-float 5s ease-in-out infinite;
}

.video-cta__shape--2 {
    right: 7%;
    bottom: 16%;
    animation: mt-float 4s ease-in-out infinite;
}

/* --------------------------------------------------------------------------
   11. Programme cards
   -------------------------------------------------------------------------- */
.program-card {
    position: relative;
    background-color: #fff;
    border-radius: 30px 30px 30px 8px;
    padding: 22px 22px 30px;
    text-align: center;
    height: 100%;
    box-shadow: 0 20px 50px rgba(11, 32, 56, 0.07);
    transition: transform 500ms ease, box-shadow 500ms ease;
    --accent-color: var(--mt-base);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(11, 32, 56, 0.13);
}

.program-card--sun {
    --accent-color: var(--mt-secondary);
}

.program-card--teal {
    --accent-color: var(--mt-primary);
}

.program-card--leaf {
    --accent-color: var(--mt-secondary2);
}

.program-card--sky {
    --accent-color: var(--mt-blue);
}

.program-card__image {
    width: 100%;
    aspect-ratio: 217 / 136;
    object-fit: cover;
    background-color: var(--mt-gray);
    margin-bottom: 22px;
}

.program-card__age {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    padding: 3px 18px;
    margin-bottom: 12px;
}

.program-card__title {
    font-size: 24px;
    margin: 0 0 10px;
}

.program-card__title a {
    color: inherit;
}

.program-card__title a:hover {
    color: var(--accent-color);
}

.program-card__text {
    font-size: 15px;
    line-height: 1.8em;
    margin-bottom: 18px;
}

.program-card__rm {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--mt-gray);
    color: var(--mt-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 400ms ease;
}

.program-card__rm:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* --------------------------------------------------------------------------
   12. Team cards
   -------------------------------------------------------------------------- */
.team-card {
    position: relative;
    max-width: 340px;
    text-align: center;
    margin: 0 auto 40px;
    --accent-color: var(--mt-base);
}

.team-card--sun {
    --accent-color: var(--mt-secondary);
}

.team-card--teal {
    --accent-color: var(--mt-primary);
}

.team-card--leaf {
    --accent-color: var(--mt-secondary2);
}

.team-card__image {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 300 / 323;
    object-fit: cover;
    object-position: top center;
    background-color: var(--mt-gray);
    margin-bottom: 22px;
}

.team-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 68px;
    color: rgba(11, 32, 56, 0.15);
    background-color: var(--mt-gray);
}

.team-card__title {
    font-size: 24px;
    margin: 0 0 4px;
}

.team-card__title a {
    color: inherit;
}

.team-card__title a:hover {
    color: var(--accent-color);
}

.team-card__designation {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: capitalize;
}

.team-card__text {
    font-size: 15px;
    line-height: 1.8em;
    margin-bottom: 16px;
}

.team-card__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--mt-gray);
    color: var(--mt-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    font-size: 14px;
}

.team-card__social a:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.testimonial-section {
    background-color: var(--mt-gray);
    position: relative;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 30px 30px 30px 8px;
    padding: 36px 34px;
    height: 100%;
    box-shadow: 0 20px 50px rgba(11, 32, 56, 0.07);
    position: relative;
}

.testimonial-card__quote {
    position: absolute;
    right: 30px;
    top: 26px;
    font-size: 40px;
    color: var(--mt-base);
    opacity: 0.15;
}

.testimonial-card__stars {
    color: var(--mt-secondary);
    margin-bottom: 14px;
    font-size: 15px;
}

.testimonial-card__text {
    font-size: 16px;
    line-height: 1.9em;
    margin-bottom: 26px;
}

.testimonial-card__meta {
    display: flex;
    align-items: center;
    border-top: 1px solid var(--mt-border);
    padding-top: 20px;
}

.testimonial-card__avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
    flex-shrink: 0;
    background-color: var(--mt-gray);
}

.testimonial-card__name {
    font-size: 19px;
    margin: 0;
}

.testimonial-card__role {
    margin: 0;
    font-size: 14px;
    color: var(--mt-base);
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   14. Newsletter / enrol strip
   -------------------------------------------------------------------------- */
.enrol-strip {
    position: relative;
    background-color: var(--mt-primary);
    border-radius: 36px;
    padding: 50px 40px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .enrol-strip {
        padding: 60px 70px;
    }
}

.enrol-strip__shape {
    position: absolute;
    right: -10px;
    bottom: -20px;
    max-width: 220px;
    opacity: 0.35;
    pointer-events: none;
}

.enrol-strip__title {
    color: #fff;
    font-size: 28px;
    margin: 0;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .enrol-strip__title {
        font-size: 38px;
    }
}

.enrol-strip__text {
    color: rgba(255, 255, 255, 0.85);
    margin: 10px 0 0;
    position: relative;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   15. Blog cards
   -------------------------------------------------------------------------- */
.blog-card {
    background-color: #fff;
    border-radius: 28px 28px 28px 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 20px 50px rgba(11, 32, 56, 0.07);
    transition: transform 500ms ease, box-shadow 500ms ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(11, 32, 56, 0.13);
}

.blog-card__image {
    position: relative;
    overflow: hidden;
    height: 220px;
    background-color: var(--mt-gray);
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.08);
}

.blog-card__image__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 46px;
    color: rgba(11, 32, 56, 0.12);
}

.blog-card__tag {
    position: absolute;
    left: 18px;
    top: 18px;
    background-color: var(--mt-secondary);
    color: var(--mt-black);
    font-size: 13px;
    font-weight: 700;
    border-radius: 30px;
    padding: 3px 16px;
}

.blog-card__body {
    padding: 26px 26px 30px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.blog-card__meta {
    font-size: 14px;
    color: var(--mt-text);
    margin-bottom: 10px;
}

.blog-card__meta i {
    color: var(--mt-base);
    margin-right: 6px;
}

.blog-card__title {
    font-size: 22px;
    margin: 0 0 12px;
}

.blog-card__title a {
    color: inherit;
}

.blog-card__title a:hover {
    color: var(--mt-base);
}

.blog-card__text {
    font-size: 15px;
    line-height: 1.8em;
    margin-bottom: 18px;
}

.blog-card__more {
    margin-top: auto;
    font-weight: 700;
    color: var(--mt-base);
}

.blog-card__more:hover {
    color: var(--mt-black);
}

/* --------------------------------------------------------------------------
   16. Inner page header
   -------------------------------------------------------------------------- */
.page-header-mt {
    position: relative;
    background-color: var(--mt-black);
    background-size: cover;
    background-position: center center;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}

@media (min-width: 992px) {
    .page-header-mt {
        padding: 120px 0 130px;
    }
}

.page-header-mt:before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(11, 32, 56, 0.75);
}

.page-header-mt__inner {
    position: relative;
    z-index: 3;
}

.page-header-mt__title {
    color: #fff;
    font-size: 34px;
    margin: 0 0 10px;
}

@media (min-width: 768px) {
    .page-header-mt__title {
        font-size: 52px;
    }
}

.page-header-mt__breadcrumb {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    margin: 0;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
}

.page-header-mt__breadcrumb a {
    color: var(--mt-secondary);
}

.page-header-mt__breadcrumb li + li:before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   17. Article body + sidebar widgets
   -------------------------------------------------------------------------- */
.article-body {
    font-size: 17px;
    line-height: 1.95em;
    color: var(--mt-text);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 32px;
    margin-bottom: 14px;
}

.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.article-body ul,
.article-body ol {
    padding-left: 22px;
}

.article-body blockquote {
    background-color: var(--mt-gray);
    border-left: 5px solid var(--mt-base);
    border-radius: 0 20px 20px 0;
    padding: 24px 28px;
    font-style: italic;
    color: var(--mt-black);
}

.mt-card {
    background-color: #fff;
    border-radius: 28px 28px 28px 8px;
    box-shadow: 0 20px 50px rgba(11, 32, 56, 0.07);
    padding: 30px;
}

.widget {
    background-color: var(--mt-gray);
    border-radius: 28px 28px 28px 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.widget__title {
    font-size: 22px;
    margin: 0 0 20px;
    position: relative;
    padding-bottom: 12px;
}

.widget__title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 46px;
    height: 4px;
    border-radius: 4px;
    background-color: var(--mt-base);
}

.widget__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget__list li {
    border-bottom: 1px solid var(--mt-border);
    padding: 8px 0;
}

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

.widget__list a {
    color: var(--mt-black);
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget__list a:hover {
    color: var(--mt-base);
}

.widget__list a .badge {
    background-color: #fff;
    color: var(--mt-text);
    font-weight: 700;
}

.widget--cta {
    background-color: var(--mt-base);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

.widget--cta .widget__title {
    color: #fff;
}

.widget--cta .widget__title:after {
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
}

.widget--cta a.phone {
    color: #fff;
    font-family: var(--mt-heading-font);
    font-size: 22px;
    font-weight: 700;
}

.tag-cloud a {
    display: inline-block;
    background-color: #fff;
    color: var(--mt-black);
    font-size: 14px;
    font-weight: 700;
    border-radius: 30px;
    padding: 5px 18px;
    margin: 0 6px 8px 0;
}

.tag-cloud a:hover {
    background-color: var(--mt-base);
    color: #fff;
}

/* --------------------------------------------------------------------------
   18. Forms
   -------------------------------------------------------------------------- */
.mt-form .form-control,
.mt-form .form-select {
    border: 1px solid var(--mt-border);
    background-color: var(--mt-gray);
    border-radius: 14px;
    padding: 13px 20px;
    font-size: 16px;
    color: var(--mt-black);
    box-shadow: none;
}

.mt-form .form-control:focus,
.mt-form .form-select:focus {
    border-color: var(--mt-base);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(242, 83, 52, 0.1);
}

.mt-form label {
    font-weight: 700;
    color: var(--mt-black);
    margin-bottom: 6px;
    font-size: 15px;
}

.mt-form textarea.form-control {
    min-height: 140px;
}

.subscribe-form {
    position: relative;
}

.subscribe-form .form-control {
    border: none;
    border-radius: 14px;
    height: 62px;
    padding: 0 160px 0 24px;
}

.subscribe-form .mt-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    height: 50px;
    padding: 0 30px;
    line-height: 50px;
}

.contact-info-card {
    background-color: var(--mt-gray);
    border-radius: 28px 28px 28px 8px;
    padding: 30px;
    height: 100%;
    text-align: center;
    transition: transform 500ms ease;
}

.contact-info-card:hover {
    transform: translateY(-8px);
}

.contact-info-card__icon {
    width: 66px;
    height: 66px;
    border-radius: 22px 22px 22px 6px;
    background-color: var(--mt-base);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.contact-info-card__title {
    font-size: 20px;
    margin: 0 0 8px;
}

.contact-info-card a {
    color: var(--mt-text);
}

.contact-info-card a:hover {
    color: var(--mt-base);
}

/* --------------------------------------------------------------------------
   19. Pagination
   -------------------------------------------------------------------------- */
.custom-pagination .pagination {
    gap: 8px;
}

.custom-pagination .pagination > li > a,
.custom-pagination .pagination > li > span,
.custom-pagination a,
.custom-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    border-radius: 16px 16px 16px 4px;
    background-color: var(--mt-gray);
    color: var(--mt-black);
    font-weight: 700;
    border: none;
    margin: 0 4px;
    padding: 0 14px;
}

.custom-pagination a:hover,
.custom-pagination .current,
.custom-pagination .active > a,
.custom-pagination .active > span {
    background-color: var(--mt-base);
    color: #fff;
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    background-color: var(--mt-black);
    color: rgba(255, 255, 255, 0.6);
    padding: 90px 0 0;
    overflow: hidden;
}

.site-footer h5 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 26px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.6);
}

.site-footer a:hover {
    color: var(--mt-secondary);
}

.site-footer__shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.5;
    max-width: 130px;
}

.site-footer__shape--1 {
    left: 3%;
    top: 40px;
    animation: mt-float 6s ease-in-out infinite;
}

.site-footer__shape--2 {
    right: 4%;
    bottom: 100px;
    animation: mt-float 5s ease-in-out infinite;
}

.site-footer__brand {
    font-family: var(--mt-heading-font);
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.site-footer__brand img {
    max-height: 54px;
    width: auto;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    position: relative;
    padding-left: 20px;
    display: inline-block;
}

.footer-links li a:before {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--mt-base);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    margin-bottom: 16px;
}

.footer-contact li i {
    color: var(--mt-base);
    margin-right: 14px;
    margin-top: 8px;
    flex-shrink: 0;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.footer-social a:hover {
    background-color: var(--mt-base);
    color: #fff;
}

.footer-bottom {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    font-size: 15px;
}

/* --------------------------------------------------------------------------
   21. Floating helpers
   -------------------------------------------------------------------------- */
#back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 50px;
    height: 50px;
    border-radius: 16px 16px 16px 4px;
    background-color: var(--mt-base);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 400ms ease;
    z-index: 1040;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#whatsapp-float {
    position: fixed;
    left: 24px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    z-index: 1040;
}

#whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   22. Alerts
   -------------------------------------------------------------------------- */
.alert {
    border: none;
    border-radius: 18px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   23. Empty states
   -------------------------------------------------------------------------- */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 62px;
    color: rgba(11, 32, 56, 0.12);
    margin-bottom: 18px;
    display: block;
}

.empty-state h4 {
    font-size: 24px;
}