/* ----------------------------------

Template Name: Edufix - Education HTML Template
Author: validtheme
Description:
Version: 1.0

Main Font    : Outfit
Main Color   : #2f57ef

-------------------------------------

[Typography]

Body copy:    15px 'Outfit', sans-serif
Header:     36px 'Outfit', sans-serif
Input, textarea:  15px 'Outfit', sans-serif
Sidebar heading:  20px 'Outfit', sans-serif

>>> TABLE OF CONTENTS:
=======================
        
    01. Template default css
        - Animations
        - General
        - Section Title
        - Video Button
        - Typography
        - Tables
        - Forms
        - Buttons
        - Pagination
        - Colors
        - Accordion
        - Tabs
    02. Preloader
    03. Topbar
    04 Navbar
        - Navbar Default
        - Navbar Transparent
        - Navbar Sticky
        - Navbar Box
    05. Banner
        - Banner Style One
        - Banner Style Two
        - Banner Style Three
        - Banner Style Four
        - Banner Style Five
        - Banner Style Six
        - Banner Style Seven
        - Banner Style Eight
    06. About Us
        - Version One
        - Version Two
        - Version Three
        - Version Four
    07. Category
        - Version One
        - Version Two
        - Version Three
    08. Courses
        - Version One
        - Version Two
        - Version Three
        - Version Four
        - Version Five
        - Version Six
        - Course Single
    09. Gallery
    10. Advisor
        - Version One
        - Version Two
        - Advisor Details
    11. Event
        - Version One
        - Version Two
        - Version Three
        - Version Four
        - Event Details
    12. Zoom Meeting
        - Version One
        - Zoom Meeting Details
    13. Testimonials
        - Version One
        - Version Two
        - Version Three
    14. Why Choose Us
    15. Privacy Policy
    16. Fun Factor
    17. FAQ
    18. Login
    19. Register
    20. Blog
        - Standard
        - Left Sidebar
        - Right Sidebar
        - Single
    21. Error 404
    22. Footer
    23. PHP Contact Form
    24. Others

*/

@font-face {
    font-family: "Quicksand";
    src: url("assets/fonts/Quicksand-Variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
}

@font-face {
    font-family: "BoonHome";
    src: url("assets/fonts/BoonHome-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "BoonHome";
    src: url("assets/fonts/BoonHome-Bold.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

/*
** General Styles for HTML tags
*/

/* Green theme override (replaces the original sky-blue accent). */
:root {
    --color-style-three: #59BE47;
}

.theme-skyblue .sub-title {
    border-color: #C5E9BE;
}

.theme-skyblue .sub-heading {
    background-color: #EDF8EA;
}

/* Main-page hero artwork. */
.banner-style-eight-area {
    background-color: #bfe9c1;
    background-image: url("assets/img/sorotouch-home-background.jpg");
    background-position: center center;
    background-size: cover;
}

@media (max-width: 991px) {
    .banner-style-eight-area {
        background-position: 58% center;
    }
}

/* SoroTouch branding used in the navigation, side menu, and footer. */
.site-sorotouch-logo {
    width: auto;
    object-fit: contain;
}

.navbar-brand .site-sorotouch-logo,
.side .widget .logo .site-sorotouch-logo {
    height: 55px;
    max-height: 55px;
}

footer .footer-logo .site-sorotouch-logo {
    height: 60px;
    max-width: 100%;
}

@media (max-width: 991px) {
    .navbar-brand .site-sorotouch-logo {
        height: 50px;
        max-height: 50px;
    }
}

/* SoroTouch logo in the main banner. */
.banner-sorotouch-logo {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin-bottom: 30px;
}

@media (max-width: 575px) {
    .banner-sorotouch-logo {
        width: calc(100vw - 48px);
        max-width: none;
        margin-right: auto;
        margin-left: auto;
    }
}

.banner-style-eight-info p {
    font-family: "BoonHome", sans-serif;
    color: #164f2f;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
}

.banner-style-eight-info .hero-description {
    max-width: 650px;
    padding-right: 0;
    font-family: "BoonHome", sans-serif;
    font-size: 18px;
    line-height: 1.9;
    text-align: left;
    text-indent: 2em;
}

@media (max-width: 991px) {
    .banner-style-eight-info .hero-description {
        max-width: 640px;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 575px) {
    .banner-style-eight-info .hero-description {
        font-size: 16px;
        line-height: 1.8;
    }
}

.about-style-seven-info .title.boonhome-title {
    font-family: "BoonHome", sans-serif;
}

.about-style-seven-info .boonhome-text {
    font-family: "BoonHome", sans-serif;
}

.about-style-seven-info .mental-calculation-description {
    font-family: "BoonHome", sans-serif;
    text-align: left;
    text-indent: 2em;
}

.about-style-seven-info .d-flex .thumbs img {
    border: none;
}

/* Colorful learning stages. */
.child-program-area.bg-gray-gradient-secondary {
    padding: 80px 0 90px;
    background: radial-gradient(circle at 0 20%, #fff0af 0, transparent 28%), radial-gradient(circle at 100% 80%, #e3dafb 0, transparent 30%), #f6fbea;
    position: relative;
    overflow: hidden;
}
.child-program-area::before, .child-program-area::after { display: none; }
.program-heading-wrap { text-align: center; margin-bottom: 40px; }
.program-eyebrow { display: inline-block; padding: 8px 18px; border-radius: 30px; background: #ffe16f; color: #4f561f; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.child-program-area .program-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin: 22px 0; font-family: "BoonHome", sans-serif; color: #28532c; font-size: clamp(30px, 3.5vw, 44px); }
.child-program-area .program-title img { width: min(260px, 48%); height: auto; }
.program-path { display: flex; align-items: center; justify-content: center; gap: 13px; }
.program-path span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #d9efbc; color: #366726; font-size: 18px; font-weight: 700; }
.program-path span:nth-of-type(2) { background: #d8efff; color: #236c9a; }
.program-path span:nth-of-type(3) { background: #ece0ff; color: #7850a9; }
.program-path span:nth-of-type(4) { background: #ffe5c1; color: #9a571e; }
.program-path i { font-style: normal; color: #859679; }

.program-stage { --stage-color: #3f7e28; --stage-tint: #edf8df; --stage-bright: #a8da65; display: flex; flex-direction: column; min-width: 0; background: var(--stage-tint); border: 3px solid #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 28px -20px #30482360; }
.program-stage-s { --stage-color: #246e9d; --stage-tint: #eaf5ff; --stage-bright: #88cef5; }
.program-stage-u { --stage-color: #7846a5; --stage-tint: #f3eaff; --stage-bright: #c9a3ef; }
.program-stage-x { --stage-color: #96501f; --stage-tint: #fff0df; --stage-bright: #ffc078; }
.program-stage-photo { position: relative; height: 205px; border-bottom: 5px solid var(--stage-bright); }
.program-stage-photo > img { width: 100%; height: 100%; object-fit: cover; }
.program-stage-letter { position: absolute; left: 20px; bottom: -24px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--stage-bright); border: 3px solid #fff; color: #243b28; font-family: "Quicksand", sans-serif; font-size: 32px; font-weight: 700; transform: rotate(-6deg); }
.program-stage-step { position: absolute; top: 14px; right: 14px; padding: 5px 10px; border-radius: 20px; color: var(--stage-color); background: #fff; font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.program-stage-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 38px 21px 22px; }
.program-stage-level { color: var(--stage-color); font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 8px; }
.program-stage-content h3 { font-size: 23px; line-height: 1.3; margin: 0 0 14px; font-family: "Quicksand", sans-serif; }
.program-stage-content h3 a { color: #253d2e; }
.program-stage-content p { color: #526052; font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.program-stage-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: auto; border-top: 1px solid var(--stage-bright); padding-top: 16px; color: var(--stage-color); font-size: 12px; font-weight: 600; }
.program-stage-link span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--stage-bright); color: #253d2e; font-size: 18px; }
.program-stage-content a:hover { color: #203a2b; text-decoration: underline; }
.program-stage-content a:focus-visible { outline: 3px solid var(--stage-color); outline-offset: 4px; }
/* Keep the following schedule clear of the decorative divider. */
.child-program-area + .cloud-section-divider { display: none; }
@media (max-width: 1199px) {
    
    .program-stage-photo { height: 240px; }
}
@media (max-width: 575px) {
    .child-program-area.bg-gray-gradient-secondary { padding: 56px 0; }
    .child-program-area .program-title { gap: 10px; }
    .child-program-area .program-title img { width: min(230px, 70%); }
    
    .program-stage-content { padding: 38px 24px 24px; }
    .program-heading-wrap { margin-bottom: 30px; }
}

/* Playful weekly planner for SoroTouch. */
.session-time-area.session-time-area-sorotouch {
    padding: 90px 0;
    background: radial-gradient(circle, #d5e7c3 1.5px, transparent 2px) 0 0 / 28px 28px, #f2f8e9;
}
.session-planner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px; align-items: center; }
.session-intro { position: relative; padding: 32px 16px 32px 0; }
.session-eyebrow { display: block; color: #426733; font-size: 11px; letter-spacing: 1.8px; font-weight: 700; }
.session-intro > .session-eyebrow { display: inline-block; padding: 10px 16px; background: #ffdf70; border: 2px solid #eac252; border-radius: 12px; color: #634a1e; transform: rotate(-3deg); }
.session-intro-icon { display: none; }
.session-clock { display: block; width: 172px; height: 150px; margin: 28px 0 22px; transform: rotate(-7deg); }
.session-intro h2 { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: clamp(32px, 3.3vw, 46px); line-height: 1.2; color: #284a2d; margin: 0 0 24px; }
.session-intro h2 span { color: #477e30; }
.session-intro .session-lao-heading { font-family: "BoonHome", sans-serif; font-size: 20px; line-height: 1.85; color: #405638; margin: 0 0 24px; }
.session-trial-badge { display: inline-flex; gap: 10px; align-items: center; background: #ffdf70; color: #574319; border: 2px solid #dbb342; border-radius: 18px; padding: 12px 20px; font-size: 16px; font-weight: 700; box-shadow: 0 4px 0 #dbb342; }
.session-trial-badge > span { display: grid; place-items: center; width: 24px; height: 24px; background: #fff8dd; border-radius: 50%; }
.session-intro-bottom { margin-top: 28px; display: flex; gap: 10px; align-items: center; font-size: 13px; color: #526447; }
.session-intro-bottom > span { width: 9px; height: 9px; background: #82b855; border-radius: 50%; flex-shrink: 0; }
.session-timetable { position: relative; min-width: 0; padding: 40px 28px 28px; background: #fffefa; border: 2px solid #9fc67f; border-radius: 30px; box-shadow: 0 9px 0 #c1d9a9; }
.session-timetable::before { content: ""; position: absolute; top: -13px; left: 32px; right: 32px; height: 25px; background: linear-gradient(90deg, #52773c 0 9px, transparent 9px) 0 0 / 42px 100% repeat-x; border-radius: 5px; pointer-events: none; }
.session-timetable-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.session-timetable-heading h3 { font-family: "Quicksand", sans-serif; font-weight: 700; color: #2f5132; font-size: 29px; margin: 8px 0 0; line-height: 1.25; }
.session-duration { display: inline-flex; align-items: center; gap: 7px; color: #72531e; background: #fff0b9; border: 1px solid #ecd58e; padding: 9px 12px; border-radius: 20px; font-size: 12px; white-space: nowrap; }
.session-table-labels { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 0 16px 12px; color: #5b6f50; font-size: 11px; letter-spacing: 1.2px; font-weight: 600; }
.session-timetable .session-schedule { display: grid; gap: 12px; margin: 0; }
.session-row { --day-accent: #3f712a; --day-tint: #edf7df; --day-border: #c6dea9; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: start; padding: 16px; background: var(--day-tint); border: 1px solid var(--day-border); border-radius: 18px; }
.session-row:nth-child(2) { --day-accent: #23648d; --day-tint: #eaf5ff; --day-border: #bfddf1; }
.session-row:nth-child(3) { --day-accent: #81590f; --day-tint: #fff4d3; --day-border: #edda9c; }
.session-row:nth-child(4) { --day-accent: #a13960; --day-tint: #fff0f5; --day-border: #efc4d4; }
.session-row:nth-child(5) { --day-accent: #71499b; --day-tint: #f2eafb; --day-border: #d8c3ec; }
.session-row:nth-child(6) { --day-accent: #246f65; --day-tint: #e6f7f1; --day-border: #b9dfd3; }
.session-row dt { color: var(--day-accent); font-size: 14px; font-weight: 700; padding-top: 7px; }
.session-row dd { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; min-width: 0; }
.session-row .session-slot { display: inline-block; color: var(--day-accent); background: #fff; border: 1px solid var(--day-border); border-radius: 10px; padding: 6px 10px; font-size: 13px; line-height: 1.6; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 1199px) {
    .session-planner { gap: 24px; }
    .session-timetable { padding: 36px 20px 24px; }
    .session-row, .session-table-labels { grid-template-columns: 96px minmax(0, 1fr); gap: 8px; }
    .session-row { padding: 13px; }
}
@media (max-width: 991px) {
    .session-planner { grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 700px; margin: 0 auto; }
    .session-intro { padding: 0; text-align: center; }
    .session-clock { margin: 26px auto 20px; }
    .session-intro-bottom { justify-content: center; }
    .session-timetable { padding: 40px 28px 28px; }
    .session-row, .session-table-labels { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 575px) {
    .session-time-area.session-time-area-sorotouch { padding: 60px 0 68px; }
    .session-intro .session-lao-heading { font-size: 18px; }
    .session-clock { width: 145px; height: auto; }
    .session-timetable { padding: 34px 14px 18px; border-radius: 24px; }
    .session-timetable-heading { padding: 0 4px; gap: 12px; margin-bottom: 20px; }
    .session-timetable-heading h3 { font-size: 26px; }
    .session-table-labels { display: none; }
    .session-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px; }
    .session-row dt { padding-top: 0; font-size: 15px; }
    .session-row .session-slot { font-size: 13px; padding: 6px 9px; }
}

/* SoroTouch contact: green information panel and a floating location card. */
.sorotouch-contact-heading h2,
.sorotouch-contact-heading p,
.sorotouch-contact-card address {
    font-family: "BoonHome", sans-serif;
}
.sorotouch-contact { background: #fff; padding: 100px 0; }
.sorotouch-contact-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: 0.9fr 1.1fr; grid-template-rows: auto 1fr; gap: 0 42px; padding: 52px; border-radius: 40px; background: #294d35; box-shadow: 0 24px 60px -30px #294d3555; }
.sorotouch-contact-panel::before { content: ''; position: absolute; z-index: -1; pointer-events: none; left: 0; bottom: 0; width: 270px; height: 240px; border-radius: 0 100% 0 40px; background: radial-gradient(circle, #ffffff16 1px, transparent 1.8px) 0 0 / 15px 15px; }
.sorotouch-contact-heading { position: relative; grid-column: 1; padding-bottom: 32px; }
.contact-kicker { display: inline-flex; align-items: center; gap: 9px; color: #c6dfb3; font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.contact-kicker > span { width: 7px; height: 7px; background: #e8d58f; border-radius: 50%; }
.sorotouch-contact-heading h2 { color: #fff; font-size: clamp(32px, 3.5vw, 47px); line-height: 1.6; margin: 16px 0 10px; }
.sorotouch-contact-heading p { color: #d3e4cd; font-size: 16px; line-height: 1.9; margin: 0; max-width: 340px; }
.contact-heading-flower { position: absolute; right: -12px; top: -30px; width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 6px 0 #172d1d30; transform: rotate(12deg); }
.sorotouch-contact-grid { display: flex; flex-direction: column; gap: 0; }
.sorotouch-contact-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-items: start; gap: 18px; padding: 22px 0; color: #fff; border-top: 1px solid #ffffff24; }
.sorotouch-contact-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 15px; background: #ffffff0d; border: 1px solid #ffffff20; color: #c0df9e; font-size: 18px; }
.sorotouch-contact-card h3 { color: #bbd99e; text-transform: uppercase; letter-spacing: 1.6px; font-size: 11px; margin: 1px 0 8px; }
.sorotouch-contact-card address { margin: 0; font-style: normal; font-size: 16px; line-height: 1.9; color: #edf4e8; }
.sorotouch-contact-value { font-size: clamp(17px, 1.8vw, 22px); overflow-wrap: anywhere; }
a.sorotouch-contact-card { transition: color .2s ease; }
a.sorotouch-contact-card:hover { color: #d6edb9; }
.sorotouch-contact-socials { display: flex; align-items: center; gap: 10px; padding: 26px 0 6px; border-top: 1px solid #ffffff24; }
.sorotouch-contact-socials a { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 220px; height: 96px; padding: 0 30px; border: 1px solid #ffffffb8; border-radius: 28px; background: #fff; box-shadow: 0 10px 22px #172d1d38; font-size: 22px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sorotouch-contact-socials a:first-child { color: #1877f2; }
.sorotouch-contact-socials a:last-child { color: #000; }
.sorotouch-contact-socials a:hover { transform: translateY(-3px); border-color: #e8d58f; box-shadow: 0 12px 22px #172d1d40; }
.sorotouch-contact-socials a:first-child:hover { color: #1877f2; }
.sorotouch-contact-socials a:last-child:hover { color: #000; }
.sorotouch-contact-socials svg { flex: 0 0 auto; width: 52px; height: 52px; fill: currentColor; }
.tiktok-signature-mark path { transform-box: fill-box; transform-origin: center; }
.tiktok-signature-mark .tiktok-cyan { fill: #25f4ee; transform: translate(-1.2px, -.5px); }
.tiktok-signature-mark .tiktok-pink { fill: #fe2c55; transform: translate(1.2px, .6px); }
.tiktok-signature-mark .tiktok-black { fill: #000; }
.sorotouch-contact-map { min-width: 0; display: flex; flex-direction: column; grid-column: 2; grid-row: 1 / 3; align-self: stretch; padding: 22px; background: #fbfdf7; border: 1px solid #fff; border-radius: 28px; transform: rotate(1deg); box-shadow: 0 16px 35px #172d1d25; }
.contact-map-heading { display: flex; align-items: center; gap: 12px; padding: 3px 0 20px; }
.contact-map-pin { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: #e7f1dc; color: #47763b; }
.contact-map-label { display: block; font-size: 9px; font-weight: 700; letter-spacing: 1.6px; color: #6d855f; }
.contact-map-heading h3 { font-size: 19px; margin: 5px 0 0; color: #294d35; }
.contact-location-tag { margin-left: auto; padding: 7px 9px; border: 1px solid #d9e5cf; border-radius: 6px; font-size: 9px; letter-spacing: .5px; color: #607553; }
.sorotouch-contact-map iframe { display: block; width: 100%; min-height: 310px; flex: 1; border: 0; border-radius: 17px; background: #eaf0e3; }
.contact-map-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 20px; }
.contact-map-footer > span { color: #607553; font-size: 13px; }
.sorotouch-map-link { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 12px 18px; border-radius: 999px; background: #47763b; color: #fff; font-family: "BoonHome", sans-serif; font-weight: 700; font-size: 14px; }
.sorotouch-map-link > span:last-child { font-size: 23px; line-height: 1; }
.sorotouch-map-link:hover { background: #325b29; color: #fff; }
.sorotouch-contact a:focus-visible { outline: 3px solid #e8d58f; outline-offset: 5px; }
@media (max-width: 1199px) { .sorotouch-contact-panel { padding: 36px; gap: 0 30px; } .contact-location-tag { display: none; } }
@media (min-width: 992px) and (max-width: 1199px) {
    .sorotouch-contact-socials { gap: 10px; }
    .sorotouch-contact-socials a { flex: 1 1 0; min-width: 0; height: 78px; padding: 0 14px; font-size: 17px; }
    .sorotouch-contact-socials svg { width: 40px; height: 40px; }
}
@media (max-width: 991px) {
    .sorotouch-contact-panel { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .sorotouch-contact-heading p { max-width: none; }
    .contact-heading-flower { right: 8px; top: 0; }
    .sorotouch-contact-map { grid-column: 1; grid-row: auto; margin-top: 20px; transform: none; }
    .sorotouch-contact-map iframe { height: 360px; flex: auto; }
}
@media (max-width: 575px) {
    .sorotouch-contact { padding: 60px 0; }
    .sorotouch-contact-panel { padding: 28px 20px 20px; border-radius: 28px; }
    .sorotouch-contact-heading { padding-bottom: 26px; }
    .contact-heading-flower { width: 42px; height: 42px; border-radius: 12px; top: -6px; right: 0; }
    .sorotouch-contact-heading h2 { font-size: 31px; }
    .sorotouch-contact-heading p { font-size: 14px; }
    .sorotouch-contact-card { gap: 14px; }
    .sorotouch-contact-socials { flex-direction: column; align-items: stretch; gap: 12px; padding-left: 0; }
    .sorotouch-contact-socials a { width: 100%; min-width: 0; height: 88px; padding: 0 22px; font-size: 21px; }
    .sorotouch-contact-socials svg { width: 48px; height: 48px; }
    .sorotouch-contact-map { padding: 14px; border-radius: 20px; }
    .sorotouch-contact-map iframe { height: 290px; min-height: 290px; }
    .contact-map-footer { flex-wrap: wrap; }
    .contact-map-footer > span { width: 100%; }
    .sorotouch-map-link { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { a.sorotouch-contact-card, .sorotouch-contact-socials a { transition: none; } }

/* SoroTouch learning features. */
.activities-area {
    position: relative;
    padding: 80px 0 110px;
    isolation: isolate;
    background: radial-gradient(circle, #dce9bb 1.5px, transparent 2px) 0 0 / 26px 26px, #ffffff;
}
.activities-area .site-heading { margin-bottom: 52px; }
.activities-area .sub-title {
    padding: 8px 18px;
    border: 2px solid #e6b844;
    border-radius: 30px;
    background: #ffdf70;
    color: #62471c;
    transform: rotate(-3deg);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.activities-area .sub-title::before,
.activities-area .sub-title::after { display: none; }
.activities-heading-image { display: block; width: 100%; max-width: 540px; height: auto; margin: 0 auto; }
.activities-block-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.activities-block-grid .activity-block { min-width: 0; --feature-accent: #32672b; --feature-tint: #eaf6d7; --feature-border: #8ac95b; --feature-pop: #bce588; }
.activities-block-grid .activity-block:nth-child(2) { --feature-accent: #805118; --feature-tint: #fff3ce; --feature-border: #efbb43; --feature-pop: #ffdb6d; }
.activities-block-grid .activity-block:nth-child(3) { --feature-accent: #62418b; --feature-tint: #f2e8fc; --feature-border: #b393d6; --feature-pop: #d6bbf2; }
.activities-block-grid .feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 390px;
    padding: 32px;
    background: var(--feature-tint);
    border: 2px solid var(--feature-border);
    border-radius: 38px;
    box-shadow: 0 8px 0 var(--feature-border);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.activities-block-grid .feature-card::before,
.activities-block-grid .feature-card::after { display: none; }
.feature-card-visual {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 140px;
    margin: -32px -32px 28px;
    padding: 26px 32px;
    border-bottom: 2px dashed var(--feature-border);
    background: var(--feature-pop);
    color: var(--feature-accent);
}
.feature-card-visual svg {
    width: 86px; height: 86px; padding: 14px;
    background: #ffffffb3; border-radius: 28px;
    transform: rotate(-8deg);
}
.activities-area::before, .activities-area::after {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    width: 180px; height: 180px; border: 28px solid #fce69a; border-radius: 50%;
}
.activities-area::before { left: -95px; top: 100px; }
.activities-area::after { right: -100px; bottom: 40px; border-color: #dceec4; }
.activities-block-grid .activity-block:nth-child(2) .feature-card-visual svg { transform: rotate(8deg); }
@media (min-width: 992px) {
    .activities-block-grid .activity-block:nth-child(2) { padding-top: 0; margin-bottom: -20px; }
}
.activities-area .feature-card-number {
    color: var(--feature-accent);
    font-family: "Quicksand", sans-serif;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    background: #fffdf4;
    border: 2px solid var(--feature-accent);
    border-radius: 50%;
    box-shadow: 3px 4px 0 var(--feature-accent);
    transform: rotate(8deg);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    opacity: 1;
}
.activities-area .feature-card-heading { min-height: 62px; }
.activities-area .feature-card-heading h4 {
    margin: 0;
    color: var(--feature-accent);
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 25px;
    line-height: 1.25;
}
.activities-block-grid .feature-card-description {
    margin: 20px 0 0;
    padding-top: 0;
    border-top: 0;
    color: #556052;
    font-family: "BoonHome", sans-serif;
    text-align: left;
    font-size: 18px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .activities-block-grid .feature-card:hover { transform: translateY(-6px); box-shadow: 0 14px 0 var(--feature-border); }
}
@media (max-width: 1199px) and (min-width: 992px) {
    .activities-block-grid { gap: 18px; }
    .activities-block-grid .feature-card { padding: 24px; }
    .feature-card-visual { margin: -24px -24px 24px; padding: 24px; }
    .activities-area .feature-card-heading h4 { font-size: 22px; }
}
@media (max-width: 991px) {
    .activities-area { padding: 64px 0; }
    .activities-block-grid { grid-template-columns: 1fr; max-width: 600px; gap: 28px; }
    .activities-block-grid .feature-card { min-height: 0; }
    .activities-area .feature-card-heading { min-height: 0; }
    .activities-area .feature-card-heading br { display: none; }
}
@media (max-width: 575px) {
    .activities-area .site-heading { margin-bottom: 30px; }
    .activities-block-grid .feature-card { padding: 24px; border-radius: 28px; }
    .feature-card-visual { margin: -24px -24px 24px; padding: 22px 24px; }
    .activities-area .feature-card-heading h4 { font-size: 23px; }
    .activities-block-grid .feature-card-description { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .activities-block-grid .feature-card { transition: none; animation: none; }
}

/* Reduce and center the hero portrait without lowering image quality. */
.banner-style-eight-area .thumb-style-three > img {
    max-width: 80%;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 991px) {
    .banner-style-eight-area .thumb-style-three > img {
        max-width: 65%;
    }
}

/* Disable the full-page loading screen on every page. */
#preloader,
.edufix-preloader {
    display: none !important;
}

/* President's message: a calm editorial layout in the SoroTouch palette. */
.testimonial-style-five-area {
    background: #f7f8f0;
    position: relative;
    padding: 100px 0;
}
.testimonial-style-five-area .president-heading {
    max-width: 720px;
    margin: 0 auto 54px;
    text-align: center;
}
.president-eyebrow {
    display: inline-block;
    color: #397523;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.2px;
    margin-bottom: 20px;
}
.president-heading h2 {
    color: #203a2b;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.14;
    letter-spacing: -1.6px;
    margin-bottom: 20px;
}
.president-heading h2 span { color: #4b922b; }
.president-heading p { color: #657065; margin: 0; font-size: 17px; }
.president-layout {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 64px;
    align-items: start;
}
.president-profile { min-width: 0; }
.president-portrait {
    position: relative;
    overflow: hidden;
    border-radius: 24px 24px 80px 24px;
    background: #eeeae4;
    box-shadow: 0 20px 45px -30px #263c2850;
}
.president-portrait img { display: block; width: 100%; height: auto; }
.president-portrait-label {
    position: absolute;
    bottom: 24px;
    left: 24px;
    max-width: calc(100% - 48px);
    padding: 10px 15px;
    border-radius: 8px;
    background: #fffdf4;
    color: #29452d;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
}
.president-profile-caption { display: flex; gap: 16px; margin-top: 26px; align-items: flex-start; }
.president-profile-line { width: 32px; height: 3px; background: #efae25; flex-shrink: 0; margin-top: 12px; }
.president-profile-caption h3 { font-size: 22px; color: #203a2b; margin: 0 0 7px; }
.president-profile-caption p { font-size: 13px; line-height: 1.6; color: #657065; margin: 0; }
.president-profile-caption p span { margin: 0 5px; color: #9baba0; }
.president-message { min-width: 0; }
.president-quote { display: flex; gap: 16px; margin-bottom: 30px; }
.president-quote > span { font-family: Georgia, serif; font-size: 84px; line-height: 1; color: #5cb531; }
.president-quote blockquote {
    margin: 0;
    padding: 4px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #29452d;
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.5;
    font-weight: 500;
}
.president-quote blockquote::before, .president-quote blockquote::after { display: none; }
.president-chapters { border-top: 1px solid #dce3d5; }
.president-chapter { border-bottom: 1px solid #dce3d5; }
.president-chapter summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 23px 4px;
    cursor: pointer;
    list-style: none;
    border-radius: 4px;
}
.president-chapter summary::-webkit-details-marker { display: none; }
.president-chapter summary:focus-visible { outline: 3px solid #397523; outline-offset: 4px; }
.president-chapter summary:hover h3 { color: #397523; }
.president-chapter-number { color: #467d30; font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.president-chapter summary h3 { margin: 0; font-size: 19px; color: #203a2b; line-height: 1.4; }
.president-chapter-toggle {
    margin-left: auto;
    position: relative;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #e7eddc;
}
.president-chapter-toggle::before, .president-chapter-toggle::after {
    content: "";
    position: absolute;
    background: #397523;
    width: 10px;
    height: 2px;
    top: 13px;
    left: 9px;
}
.president-chapter-toggle::after { transform: rotate(90deg); }
.president-chapter[open] .president-chapter-toggle::after { transform: rotate(0); }
.president-chapter-body { padding: 0 4px 24px 38px; }
.president-chapter-body p { font-size: 15px; line-height: 1.85; color: #59665b; margin: 0 0 16px; }
.president-chapter-body p:last-child { margin-bottom: 0; }
.president-signoff { margin: 24px 0 0; color: #657065; font-size: 13px; }
@media (max-width: 991px) {
    .president-layout { gap: 32px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
    .president-portrait-label { left: 14px; bottom: 20px; max-width: calc(100% - 28px); font-size: 8px; }
    .president-profile-caption { gap: 10px; }
    .president-profile-line { width: 20px; }
}
@media (max-width: 767px) {
    .testimonial-style-five-area { padding: 64px 0; }
    .testimonial-style-five-area .president-heading { margin-bottom: 32px; }
    .president-eyebrow { font-size: 10px; letter-spacing: 1.5px; }
    .president-heading h2 { letter-spacing: -1px; }
    .president-heading p { font-size: 15px; }
    .president-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .president-profile { width: 100%; max-width: 380px; margin: 0 auto; }
    .president-portrait { border-radius: 20px 20px 60px 20px; }
    .president-chapter summary { gap: 12px; }
    .president-chapter summary h3 { font-size: 18px; }
    .president-chapter-body { padding-left: 4px; }
    .president-quote { gap: 10px; margin-bottom: 24px; }
}

/* Classroom photo gallery. */
.gallery-style-one-area.classroom-gallery { padding: 80px 0 88px; background: #fffdf8; overflow: hidden; }
.gallery-style-one-area.classroom-gallery::after { display: none; }
.classroom-gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.classroom-gallery-eyebrow { display: block; margin-bottom: 16px; color: #397523; font-size: 12px; font-weight: 700; letter-spacing: 2px; }
.classroom-gallery-heading h2 { margin: 0; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.16; letter-spacing: -1.4px; color: #203a2b; }
.classroom-gallery-heading h2 span { color: #4b922b; }
.classroom-gallery-heading > p { max-width: 340px; margin: 0 0 4px; color: #657065; font-size: 16px; line-height: 1.8; }
.classroom-gallery-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 18px; }
.classroom-moment { position: relative; display: block; min-width: 0; overflow: hidden; border-radius: 20px; isolation: isolate; background: #e8ebdf; }
.classroom-moment-1 { grid-row: span 2; }
.classroom-moment-4 { grid-column: 2 / 4; }
.classroom-moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.classroom-moment-4 img { object-position: center 38%; }
.classroom-moment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(13, 30, 18, .78) 100%); pointer-events: none; }
.classroom-moment-caption { position: absolute; bottom: 24px; left: 24px; right: 24px; z-index: 1; color: #fff; }
.classroom-moment-caption > span { display: block; margin-bottom: 7px; font-size: 11px; font-weight: 500; letter-spacing: 1px; }
.classroom-moment-caption strong { display: block; max-width: 320px; font-size: 21px; font-weight: 600; line-height: 1.35; }
.classroom-moment-1 .classroom-moment-caption strong { font-size: 30px; }
.classroom-moment-expand { position: absolute; top: 16px; right: 16px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #ffffff80; border-radius: 50%; color: #fff; background: #203a2b70; font-size: 13px; }
.classroom-moment:hover img { transform: scale(1.04); }
.classroom-moment:focus-visible { outline: 3px solid #397523; outline-offset: 4px; }
.classroom-gallery-footer { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; color: #657065; font-size: 12px; }
.classroom-gallery-footer > span:first-child { color: #397523; font-weight: 500; letter-spacing: .5px; }
.classroom-gallery-footer i { margin-right: 6px; }
@media (max-width: 991px) {
    .classroom-gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 260px; }
    .classroom-moment-1 { grid-row: auto; }
    .classroom-moment-4 { grid-column: auto; }
    .classroom-moment-1 .classroom-moment-caption strong { font-size: 23px; }
    .classroom-gallery-heading { gap: 24px; }
    .classroom-gallery-heading > p { max-width: 280px; }
}
@media (max-width: 575px) {
    .gallery-style-one-area.classroom-gallery { padding: 56px 0; }
    .classroom-gallery-heading { display: block; margin-bottom: 26px; }
    .classroom-gallery-heading > p { max-width: none; margin-top: 18px; font-size: 15px; }
    .classroom-gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 300px; gap: 16px; }
    .classroom-moment { border-radius: 16px; }
    .classroom-moment-caption { bottom: 20px; left: 20px; right: 20px; }
    .classroom-gallery-footer { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .classroom-moment img { transition: none; }
    .classroom-moment:hover img { transform: none; }
}

/* Colorful program cards use the original autoplay carousel. */
.program-stage-carousel { padding: 4px 0 22px; }
.program-stage-carousel .swiper-wrapper { align-items: stretch; }
.program-stage-carousel .swiper-slide { display: flex; height: auto; }
.program-stage-carousel .program-stage { width: 100%; flex: 1; }
.program-stage-carousel .program-stage-photo { flex-shrink: 0; }
.program-stage-carousel .program-stage-content {
    display: grid;
    grid-template-rows: auto minmax(60px, auto) 1fr;
    align-items: start;
    align-content: stretch;
}
.program-stage-carousel .program-stage-content h3 { margin-bottom: 0; }
.program-stage-carousel .program-stage-content p { margin-top: 10px; }
.program-stage-carousel .program-stage-link { align-self: end; }

/* Playful interactions without changing the equal card dimensions. */
.program-stage-carousel { padding-top: 16px; padding-bottom: 30px; }
.program-stage-carousel .program-stage {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.program-stage-carousel .program-stage-photo > img {
    clip-path: inset(0);
    transition: object-position .45s ease, filter .3s ease;
}
.program-stage-carousel .program-stage-letter {
    transition: transform .3s ease;
}
.program-stage-carousel .program-stage-link span {
    transition: transform .3s ease, background-color .3s ease;
}
.program-stage-carousel .program-stage:focus-within {
    border-color: var(--stage-bright);
    box-shadow: 0 16px 30px -18px var(--stage-color);
}
@media (hover: hover) and (pointer: fine) {
    .program-stage-carousel .program-stage:hover {
        transform: translateY(-7px);
        border-color: var(--stage-bright);
        box-shadow: 0 18px 30px -18px var(--stage-color);
    }
    .program-stage-carousel .program-stage:hover .program-stage-letter {
        transform: rotate(7deg) scale(1.08);
    }
    .program-stage-carousel .program-stage:hover .program-stage-photo > img {
        filter: saturate(1.12);
    }
    .program-stage-carousel .program-stage:hover .program-stage-link span {
        transform: translateX(4px) rotate(-12deg);
        background: #fff;
    }
}
@media (prefers-reduced-motion: reduce) {
    .program-stage-carousel .program-stage,
    .program-stage-carousel .program-stage-photo > img,
    .program-stage-carousel .program-stage-letter,
    .program-stage-carousel .program-stage-link span { transition: none; }
    .program-stage-carousel .program-stage:hover { transform: none; }
    .program-stage-carousel .program-stage:hover .program-stage-letter { transform: rotate(-6deg); }
    .program-stage-carousel .program-stage:hover .program-stage-link span { transform: none; }
}

/* Equal-sized cards staggered by stage, including during carousel looping. */
.program-stage-carousel { padding-top: 16px; padding-bottom: 66px; }
.program-stage-carousel .program-stage { --stage-offset: 0px; transform: translateY(var(--stage-offset)); }
.program-stage-carousel .program-stage-s,
.program-stage-carousel .program-stage-x { --stage-offset: 32px; }
@media (hover: hover) and (pointer: fine) {
    .program-stage-carousel .program-stage:hover { transform: translateY(calc(var(--stage-offset) - 7px)); }
}
@media (prefers-reduced-motion: reduce) {
    .program-stage-carousel .program-stage:hover { transform: translateY(var(--stage-offset)); }
}

/* Give every stage the same frame; vertical staggering is independent. */
.program-stage-carousel .swiper-slide {
    height: 560px;
    align-items: stretch;
}
.program-stage-carousel .program-stage {
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}
.program-stage-carousel .program-stage-photo {
    height: 220px;
    flex: 0 0 220px;
}
.program-stage-carousel .program-stage-content {
    min-height: 0;
    grid-template-rows: 26px 60px minmax(0, 1fr);
}
.program-stage-carousel .program-stage-content p {
    overflow-y: auto;
    width: 100%;
    max-height: 100%;
    margin-bottom: 0;
}
@media (max-width: 575px) {
    .program-stage-carousel .swiper-slide { height: 580px; }
    .program-stage-carousel .program-stage-photo { height: 240px; flex-basis: 240px; }
}

/* About mega menu — compact editorial cards with a useful visual panel. */
@media (min-width: 1024px) {
    nav.navbar.validnavs .megamenu-style-two ul.dropdown-menu.megamenu-content {
        padding: 18px !important;
        border: 1px solid #e5eee2;
        border-radius: 18px;
        background: #fbfdf9;
        box-shadow: 0 24px 60px rgba(28, 61, 35, .14) !important;
        overflow: hidden;
    }
    .megamenu-style-two .col-menu-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        align-items: stretch;
    }
    .megamenu-style-two .col-menu-wrap .menu-cal-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        align-items: stretch;
    }
    .megamenu-style-two .col-menu-wrap .col-menu {
        height: 100%;
        padding: 15px 16px;
        border: 1px solid #e5eee2;
        border-radius: 15px;
        background: linear-gradient(145deg, #fff 0%, #f4faf1 100%);
    }
    .megamenu-style-two .col-menu-wrap .menu-cal-items h4 {
        margin: 3px 0 6px;
        padding: 0;
        border: 0;
        color: #1d3d27;
        font-size: 21px;
    }
    .megamenu-eyebrow {
        color: #58ad45;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1.6px;
    }
    .megamenu-intro {
        max-width: 480px;
        min-height: 34px;
        margin: 0 0 8px;
        color: #728071;
        font-size: 12px;
        line-height: 1.4;
    }
    nav.navbar.validnavs .megamenu-style-two ul.menu-col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: 7px;
    }
    nav.navbar.validnavs .megamenu-style-two .col-menu:nth-child(2) ul.menu-col { grid-template-columns: 1fr; }
    .megamenu-style-two .col-menu-wrap .menu-cal-items ul.menu-col li { margin: 0; }
    nav.navbar.validnavs .megamenu-style-two ul.dropdown-menu.megamenu-content li a {
        display: flex;
        align-items: center;
        gap: 11px;
        min-height: 54px;
        padding: 8px 10px !important;
        border: 1px solid #e7eee4;
        border-radius: 14px;
        background: #fff;
        color: #25432d;
        transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    }
    nav.navbar.validnavs .megamenu-style-two ul.dropdown-menu.megamenu-content li a:hover {
        transform: translateY(-2px);
        border-color: #a9d99e;
        box-shadow: 0 9px 18px rgba(54, 101, 50, .09);
    }
    .megamenu-link-icon {
        display: grid;
        place-items: center;
        margin-left: 4px;
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: #edf8e9;
        color: #4da83d;
        font-size: 14px;
    }
    .megamenu-style-two .menu-col a strong,
    .megamenu-style-two .menu-col a small { display: block; }
    .megamenu-style-two .menu-col a strong { font-size: 13px; line-height: 1.2; }
    .megamenu-style-two .menu-col a small { margin-top: 3px; color: #899287; font-size: 11px; font-weight: 500; }
    .megamenu-note {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 72px;
        margin-top: 7px;
        padding: 12px;
        border-radius: 14px;
        background: #eff8eb;
        color: #63745f;
        font-size: 12px;
        line-height: 1.5;
    }
    .megamenu-note i { color: #f08b69; font-size: 18px; }
    .megamenu-note strong { color: #315a35; }
    .megamenu-style-two .megamenu-banner {
        position: relative;
        min-height: 100%;
        height: 100%;
        border-radius: 16px;
        overflow: hidden;
        background: #d9f1e3;
    }
    .megamenu-style-two .megamenu-banner::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(16, 57, 37, .78), rgba(16, 57, 37, .08));
    }
    .megamenu-style-two .megamenu-banner img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .megamenu-banner-copy {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        height: 100%;
        padding: 28px;
        color: #fff;
    }
    .megamenu-banner-copy > span { margin-bottom: 7px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
    .megamenu-banner-copy > strong { font-size: 28px; line-height: 1.08; }
    nav.navbar.validnavs .megamenu-style-two .megamenu-banner-copy a {
        min-height: 0;
        margin-top: 22px;
        padding: 9px 15px !important;
        border: 0;
        border-radius: 999px;
        background: #fff;
        color: #376d32;
        font-size: 12px;
    }
}

@media (max-width: 1023px) {
    .megamenu-eyebrow, .megamenu-intro, .megamenu-note { display: none; }
    .megamenu-link-icon { display: none; }
    .megamenu-style-two .menu-col a strong { font-weight: 500; }
    .megamenu-style-two .menu-col a small { display: none; }
}

/* Seven brands navigation menu */
nav.navbar.validnavs .brands-dropdown .brands-menu {
    left: -18px !important;
    right: auto !important;
    width: 360px;
    max-height: calc(100vh - 106px);
    padding: 17px 18px 18px;
    border: 0;
    border-top: 4px solid #ef2632;
    border-radius: 0 0 22px 22px;
    background: #fff;
    box-shadow: 0 22px 50px rgba(16, 57, 104, .14);
    overflow-y: auto;
    transform: none !important;
}

nav.navbar.validnavs .brands-dropdown .brands-menu > li {
    margin: 0 0 8px;
}

nav.navbar.validnavs .brands-dropdown .brands-menu > li:last-child {
    margin-bottom: 0;
}

nav.navbar.validnavs .brands-dropdown .brands-menu .brands-menu-heading {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 3px 11px;
    padding: 0 0 10px;
    border-bottom: 1px solid #e0e7f0;
    white-space: nowrap;
}

.brands-menu-heading span {
    color: #58ad45;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.brands-menu-heading strong {
    color: #0d3d78;
    font-size: 24px;
    line-height: 1;
}

nav.navbar.validnavs .brands-dropdown .brands-menu .brand-menu-card {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 68px;
    padding: 8px 14px !important;
    border: 1px solid #d5dfec;
    border-radius: 12px;
    background: #f4f7fb;
    box-shadow: none;
    transition: border-color .2s ease, background-color .2s ease;
}

nav.navbar.validnavs .brands-dropdown .brands-menu .brand-menu-card:hover {
    border-color: #ff8a91;
    background: #fff;
}

nav.navbar.validnavs .brands-dropdown .brands-menu .brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 118px;
    height: 46px;
}

nav.navbar.validnavs .brands-dropdown .brands-menu .brand-logo img {
    display: block;
    width: auto;
    max-width: 114px;
    height: auto;
    max-height: 44px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

nav.navbar.validnavs .brands-dropdown .brands-menu .brand-category {
    color: #0d3d78;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .55px;
    white-space: nowrap;
}

@media (max-width: 1023px) {
    nav.navbar.validnavs .brands-dropdown .brands-menu {
        left: auto !important;
        right: auto !important;
        width: 100%;
        max-height: 72vh;
        padding: 13px 8px 15px !important;
        border-top: 3px solid #ef2632;
        border-radius: 0 0 14px 14px;
        background: #fff;
        box-shadow: none;
        transform: none !important;
    }

    nav.navbar.validnavs .brands-dropdown .brands-menu > li { margin-bottom: 7px; }

    nav.navbar.validnavs .brands-dropdown .brands-menu .brand-menu-card {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 12px;
        min-height: 64px;
        padding: 7px 11px !important;
    }

    nav.navbar.validnavs .brands-dropdown .brands-menu .brand-logo {
        width: 108px;
        height: 42px;
    }

    nav.navbar.validnavs .brands-dropdown .brands-menu .brand-logo img {
        max-width: 104px;
        max-height: 40px;
    }

    nav.navbar.validnavs .brands-dropdown .brands-menu .brands-menu-heading {
        margin: 0 4px 13px;
        padding-bottom: 12px;
    }

    .brands-menu-heading strong { font-size: 21px; }
    .brands-menu-heading span { font-size: 10px; letter-spacing: 2px; }
    nav.navbar.validnavs .brands-dropdown .brands-menu .brand-category {
        font-size: 9px;
        white-space: normal;
    }
}
