:root {
    --primary-blue: #161741;
    --blue-2: #2a2c68;
    --blue-3: #3e418f;
    --blue-4: #5559b5;
    --bg-dark: rgba(0, 0, 0, 0.4);
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: #fff;
    scroll-behavior: smooth;
}

/* Top Marquee */
.top-marquee {
    background-color: #fdfdf9;
    color: #444;
    padding: 8px 20px;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 101;
    display: flex;
    align-items: center;
}

.marquee-fixed {
    font-size: 0.9rem;
    font-weight: 700;
    margin-right: 20px;
    z-index: 2;
    flex-shrink: 0;
}

.marquee-scroll-container {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    display: flex;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-size: 0.9rem;
    font-weight: 600;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-content:hover {
    animation-play-state: paused;
}

#menu-placeholder {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #fff;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

.logo-img {
    height: 40px;
}

.main-nav {
    display: flex;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-blue);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    visibility: hidden;
    position: absolute;
    top: 120%;
    left: -10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 260px;
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 101;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.4);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dropdown-menu a {
    color: #444;
    padding: 14px 24px;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.dropdown-menu a::after {
    display: none;
    /* remove main-nav underline from dropdown items */
}

.dropdown-menu a:hover {
    background-color: rgba(22, 23, 65, 0.05);
    color: var(--primary-blue);
    border-left: 3px solid var(--primary-blue);
    padding-left: 30px;
}

.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.caret {
    font-size: 0.7em;
    margin-left: 5px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1000;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--primary-blue);
    border-radius: 3px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    padding: 60px 0;
    background-image: url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-filled {
    background: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    color: #fff;
}

.btn-filled:hover {
    background: #0f1030;
    border-color: #0f1030;
}

/* New Hero Left Align Styles */
.hero.hero-left {
    justify-content: flex-start;
    padding-left: 10%;
    text-align: left;
}

.hero-content.left-align {
    max-width: 900px;
    padding: 0;
}

.hero-content.left-align h1 {
    font-size: 3rem;
    text-transform: none;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-content.left-align p {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 500;
}

.hero-action {
    margin-bottom: 40px;
}

.btn-get-started {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-transform: none;
    font-weight: 600;
    font-size: 1rem;
}

.btn-get-started:hover {
    background: #fff;
    color: #000;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #000;
    object-fit: cover;
    margin-left: -15px;
}

.avatar:first-child {
    margin-left: 0;
}

.stats-text {
    font-size: 1rem;
    font-weight: 400;
}

.stats-text strong {
    font-weight: 700;
}

/* Sticky Banner */
.sticky-banner-container {
    height: 80px;
    /* Pre-allocate height to avoid layout shift when sticky */
    position: relative;
    z-index: 50;
    width: 100%;
}

.sticky-banner {
    position: absolute;
    /* Initially absolute within the container */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    background: #fff;
    /* fallback */
    transition: all 0.4s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* When the banner sticks to the top */
.sticky-banner.is-sticky {
    position: fixed;
    top: 0;
    z-index: 999;
}

/* Logo inside the sticky banner */
.sticky-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    width: 0;
    /* Initially hidden */
    overflow: hidden;
    transition: width 0.4s ease-in-out, padding 0.4s ease-in-out;
    white-space: nowrap;
    padding: 0;
}

.sticky-banner.is-sticky .sticky-logo-container {
    width: 250px;
    /* Expand to show logo */
    padding: 0 20px;
}

.sticky-logo-img {
    height: 35px;
    margin-right: 10px;
}

.sticky-logo-text {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1.2rem;
}

/* The 3 coaching options */
.coaching-options {
    display: flex;
    flex: 1;
    height: 100%;
}

.option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: flex 0.3s ease, filter 0.3s ease;
}

.option:hover {
    filter: brightness(1.1);
}

.option h2 {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0 5px;
}

.opt-ai {
    background-color: #161741;
}

.opt-realestate {
    background-color: #2a2c68;
}

.opt-healthcare {
    background-color: #3e418f;
}

.opt-hospitality {
    background-color: #5559b5;
}

.opt-business {
    background-color: #7276d4;
}

/* Parallax Sections */
.main-content {
    padding: 0;
}

.parallax-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 10%;
    /* Increased side padding for alignment breathing room */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.align-left {
    justify-content: flex-start;
}

.align-right {
    justify-content: flex-end;
}

.ai-bg {
    background-image: url('images/Artificial-Intelligence.jpeg');
}

.realestate-bg {
    background-image: url('images/real-estate.jpeg');
}

.healthcare-bg {
    background-image: url('images/health-care.jpeg');
}

.hospitality-bg {
    background-image: url('images/hospitality.jpeg');
}

.business-bg {
    background-image: url('images/business-management.jpeg');
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    /* Light dark overlay to increase image vibrancy while maintaining contrast */
}

.content-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.85);
    /* Increased opacity for better readability of dark text */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 50px;
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.content-box .section-title {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    color: var(--primary-blue);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 10px;
    text-shadow: none;
}

.content-box .main-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-shadow: none;
}

.content-box .main-heading .italic-part {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: 0;
    font-size: 1.15em;
    margin-left: 8px;
    color: var(--primary-blue);
}

.content-box .section-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-shadow: none;
}

.content-box h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-shadow: none;
}

.content-box ul {
    list-style-type: disc;
    padding-left: 20px;
    color: var(--primary-blue);
}

.content-box li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.5;
    text-shadow: none;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    #menu-placeholder {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #fff;
    }

    .main-header {
        flex-direction: row;
        /* Reset to normal flow */
        justify-content: center;
        /* Center the logo */
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }

    .logo {
        margin: 0 auto;
    }

    .hamburger {
        display: flex;
        position: absolute;
        left: 20px;
    }

    /* Hamburger Animation for active state */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .main-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -100%;
        /* Slide from left */
        right: auto;
        height: 100vh;
        width: 75%;
        max-width: 320px;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        box-shadow: 5px 0 30px rgba(0, 0, 0, 0.15);
        /* Shadow on the right side */
        transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        padding-top: 100px;
        align-items: flex-start;
        padding-left: 30px;
        padding-right: 30px;
        z-index: 999;
        gap: 0;
    }

    .main-nav.active {
        left: 0;
        /* Slide in to the left */
    }

    .main-nav a {
        font-size: 1.1rem;
        margin-bottom: 25px;
        width: 100%;
        display: block;
        /* Normalize block behavior */
        color: #222;
        padding: 5px 0;
    }

    /* Mobile Dropdown Override */
    .dropdown {
        width: 100%;
        display: block;
        /* Fix inline-block gap issues */
    }

    .dropdown:hover .dropdown-menu {
        visibility: hidden;
        /* Disable hover opening on mobile */
        opacity: 0;
    }

    .dropdown.active .dropdown-menu {
        visibility: visible;
        opacity: 1;
        position: static;
        box-shadow: none;
        padding-left: 15px;
        background-color: transparent;
        border: none;
        transform: translateY(0);
        margin-top: 10px;
    }

    .dropdown.active .dropdown-menu a {
        padding: 8px 0;
        margin-bottom: 12px;
        font-size: 0.95rem;
        color: #555;
        background-color: transparent;
        border-left: none;
    }

    .dropdown.active .dropdown-menu a:hover {
        padding-left: 10px;
        border-left: 2px solid var(--primary-blue);
        background-color: transparent;
    }

    .hero.hero-left {
        padding: 40px 5%;
        justify-content: center;
        align-items: flex-start;
    }

    .hero-content.left-align h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-content.left-align p {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-content.left-align h1 br,
    .hero-content.left-align p br {
        display: none;
    }

    .sticky-banner-container,
    .sticky-banner {
        height: auto;
        min-height: auto;
    }

    .sticky-banner {
        flex-direction: row;
        flex-wrap: nowrap;
        /* Do not wrap */
    }

    .sticky-logo-container {
        display: none !important;
        /* Hide logo in sticky banner on mobile to prioritize coaching options */
    }

    .coaching-options {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        scrollbar-width: none;
        /* Firefox */
    }

    .coaching-options::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for cleaner look */
    }

    .option {
        padding: 15px 20px;
        flex: 0 0 auto;
        /* Prevent shrinking */
        white-space: nowrap;
        /* Prevent text wrap */
    }

    .option h2 {
        font-size: 0.85rem;
        text-align: center;
    }

    .parallax-section {
        padding: 40px 5%;
        /* Overrides the alternating left/right layout on small screens so they fit nicely in the center */
        justify-content: center !important;
    }

    .content-box {
        padding: 30px 20px;
        margin: 0;
    }

    .ai-bg .content-box {
        margin-top: 60px;
        /* Added top margin specifically for first box */
    }

    .content-box .main-heading {
        font-size: 1.8rem;
    }

    .content-box .section-desc {
        font-size: 1rem;
    }

    .content-box h3 {
        font-size: 1.15rem;
    }

    .content-box li {
        font-size: 0.95rem;
    }
}

/* Footer Styles */
.main-footer {
    background-color: var(--primary-blue);
    color: #fff;
    padding-top: 60px;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 40px;
}

.footer-brand {
    flex: 2;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    border-radius: 6px;
}

.footer-about {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 400px;
}

.footer-links,
.footer-contact {
    flex: 1;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--blue-2);
}

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

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a,
.footer-contact li {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--blue-2);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
    color: #aaa;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px 30px;
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        flex: 1;
    }
}

/* ==========================================================================
   DEBUT ACADEMY NEW SECTIONS CSS
   ========================================================================== */

.debut-section {
    padding: 80px 0;
    background-color: #fff;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.debut-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-green {
    color: var(--primary-blue) !important;
}

.text-peach {
    color: #5559b5 !important;
}

.text-dark {
    color: #222 !important;
}

.heading-large {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #111;
}

.sub-desc {
    font-size: 1.1rem;
    color: #666;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-40 {
    margin-top: 40px;
}

/* 1. Intro Section */
.intro-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

.intro-grid {
    flex: 1;
    display: flex;
    gap: 15px;
    height: 450px;
    overflow: hidden;
    position: relative;
}

.intro-img-col {
    flex: 1;
    position: relative;
}

.marquee-inner {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: fit-content;
}

.animate-down .marquee-inner {
    animation: marqueeDown 15s linear infinite;
}

.animate-up .marquee-inner {
    animation: marqueeUp 15s linear infinite;
}

@keyframes marqueeDown {
    0% {
        transform: translateY(calc(-50% - 7.5px));
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes marqueeUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(calc(-50% - 7.5px));
    }
}

.mt-mid {
    margin-top: 40px;
}

.mt-high {
    margin-top: 80px;
}

.img-box {
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    width: 100%;
}

.img-tall {
    height: 250px;
}

.img-short {
    height: 160px;
}

.intro-text {
    flex: 1;
    padding-left: 20px;
}

.intro-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #111;
}

.intro-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.intro-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.intro-buttons {
    display: flex;
    gap: 15px;
}

/* 2. Expertise Section */
.debut-expertise {
    background-color: #fcfcfc;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
}

.expertise-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

.video-container {
    flex: 1.5;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 2;
}

.stats-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    transition: text-shadow 0.3s ease;
}

.stat-item:hover .stat-number {
    text-shadow: 0px 8px 20px rgba(32, 178, 136, 0.4);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

/* 3. Image Grid Gallery */
.gallery-grid {
    display: flex;
    gap: 20px;
}

.gallery-large {
    flex: 1.5;
    height: 600px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.gallery-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery-small {
    flex: 1;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 23, 65, 0.85);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-large:hover .gallery-overlay,
.gallery-small:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-overlay .feature-list {
    list-style: none;
    padding: 0;
    margin: 5px 0 15px;
    transform: translateY(20px);
    transition: transform 0.3s ease 0.1s;
}

.gallery-overlay .feature-list li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-overlay .feature-list li i {
    color: #20b288;
}

.gallery-overlay .btn-overlay {
    display: inline-block;
    background-color: #20b288;
    color: white;
    border: none;
    font-size: 0.9rem;
    padding: 10px 20px;
    margin-top: 10px;
    margin-bottom: 60px;
    z-index: 5;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.2s;
}

.gallery-overlay .btn-overlay:hover {
    background-color: #1a9471;
    color: white;
}

.gallery-small .gallery-overlay {
    padding: 20px;
}

.gallery-small .gallery-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.gallery-small .gallery-overlay .feature-list {
    margin: 2px 0 10px;
}

.gallery-small .gallery-overlay .feature-list li {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.gallery-small .gallery-overlay .btn-overlay {
    padding: 8px 15px;
    font-size: 0.8rem;
}

.gallery-large:hover .gallery-overlay h3,
.gallery-small:hover .gallery-overlay h3,
.gallery-large:hover .gallery-overlay .feature-list,
.gallery-small:hover .gallery-overlay .feature-list,
.gallery-large:hover .gallery-overlay .btn-overlay,
.gallery-small:hover .gallery-overlay .btn-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* 4. Turn a New Leaf */
.leaf-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

.leaf-image {
    flex: 1.2;
    height: 400px;
    border-radius: 0 40% 40% 0;
    /* Specialized shape */
    background-size: cover;
    background-position: center;
}

.leaf-text {
    flex: 1;
}

.leaf-text .subtitle {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    margin-bottom: 10px;
}

.leaf-text h2 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: #111;
}

/* 5. Featured Courses & 6. Popular Treatments */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111;
}

.btn-view-all {
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.btn-view-all:hover {
    opacity: 0.8;
}

.courses-slider-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.cards-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Firefox */
}

.cards-slider::-webkit-scrollbar {
    display: none;
}

.course-card {
    min-width: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    border: 1px solid transparent;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(22, 23, 65, 0.15);
    border: 1px solid rgba(22, 23, 65, 0.1);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 15px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.badge.blue {
    background: #161741;
}

.badge.grey {
    background: #777;
}

.card-info {
    padding: 20px;
}

.card-cat {
    color: #5559b5;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.card-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    height: 48px;
}

.btn-enquire {
    display: inline-block;
    padding: 10px 20px;
    background: #7276d4;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-enquire:hover {
    background: #3e418f;
    color: #fff;
}

.partners-marquee-container {
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
    padding: 30px 0;
    position: relative;
    background: transparent;
}

.partners-marquee {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: marqueeScroll 25s linear infinite;
}

.partners-marquee:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #777;
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.partner-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 40px));
    }
}

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

.treatment-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.treat-img {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.treat-info {
    padding: 15px;
}

.treat-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    height: 40px;
}

.price-book {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    color: #333;
}

.btn-book {
    padding: 6px 15px;
    background: #7276d4;
    color: #fff;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-book:hover {
    background: #3e418f;
    color: #fff;
}

/* 7. Bento Box */
.bento-grid {
    display: flex;
    gap: 20px;
}

.bento-item {
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.border-card {
    border: 1px solid #eee;
    background: #fff;
}

.bento-large-card {
    flex: 1;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
}

.green-badge {
    background: var(--primary-blue);
    align-self: flex-start;
}

.bento-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.bento-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.bento-link {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.bento-right-col {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bento-top-row,
.bento-mid-row {
    display: flex;
    gap: 20px;
}

.stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card h2 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 10px;
}

.img-card {
    flex: 1.5;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: flex-end;
}

.bento-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.award-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.award-card .fa-star {
    font-size: 2rem;
    margin: 0 5px 15px;
}

.tall-img-card {
    flex: 1.5;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: flex-end;
}

.quote-card {
    background: #fafafa;
}

.quote-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.quote-card p {
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

/* 8. Testimonials */
.debut-testimonials {
    background: #fcfcfc;
}

.toggle-buttons {
    display: flex;
    background: #eee;
    border-radius: 30px;
    padding: 5px;
}

.btn-toggle {
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    color: #555;
    transition: 0.3s;
}

.btn-toggle.active {
    background: #fff;
    color: #111;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonials-slider-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonials-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 20px 0;
    flex: 1;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    transition: 0.3s;
    flex-shrink: 0;
}

.slider-btn:hover {
    background: #f5f5f5;
}

.testi-card {
    min-width: 350px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 30px;
    scroll-snap-align: center;
    opacity: 0.5;
    transform: scale(0.95);
    transition: 0.3s;
}

.testi-card.active-card {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.testi-logo {
    height: 25px;
}

.testi-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.testi-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.testi-course {
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
}

/* 9. Meet The Team */
.team-layout {
    display: flex;
    gap: 50px;
    align-items: center;
}

.team-text {
    flex: 1;
}

.team-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

.team-slider-wrapper {
    flex: 2;
    position: relative;
}

.team-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.team-slider::-webkit-scrollbar {
    display: none;
}

.team-card {
    min-width: 250px;
    height: 350px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    scroll-snap-align: start;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    position: relative;
}

.team-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-info p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.team-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
}

.team-nav {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border: none;
    background: #eee;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.nav-arrow:hover {
    background: #ddd;
}

/* 10. FAQs */
.debut-faqs {
    background: #fcfcfc;
}

.faq-grid {
    display: flex;
    gap: 40px;
}

.faq-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: #f0f0f0;
    /* Grey background like image */
    border-radius: 10px;
    overflow: hidden;
}

.faq-btn {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-btn i {
    transition: transform 0.3s;
}

.faq-item.active .faq-btn i {
    transform: rotate(90deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
    color: #555;
}

.faq-content p {
    padding: 0 20px 20px 50px;
}

/* 11. Contact Layout */
.contact-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-details {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1.2;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--primary-blue, #2b3a55);
    background: #f0f4f8;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #111;
}

.contact-text p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

.contact-socials h4 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
}

.contact-socials .social-icons {
    display: flex;
    gap: 15px;
}

.contact-socials .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.contact-socials .social-icons a:hover {
    background: #161741;
    transform: translateY(-3px);
}

.contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-field {
    flex: 1;
    box-sizing: border-box;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: 0.3s;
}

.input-field:focus {
    border-color: var(--primary-blue);
}

.full-width {
    width: 100%;
    margin-bottom: 20px;
}

textarea.input-field {
    resize: vertical;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recaptcha-mock {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9f9f9;
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-submit {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {

    .intro-layout,
    .expertise-layout,
    .leaf-layout,
    .bento-grid,
    .team-layout,
    .faq-grid,
    .contact-layout {
        flex-direction: column;
    }

    .contact-form-wrapper {
        padding: 30px;
    }

    .intro-layout {
        gap: 20px;
    }

    .intro-text {
        padding-left: 0;
    }

    .video-container,
    .leaf-image {
        width: 100%;
        flex: none;
    }

    .leaf-image {
        border-radius: 20px;
    }

    .intro-grid {
        width: 100%;
        height: 400px;
        overflow: hidden;
    }

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

    .bento-top-row,
    .bento-mid-row {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .intro-text h2 {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .gallery-grid {
        flex-direction: column;
    }

    .gallery-large,
    .gallery-col,
    .gallery-small {
        flex: none;
        width: 100%;
    }

    .gallery-small {
        min-height: 300px;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }

    .form-footer {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .intro-buttons {
        flex-direction: column;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .toggle-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .team-text h2,
    .leaf-text h2 {
        font-size: 2.5rem;
    }

    .sticky-banner {
        flex-wrap: wrap;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .video-placeholder {
        height: 300px;
    }

    .slider-btn {
        display: none;
    }

    .course-card,
    .testi-card,
    .team-card {
        min-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .debut-section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .bento-content h3 {
        font-size: 1.5rem;
    }

    .testi-card {
        padding: 20px;
    }

    .gallery-large {
        height: 450px;
    }
}

/* ==========================================================================
   POPUP MODAL CSS
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    box-sizing: border-box;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close-btn:hover {
    color: var(--primary-blue, #161741);
}

.modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-blue, #161741);
    font-weight: 700;
}

.modal-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
}

.required {
    color: var(--blue-4, #5559b5);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f9f9f9;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue, #161741);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22, 23, 65, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Move to Top Button */
.move-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 20px;
    border: none;
    outline: none;
    background-color: var(--primary-blue);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.move-to-top-btn.show {

    .team-text h2,
    .leaf-text h2 {
        font-size: 2.5rem;
    }

    .sticky-banner {
        flex-wrap: wrap;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .video-placeholder {
        height: 300px;
    }

    .slider-btn {
        display: none;
    }

    .course-card,
    .testi-card,
    .team-card {
        min-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .debut-section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .bento-content h3 {
        font-size: 1.5rem;
    }

    .testi-card {
        padding: 20px;
    }

    .gallery-large {
        height: 450px;
    }
}

/* ==========================================================================
   POPUP MODAL CSS
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: left;
    box-sizing: border-box;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close-btn:hover {
    color: var(--primary-blue, #161741);
}

.modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-blue, #161741);
    font-weight: 700;
}

.modal-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 0.9rem;
}

.required {
    color: var(--blue-4, #5559b5);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #f9f9f9;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue, #161741);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22, 23, 65, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Move to Top Button */
.move-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 20px;
    border: none;
    outline: none;
    background-color: var(--primary-blue);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

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

.move-to-top-btn:hover {
    background-color: #0d0f2a;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Industries We Serve Section */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.industry-card {
    background: #f0f0f0;
    padding: 30px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.industry-card:hover {
    background: #e8e8e8;
    transform: translateY(-5px);
}

.industry-card i {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.industry-card h4 {
    color: #333;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

@media screen and (max-width: 1024px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
}

/* 11. Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
    display: block;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #161741;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-read-more {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5559b5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-read-more:hover {
    color: #3e418f;
}

/* 12. Footer Bottom alignment */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 5%;
}

.footer-bottom p,
.footer-bottom .footer-bottom-links {
    margin: 0;
}

@media screen and (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        gap: 15px;
        text-align: center;
    }
}

/* 13. Extracted Inline Styles */
.icon-small-ml {
    font-size: 0.8em;
    margin-left: 5px;
}

.btn-know-more {
    margin-top: 10px;
    display: inline-block;
}

.btn-outline-dark {
    color: #333 !important;
    border-color: #333 !important;
}

.bg-local-1 {
    background-image: url('images/local-img-1.jpg');
}

.bg-local-2 {
    background-image: url('images/local-img-2.jpg');
}

.bg-local-3 {
    background-image: url('images/local-img-3.jpg');
}

.bg-local-4 {
    background-image: url('images/local-img-4.jpg');
}

.bg-local-5 {
    background-image: url('images/local-img-5.jpg');
}

.bg-local-6 {
    background-image: url('images/local-img-6.jpg');
}

.bg-local-7 {
    background-image: url('images/local-img-7.jpg');
}

.bg-local-9 {
    background-image: url('images/local-img-9.jpg');
}

.bg-local-new-400a { background-image: url('images/600x400-a.jpeg'); }
.bg-local-new-400b { background-image: url('images/600x400-b.jpeg'); }
.bg-local-new-400c { background-image: url('images/600x400-c.jpeg'); }
.bg-local-new-400d { background-image: url('images/real-estate.jpeg'); }

.bg-local-new-800a { background-image: url('images/600x800-a.jpeg'); }
.bg-local-new-800b { background-image: url('images/600x800-b.jpeg'); }
.bg-local-new-800c { background-image: url('images/600x800-c.jpeg'); }
.bg-local-new-800d { background-image: url('images/600x800-d.jpeg'); }

.bg-real-10 {
    background-image: url('images/real-img-10.jpg');
}

.bg-real-12 {
    background-image: url('images/real-img-12.jpg');
}

.bg-real-13 {
    background-image: url('images/real-img-13.jpg');
}

.bg-real-14 {
    background-image: url('images/real-img-14.jpg');
}

.bg-real-15 {
    background-image: url('images/real-img-15.jpg');
}

.bg-real-16 {
    background-image: url('images/real-img-16.jpg');
}

.bg-real-17 {
    background-image: url('images/real-img-17.jpg');
}

.bg-gradient-real-12 {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)), url('images/real-img-12.jpg');
}

.bg-gradient-real-15 {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)), url('images/real-img-15.jpg');
}

.bg-gradient-real-16 {
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8)), url('images/real-img-16.jpg');
}

.bg-gradient-team-17 {
    background-image: linear-gradient(rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.9)), url('images/real-img-17.jpg');
}

.icon-play-blue {
    color: var(--primary-blue);
    font-size: 30px;
}

.section-grey-padded {
    background-color: #fafafa;
    padding: 60px 0;
    text-align: center;
}

.title-large-mb {
    margin-bottom: 10px;
    font-size: 2.5rem;
    font-weight: 700;
}

.divider-blue {
    width: 80px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 0 auto 20px;
}

.desc-grey-max {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.desc-grey-mt {
    color: #666;
    font-size: 1.1rem;
    margin-top: 40px;
}

.video-leaf {
    object-fit: cover;
    width: 100%;
    display: block;
    background-color: #000;
}

.mt-30 {
    margin-top: 30px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20-font-18 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.badge-ai-blue {
    background: #3e418f;
    color: #fff;
}

.text-blue-sm {
    color: #5559b5;
    font-size: 0.9rem;
}

.text-gold-sm {
    color: #F4B400;
    font-size: 0.9rem;
}

.text-grey-sm {
    font-size: 0.8rem;
    color: #777;
}

.text-gold {
    color: #FFD700;
}

.text-dark-blue {
    color: #2a2c68;
}

.h4-auto-mb {
    height: auto;
    margin-bottom: 10px;
}

.p-course-desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 90px;
}

.course-meta-flex {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.btn-curriculum-blue {
    display: block;
    text-align: center;
    background: #2a2c68;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-curriculum-blue:hover {
    background: #161741;
}

.blog-section-bg {
    background: #fdfdfd;
}

.btn-view-blog {
    background: #5559b5;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

/* Popular Courses specific styles */
.popular-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.popular-card .card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.popular-card .btn-curriculum-gold {
    margin-top: auto;
}

.badge-blue-rect {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #3e418f;
    color: #fff;
    position: absolute;
    top: 15px;
    left: 15px;
}

.text-dark-gold {
    color: #C59B27;
}

/* Success Gallery Coverflow */
.debut-gallery {
    padding: 80px 0;
}

.bg-fdfdfd {
    background-color: #fdfdfd;
}

.bg-f0f0f0 {
    background-color: #f0f0f0;
}

.gallery-coverflow-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 550px;
}

.gallery-coverflow-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    transform-style: preserve-3d;
}

.gallery-slide {
    position: absolute;
    width: 650px;
    height: 450px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease, z-index 0.6s ease;
    opacity: 0;
    z-index: 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    pointer-events: none;
}

.gallery-slide.active {
    transform: translateX(0) scale(1) translateZ(0);
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
}

.gallery-slide.prev-1 {
    transform: translateX(-45%) scale(0.85) translateZ(-100px);
    opacity: 0.85;
    z-index: 2;
}

.gallery-slide.next-1 {
    transform: translateX(45%) scale(0.85) translateZ(-100px);
    opacity: 0.85;
    z-index: 2;
}

.gallery-slide.prev-2 {
    transform: translateX(-80%) scale(0.7) translateZ(-200px);
    opacity: 0;
    z-index: 1;
}

.gallery-slide.next-2 {
    transform: translateX(80%) scale(0.7) translateZ(-200px);
    opacity: 0;
    z-index: 1;
}

/* Fade overlay for side slides */
.gallery-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(240, 240, 240, 0.7);
    opacity: 0;
    border-radius: 16px;
    transition: opacity 0.6s ease;
}

.gallery-slide.prev-1::after,
.gallery-slide.next-1::after {
    opacity: 1;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #3e418f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-nav-btn:hover {
    background: #3e418f;
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}

.gallery-nav-btn.prev {
    left: 12%;
}

.gallery-nav-btn.next {
    right: 12%;
}

@media (max-width: 1200px) {
    .gallery-coverflow-wrapper { height: 420px; }
    .gallery-slide { width: 550px; height: 380px; }
    .gallery-nav-btn.prev { left: 8%; }
    .gallery-nav-btn.next { right: 8%; }
}

@media (max-width: 992px) {
    .debut-gallery { padding: 60px 0; }
    .gallery-coverflow-wrapper { height: 350px; }
    .gallery-slide { width: 450px; height: 320px; }
    .gallery-nav-btn.prev { left: 5%; }
    .gallery-nav-btn.next { right: 5%; }
}

@media (max-width: 768px) {
    .debut-gallery { padding: 40px 0; }
    .gallery-coverflow-wrapper { height: 280px; }
    .gallery-slide {
        width: 350px;
        height: 250px;
    }
    .gallery-slide.prev-1 {
        transform: translateX(-35%) scale(0.8) translateZ(-100px);
    }
    .gallery-slide.next-1 {
        transform: translateX(35%) scale(0.8) translateZ(-100px);
    }
    .gallery-nav-btn.prev { left: 10px; }
    .gallery-nav-btn.next { right: 10px; }
    .gallery-nav-btn { width: 40px; height: 40px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .debut-gallery { padding: 30px 0; }
    .gallery-coverflow-wrapper { height: 230px; }
    .gallery-slide {
        width: 280px;
        height: 200px;
    }
    .gallery-slide.prev-1, .gallery-slide.next-1 {
        opacity: 0; /* Hide side slides on mobile */
    }
}

/* =========================================
   AI Landing Page Styles
   ========================================= */

.ai-hero {
    background-color: #1a2a4b; /* deep blue */
    padding: 80px 20px;
    color: #fff;
}

.ai-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.ai-hero-content {
    flex: 1;
    text-align: left;
}

.ai-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.ai-hero-subtitle {
    font-size: 2.2rem;
    font-weight: 600;
    color: #6bb0ff; /* Light blue instead of gold */
    margin-bottom: 25px;
}

.ai-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

.ai-hero-social-proof {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.ai-hero-social-proof .avatars {
    display: flex;
}

.ai-hero-social-proof .avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #1a2a4b;
    overflow: hidden;
    margin-left: -12px;
}

.ai-hero-social-proof .avatar-circle:first-child {
    margin-left: 0;
}

.ai-hero-social-proof .avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ai-hero-social-proof span {
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-free-consultation {
    display: inline-block;
    background-color: #3e418f; /* solid blue instead of gold */
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(62, 65, 143, 0.4);
}

.btn-free-consultation:hover {
    background-color: #2a2c68;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 65, 143, 0.6);
}

.ai-hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.ai-hero-slider {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.ai-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.ai-slide.active {
    opacity: 1;
    position: relative;
}

/* Curriculum Grid Layout */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.curriculum-grid .course-card.grid-card {
    margin: 0; /* Reset any margin from slider styles */
    width: 100%;
    height: 100%; /* Ensure all cards stretch equally */
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .ai-hero-container {
        flex-direction: column;
        text-align: center;
    }
    .ai-hero-content {
        text-align: center;
    }
    .ai-hero-content p {
        margin: 0 auto 30px;
    }
    .ai-hero-social-proof {
        justify-content: center;
    }
    .ai-hero-image {
        justify-content: center;
        margin-top: 30px;
    }
    
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ai-hero-content h1 {
        font-size: 2.2rem;
    }
    .ai-hero-subtitle {
        font-size: 1.6rem;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Sidebar Layout & Widgets
   ========================================= */

.page-layout-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* approx 66% / 33% */
    gap: 40px;
    align-items: stretch;
}

.main-content {
    width: 100%;
}

.sidebar {
    width: 100%;
    display: block;
    /* Removed sticky and align-self so it stretches to full height of grid row */
}

.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget .widget-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2a4b;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Inquiry Form Widget */
.sidebar-widget.widget-form {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    bottom: auto;
}

.sidebar-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-inquiry-form input,
.sidebar-inquiry-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.sidebar-inquiry-form input:focus,
.sidebar-inquiry-form select:focus {
    border-color: #3e418f;
    outline: none;
}

.btn-submit-sidebar {
    width: 100%;
    box-sizing: border-box;
    background-color: #3e418f;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 5px;
}

.btn-submit-sidebar:hover {
    background-color: #2a2c68;
}

/* Links Widgets */
.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 6px;
}

.sidebar-links li:last-child {
    margin-bottom: 0;
}

.sidebar-links a {
    text-decoration: none;
    color: #444;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    line-height: 1.4;
}

.sidebar-links a i {
    color: #3e418f;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.sidebar-links .thumb-img {
    width: 50px;
    height: 40px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.sidebar-links a:hover {
    color: #3e418f;
    background-color: #f8f9fc;
    border-color: #eef2f7;
    transform: translateX(4px);
}

.sidebar-links a:hover i {
    transform: translateX(4px);
}

.sidebar-links a:hover .thumb-img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .page-layout-container {
        grid-template-columns: 1fr; /* Stack vertically on tablet/mobile */
    }
    
    .sidebar {
        position: static;
        margin-top: 40px;
    }
}