/*
Theme Name: Eduspace
Author: ModinaTheme
Author URI: https://themeforest.net/user/modinatheme/
Description: Eduspace - Online Course, Education & University Html Template
Version: 1.2.0
*/

/*
=================================
|***    Table of contents:   ***|
=================================

1. General styles
2. Typography
3. Helpers
4. Preloader
5. Go up button
6. Header and navigation
7. Hero Section
8. About us
9. Services
10. Fun facts
11. Projects
12. Pricing
13. Testimonial
14. CTA
15. Team
16. Video Banner
17. Shop
18. Marquee
19. Blog
20. Footer

Main Style file-> assets/css/main.css 
*/

.header-logo img,
.header-logo-2 img {
    height: clamp(48px, 11.5vh, 110px);
    width: auto;
    max-width: clamp(140px, 16vw, 230px);
    vertical-align: middle;
    object-fit: contain;
}

.offcanvas__logo img,
.single-footer-widget .widget-head img {
    height: 104px;
    width: 233px;
    vertical-align: middle;
    object-fit: contain;
}

/* Header Responsive Navigation & Alignment (vh & vw) */
.header-section-3 .container,
.header-3 .container,
.header-3.style-2 .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: clamp(25px, 7vw, 160px) !important;
    padding-right: clamp(25px, 7vw, 160px) !important;
}

.header-3.style-2 .header-main {
    padding: clamp(0.4vh, 1.2vh, 1.8vh) 0;
    min-height: clamp(56px, 8.5vh, 100px);
}

.header-3.style-2 .header-main .main-menu ul li {
    margin-inline-end: clamp(14px, 1.8vw, 32px);
}
.header-3.style-2 .header-main .main-menu ul li a {
    font-size: clamp(14px, 1.6vh, 17px);
    font-weight: 400;
    white-space: nowrap;
    padding: clamp(0.8vh, 1.8vh, 2.4vh) 0;
}
.header-3.style-2 .header-main .header-button .theme-btn {
    padding: clamp(0.7vh, 1.4vh, 1.8vh) clamp(16px, 1.8vw, 28px);
    background-color: var(--theme-orange);
    color: var(--white);
    font-size: clamp(13px, 1.5vh, 16px);
    font-weight: 600;
    border-radius: 10px;
    white-space: nowrap;
}

@media (max-width: 1499px) {
    .header-3.style-2 .header-main .main-menu ul li {
        margin-inline-end: clamp(12px, 1.4vw, 22px);
    }
}

@media (max-width: 1399px) {
    .header-3.style-2 .header-main .main-menu ul li {
        margin-inline-end: clamp(10px, 1.2vw, 16px);
    }
    .header-3.style-2 .header-main .main-menu ul li a {
        font-size: clamp(13px, 1.5vh, 16px);
    }
    .header-3.style-2 .header-logo img,
    .header-3.style-2 .header-logo-2 img {
        height: clamp(45px, 6.8vh, 85px);
        width: auto;
        max-width: 190px;
    }
}

@media (max-width: 1199px) {
    .header-main .header-left,
    .header-main .mean__menu-wrapper,
    .header-main .main-menu,
    .header-main #mobile-menu {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .header-3.style-2 .header-logo img,
    .header-3.style-2 .header-logo-2 img {
        height: clamp(42px, 6.2vh, 72px);
        width: auto;
        max-width: 160px;
    }
}

/* =========================================================
   Hero Section 4 (Responsive across all 10 device resolutions:
   320px, 390px, 430px, 768px, 1024px, 1280px, 1366px, 1536px, 1920px, 3440px)
   ========================================================= */
.hero-section.hero-4 {
    height: auto;
    min-height: clamp(680px, 75vh, 920px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: clamp(85px, 11vh, 140px);
    padding-bottom: clamp(320px, 34vh, 380px);
    padding-left: 0;
    padding-right: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
        url("assets/img/image.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-4 .hero-content {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    margin-top: clamp(12px, 2vh, 35px) !important;
    text-align: center;
    position: relative;
    z-index: 5;
}

.hero-4 .hero-content .wow {
    visibility: visible !important;
}

.hero-4 .hero-content h1 {
    font-size: clamp(36px, 4.2vw, 68px);
    line-height: 1.22;
    color: var(--white);
    margin-top: 18px;
    margin-bottom: 18px;
    text-transform: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
}

.hero-4 .hero-content p {
    font-size: clamp(16px, 1.35vw, 21px);
    font-weight: 500;
    line-height: 1.65;
    color: var(--white);
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    word-wrap: break-word;
}

.hero-4 .hero-content .hero-button {
    margin-top: 32px;
}

/* Tablets (768px - 991px) */
@media (max-width: 991px) {
    .hero-section.hero-4 {
        min-height: clamp(620px, 70vh, 760px);
        padding-top: clamp(80px, 10vh, 105px);
        padding-bottom: clamp(280px, 28vh, 320px);
    }
    .hero-4 .hero-content {
        margin-top: 15px !important;
    }
    .hero-4 .hero-content h1 {
        font-size: clamp(32px, 5.2vw, 46px);
        line-height: 1.25;
        margin-top: 16px;
        margin-bottom: 16px;
    }
}

/* Mobile (up to 767px: 320px, 390px, 430px) */
@media (max-width: 767px) {
    .hero-section.hero-4 {
        min-height: clamp(560px, 75vh, 660px);
        padding-top: 75px;
        padding-bottom: 270px;
        background-position: 58% center;
    }
    .hero-4 .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .hero-4 .hero-content {
        margin-top: 8px !important;
        padding: 0 8px;
    }
    .hero-4 .hero-content h1 {
        font-size: clamp(26px, 7.2vw, 34px);
        line-height: 1.26;
        margin-top: 14px;
        margin-bottom: 14px;
    }
    .hero-4 .hero-content p {
        font-size: clamp(14px, 3.8vw, 16px);
        line-height: 1.5;
        padding: 0 6px;
    }
}

/* Smallest Mobile (<= 360px: 320px screen) */
@media (max-width: 360px) {
    .hero-section.hero-4 {
        min-height: 560px;
        padding-top: 65px;
        padding-bottom: 270px;
    }
    .hero-4 .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .hero-4 .hero-content {
        margin-top: 4px !important;
        padding: 0 4px;
    }
    .hero-4 .hero-content h1 {
        font-size: 24px;
        line-height: 1.25;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .hero-4 .hero-content p {
        font-size: 13.5px;
        line-height: 1.45;
        padding: 0 2px;
    }
    .hero-4 .hero-content .kidz-eyebrow {
        font-size: 15px !important;
        gap: 5px !important;
    }
    .hero-4 .hero-content .kidz-eyebrow::before,
    .hero-4 .hero-content .kidz-eyebrow::after {
        width: 16px !important;
        height: 13px !important;
    }
}

@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@600;700;800&family=Quicksand:wght@500;600;700&family=Sora:wght@400;500;600;700;800&display=swap");

/* =========================================================
   Playful Splash Eyebrow (.kidz-eyebrow / .eyebrow-splash)
   Clean, balanced eyebrow size (22px) with colorful accents
   ========================================================= */
.kidz-eyebrow,
.eyebrow-splash,
.section-title h6.kidz-eyebrow,
.section-title h6.eyebrow-splash {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px !important;
    color: #0D1B3E;
    position: relative;
    padding-bottom: 0 !important;
    margin-bottom: 12px;
    text-align: center;
}

@media (max-width: 767px) {
    .kidz-eyebrow,
    .eyebrow-splash,
    .section-title h6.kidz-eyebrow,
    .section-title h6.eyebrow-splash {
        font-size: 17px !important;
        gap: 7px;
    }
}



/* Two-tone color accents inside eyebrow */
.kidz-eyebrow .title-navy,
.eyebrow-splash .title-navy {
    color: #0D1B3E;
}
.kidz-eyebrow .title-coral,
.eyebrow-splash .title-coral {
    color: #F27D52;
}

/* Left Splash Accent (Purple, Coral, Mint) */
.section-title h6.kidz-eyebrow::before,
.section-title h6.eyebrow-splash::before,
.kidz-eyebrow::before,
.eyebrow-splash::before {
    content: "" !important;
    position: static !important;
    width: 26px !important;
    height: 20px !important;
    display: inline-block !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='32' viewBox='0 0 40 32' fill='none'%3E%3Cpath d='M34 24 C26 18 18 12 12 4' stroke='%237B61FF' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M36 26 C26 22 14 20 2 20' stroke='%23F27D52' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M34 28 C24 28 16 30 6 30' stroke='%2320C997' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain !important;
    flex-shrink: 0;
    animation: none !important;
}

/* Right Splash Accent (Teal, Coral, Royal Blue) */
.section-title h6.kidz-eyebrow::after,
.section-title h6.eyebrow-splash::after,
.kidz-eyebrow::after,
.eyebrow-splash::after {
    content: "" !important;
    position: static !important;
    width: 26px !important;
    height: 20px !important;
    display: inline-block !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='32' viewBox='0 0 40 32' fill='none'%3E%3Cpath d='M6 24 C14 18 22 12 28 4' stroke='%2320C997' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M4 26 C14 22 26 20 38 20' stroke='%23F27D52' stroke-width='3.5' stroke-linecap='round'/%3E%3Cpath d='M6 28 C16 28 24 30 34 30' stroke='%234D96FF' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain !important;
    flex-shrink: 0;
    animation: none !important;
}

@media (max-width: 767px) {
    .kidz-eyebrow::before,
    .eyebrow-splash::before,
    .kidz-eyebrow::after,
    .eyebrow-splash::after {
        width: 20px !important;
        height: 16px !important;
    }
}



/* Dark background / text-white support */
.kidz-eyebrow.text-white,
.eyebrow-splash.text-white {
    color: #FFFFFF !important;
}
.kidz-eyebrow.text-white .title-navy,
.kidz-eyebrow.text-white .title-coral {
    color: #FFFFFF !important;
}
.kidz-eyebrow.text-white::before,
.kidz-eyebrow.text-white::after,
.eyebrow-splash.text-white::before,
.eyebrow-splash.text-white::after,
.section-title.color-yellow .kidz-eyebrow::before,
.section-title.color-yellow .kidz-eyebrow::after {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35));
}

/* Optional smaller eyebrow variant */
.kidz-eyebrow-sm,
.section-title h6.kidz-eyebrow-sm {
    font-size: 20px !important;
    gap: 10px;
}
.kidz-eyebrow-sm::before,
.kidz-eyebrow-sm::after,
.section-title h6.kidz-eyebrow-sm::before,
.section-title h6.kidz-eyebrow-sm::after {
    width: 26px !important;
    height: 20px !important;
}

/* Direct span accents support */
.splash-accents {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.splash-accents svg {
    display: block;
}

/* Franchise CTA Background */
.cta-newsletter-section.style-2 {
    background-color: #009FE3 !important;
}

/* All Buttons in Brand Red (#E52421) */
.theme-btn,
.theme-btn.yellow-btn,
.theme-btn.red-btn,
.theme-btn.pink-btn,
.theme-btn.theme-blue-2,
.welcome-pill-btn,
.back-to-top {
    background-color: #E52421 !important;
    color: #FFFFFF !important;
    border: 1px solid #E52421 !important;
}

.theme-btn::before,
.theme-btn::after,
.theme-btn.yellow-btn::before,
.theme-btn.yellow-btn::after,
.theme-btn.red-btn::before,
.theme-btn.red-btn::after,
.theme-btn.pink-btn::before,
.theme-btn.pink-btn::after,
.theme-btn.theme-blue-2::before,
.theme-btn.theme-blue-2::after {
    background-color: #C01B18 !important;
}

.theme-btn:hover,
.theme-btn.yellow-btn:hover,
.theme-btn.red-btn:hover,
.theme-btn.pink-btn:hover,
.theme-btn.theme-blue-2:hover,
.welcome-pill-btn:hover,
.back-to-top:hover {
    background-color: #C01B18 !important;
    color: #FFFFFF !important;
    border-color: #C01B18 !important;
}

/* Secondary / Outline Button */
.theme-btn.style-2 {
    background-color: transparent !important;
    color: #E52421 !important;
    border: 1px solid #E52421 !important;
}
.theme-btn.style-2:hover {
    background-color: #E52421 !important;
    color: #FFFFFF !important;
}
.theme-btn.style-2::before,
.theme-btn.style-2::after {
    background-color: #E52421 !important;
}

/* Our Events Background */
.event-wrapper-2 .event-right-items,
.event-secton-2 .event-right-items {
    background-color: #009FE3 !important;
}

/* Welcome Junior Kidz - Know More Button */
.welcome-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #E52421 !important;
    color: #FFFFFF !important;
    font-size: 15px;
    font-weight: 600;
    padding: 11px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(229, 36, 33, 0.35);
    transition: all 0.3s ease;
}
.welcome-pill-btn:hover {
    background-color: #C01B18 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(229, 36, 33, 0.45);
}

/* =========================================================
   Inner Pages Banner & Floating Animated Shapes
   - Actual backing image height defines banner height
   - Floating playful shapes animated up & down
   ========================================================= */
.breadcrumb-wrapper {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    background-color: white;
    padding: 0 !important;
    margin: 0 !important;
}

.breadcrumb-wrapper::before {
    display: none !important;
}

/* Backing Image - natural height defines banner height */
.breadcrumb-wrapper .banner-bg-img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-height: 220px !important;
    object-fit: cover !important;
    object-position: center bottom !important;
    pointer-events: none;
    user-select: none;
}

/* Banner Content Overlay */
.breadcrumb-wrapper .banner-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 3 !important;
    pointer-events: none;
    padding-bottom: 25px;
}

.breadcrumb-wrapper .banner-content .container {
    pointer-events: auto;
}

.breadcrumb-wrapper .page-heading {
    padding: 0 !important;
    text-align: center !important;
    margin: 0 auto !important;
}

.breadcrumb-wrapper .page-heading h1 {
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-size: 61px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18) !important;
}

/* =========================================================
   Floating Decorative Shapes - Moving Up & Down
   ========================================================= */
.banner-floating-shape {
    position: absolute !important;
    z-index: 2 !important;
    pointer-events: none;
    user-select: none;
}

.banner-floating-shape img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.15));
}

/* Flower - Top Left */
.banner-floating-shape.shape-flower {
    top: 18% !important;
    left: 9% !important;
    width: 105px !important;
    animation: bannerFloatFlower 4.2s ease-in-out infinite !important;
}

/* Umbrella - Bottom Left */
.banner-floating-shape.shape-umbrella {
    bottom: 23% !important;
    left: 24% !important;
    width: 102px !important;
    animation: bannerFloatUmbrella 4.8s ease-in-out 0.8s infinite !important;
}

/* Balloon - Top Right */
.banner-floating-shape.shape-balloon {
    top: 17% !important;
    right: 13% !important;
    width: 105px !important;
    animation: bannerFloatBalloon 3.9s ease-in-out 0.4s infinite !important;
}

/* Tree - Bottom Right */
.banner-floating-shape.shape-tree {
    bottom: 25% !important;
    right: 21% !important;
    width: 114px !important;
    animation: bannerFloatTree 4.6s ease-in-out 1.2s infinite !important;
}

/* Keyframes: Smooth Up & Down Floating Motion */
@keyframes bannerFloatFlower {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(4deg);
    }
}

@keyframes bannerFloatUmbrella {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-22px) rotate(-3deg);
    }
}

@keyframes bannerFloatBalloon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-25px);
    }
}

@keyframes bannerFloatTree {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-18px);
    }
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .banner-floating-shape.shape-flower {
        left: 4% !important;
        width: 58px !important;
    }
    .banner-floating-shape.shape-umbrella {
        left: 12% !important;
        width: 66px !important;
    }
    .banner-floating-shape.shape-balloon {
        right: 12% !important;
        width: 66px !important;
    }
    .banner-floating-shape.shape-tree {
        right: 4% !important;
        width: 64px !important;
    }
    .breadcrumb-wrapper .page-heading h1 {
        font-size: 42px !important;
    }
}

@media (max-width: 991px) {
    .banner-floating-shape.shape-flower {
        left: 3% !important;
        top: 10% !important;
        width: 48px !important;
    }
    .banner-floating-shape.shape-umbrella {
        left: 10% !important;
        bottom: 20% !important;
        width: 54px !important;
    }
    .banner-floating-shape.shape-balloon {
        right: 10% !important;
        top: 10% !important;
        width: 54px !important;
    }
    .banner-floating-shape.shape-tree {
        right: 3% !important;
        bottom: 20% !important;
        width: 52px !important;
    }
    .breadcrumb-wrapper .page-heading h1 {
        font-size: 36px !important;
    }
}

@media (max-width: 767px) {
    .banner-floating-shape {
        display: block !important;
    }
    .banner-floating-shape.shape-flower {
        left: 3% !important;
        top: 8% !important;
        width: 40px !important;
    }
    .banner-floating-shape.shape-umbrella {
        left: 5% !important;
        bottom: 12% !important;
        width: 40px !important;
    }
    .banner-floating-shape.shape-balloon {
        right: 3% !important;
        top: 8% !important;
        width: 40px !important;
    }
    .banner-floating-shape.shape-tree {
        right: 5% !important;
        bottom: 12% !important;
        width: 40px !important;
    }
    .breadcrumb-wrapper .page-heading h1 {
        font-size: 30px !important;
    }
}

@media (max-width: 480px) {
    .banner-floating-shape {
        display: block !important;
    }
    .banner-floating-shape.shape-flower {
        left: 8% !important;
        top: 12% !important;
        width: 49px !important;
    }
    .banner-floating-shape.shape-umbrella {
        left: 20% !important;
        bottom: 20% !important;
        width: 42px !important;
    }
    .banner-floating-shape.shape-balloon {
        right: 7% !important;
        top: 13% !important;
        width: 50px !important;
    }
    .banner-floating-shape.shape-tree {
        right: 20% !important;
        bottom: 18% !important;
        width: 42px !important;
    }
    .breadcrumb-wrapper .page-heading h1 {
        font-size: 26px !important;
    }
}

/* Spacing between Welcome eyebrow and paragraph */
.welcome-header,
.welcome-junior-section .welcome-header {
    margin-bottom: 55px !important;
}

@media (max-width: 991px) {
    .welcome-header,
    .welcome-junior-section .welcome-header {
        margin-bottom: 40px !important;
    }
}

@media (max-width: 767px) {
    .welcome-header,
    .welcome-junior-section .welcome-header {
        margin-bottom: 32px !important;
    }
}

/* Responsive Global Safety */
html, body {
    overflow-x: clip;
    max-width: 100%;
}

.fix-area {
    overflow: hidden;
}

.junior-kidz-footer-logo img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Offcanvas Mobile Menu Styling */
.mean-container .offcanvas-nav-links {
    display: none !important;
}
.offcanvas-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.offcanvas-nav-links li a {
    display: block;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--header);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: color 0.3s ease;
}
.offcanvas-nav-links li a:hover {
    color: var(--theme-blue);
}

/* Skip event background image on mobile and tablet */
@media (max-width: 1199px) {
    .event-wrapper-2 .event-image {
        display: none !important;
    }
}

/* Event List Item (Home page): Date box and title in 1 row on mobile/tablet (keep date size intact) */
@media (max-width: 1399px) {
    .event-wrapper-2 .event-right-items .event-list-items .event-content .content {
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 16px !important;
    }
    .event-wrapper-2 .event-right-items .event-list-items .event-content .content .date {
        flex-shrink: 0 !important;
        padding: 12px 20px 12px !important;
    }
    .event-wrapper-2 .event-right-items .event-list-items .event-content .content .date h2 {
        font-size: 40px !important;
    }
    .event-wrapper-2 .event-right-items .event-list-items .event-content .content .title-text {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .event-wrapper-2 .event-right-items .event-list-items .event-content .content .title-text .post-time {
        margin-top: 10px !important;
        padding-top: 10px !important;
        flex-wrap: nowrap !important;
    }
}

@media (max-width: 575px) {
    .event-wrapper-2 .event-right-items .event-list-items {
        padding: 20px 15px !important;
    }
    .event-wrapper-2 .event-right-items .event-list-items .event-content .content {
        gap: 12px !important;
    }
    .event-wrapper-2 .event-right-items .event-list-items .event-content .content .title-text h4 {
        font-size: 16px !important;
        line-height: 1.35 !important;
    }
    .event-wrapper-2 .event-right-items .event-list-items .event-content .content .title-text .post-time {
        margin-top: 8px !important;
        padding-top: 8px !important;
        font-size: 13px !important;
    }
}

/* =========================================================
   Faster Incoming & Entrance Animations on Mobile & Tablet
   ========================================================= */
@media (max-width: 991px) {
    /* Fast, snappy entrance animations for WOW.js & Animate.css */
    .wow,
    .animated {
        -webkit-animation-duration: 0.5s !important;
        animation-duration: 0.5s !important;
    }

    /* Shorten scroll entrance delays so items appear immediately */
    [data-wow-delay],
    .wow[style*="animation-delay"],
    .animated[style*="animation-delay"] {
        -webkit-animation-delay: 0.1s !important;
        animation-delay: 0.1s !important;
    }

    /* Faster image incoming reveal animations */
    .img-custom-anim-left,
    .img-custom-anim-right,
    .img-custom-anim-top,
    .img-custom-anim-bottom {
        animation-duration: 0.55s !important;
        animation-delay: 0.08s !important;
    }

    /* Snappy offcanvas mobile menu drawer slide-in */
    .offcanvas__info {
        transition: transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    opacity 0.28s ease-in-out,
                    visibility 0.28s ease-in-out !important;
    }

    /* Livelier floating banner shapes */
    .banner-floating-shape.shape-flower {
        animation-duration: 2.8s !important;
    }
    .banner-floating-shape.shape-umbrella {
        animation-duration: 3.0s !important;
    }
    .banner-floating-shape.shape-balloon {
        animation-duration: 2.6s !important;
    }
    .banner-floating-shape.shape-tree {
        animation-duration: 3.0s !important;
    }
}

@media (max-width: 575px) {
    /* Extra fast & responsive entrance on mobile phones */
    .wow,
    .animated {
        -webkit-animation-duration: 0.4s !important;
        animation-duration: 0.4s !important;
    }

    [data-wow-delay],
    .wow[style*="animation-delay"],
    .animated[style*="animation-delay"] {
        -webkit-animation-delay: 0.05s !important;
        animation-delay: 0.05s !important;
    }
}

/* =========================================================
   Event Page (event.html) Clean Layout Matching Design
   ========================================================= */
.event-list-wrapper .event-list-items {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    background: #FFFFFF !important;
    border: 1px solid #E8EFF5 !important;
    border-radius: 14px !important;
    padding: 28px 32px !important;
    margin-bottom: 24px !important;
    gap: 25px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
    transition: none !important;
}
.event-list-wrapper .event-list-items .event-content {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    flex-basis: auto !important;
}
.event-list-wrapper .event-list-items .event-content .content {
    display: flex !important;
    align-items: flex-start !important;
    gap: 24px !important;
    flex-wrap: nowrap !important;
}
.event-list-wrapper .event-list-items .event-content .content .date,
.event-list-wrapper .event-list-items:hover .event-content .content .date {
    background-color: var(--theme-orange) !important;
    flex-shrink: 0 !important;
    width: 104px !important;
    height: 104px !important;
    border-radius: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    text-align: center !important;
    transition: none !important;
}
.event-list-wrapper .event-list-items .event-content .content .date h2 {
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-size: 38px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    line-height: 1 !important;
    margin: 0 0 4px 0 !important;
}
.event-list-wrapper .event-list-items .event-content .content .date span {
    font-family: 'Quicksand', 'Sora', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    line-height: 1 !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}
.event-list-wrapper .event-list-items .event-content .content .title-text {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-right: 15px !important;
}
.event-list-wrapper .event-list-items .event-content .content .title-text h4 {
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #0D1B3E !important;
    margin: 0 0 8px 0 !important;
    line-height: 1.3 !important;
}
.event-list-wrapper .event-list-items .event-content .content .title-text h4 a,
.event-list-wrapper .event-list-items .event-content .content .title-text h4 a:hover,
.event-wrapper-2 .event-right-items .event-list-items .event-content .content .title-text h4 a,
.event-wrapper-2 .event-right-items .event-list-items .event-content .content .title-text h4 a:hover {
    color: #0D1B3E !important;
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    transition: none !important;
}
.event-list-wrapper .event-list-items .event-content .content .title-text .event-desc {
    font-family: 'Quicksand', 'Sora', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #556987 !important;
    line-height: 1.55 !important;
    margin: 0 0 14px 0 !important;
    max-width: 600px !important;
}
.event-list-wrapper .event-list-items .event-content .content .title-text .post-time {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    border: none !important;
    font-family: 'Quicksand', 'Sora', sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #556987 !important;
}
.event-list-wrapper .event-list-items .event-content .content .title-text .post-time li {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #556987 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.event-list-wrapper .event-list-items .event-image {
    flex-shrink: 0 !important;
    width: 250px !important;
    height: 150px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 0 !important;
}
.event-list-wrapper .event-list-items .event-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
    transition: none !important;
}
.event-list-wrapper .event-list-items:hover {
    transform: none !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}
.event-list-wrapper .event-list-items:hover .event-image img {
    transform: none !important;
}

/* Home page events ticker: hardware acceleration & smooth pause on hover (prevents animation-transform conflict & hover jitter) */
.event-wrapper-2 .event-right-items .event-list-items {
    will-change: transform;
}
.event-wrapper-2 .event-right-items .event-list-area:hover .event-list-items,
.event-wrapper-2 .event-right-items .event-list-items:hover {
    animation-play-state: paused !important;
}

/* Tablets (768px - 1024px): 1-row layout with compact sizing */
@media (max-width: 1024px) and (min-width: 768px) {
    .event-list-wrapper .event-list-items {
        padding: 22px 24px !important;
        gap: 18px !important;
        flex-wrap: nowrap !important;
    }
    .event-list-wrapper .event-list-items .event-content .content {
        gap: 16px !important;
    }
    .event-list-wrapper .event-list-items .event-content .content .date {
        width: 88px !important;
        height: 88px !important;
    }
    .event-list-wrapper .event-list-items .event-content .content .date h2 {
        font-size: 32px !important;
    }
    .event-list-wrapper .event-list-items .event-content .content .title-text h4 {
        font-size: 19px !important;
    }
    .event-list-wrapper .event-list-items .event-image {
        width: 200px !important;
        height: 135px !important;
    }
}

/* Mobile (< 768px): Clean stack */
@media (max-width: 767px) {
    .event-list-wrapper .event-list-items {
        flex-direction: column !important;
        padding: 20px 16px !important;
        gap: 16px !important;
        align-items: stretch !important;
    }
    .event-list-wrapper .event-list-items .event-content .content {
        gap: 14px !important;
    }
    .event-list-wrapper .event-list-items .event-content .content .date {
        width: 76px !important;
        height: 76px !important;
        border-radius: 8px !important;
    }
    .event-list-wrapper .event-list-items .event-content .content .date h2 {
        font-size: 28px !important;
    }
    .event-list-wrapper .event-list-items .event-content .content .date span {
        font-size: 12px !important;
    }
    .event-list-wrapper .event-list-items .event-content .content .title-text h4 {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }
    .event-list-wrapper .event-list-items .event-content .content .title-text .event-desc {
        font-size: 13.5px !important;
        margin-bottom: 10px !important;
    }
    .event-list-wrapper .event-list-items .event-image {
        width: 100% !important;
        max-width: 100% !important;
        height: 180px !important;
    }
}

/* Gallery & Search widget styling */
.gallery-top-area,
.event-list-top-area {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
}
.gallery-top-area .search-widget,
.event-list-top-area .search-widget {
    position: relative !important;
    max-width: 380px !important;
    width: 100% !important;
}
.gallery-top-area .search-widget input,
.event-list-top-area .search-widget input {
    width: 100% !important;
    border-radius: 8px !important;
    border: 1px solid #E6EFFF !important;
    background: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    padding: 14px 44px 14px 20px !important;
    font-family: 'Quicksand', 'Sora', sans-serif !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    color: #0D1B3E !important;
    outline: none !important;
    transition: border-color 0.3s ease !important;
}
.gallery-top-area .search-widget input:focus {
    border-color: #00a0e3 !important;
}
.event-list-top-area .search-widget input:focus {
    border-color: var(--theme-orange) !important;
}
.gallery-top-area .search-widget .sub-icon,
.event-list-top-area .search-widget .sub-icon {
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    transform: translateY(-50%) !important;
    color: #556987 !important;
    pointer-events: none !important;
}
.gallery-top-area .event-button-top .theme-btn {
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: 0.3px !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    background-color: var(--theme-orange) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
}
.gallery-top-area .event-button-top .theme-btn:hover {
    background-color: #00a0e3 !important;
}
.event-list-top-area .event-button-top .theme-btn,
.event-list-wrapper .event-button .theme-btn {
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    letter-spacing: 0.3px !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    background-color: var(--theme-orange) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
}
#noEventsMsg,
#noGalleryMsg {
    font-family: 'Quicksand', 'Sora', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #556987 !important;
}

@media (max-width: 575px) {
    .gallery-top-area,
    .event-list-top-area {
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }
    .gallery-top-area .search-widget,
    .event-list-top-area .search-widget {
        max-width: 100% !important;
    }
    .gallery-top-area .event-button-top,
    .event-list-top-area .event-button-top {
        width: 100% !important;
    }
    .gallery-top-area .event-button-top .theme-btn,
    .event-list-top-area .event-button-top .theme-btn {
        width: 100% !important;
        text-align: center !important;
    }
}

/* =========================================================
   Simple Clean Gallery Grid Layout
   ========================================================= */
.simple-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.simple-gallery-item {
    position: relative !important;
    display: block !important;
}

.simple-gallery-item .gallery-card {
    display: block !important;
    position: relative !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
    background: #FFFFFF !important;
    border: 1px solid #E8EFF5 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.simple-gallery-item .gallery-thumb {
    position: relative !important;
    width: 100% !important;
    height: 250px !important;
    overflow: hidden !important;
}

.simple-gallery-item .gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.4s ease !important;
}

.simple-gallery-item .gallery-hover-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to top, rgba(0, 160, 227, 0.92) 0%, rgba(0, 160, 227, 0.35) 60%, transparent 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    padding: 20px !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.simple-gallery-item .gallery-hover-overlay .hover-icon {
    position: absolute !important;
    top: 18px !important;
    right: 18px !important;
    width: 38px !important;
    height: 38px !important;
    background: #00a0e3 !important;
    color: #FFFFFF !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    transform: scale(0.8) !important;
    transition: transform 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18) !important;
}

.simple-gallery-item .gallery-hover-overlay .hover-text h4 {
    color: #FFFFFF !important;
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3 !important;
}

.simple-gallery-item .gallery-hover-overlay .hover-text p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Quicksand', 'Sora', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    letter-spacing: 0.3px !important;
}

.simple-gallery-item:hover .gallery-card {
    transform: translateY(-4px) !important;
    border-color: #00a0e3 !important;
    box-shadow: 0 12px 28px rgba(0, 160, 227, 0.28) !important;
}

.simple-gallery-item:hover .gallery-thumb img {
    transform: scale(1.05) !important;
}

.simple-gallery-item:hover .gallery-hover-overlay {
    opacity: 1 !important;
}

.simple-gallery-item:hover .gallery-hover-overlay .hover-icon {
    transform: scale(1) !important;
}

/* Tablet (768px - 1024px): 2 columns */
@media (max-width: 1024px) {
    .simple-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    .simple-gallery-item .gallery-thumb {
        height: 230px !important;
    }
}

/* Mobile (< 768px): 1 column */
@media (max-width: 767px) {
    .simple-gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .simple-gallery-item .gallery-thumb {
        height: 220px !important;
    }
}
@media (max-width: 575px) and (min-width: 420px) {
    .simple-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .simple-gallery-item .gallery-thumb {
        height: 170px !important;
    }
}

/* =========================================================
   Enquiry Page (enquiry.html) Styling
   ========================================================= */
.enquiry-page-section {
    background-color: #F8FAFC !important;
    padding: 70px 0 90px !important;
}

.enquiry-card-wrapper {
    background: #FFFFFF !important;
    border: 1px solid #E8EFF5 !important;
    border-radius: 16px !important;
    padding: 55px 65px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
}

.enquiry-form .form-label {
    display: block !important;
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0D1B3E !important;
    margin-bottom: 8px !important;
}

.enquiry-form .form-clt input,
.enquiry-form .form-clt textarea {
    width: 100% !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    background: #FFFFFF !important;
    padding: 14px 18px !important;
    font-family: 'Quicksand', 'Sora', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #0D1B3E !important;
    outline: none !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.enquiry-form .form-clt input::placeholder {
    color: #94A3B8 !important;
    font-family: 'Quicksand', 'Sora', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

@media (max-width: 575px) {
    .enquiry-form .form-clt input::placeholder {
        font-size: 13px !important;
    }
}

.enquiry-form .form-clt input:focus,
.enquiry-form .form-clt textarea:focus {
    border-color: #00a0e3 !important;
    box-shadow: 0 0 0 3px rgba(0, 160, 227, 0.15) !important;
}

.input-with-icon {
    position: relative !important;
    width: 100% !important;
}

.input-with-icon .input-icon {
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #94A3B8 !important;
    font-size: 16px !important;
    pointer-events: none !important;
    transition: color 0.25s ease !important;
}

.input-with-icon .textarea-icon {
    top: 20px !important;
    transform: none !important;
}

.input-with-icon input:focus ~ .input-icon,
.input-with-icon textarea:focus ~ .input-icon {
    color: #00a0e3 !important;
}

.enquiry-form .form-clt .input-with-icon input {
    padding-right: 48px !important;
}

.enquiry-form .form-clt .input-with-icon textarea {
    padding-right: 48px !important;
}

/* FontAwesome 6 compatibility with FA5 fallback */
.fa-solid {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Pro" !important;
    font-weight: 900 !important;
}

.enquiry-submit-btn {
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    letter-spacing: 0.3px !important;
    padding: 16px 48px !important;
    border-radius: 8px !important;
    background-color: var(--theme-orange) !important;
    color: #FFFFFF !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.enquiry-submit-btn:hover {
    background-color: #00a0e3 !important;
    transform: translateY(-2px) !important;
}

.enquiry-contact-box {
    background: #FFFFFF !important;
    border: 1px solid #E8EFF5 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.25s ease, border-color 0.25s ease !important;
    height: 100% !important;
}

.enquiry-contact-box:hover {
    transform: translateY(-3px) !important;
    border-color: #00a0e3 !important;
}

.enquiry-contact-box .box-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    flex-shrink: 0 !important;
}

.enquiry-contact-box .box-details h6 {
    font-family: 'Fredoka', 'Sora', sans-serif !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #0D1B3E !important;
    margin: 0 0 4px 0 !important;
}

.enquiry-contact-box .box-details p {
    font-family: 'Quicksand', 'Sora', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #556987 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.enquiry-contact-box .box-details a {
    color: #556987 !important;
    transition: color 0.2s ease !important;
}

.enquiry-contact-box .box-details a:hover {
    color: #00a0e3 !important;
}

@media (max-width: 767px) {
    .enquiry-page-section {
        padding: 40px 0 60px !important;
    }
    .enquiry-card-wrapper {
        padding: 30px 20px !important;
    }
    .enquiry-submit-btn {
        width: 100% !important;
    }
    .enquiry-contact-box {
        padding: 18px !important;
    }
}


