/* Fonts */
:root {
    --default-font: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Raleway", sans-serif;
    --nav-font: "Poppins", sans-serif;
}

/* --- Global Colors (Matched to Logo & Jeju Nature) --- */
:root {
    --background-color: #ffffff;
    --default-color: #555555;
    --heading-color: #2e3330; /* Volcanic Stone Grey */

    /* PRIMARY ACTION: "Logo Green" - Foundation/Buttons */
    /* Excellent contrast against the blue sky/wall in hero image */
    --accent-color: #438b69;

    /* SECONDARY: "Logo Blue" - Highlights/Links */
    /* Matches the top shape of the logo and the sky */
    --accent-blue: #2c6e91;

    /* HIGHLIGHT: "Logo Yellow" - Accents */
    --accent-yellow: #f4c542;

    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
    --nav-color: #2e3330;
    --nav-hover-color: #50856b;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #2e3330;
    --nav-dropdown-hover-color: #50856b;
}

/* Color Presets */
.light-background {
    --background-color: #f7f5f2; /* Warm Sand */
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #222426;
    --default-color: #dddddd;
    --heading-color: #ffffff;
    --surface-color: #333538;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* Target Korean Pages/Elements specifically */
:lang(ko) body,
:lang(ko) h1,
:lang(ko) h2,
:lang(ko) h3,
:lang(ko) h4,
:lang(ko) .sitename,
:lang(ko) .navmenu a {
    font-family: "Nanum Gothic", sans-serif !important;
    word-break: keep-all; /* Prevents awkward line breaks in mid-word */
    letter-spacing: -0.02em; /* Tighter spacing looks more modern for Korean */
    line-height: 1.7; /* Extra height for Korean character clarity */
}

/* Ensure bold weights are applied correctly in Korean */
:lang(ko) b,
:lang(ko) strong,
:lang(ko) h1,
:lang(ko) h2,
:lang(ko) h3 {
    font-weight: 700;
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
    width: 94px;
    height: 94px;
    background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
    border-radius: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

.pulsating-play-btn:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    animation-delay: 0s;
    animation: pulsate-play-btn 2s;
    animation-direction: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: steps;
    opacity: 1;
    border-radius: 50%;
    border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
    top: -15%;
    left: -15%;
    background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 100;
    transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-40%) translateY(-50%);
    width: 0;
    height: 0;
    border: none;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #fff;
    z-index: 200;
    animation: none;
    border-radius: 0;
}

.pulsating-play-btn:hover:after {
    border-left: 15px solid var(--accent-color);
    transform: scale(20);
}

@keyframes pulsate-play-btn {
    0% {
        transform: scale(0.6, 0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1, 1);
        opacity: 0;
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 15px 0;
    transition: all 0.5s;
    z-index: 997;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 36px;
    margin-right: 8px;
}

.header .logo h1 {
    font-weight: 700;
    font-size: 30px;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-color);
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 14px;
    padding: 8px 25px;
    margin: 0 0 0 30px;
    border-radius: 50px;
    transition: 0.3s;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
    color: var(--contrast-color);
    background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
    .header .logo {
        order: 1;
    }

    .header .btn-getstarted {
        order: 2;
        margin: 0 15px 0 0;
        padding: 6px 15px;
    }

    .header .navmenu {
        order: 3;
    }
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 18px 15px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu li:last-child a {
        padding-right: 0;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding-bottom: 50px;
    position: relative;
}

.footer .footer-top {
    padding-top: 50px;
}

.footer .footer-about .logo {
    margin-bottom: 0;
}

.footer .footer-about .logo img {
    max-height: 40px;
    margin-right: 6px;
}

.footer .footer-about .logo span {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: var(--heading-font);
    color: var(--heading-color);
}

.footer .footer-about p {
    font-size: 14px;
    font-family: var(--heading-font);
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-right: 10px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer h4 {
    font-size: 16px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}

.footer .footer-links {
    margin-bottom: 30px;
}

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

.footer .footer-links ul i {
    padding-right: 2px;
    font-size: 12px;
    line-height: 0;
}

.footer .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.footer .footer-links ul li:first-child {
    padding-top: 0;
}

.footer .footer-links ul a {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: inline-block;
    line-height: 1;
}

.footer .footer-links ul a:hover {
    color: var(--accent-color);
}

.footer .footer-contact p {
    margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 6px 8px;
    position: relative;
    border-radius: 50px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
    display: flex;
    background-color: var(--surface-color);
    transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
    border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"] {
    border: 0;
    padding: 4px 8px;
    width: 100%;
    background-color: var(--surface-color);
    color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"]:focus-visible {
    outline: none;
}

.footer .footer-newsletter .newsletter-form input[type="submit"] {
    border: 0;
    font-size: 16px;
    padding: 0 20px 2px 20px;
    margin: -7px -8px -7px 0;
    background: var(--accent-color);
    color: var(--contrast-color);
    transition: 0.3s;
    border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .credits {
    margin-top: 6px;
    font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    --default-color: var(--contrast-color);
    --background-color: var(--accent-color);
    --heading-color: var(--contrast-color);
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
}

.page-title .heading {
    padding: 80px 0;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
    font-size: 38px;
    font-weight: 700;
}

.page-title nav {
    background-color: color-mix(in srgb, var(--accent-color) 90%, black 5%);
    padding: 20px 0;
}

.page-title nav a {
    color: var(--default-color);
}

.page-title nav ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.page-title nav ol li + li {
    padding-left: 10px;
}

.page-title nav ol li + li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 900px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    position: relative;
}

.section-title h2::after {
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--accent-color);
    margin: 4px 10px;
}

.section-title p {
    color: var(--heading-color);
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    font-family: var(--nav-font);
    text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    /* Full height minus header */
    min-height: calc(100vh - 90px);
    position: relative;
    padding: 0;

    /* CENTER ALIGNMENT (Best for this photo) */
    display: flex;
    align-items: center; /* Vertical Center */
    justify-content: center; /* Horizontal Center */
    overflow: hidden;
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Focus on bottom center to see the kids and mural */
    object-position: center bottom;
    z-index: 1;
}

/* The Glass Box Container */
.hero .container {
    position: relative;
    z-index: 3;

    /* Frosted Glass Effect */
    background-color: rgba(255, 255, 255, 0.9);
    padding: 50px; /* More breathing room */
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);

    /* WIDTH ADJUSTMENT: Made wider to fit text on one line */
    width: 90%; /* Take up 90% of screen width... */
    max-width: 900px; /* ...up to a maximum of 900px */

    /* Center positioning is handled by the flexbox in .hero, 
       but we ensure text alignment is centered too */
    text-align: center;
    margin: 0 auto;

    /* No border needed */
    border: none;
}

.hero h2 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    /* Dark Volcanic Grey */
    color: #2e3330 !important;

    /* Prevent wrapping on slightly smaller screens if possible */
    white-space: normal;
}

.hero p {
    color: #444444 !important;
    margin: 20px 0 0 0;
    font-size: 22px;
    line-height: 1.6;
}

/* The Button */
.hero .btn-get-started {
    font-weight: 600;
    font-size: 18px; /* Slightly larger button */
    letter-spacing: 0.5px;
    display: inline-block;
    padding: 14px 45px;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 35px;

    /* Green Button */
    background: var(--accent-color);
    color: #ffffff !important;
    border: none;
    box-shadow: 0 4px 10px rgba(67, 139, 105, 0.3);
}

.hero .btn-get-started:hover {
    background: var(--accent-blue);
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    /* On mobile, the box should be smaller and padding tighter */
    .hero .container {
        padding: 30px 20px;
        max-width: 95%; /* Use almost full width on mobile */
    }

    .hero h2 {
        font-size: 30px; /* Smaller text prevents huge gaps */
    }

    .hero p {
        font-size: 18px;
    }

    /* On mobile, the text WILL wrap, but this keeps it clean */
    .hero br {
        display: none; /* Hides manual line breaks on mobile if you added <br> tags */
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.about .content ul {
    list-style: none;
    padding: 0;
}

.about .content ul li {
    padding-bottom: 10px;
}

.about .content ul i {
    font-size: 1.25rem;
    margin-right: 4px;
    color: var(--accent-color);
}

.about .content p:last-child {
    margin-bottom: 0;
}

.about .content .read-more {
    background: var(--accent-color);
    color: var(--contrast-color);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 10px 24px 12px 24px;
    border-radius: 50px;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about .content .read-more i {
    font-size: 18px;
    margin-left: 5px;
    line-height: 0;
    transition: 0.3s;
}

.about .content .read-more:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    padding-right: 19px;
}

.about .content .read-more:hover i {
    margin-left: 10px;
}

/*--------------------------------------------------------------
# Counts Section
--------------------------------------------------------------*/
.counts {
    padding: 25px 0;
}

.counts .stats-item {
    padding: 30px;
    width: 100%;
}

.counts .stats-item span {
    font-size: 48px;
    display: block;
    color: var(--accent-color);
    font-weight: 700;
}

.counts .stats-item p {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    padding: 0;
    margin: 0;
    font-family: var(--heading-font);
    font-size: 15px;
    font-weight: 600;
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .why-box {
    color: var(--contrast-color);
    background: var(--accent-color);
    padding: 30px;
}

.why-us .why-box h3 {
    color: var(--contrast-color);
    font-weight: 700;
    font-size: 34px;
    margin-bottom: 30px;
}

.why-us .why-box p {
    margin-bottom: 30px;
}

.why-us .why-box .more-btn {
    display: inline-block;
    background: color-mix(in srgb, var(--contrast-color), transparent 85%);
    padding: 8px 40px 10px 40px;
    color: var(--contrast-color);
    transition: all ease-in-out 0.4s;
    border-radius: 50px;
}

.why-us .why-box .more-btn i {
    font-size: 14px;
}

.why-us .why-box .more-btn:hover {
    color: var(--accent-color);
    background: var(--surface-color);
}

.why-us .icon-box {
    background-color: var(--surface-color);
    text-align: center;
    padding: 40px 30px;
    width: 100%;
    height: 100%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.why-us .icon-box i {
    color: var(--accent-color);
    font-size: 32px;
    margin-bottom: 30px;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    transition: 0.3s;
}

.why-us .icon-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 30px 0;
}

.why-us .icon-box p {
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .icon-box:hover i {
    color: var(--contrast-color);
    background: var(--accent-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
    padding: 10px 0;
}

.features .features-item {
    background-color: var(--surface-color);
    display: flex;
    align-items: center;
    padding: 20px;
    transition: 0.3s;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    position: relative;
}

.features .features-item i {
    font-size: 32px;
    padding-right: 10px;
    line-height: 0;
}

.features .features-item h3 {
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 16px;
}

.features .features-item h3 a {
    color: var(--heading-color);
    transition: 0.3s;
}

.features .features-item:hover {
    border-color: var(--accent-color);
}

.features .features-item:hover h3 a {
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Courses Section
--------------------------------------------------------------*/
.courses .course-item {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 5px;
}

.courses .course-content {
    padding: 15px;
}

.courses .course-content h3 {
    font-weight: 700;
    font-size: 20px;
}

.courses .course-content h3 a {
    color: var(--heading-color);
    transition: 0.3s;
}

.courses .course-content h3 a:hover {
    color: var(--accent-color);
}

.courses .course-content .category {
    background: var(--accent-color);
    color: var(--contrast-color);
    font-size: 14px;
    padding: 6px 14px;
    margin: 0;
    border-radius: 5px;
}

.courses .course-content .price {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses .course-content .description {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.courses .trainer {
    padding-top: 15px;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.courses .trainer .trainer-profile img {
    max-width: 50px;
    border-radius: 50px;
}

.courses .trainer .trainer-profile .trainer-link {
    padding-left: 10px;
    font-weight: 600;
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    transition: 0.3s;
}

.courses .trainer .trainer-profile .trainer-link:hover {
    color: var(--accent-color);
}

.courses .trainer .trainer-rank {
    font-size: 18px;
    color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.courses .trainer .trainer-rank .user-icon {
    font-size: 22px;
}

/*--------------------------------------------------------------
# Trainers Index Section
--------------------------------------------------------------*/
.trainers-index .member {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    text-align: center;
    margin-bottom: 20px;
}

.trainers-index .member img {
    margin: -1px -1px 30px -1px;
}

.trainers-index .member .member-content {
    padding: 0 20px 30px 20px;
}

.trainers-index .member h4 {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 18px;
}

.trainers-index .member span {
    font-style: italic;
    display: block;
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.trainers-index .member p {
    padding-top: 10px;
    font-size: 14px;
    font-style: italic;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.trainers-index .member .social {
    margin-top: 15px;
}

.trainers-index .member .social a {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    transition: 0.3s;
}

.trainers-index .member .social a:hover {
    color: var(--accent-color);
}

.trainers-index .member .social i {
    font-size: 18px;
    margin: 0 2px;
}

/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about-us .content h3 {
    font-size: 2rem;
    font-weight: 700;
}

.about-us .content ul {
    list-style: none;
    padding: 0;
}

.about-us .content ul li {
    padding-bottom: 10px;
}

.about-us .content ul i {
    font-size: 1.25rem;
    margin-right: 4px;
    color: var(--accent-color);
}

.about-us .content p:last-child {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
    padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
    overflow: hidden;
}

.testimonials .testimonial-item {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-sizing: content-box;
    padding: 30px 30px 30px 60px;
    margin: 30px 15px;
    min-height: 200px;
    position: relative;
}

.testimonials .testimonial-item .testimonial-img {
    width: 90px;
    border-radius: 10px;
    border: 6px solid var(--background-color);
    position: absolute;
    left: -45px;
}

.testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 14px;
    margin: 0;
}

.testimonials .testimonial-item .stars {
    margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
    color: #ffc107;
    margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 60%);
    font-size: 26px;
    line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
    font-style: italic;
    margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
    height: auto;
}

.testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--background-color);
    opacity: 1;
    border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

@media (max-width: 767px) {
    .testimonials .testimonial-wrap {
        padding-left: 0;
    }

    .testimonials .testimonials-carousel,
    .testimonials .testimonials-slider {
        overflow: hidden;
    }

    .testimonials .testimonial-item {
        padding: 30px;
        margin: 15px;
    }

    .testimonials .testimonial-item .testimonial-img {
        position: static;
        left: auto;
    }
}

/*--------------------------------------------------------------
# Course Details Section
--------------------------------------------------------------*/
.course-details .course-header {
    margin-bottom: 40px;
}

.course-details .course-header .course-image {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.course-details .course-header .course-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.course-details .course-header .course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 768px) {
    .course-details .course-header .course-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.course-details .course-header .instructor {
    display: flex;
    align-items: center;
    gap: 15px;
}

.course-details .course-header .instructor .instructor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.course-details .course-header .instructor .instructor-info h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--heading-color);
}

.course-details .course-header .instructor .instructor-info span {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.course-details .course-header .course-stats {
    display: flex;
    gap: 25px;
}

@media (max-width: 576px) {
    .course-details .course-header .course-stats {
        flex-wrap: wrap;
        gap: 15px;
    }
}

.course-details .course-header .course-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--default-color);
}

.course-details .course-header .course-stats .stat-item i {
    color: var(--accent-color);
}

.course-details .course-content {
    margin-bottom: 50px;
}

.course-details .course-content h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--heading-color);
}

@media (max-width: 768px) {
    .course-details .course-content h2 {
        font-size: 26px;
    }
}

.course-details .course-content .course-description {
    margin-bottom: 40px;
}

.course-details .course-content .course-description p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--default-color);
}

.course-details .course-content .what-you-learn {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.course-details .course-content .what-you-learn h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: var(--heading-color);
}

.course-details .course-content .what-you-learn .learn-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-details .course-content .what-you-learn .learn-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--default-color);
}

.course-details .course-content .what-you-learn .learn-list li i {
    color: var(--accent-color);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.course-details .course-curriculum {
    margin-bottom: 50px;
}

.course-details .course-curriculum h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--heading-color);
}

.course-details .course-curriculum .curriculum-section {
    margin-bottom: 25px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 8px;
    overflow: hidden;
}

.course-details .course-curriculum .curriculum-section .section-header {
    background-color: var(--surface-color);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
    .course-details .course-curriculum .curriculum-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

.course-details .course-curriculum .curriculum-section .section-header h4 {
    font-size: 18px;
    margin: 0;
    color: var(--heading-color);
}

.course-details .course-curriculum .curriculum-section .section-header .lessons-count {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.course-details .course-curriculum .curriculum-section .lessons {
    padding: 0;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
    transition: background-color 0.3s;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item:last-child {
    border-bottom: none;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item .lesson-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item .lesson-info i {
    color: var(--accent-color);
    font-size: 18px;
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item .lesson-info span {
    font-size: 15px;
    color: var(--default-color);
}

.course-details .course-curriculum .curriculum-section .lessons .lesson-item .lesson-duration {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-weight: 500;
}

.course-details .course-sidebar {
    position: sticky;
    top: 100px;
}

.course-details .course-sidebar .pricing-card {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

.course-details .course-sidebar .pricing-card .price {
    margin-bottom: 10px;
}

.course-details .course-sidebar .pricing-card .price .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-color);
    vertical-align: top;
}

.course-details .course-sidebar .pricing-card .price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
}

.course-details .course-sidebar .pricing-card .price .period {
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.course-details .course-sidebar .pricing-card .original-price {
    font-size: 18px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    text-decoration: line-through;
    margin-bottom: 25px;
}

.course-details .course-sidebar .pricing-card .course-features {
    margin-bottom: 30px;
}

.course-details .course-sidebar .pricing-card .course-features .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    text-align: left;
}

.course-details .course-sidebar .pricing-card .course-features .feature i {
    color: var(--accent-color);
    font-size: 16px;
    width: 16px;
}

.course-details .course-sidebar .pricing-card .course-features .feature span {
    font-size: 14px;
    color: var(--default-color);
}

.course-details .course-sidebar .pricing-card .btn-enroll {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.course-details .course-sidebar .pricing-card .btn-enroll:hover {
    background-color: color-mix(in srgb, var(--accent-color), black 10%);
    transform: translateY(-2px);
}

.course-details .course-sidebar .pricing-card .btn-preview {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
}

.course-details .course-sidebar .pricing-card .btn-preview:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.course-details .course-sidebar .course-info-card {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.course-details .course-sidebar .course-info-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.course-details .course-sidebar .course-info-card .info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.course-details .course-sidebar .course-info-card .info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.course-details .course-sidebar .course-info-card .info-item .label {
    font-size: 14px;
    font-weight: 600;
    color: var(--default-color);
}

.course-details .course-sidebar .course-info-card .info-item .value {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.course-details .course-sidebar .course-tags {
    background-color: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 12px;
    padding: 25px;
}

.course-details .course-sidebar .course-tags h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.course-details .course-sidebar .course-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-details .course-sidebar .course-tags .tags-list .tag {
    padding: 6px 12px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s;
}

.course-details .course-sidebar .course-tags .tags-list .tag:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

@media (max-width: 768px) {
    .course-details .course-sidebar {
        position: static;
        margin-top: 40px;
    }
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
    padding-top: 30;
}

.tabs .nav-tabs {
    border: 0;
}

.tabs .nav-link {
    background-color: var(--background-color);
    border: 0;
    padding: 12px 15px;
    transition: 0.3s;
    color: var(--default-color);
    border-radius: 0;
    border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
    font-weight: 600;
    font-size: 15px;
}

.tabs .nav-link:hover {
    color: var(--accent-color);
}

.tabs .nav-link.active {
    background-color: var(--surface-color);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.tabs .tab-pane.active {
    animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.tabs .details p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .tabs .nav-link {
        border: 0;
        padding: 15px;
    }

    .tabs .nav-link.active {
        color: var(--accent-color);
        background: var(--accent-color);
    }
}

/*--------------------------------------------------------------
# Trainers Section
--------------------------------------------------------------*/
.trainers .member {
    position: relative;
}

.trainers .member .member-img {
    margin: 0 80px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
}

@media (max-width: 1024px) {
    .trainers .member .member-img {
        margin: 0 60px;
    }
}

.trainers .member .member-img img {
    position: relative;
    z-index: 1;
}

.trainers .member .member-img .social {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding-bottom: 20px;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
}

.trainers .member .member-img .social a {
    transition: 0.3s;
    color: var(--contrast-color);
    font-size: 20px;
    margin: 0 8px;
}

.trainers .member .member-img .social a:hover {
    color: var(--accent-color);
}

.trainers .member .member-info {
    margin-top: 30px;
}

.trainers .member .member-info h4 {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 18px;
}

.trainers .member .member-info span {
    font-style: italic;
    display: block;
    font-size: 15px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    margin-bottom: 10px;
}

.trainers .member .member-info p {
    margin-bottom: 0;
    font-size: 14px;
}

.trainers .member:hover .member-img .social {
    padding-bottom: 0;
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
    background-color: var(--background-color);
    border: 0;
    padding: 0 30px;
    margin-bottom: 60px;
    position: relative;
}

.events .card-img {
    width: calc(100% + 60px);
    margin-left: -30px;
    overflow: hidden;
    z-index: 9;
    border-radius: 0;
}

.events .card-img img {
    max-width: 100%;
    transition: all 0.3s ease-in-out;
}

.events .card-body {
    z-index: 10;
    background: var(--surface-color);
    border-top: 4px solid var(--surface-color);
    padding: 30px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    transition: 0.3s;
}

.events .card-title {
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.events .card-title a {
    color: var(--default-color);
    transition: 0.3s;
}

.events .card-text {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.events .card:hover img {
    transform: scale(1.1);
}

.events .card:hover .card-body {
    border-color: var(--accent-color);
}

.events .card:hover .card-body .card-title a {
    color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
    padding-top: 8px;
    padding-bottom: 40px;
}

.contact .info-item + .info-item {
    margin-top: 40px;
}

.contact .info-item i {
    color: var(--contrast-color);
    background: var(--accent-color);
    font-size: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .php-email-form {
    height: 100%;
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: color-mix(in srgb, var(--background-color), transparent 50%);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px 12px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}
