: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);
    background-color: #ffffff;
    width: 100%;
}

/* 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;
    text-decoration: none;
}

.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;
    opacity: 0;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14), 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 100;
    border-radius: 12px;
    overflow: visible;
    border: 1px solid rgba(226, 232, 240, 0.9);
    min-width: 250px;
    width: max-content;
    max-width: 320px;
    padding: 8px;
    box-sizing: border-box;
    transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a {
    color: #334155;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: normal;
    line-height: 1.4;
    word-wrap: break-word;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: #f1f5f9;
    color: #0f172a;
    transform: translateX(3px);
}

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

.caret {
    font-size: 0.7em;
    margin-left: 8px;
    transition: transform 0.25s ease;
}

.dropdown:hover .caret,
.dropdown.active .caret {
    transform: rotate(180deg);
}

/* Nested Sub-menu Styles (Desktop) */
.nested-dropdown {
    position: relative;
    width: 100%;
}

.nested-toggle {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.nested-dropdown:hover > .nested-toggle,
.nested-dropdown.active > .nested-toggle {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    transform: translateX(3px);
}

.sub-caret {
    font-size: 0.65rem;
    margin-left: 12px;
    margin-right: 6px;
    display: inline-block;
    color: #64748b;
    transition: transform 0.25s ease, color 0.25s ease;
}

.nested-dropdown:hover > .nested-toggle .sub-caret,
.nested-dropdown.active > .nested-toggle .sub-caret {
    transform: translateX(3px);
    color: #0f172a;
}

.nested-dropdown-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: calc(100% + 8px);
    top: -6px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(0, 0, 0, 0.05);
    z-index: 105;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    min-width: 270px;
    width: max-content;
    max-width: 340px;
    padding: 8px;
    box-sizing: border-box;
    transform: translateX(6px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nested-dropdown-menu a {
    color: #475569;
    padding: 11px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 8px;
    transition: all 0.2s ease;
    white-space: normal;
    line-height: 1.4;
    word-wrap: break-word;
}

.nested-dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.08) 0%, rgba(13, 71, 161, 0.05) 100%);
    color: #1a237e;
    transform: translateX(3px);
}

.nested-dropdown:hover .nested-dropdown-menu,
.nested-dropdown.active .nested-dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

/* 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 {
    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 below main menu header */
.sticky-banner.is-sticky {
    position: fixed;
    top: 114px;
    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 {
    display: none;
}

.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;
}

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

.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/doctorate-slider.jpeg');
}

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

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

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

.business-bg {
    background-image: url('images/executive-slider.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) {

    /* Button fixes for mobile */
    .btn,
    .btn-filled,
    .btn-outline,
    .btn-filled-small,
    .btn-outline-small {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    #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;
        margin-bottom: 15px;
    }

    .dropdown:hover .dropdown-menu {
        visibility: hidden;
        opacity: 0;
    }

    .dropdown.active > .dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static;
        box-shadow: none;
        padding-left: 12px;
        background-color: transparent;
        border: none;
        transform: none;
        margin-top: 10px;
    }

    .dropdown.active > .dropdown-menu > a {
        padding: 8px 0;
        margin-bottom: 8px;
        font-size: 0.95rem;
        font-weight: 600;
        color: #333;
        background-color: transparent;
        border-left: none;
        display: block;
    }

    .dropdown.active > .dropdown-menu > a:hover {
        color: var(--primary-blue);
        background-color: transparent;
    }

    /* Mobile Nested Sub-menu Override */
    .nested-dropdown {
        width: 100%;
        margin-bottom: 6px;
    }

    .nested-toggle {
        padding: 8px 0 !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        color: #333 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
    }

    .nested-dropdown-menu {
        display: none;
        position: static !important;
        visibility: hidden;
        opacity: 0;
        box-shadow: none !important;
        border: none !important;
        background-color: transparent !important;
        padding-left: 10px;
        transform: none !important;
        transition: none !important;
    }

    .nested-dropdown.active > .nested-dropdown-menu {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        margin-top: 4px;
        margin-bottom: 10px;
    }

    .nested-toggle .sub-caret {
        margin-right: 16px !important;
        margin-left: 12px !important;
    }

    .nested-dropdown.active > .nested-toggle .sub-caret {
        transform: rotate(90deg);
        color: var(--primary-blue);
    }

    .nested-dropdown-menu a {
        padding: 6px 0 6px 12px !important;
        margin-bottom: 6px !important;
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        color: #555 !important;
        background-color: transparent !important;
        border-left: 2px solid #e2e8f0 !important;
        text-transform: none !important;
        display: block !important;
        transition: all 0.2s ease !important;
    }

    .nested-dropdown-menu a:hover,
    .nested-dropdown-menu a:active {
        color: var(--primary-blue) !important;
        border-left-color: var(--primary-blue) !important;
        padding-left: 16px !important;
    }

    .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%;
        min-height: 50vh !important;
        /* 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-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) {

    /* Button fixes for mobile */
    .btn,
    .btn-filled,
    .btn-outline,
    .btn-filled-small,
    .btn-outline-small {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .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: 30px 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: 460px;
    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%;
    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;
    overflow: hidden;
}

.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.card-img .badge,
.card-img .badge-blue-rect {
    position: relative;
    z-index: 2;
}

.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;
}

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

.courses-slider::-webkit-scrollbar,
.inst-slider::-webkit-scrollbar,
.placed-slider::-webkit-scrollbar {
    display: none;
}

.courses-slider .popular-card,
.inst-slider .inst-card,
.placed-slider .placed-card {
    min-width: 350px;
    scroll-snap-align: start;
}

/* Placed Students Cards */
.placed-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #e0e0e0;
}

.placed-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 3px solid var(--gold);
}

.placed-img img {
    width: 100%;
    object-fit: cover;
}

.placed-info h4 {
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.placed-course {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.placed-course i {
    color: var(--gold);
    margin-right: 5px;
}

.placed-company {
    background: var(--light-bg);
    padding: 10px 15px;
    border-radius: 8px;
    display: inline-block;
}

.placed-at {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-bottom: 5px;
}

.placed-company strong {
    color: var(--dark-text);
    font-size: 1.1rem;
}

/* Popular Course Categories */
.pop-cat-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pop-cat-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.pop-cat-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pop-cat-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.badge-outline {
    background: #fdf5f6;
    /* light primary/gold feel */
    color: var(--primary-blue);
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
}

.provider-logo {
    height: 20px;
}

.pop-cat-title {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.pop-cat-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Hover effect for actions */
.pop-cat-actions {
    margin-top: auto;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid transparent;
}

.pop-cat-card:hover .pop-cat-actions {
    max-height: 150px;
    opacity: 1;
    padding-top: 15px;
    border-top-color: #eee;
}

.pop-cat-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.pop-cat-buttons {
    display: flex;
    gap: 10px;
}

.btn-filled-small {
    background: var(--primary-blue);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    flex: 1;
}

.btn-outline-small {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    flex: 1;
}

.btn-icon {
    background: transparent;
    border: 1px solid #ccc;
    color: #666;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

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

@media (max-width: 1024px) {
    .pop-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pop-cat-actions {
        max-height: 150px;
        opacity: 1;
        padding-top: 15px;
        border-top-color: #eee;
    }
}

@media (max-width: 600px) {
    .pop-cat-grid {
        grid-template-columns: 1fr;
    }
}

/* Filter Tabs */
.pop-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.pop-filter-tab {
    padding: 10px 25px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pop-filter-tab.active,
.pop-filter-tab:hover {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.pop-view-all {
    text-align: center;
    margin-top: 40px;
}

.pop-view-all .btn-filled {
    background: var(--primary-blue);
    color: #fff;
    padding: 12px 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    text-align: center;
}


.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;
    min-width: 0;
}

.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 {
    flex: 0 0 calc((100% - 40px) / 3);
    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: center;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(22, 23, 65, 0.1);
}

.contact-icon {
    font-size: 1.4rem;
    color: #fff;
    background: linear-gradient(135deg, #161741, #2b3a55);
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 15px rgba(22, 23, 65, 0.15);
    transition: transform 0.4s ease;
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.08) rotate(5deg);
}

.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;
    }

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

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

@media screen and (max-width: 768px) {

    /* Button fixes for mobile */
    .btn,
    .btn-filled,
    .btn-outline,
    .btn-filled-small,
    .btn-outline-small {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .intro-text h2 {
        font-size: 1.8rem;
        margin-bottom: 8px;
        line-height: 1.25;
    }

    .intro-text h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .intro-text p {
        font-size: 0.95rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .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: 20px 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) {

    /* Button fixes for mobile */
    .btn,
    .btn-filled,
    .btn-outline,
    .btn-filled-small,
    .btn-outline-small {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .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) {

    /* Button fixes for mobile */
    .btn,
    .btn-filled,
    .btn-outline,
    .btn-filled-small,
    .btn-outline-small {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    .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/ai-leadership.jpeg');
}

.bg-local-new-400b {
    background-image: url('images/ai-managers.jpeg');
}

.bg-local-new-400c {
    background-image: url('images/ai-accounting.jpeg');
}

.bg-local-new-400d {
    background-image: url('images/ai-real-estate.jpeg');
}

.bg-local-new-400e {
    background-image: url('images/ai-sales-marketing.jpeg');
}

.bg-local-new-400f {
    background-image: url('images/ai-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/doctorate-slider.jpeg');
}

.bg-real-13 {
    background-image: url('images/masters-slider.jpeg');
}

.bg-real-14 {
    background-image: url('images/bachelors-slider.jpeg');
}

.bg-real-15 {
    background-image: url('images/skill-slider.jpeg');
}

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

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

.bg-real-18 {
    background-image: url('images/executive-slider.jpeg');
}

.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;
    overflow: hidden;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}

.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 {
    position: relative;
    background-color: #1a2a4b;
    /* deep blue */
    padding: 100px 20px;
    color: #fff;
    overflow: hidden;
}

.ai-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ai-hero-content {
    max-width: 700px;
    text-align: left;
}

.ai-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ai-hero-subtitle {
    font-size: 2.2rem;
    font-weight: 600;
    color: #6bb0ff;
    /* Light blue instead of gold */
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ai-hero-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.ai-hero-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.ai-hero-right {
    flex: 0 0 380px;
    max-width: 100%;
}

.hero-info-box {
    background: rgba(22, 23, 65, 0.85);
    backdrop-filter: blur(10px);
    border: 2px solid #cda85f;
    border-radius: 15px;
    padding: 30px;
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    text-align: left;
}

.hero-info-box h3 {
    color: #cda85f;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.25rem;
    border-bottom: 2px solid rgba(205, 168, 95, 0.3);
    padding-bottom: 8px;
    font-weight: 600;
}

.hero-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.hero-info-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.4;
}

.hero-info-list li:last-child {
    margin-bottom: 0;
}

.hero-info-list li i {
    color: #cda85f;
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

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

.hero-skills-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.4;
}

.hero-skills-list li:last-child {
    margin-bottom: 0;
}

.hero-skills-list li i {
    color: #cda85f;
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.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%;
    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 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ai-hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(22, 23, 65, 0.7) 0%, rgba(22, 23, 65, 0.4) 100%);
    z-index: 2;
}

.ai-hero-slider {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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;
    z-index: 1;
}

.ai-slide.active {
    opacity: 1;
    z-index: 1;
}

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

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

@media (max-width: 992px) {
    .ai-hero-row {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .ai-hero-right {
        flex: 1 1 auto;
        width: 100%;
        max-width: 450px;
    }

    .ai-hero-container {
        text-align: center;
    }

    .ai-hero-content {
        text-align: center;
        margin: 0 auto;
    }

    .ai-hero-content p {
        margin: 0 auto 30px;
    }

    .ai-hero-social-proof {
        justify-content: center;
    }

    .ai-hero-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
    }

    .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: minmax(0, 1fr) 350px;
    /* Main content takes remaining space, sidebar fixed at 350px */
    gap: 40px;
    align-items: start;
}

.main-content {
    width: 100%;
}

.sidebar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 110px;
    align-self: start;
}

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

/* Sidebar University Partner Logos */
.sidebar-logo-slider {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-logo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sidebar-logo-slide.active {
    opacity: 1;
}

.sidebar-logo-slide img {
    max-height: 220px;
    max-width: 100%;
    object-fit: contain;
    transform: scale(1.15);
    transition: transform 0.3s ease;
}

/* Skill Sidebar Navigation Buttons */
.skill-nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.skill-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.92rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.skill-nav-btn i {
    color: #0056b3;
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
    transition: color 0.3s ease;
}

.skill-nav-btn:hover {
    background: #0056b3;
    color: #ffffff;
    border-color: #0056b3;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.2);
}

.skill-nav-btn:hover i {
    color: #ffffff;
}

.skill-nav-btn.active {
    background: #0056b3;
    color: #ffffff;
    border-color: #0056b3;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.25);
}

.skill-nav-btn.active i {
    color: #ffffff;
}

.sidebar-widget {
    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 (Dynamic via JS) */
.sidebar-widget.widget-form {
    box-sizing: border-box !important;
}

/* Popular Courses Widget */
.sidebar-widget.widget-links {
    /* No longer sticky */
}

.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;
    }

    .sidebar-widget.widget-form,
    .sidebar-widget.widget-links {
        position: static !important;
    }
}

/* =========================================
   EDUCATION AGGREGATOR PAGE STYLES
========================================= */

/* Utilities */
.mt-20 {
    margin-top: 20px;
}

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

.text-center {
    text-align: center;
}

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

.bg-light-grey {
    background-color: #f9f9fc;
}

.section-grey-padded {
    background-color: #f2f4f8;
    padding: 60px 0;
}

.section-header-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.sub-heading-gold {
    color: #cda85f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.divider-center {
    height: 3px;
    width: 60px;
    background-color: var(--primary-blue);
    margin: 15px auto;
}

.desc-center {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Animations */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(22, 23, 65, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

/* Hero Section */
.agg-hero {
    position: relative;
    padding: 100px 5%;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('images/hero_bg.png') no-repeat center center/cover;
}

.agg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 23, 65, 0.9) 0%, rgba(42, 44, 104, 0.7) 100%);
}

.agg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: #fff;
}

.agg-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
}

.agg-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.agg-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Search Bar */
.agg-search-container {
    background: #fff;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
}

.agg-search-form {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-right: 1px solid #eee;
}

.search-input-group i {
    color: #888;
    margin-right: 15px;
}

.search-input-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
}

.search-select-group {
    padding: 0 20px;
}

.search-select-group select {
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: inherit;
    color: #555;
    background: transparent;
    cursor: pointer;
}

.btn-search {
    padding: 15px 40px;
    border-radius: 40px;
    font-size: 1rem;
}

.hero-tags {
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.hero-tags span {
    opacity: 0.7;
    margin-right: 5px;
}

.hero-tags a {
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 12px;
    border-radius: 15px;
    transition: all 0.3s;
}

.hero-tags a:hover {
    background: #fff;
    color: var(--primary-blue);
}

/* Institutions Grid */
.inst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.inst-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
}

.inst-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.inst-content {
    padding: 30px 25px 25px;
    position: relative;
    text-align: center;
}

.inst-logo-mock {
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.inst-content h3 {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.inst-location {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.inst-location i {
    color: #cda85f;
}

.inst-desc {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.inst-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.inst-stats i {
    margin-right: 5px;
}

.btn-outline-blue {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-blue:hover {
    background: var(--primary-blue);
    color: #fff;
}

/* Tabs */
.filter-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

.price-tag {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-blue);
}

/* Video Section */
.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: #000;
    position: relative;
    border: 5px solid #fff;
    transition: box-shadow 0.3s;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ Accordion */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #fdfdfd;
}

.faq-icon {
    color: #cda85f;
    transition: transform 0.3s;
}

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

.faq-answer p {
    padding: 0 25px 20px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-question {
    color: #000;
}

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

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

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

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-blue);
    color: #fff;
    padding: 5px 12px;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

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

.blog-date i {
    margin-right: 5px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.blog-content h3 a:hover {
    color: #cda85f;
}

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

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.read-more:hover {
    color: #cda85f;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Responsive Overrides */
@media screen and (max-width: 768px) {

    /* Button fixes for mobile */
    .btn,
    .btn-filled,
    .btn-outline,
    .btn-filled-small,
    .btn-outline-small {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

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

    .agg-search-form {
        flex-direction: column;
    }

    .search-input-group,
    .search-select-group {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 15px;
    }

    .btn-search {
        width: calc(100% - 30px);
        margin: 15px;
    }

    .filter-tabs {
        margin-top: 20px;
    }

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

/* ==========================================================================
   GLOBAL MOBILE RESPONSIVENESS OVERRIDES
   ========================================================================== */

@media screen and (max-width: 768px) {

    /* Button fixes for mobile */
    .btn,
    .btn-filled,
    .btn-outline,
    .btn-filled-small,
    .btn-outline-small {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        text-align: center;
        white-space: normal;
    }

    /* 1. Hero Section */
    .agg-hero {
        padding: 60px 15px;
    }

    .agg-hero h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .agg-search-container {
        border-radius: 12px;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .agg-search-form {
        flex-direction: column;
        gap: 15px;
    }

    .search-input-group,
    .search-select-group {
        border-right: none;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: #fff;
        width: 100%;
        padding: 15px 20px;
        box-sizing: border-box;
    }

    .btn-search {
        width: 100%;
        border-radius: 8px;
        box-sizing: border-box;
    }

    /* 2. Global Headings & Spacing */
    .debut-section {
        padding: 15px 15px !important;
    }

    .debut-intro {
        padding: 10px 15px 10px 15px !important;
        margin-top: 0 !important;
    }

    .featured-title {
        font-size: 1.8rem !important;
    }

    .sub-heading-gold {
        font-size: 0.9rem;
    }

    /* 3. Cards & Grids */
    .pop-filter-tabs {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .pop-cat-grid,
    .inst-grid,
    .team-grid,
    .treatments-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
}

/* =========================================
   INTRO MARQUEE - MOBILE (all phones/tablets)
   ========================================= */
@media screen and (max-width: 1024px) {

    /* Scaled down Intro Marquee for Mobile (Stacked) */
    .debut-intro {
        padding: 10px 15px 15px 15px !important;
        margin-top: 0 !important;
    }

    .intro-layout {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .intro-grid {
        width: 100% !important;
        height: 50px !important;
        gap: 8px !important;
        overflow: hidden !important;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    }

    .intro-img-col {
        overflow: hidden !important;
        height: 100% !important;
    }

    .intro-text {
        width: 100% !important;
        padding-left: 0 !important;
    }

    .img-tall {
        height: 120px !important;
        flex-shrink: 0 !important;
    }

    .img-short {
        height: 120px !important;
        flex-shrink: 0 !important;
    }

    .marquee-inner {
        gap: 8px !important;
    }

    .mt-mid {
        margin-top: 0 !important;
    }

    .mt-high {
        margin-top: 0 !important;
    }

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

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

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

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

        }
    }

    /* 4. Sliders */
    .courses-slider,
    .inst-slider,
    .placed-slider,
    .testi-slider {
        padding: 10px 0;
        gap: 15px;
    }

    .popular-card,
    .inst-card,
    .placed-card,
    .testi-card,
    .pop-cat-card {
        min-width: 280px !important;
        flex: 0 0 280px !important;
    }

    /* Hide slider navigation arrows on mobile (users can swipe) */
    .slider-btn {
        display: none !important;
    }

    /* Misc Fixes */
    .video-tour-container {
        border-radius: 12px;
    }

    .play-btn-large {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr !important;
    }
}

@media screen and (max-width: 480px) {
    .agg-hero h1 {
        font-size: 2rem !important;
    }

    .featured-title {
        font-size: 1.5rem !important;
    }

    .popular-card,
    .inst-card,
    .placed-card,
    .testi-card,
    .pop-cat-card {
        min-width: 260px !important;
        flex: 0 0 260px !important;
    }
}




/* ==========================================================================
   PREMIUM OVERHAUL STYLES
   ========================================================================== */

/* Hero Section Refinements */
.hero-subtext {
    font-size: 1.25rem;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.hero-stats-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 60px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 40px;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.stat-box {
    text-align: center;
    color: white;
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -25px;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 8px;
    color: #e6b840;
    /* Refined Gold */
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-box p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* About Section */
.about-title {
    max-width: 900px;
    margin: 0 auto;
    font-size: 2.8rem;
    line-height: 1.25;
    color: var(--primary-blue);
}

.about-content {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a4a4a;
}

.about-content p {
    margin-bottom: 25px;
}

.about-desc {
    max-width: 800px;
    margin: 0 auto;
}

.univ-compare-text {
    margin-bottom: 25px;
    font-style: italic;
    color: #666;
    font-size: 1.05rem;
}

/* Modern Card Grids */
.why-choose-grid,
.how-it-works-grid,
.partners-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.why-choose-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.how-it-works-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Base Premium Card */
.why-card,
.step-card,
.partner-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.why-card:hover,
.step-card:hover,
.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(22, 23, 65, 0.08);
    border-color: rgba(22, 23, 65, 0.1);
}

/* Why Card Specifics */
.why-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 25px;
    transition: transform 0.4s ease;
}

.why-card:hover .why-icon {
    transform: scale(1.1);
}

.why-card h3,
.step-card h4,
.partner-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
    color: #111;
    font-weight: 700;
}

.why-card p,
.step-card p,
.partner-card p {
    color: #555;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Step Card Specifics */
.step-number {
    font-size: 4rem;
    color: rgba(22, 23, 65, 0.04);
    font-weight: 900;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    z-index: 0;
    transition: color 0.4s ease, transform 0.4s ease;
}

.step-card:hover .step-number {
    color: rgba(22, 23, 65, 0.08);
    transform: scale(1.1) rotate(5deg);
}

.step-card h4,
.step-card p {
    position: relative;
    z-index: 1;
}

/* Partner Card Specifics */
.partner-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #fafafa;
}

.partner-card h3 {
    color: var(--primary-blue);
    margin-bottom: 12px;
}

/* Footer Overhaul Styles */
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 50px;
}

.footer-brand {
    flex: 2;
}

.footer-brand>a {
    display: inline-block;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
}

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

.footer-newsletter-box {
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-newsletter-box h4 {
    color: #e6b840;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-newsletter-box p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
}

.footer-input-group {
    display: flex;
    gap: 10px;
}

.footer-input-group input {
    flex: 1;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

.footer-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-contact-highlight {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contact-highlight p {
    color: #ccc;
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 10px;
}

.footer-contact-highlight a {
    color: #e6b840 !important;
    font-weight: 700;
    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 .hero-subtitle {
    font-weight: 800;
    margin-bottom: 15px;
}

.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 {
    gap: 5px;
    transition: transform 0.3s ease;
}

.footer-contact-highlight a:hover {
    transform: translateX(5px);
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media screen and (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats-bar {
        gap: 30px;
        padding: 20px;
    }

    .stat-box:not(:last-child)::after {
        display: none;
    }
}


/* Newsletter in Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 15px 40px;
    text-align: left;
}

.footer-bottom-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

.footer-newsletter-box.compact {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.footer-newsletter-box.compact h4 {
    margin: 0;
    color: #e6b840;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



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

    .footer-newsletter-box.compact {
        flex-direction: column;
        width: 100%;
    }

    .footer-newsletter-box.compact .footer-input-group {
        width: 100%;
    }

    .footer-newsletter-box.compact input {
        width: 100%;
    }
}

.premium-subscribe {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 4px;
    width: 280px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.premium-subscribe:focus-within {
    border-color: #e6b840;
    background: rgba(255, 255, 255, 0.1);
}

.premium-subscribe input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #fff;
    padding: 8px 15px;
    font-size: 0.85rem;
    outline: none;
    width: auto !important;
}

.premium-subscribe input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-subscribe-pill {
    background: #e6b840;
    color: #161741;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-subscribe-pill:hover {
    background: #fff;
    transform: scale(1.05);
}

@media screen and (max-width: 768px) {
    .premium-subscribe {
        width: 100%;
    }
}

/* Ultimate Mobile Responsiveness for Footer Bottom */
@media screen and (max-width: 768px) {
    .footer-bottom {
        flex-direction: column-reverse !important;
        /* Put copyright at the bottom */
        gap: 25px !important;
        text-align: center !important;
        padding: 30px 20px !important;
    }

    .footer-bottom-text {
        width: 100%;
        text-align: center;
    }

    .footer-newsletter-box.compact {
        flex-direction: column !important;
        align-items: center !important;
        width: 100%;
        gap: 15px !important;
    }

    .footer-newsletter-box.compact h4 {
        text-align: center;
        white-space: normal !important;
        /* Let text wrap if needed */
        width: 100%;
    }

    .premium-subscribe {
        width: 100% !important;
        max-width: 350px !important;
        /* Cap width on tablets */
        box-sizing: border-box !important;
        justify-content: space-between;
    }
}

/* Hero Spacing Fixes */
.agg-hero {
    min-height: 65vh !important;
}

.agg-hero-content {
    margin-top: -100px !important;
}

@media screen and (max-width: 768px) {
    .agg-hero-content {
        margin-top: -50px !important;
    }
}

.agg-hero-content {
    margin-top: -60px !important;
}

@media screen and (max-width: 768px) {
    .agg-hero-content {
        margin-top: -30px !important;
    }
}



/* Ultimate Premium Hero Buttons */
.hero-cta-group {
    margin-top: 35px;
}

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

.btn-premium-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e6b840 0%, #f9d976 100%);
    color: #161741 !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(230, 184, 64, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: -1;
}

.btn-premium-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(230, 184, 64, 0.6);
    color: #161741 !important;
}

.btn-premium-primary:hover::before {
    left: 150%;
}

.btn-premium-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff !important;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-premium-secondary:hover {
    background: rgba(255, 255, 255, 1);
    color: #161741 !important;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-trust-text {
    font-size: 1.05rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-style: italic;
    letter-spacing: 0.5px;
    margin: 0 !important;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .btn-premium-primary,
    .btn-premium-secondary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        white-space: normal;
        text-align: center;
        font-size: 0.95rem;
    }
}

/* Professional Statistics Ribbon */
.stats-ribbon-section {
    position: relative;
    z-index: 9999;
    margin-top: -60px;
    /* Overlap with hero */
    margin-bottom: 60px;
    /* Space before next section */
}

.stats-ribbon {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(22, 23, 65, 0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #e6b840, #c49615);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.9rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

@media screen and (max-width: 992px) {
    .stats-ribbon {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
        padding: 30px 10px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:not(:last-child)::after {
        top: 0;
    }
}

@media screen and (max-width: 576px) {
    .stats-ribbon {
        grid-template-columns: 1fr;
        gap: 25px 0;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

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

/* Fix for mobile horizontal overflow */
html,
body {
    width: 100%;
    max-width: 100vw;
}

/* About OneX Academy Section */
.about-onex-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.about-onex-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-onex-content-left .sub-heading-gold {
    display: block;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #e6b840;
    text-transform: uppercase;
}

.about-onex-content-left .featured-title {
    font-size: 2.8rem;
    line-height: 1.2;
    color: #161741;
    margin: 0;
}

.about-onex-content-right p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

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

@media screen and (max-width: 992px) {
    .about-onex-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-onex-content-left .featured-title {
        font-size: 2.2rem;
    }
}

@media screen and (max-width: 576px) {
    .about-onex-section {
        padding: 50px 0;
    }

    .about-onex-content-left .featured-title {
        font-size: 1.8rem;
    }

    .about-onex-content-right p {
        font-size: 1.05rem;
    }
}

/* Why Choose Section */
.why-choose-section {
    padding: 60px 0 120px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.why-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    text-align: left;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.why-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 184, 64, 0.1);
    color: #e6b840;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.why-card:hover .why-icon {
    background: #e6b840;
    color: #fff;
    box-shadow: 0 10px 20px rgba(230, 184, 64, 0.4);
}

.why-card h3 {
    font-size: 1.15rem;
    color: #161741;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.why-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

@media screen and (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        /* Add explicit gap for tablet */
    }
}

@media screen and (max-width: 576px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        /* Add explicit gap for mobile */
    }

    .why-card {
        padding: 25px 20px;
        margin-bottom: 20px;
        /* Force margin bottom on mobile as a fallback */
    }

    .why-choose-section {
        padding: 40px 0 80px 0;
    }
}

/* How Learning Works - Professional Timeline Journey */
.how-learning-works {
    padding: 100px 0;
    overflow: hidden;
}

.timeline-journey {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0 auto;
    padding-bottom: 20px;
}

/* Central Line */
.timeline-journey::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: linear-gradient(to bottom, #161741, #e6b840, #161741);
    transform: translateX(-50%);
    border-radius: 4px;
    opacity: 0.15;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 50px;
}

.timeline-item.right {
    flex-direction: row-reverse;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* The Marker / Node */
.timeline-marker {
    position: absolute;
    left: 50%;
    top: -20px;
    transform: translateX(-50%);
    width: 65px;
    height: 65px;
    background: #fff;
    border: 3px solid #161741;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-icon {
    font-size: 1.5rem;
    color: #161741;
    transition: all 0.4s ease;
}

/* Hover Effects on Marker */
.timeline-item:hover .timeline-marker {
    background: #161741;
    border-color: #e6b840;
    transform: translateX(-50%) translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(230, 184, 64, 0.4);
}

.timeline-item:hover .timeline-icon {
    color: #fff;
}

/* Content Box */
.timeline-content {
    width: calc(50% - 30px);
    box-sizing: border-box;
    background: #fff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.timeline-item.left .timeline-content {
    text-align: right;
    border-top-right-radius: 40px;
}

.timeline-item.right .timeline-content {
    text-align: left;
    border-top-left-radius: 40px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(230, 184, 64, 0.3);
}

.step-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    color: #a8811d;
    background: linear-gradient(135deg, rgba(230, 184, 64, 0.15), rgba(230, 184, 64, 0.05));
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border: 1px solid rgba(230, 184, 64, 0.3);
    box-shadow: 0 2px 10px rgba(230, 184, 64, 0.05);
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: #161741;
    margin-bottom: 15px;
    font-weight: 700;
}

.timeline-content p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .timeline-journey {
        margin-top: 40px;
    }

    .timeline-journey::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row-reverse !important;
        justify-content: flex-start;
        margin-bottom: 40px;
    }

    .timeline-marker {
        left: 30px;
        top: -15px;
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .timeline-icon {
        font-size: 1.2rem;
    }

    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 70px;
        text-align: left !important;
        padding: 25px 20px;
        border-top-left-radius: 30px !important;
        border-top-right-radius: 12px !important;
    }
}

/* Industry Partnerships - Premium Dark Glassmorphism */
.dark-premium-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f102e 0%, #161741 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background glow */
.dark-premium-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(230, 184, 64, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.dark-premium-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(85, 89, 181, 0.2) 0%, transparent 70%);
    z-index: 0;
}

.dark-premium-section .debut-container {
    position: relative;
    z-index: 2;
}

.dark-premium-section .text-white {
    color: #ffffff !important;
}

.dark-premium-section .text-light {
    color: rgba(255, 255, 255, 0.8) !important;
}

.premium-partners-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 60px auto 0 auto;
}

.premium-partner-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Bottom accent line */
.premium-partner-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #e6b840;
    opacity: 0;
    transition: all 0.4s ease;
}

.premium-partner-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(230, 184, 64, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.premium-partner-card:hover::before {
    opacity: 1;
}

.partner-glass-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(230, 184, 64, 0.2), rgba(230, 184, 64, 0.05));
    border: 1px solid rgba(230, 184, 64, 0.2);
    color: #e6b840;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.premium-partner-card:hover .partner-glass-icon {
    background: #e6b840;
    color: #161741;
    transform: scale(1.05) rotate(5deg);
}

.partner-glass-content h3 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.partner-glass-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* Mobile Responsiveness */
@media screen and (max-width: 992px) {
    .premium-partners-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .premium-partners-wrap {
        grid-template-columns: 1fr;
    }
}

/* Programs Section */
.programs-section {
    padding: 20px 0 60px 0;
    background-color: #fdfdfd;
}

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

.program-card {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.program-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.badge-dba {
    background-color: #eef2fa;
    color: #3b5998;
}

.badge-ma {
    background-color: #fdf3e1;
    color: #c98a2c;
}

.badge-ba {
    background-color: #eaf5ec;
    color: #2b7a3b;
}

.badge-ai {
    background-color: var(--primary-blue);
    color: #fff;
}

.program-title {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.program-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eef0f4;
    padding-top: 20px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: #777;
}

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

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

/* Restored Styles from botched edit */
.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;
}

.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 .hero-subtitle {
    font-weight: 800;
    margin-bottom: 15px;
}

.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;
}

.gallery-header {
    position: relative;
    z-index: 10;
}


.cards-slider .popular-card {
    min-width: 350px;
    scroll-snap-align: start;
    flex: 0 0 350px;
}

.team-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.team-slider {
    width: 100%;
}

@media screen and (max-width: 992px) {

    .team-slider-wrapper,
    .team-text {
        width: 100%;
    }
}

/* Brand Logo Classes */
.bg-brand-1 {
    background-image: url('images/brand-logo/birchwood.png');
}

.bg-brand-2 {
    background-image: url('images/brand-logo/birchwood-2.png');
}

.bg-brand-3 {
    background-image: url('images/brand-logo/dunster.png');
}

.bg-brand-4 {
    background-image: url('images/brand-logo/dunster-2.png');
}

.bg-brand-5 {
    background-image: url('images/brand-logo/eimt.png');
}

.bg-brand-6 {
    background-image: url('images/brand-logo/eimt-2.png');
}

.bg-brand-7 {
    background-image: url('images/brand-logo/lsmt.png');
}

.bg-brand-8 {
    background-image: url('images/brand-logo/lsmt-2.png');
}

.bg-brand-9 {
    background-image: url('images/brand-logo/rushford.png');
}

.bg-brand-10 {
    background-image: url('images/brand-logo/rushford-2.png');
}

.bg-brand-11 {
    background-image: url('images/brand-logo/stride.png');
}

.bg-brand-12 {
    background-image: url('images/brand-logo/stride-2.png');
}

.bg-brand-1,
.bg-brand-2,
.bg-brand-3,
.bg-brand-4,
.bg-brand-5,
.bg-brand-6,
.bg-brand-7,
.bg-brand-8,
.bg-brand-9,
.bg-brand-10,
.bg-brand-11,
.bg-brand-12 {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0 20px 0;
    margin: 0 auto;
    max-width: 1200px;
    font-size: 0.75rem;
    color: #8892a0;
    line-height: 1.6;
    text-align: left;
    box-sizing: border-box;
}

/* Fix for hero banner text on mobile */
@media screen and (max-width: 768px) {
    .footer-disclaimer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero.hero-left {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-content.left-align h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }

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

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

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

/* =========================================
   Mobile Fixes for Inline Styled Sections
========================================= */
@media screen and (max-width: 768px) {
    .eligibility-section {
        padding: 20px !important;
    }
    .eligibility-section > div > div {
        min-width: 100% !important;
    }
    .reasons-grid {
        grid-template-columns: 1fr !important;
    }
    .reasons-grid > div {
        padding: 20px !important;
    }
    .syllabus-list > div {
        padding: 15px !important;
    }
}


/* =========================================
   Fix for Footer White Space and Overflow
========================================= */
html, body {
    max-width: 100%;
}

.main-footer {
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

@media screen and (max-width: 768px) {
    .footer-container {
        padding: 0 20px 30px !important;
    }
}


#footer-placeholder {
    background-color: #161741;
    width: 100%;
}


/* =========================================
   Program Page Layout & Component Classes
========================================= */
.section-overflow-visible {
    overflow: visible;
}

.overview-title {
    margin-bottom: 20px;
}

.overview-text {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.overview-text-mb40 {
    margin-bottom: 40px;
    line-height: 1.6;
    color: #555;
}

.program-highlights-section {
    margin-bottom: 40px;
}

.section-heading-blue {
    margin-bottom: 20px;
    font-size: 24px;
    color: #1a237e;
}

.section-heading-blue-25 {
    margin-bottom: 25px;
    font-size: 24px;
    color: #1a237e;
}

.bullet-check-list {
    list-style: none;
    padding-left: 0;
}

.bullet-check-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.bullet-check-icon {
    margin-top: 5px;
    margin-right: 15px;
}

.bullet-check-text {
    color: #555;
    line-height: 1.6;
}

.why-choose-section {
    margin-bottom: 50px;
}

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

.curriculum-grid .course-card.grid-card {
    margin: 0;
    width: 100%;
    min-width: 0 !important;
    display: flex;
    flex-direction: column;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.reason-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #1a237e;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.reason-card h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
}

.reason-card p {
    color: #666;
    font-size: 14.5px;
    line-height: 1.5;
}

.syllabus-section {
    margin-bottom: 50px;
}

.syllabus-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.syllabus-item {
    padding: 18px 24px;
    background: #fff;
    border-left: 4px solid #1a237e;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.syllabus-item:hover {
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    border-color: rgba(26, 35, 126, 0.2);
}

.syllabus-item-text {
    flex: 1;
    min-width: 260px;
}

.syllabus-item strong {
    color: #1a237e;
    font-size: 16px;
    font-weight: 700;
}

.syllabus-item span {
    color: #555;
    font-size: 14.5px;
    display: block;
    margin-top: 5px;
    line-height: 1.5;
}

.syllabus-item .btn-curriculum-blue {
    flex-shrink: 0;
    white-space: nowrap;
}

.eligibility-section {
    margin-bottom: 50px;
    padding: 35px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.eligibility-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.eligibility-col {
    flex: 1 1 250px;
}

.eligibility-col-border {
    flex: 1 1 250px;
    padding-left: 20px;
    border-left: 2px solid #f0f0f0;
}

.eligibility-col h4 {
    margin-bottom: 18px;
    color: #333;
    font-size: 18px;
}

.bullet-dot-list {
    list-style-type: none;
    padding-left: 0;
    color: #555;
    line-height: 1.7;
}

.bullet-dot-item {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.bullet-dot-symbol {
    position: absolute;
    left: 0;
    color: #0d47a1;
}

.note-info-box {
    margin-top: 20px;
    padding: 12px 15px;
    background: #e3f2fd;
    border-radius: 6px;
    border-left: 3px solid #1976d2;
}

.note-info-box p {
    font-size: 14px;
    color: #1565c0;
    margin: 0;
}

.career-desc-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.angle-list {
    list-style: none;
    padding-left: 0;
    color: #555;
}

.angle-list-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.angle-list-icon {
    margin-right: 12px;
}

.career-paths-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.career-path-item {
    display: flex;
    align-items: center;
    color: #555;
}

.career-path-icon {
    width: 24px;
    text-align: center;
    margin-right: 12px;
}

@media (max-width: 768px) {
    .eligibility-section {
        padding: 20px !important;
    }
    .eligibility-col,
    .eligibility-col-border {
        min-width: 100% !important;
        padding-left: 0 !important;
        border-left: none !important;
    }
}


/* About Us Page Styles */
        .team-hero {
            position: relative;
            background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.85)), url('images/executive-slider.jpeg') no-repeat center center / cover;
            color: #fff;
            padding: 110px 20px 85px;
            text-align: center;
        }

        .team-hero h1 {
            font-size: 42px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .team-hero p {
            font-size: 18px;
            line-height: 1.6;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0.9;
        }

        .architect-section {
            padding: 80px 20px;
            background: #fff;
            text-align: center;
        }

        .architect-container {
            max-width: 1300px;
            margin: 0 auto;
        }

        .architect-subtitle {
            color: #0d47a1;
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .architect-title {
            color: #1a237e;
            font-size: 36px;
            margin-bottom: 25px;
        }

        .architect-text {
            color: #555;
            line-height: 1.7;
            margin-bottom: 20px;
            font-size: 16px;
        }

        .architect-text-mb30 {
            color: #555;
            line-height: 1.7;
            margin-bottom: 30px;
            font-size: 16px;
        }

        .architect-text-mb35 {
            color: #555;
            line-height: 1.7;
            margin-bottom: 35px;
            font-size: 16px;
        }

        .architect-quote-box {
            font-style: italic;
            color: #333;
            border-left: 4px solid #1a237e;
            padding: 15px 20px;
            margin: 0 auto 30px;
            font-weight: 500;
            font-size: 18px;
            max-width: 900px;
            background: #f8f9fa;
            border-radius: 0 8px 8px 0;
            text-align: left;
        }

        .architect-author-sub {
            font-size: 14px;
            color: #666;
            font-style: normal;
            margin-top: 10px;
            display: inline-block;
        }

        .founders-section {
            padding: 80px 20px;
            background: #fdfdfd;
        }

        .founder-card {
            display: flex;
            flex-direction: column;
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            margin-bottom: 50px;
            max-width: 1300px;
            margin-left: auto;
            margin-right: auto;
            border: 1px solid #f0f0f0;
        }

        @media (min-width: 768px) {
            .founder-card {
                flex-direction: row;
            }

            .founder-card.reverse {
                flex-direction: row-reverse;
            }
        }

        .founder-image {
            flex: 1;
            min-height: 350px;
            background-size: cover;
            background-position: center;
            background-color: #e0e0e0;
        }

        .founder-nitin {
            background-image: url('images/nitin-sir.jpeg');
            background-position: top center;
        }

        .founder-manju {
            background-image: url('images/manju-gupta.jpeg');
            background-position: center;
        }

        .founder-content {
            flex: 1.5;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .founder-content h3 {
            color: #1a237e;
            font-size: 28px;
            margin-bottom: 5px;
        }

        .founder-content .title {
            color: #0d47a1;
            font-weight: 600;
            margin-bottom: 25px;
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .founder-content p {
            color: #555;
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .founder-quote {
            font-style: italic;
            color: #333;
            border-left: 4px solid #1a237e;
            padding-left: 20px;
            margin-top: 25px;
            font-weight: 500;
            font-size: 16px;
        }

        .advisory-section {
            padding: 80px 20px;
            background: #f4f6f9;
        }

        .advisory-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .advisory-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .advisory-header h2 {
            color: #1a237e;
            font-size: 36px;
            margin-bottom: 15px;
        }

        .advisory-header p {
            color: #666;
            max-width: 700px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .advisory-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 30px;
        }

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

        .advisory-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .advisory-img {
            width: 100%;
            height: 300px;
            background-size: cover;
            background-position: center;
        }

        /* Faculty Advisory Background Images */
        .advisory-sulpasso {
            background-image: url('images/faculty-images/Prof-Umberto-Sulpasso.jpg');
        }

        .advisory-ferdanova {
            background-image: url('images/faculty-images/Dr-Nelli-Ferdanova.jpg');
        }

        .advisory-somani {
            background-image: url('images/faculty-images/Dr-Parin-Somani.jpg');
        }

        .advisory-cantilero {
            background-image: url('images/faculty-images/Dr-Cantilero.jpg');
        }

        .advisory-mohair {
            background-image: url('images/faculty-images/Dr-Jacqueline-Mohair.jpg');
        }

        .advisory-rothgiesser {
            background-image: url('images/faculty-images/Dr-Iva--Muniz-Rothgiesser.jpg');
        }

        .advisory-mostfi {
            background-image: url('images/faculty-images/Dr-Leila-Mostfi.jpg');
        }

        .advisory-gyamfi {
            background-image: url('images/faculty-images/Dr-Bertha-Anibea-Gyamf.jpg');
        }

        .advisory-info {
            padding: 25px 20px;
            text-align: center;
        }

        .advisory-info h4 {
            color: #333;
            font-size: 18px;
            margin-bottom: 8px;
        }

        .advisory-info p {
            color: #666;
            font-size: 14px;
            line-height: 1.5;
        }

        .cta-section {
            padding: 80px 20px;
            background: #fff;
            text-align: center;
        }

        .cta-section h2 {
            color: #1a237e;
            font-size: 32px;
            margin-bottom: 20px;
        }

        .cta-section .btn-primary {
            display: inline-block;
            background: #1a237e;
            color: #fff;
            padding: 15px 35px;
            border-radius: 30px;
            font-weight: 600;
            text-decoration: none;
            margin-top: 20px;
            transition: background 0.3s;
        }

        .cta-section .btn-primary:hover {
            background: #0d47a1;
        }

/* =========================================
   BLOG & BLOG DETAIL STYLES
   ========================================= */

/* Blog Hero */
.blog-hero-section {
    background: linear-gradient(135deg, rgba(22, 23, 65, 0.9) 0%, rgba(42, 44, 104, 0.88) 100%), url('images/hero_bg.png') center/cover no-repeat;
    padding: 100px 20px 75px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.blog-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(205, 168, 95, 0.15) 0%, rgba(22, 23, 65, 0) 70%);
    pointer-events: none;
}

.blog-hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: #cda85f;
    border: 1px solid rgba(205, 168, 95, 0.3);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.blog-hero-section h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #ffffff;
}

.blog-hero-section p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Category Filter Bar */
.category-filter-wrapper {
    background: #fdfdf9;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
    margin-bottom: 50px;
    sticky: top 75px;
    z-index: 90;
}

.category-filter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 9px 20px;
    border-radius: 30px;
    background: #ffffff;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary-blue, #161741);
    color: #ffffff;
    border-color: var(--primary-blue, #161741);
    box-shadow: 0 4px 12px rgba(22, 23, 65, 0.15);
}

/* Featured Article Section */
.featured-blog-wrapper {
    max-width: 1200px;
    margin: 25px auto 30px;
    padding: 0 20px;
}

.featured-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    max-height: 210px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(22, 23, 65, 0.09);
}

.featured-img-box {
    position: relative;
    height: 100%;
    min-height: 180px;
    overflow: hidden;
}

.featured-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-img-box img {
    transform: scale(1.04);
}

.featured-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #cda85f;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 12px;
}

.featured-content {
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: #718096;
    margin-bottom: 6px;
}

.post-meta-row i {
    color: var(--primary-blue, #161741);
}

.featured-content h2 {
    font-size: 1.22rem;
    line-height: 1.3;
    color: var(--primary-blue, #161741);
    margin-bottom: 6px;
    font-weight: 700;
}

.featured-content h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-content h2 a:hover {
    color: #3e418f;
}

.featured-content p {
    color: #4a5568;
    line-height: 1.4;
    margin-bottom: 10px;
    font-size: 0.86rem;
}

.author-flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #edf2f7;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}

.author-details h4 {
    margin: 0;
    font-size: 0.85rem;
    color: #2d3748;
    font-weight: 600;
}

.author-details span {
    font-size: 0.75rem;
    color: #718096;
}

.btn-read-article {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-blue, #161741);
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-read-article:hover {
    transform: translateX(4px);
    color: #3e418f;
}

/* Main Grid & Sidebar */
.blog-main-layout {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 40px;
}

.blog-grid-stream {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card-modern {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(22, 23, 65, 0.1);
}

.card-img-wrapper {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-modern:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(22, 23, 65, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 15px;
    text-transform: uppercase;
}

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--primary-blue, #161741);
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-title a:hover {
    color: #3e418f;
}

.card-excerpt {
    font-size: 0.92rem;
    color: #718096;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    padding-top: 15px;
    border-top: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #a0aec0;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue, #161741);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-blue, #161741);
    border-radius: 2px;
}

.search-form-box {
    display: flex;
    gap: 8px;
}

.search-input {
    flex-grow: 1;
    padding: 10px 14px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    border-color: var(--primary-blue, #161741);
}

.btn-search {
    background: var(--primary-blue, #161741);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-search:hover {
    background: #2a2c68;
}

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

.sidebar-category-list li {
    margin-bottom: 12px;
}

.sidebar-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4a5568;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.sidebar-category-list a:hover {
    color: var(--primary-blue, #161741);
}

.category-count {
    background: #edf2f7;
    color: #718096;
    font-size: 0.78rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.popular-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    align-items: center;
}

.popular-post-item:last-child {
    margin-bottom: 0;
}

.popular-img {
    width: 65px;
    height: 65px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.popular-info h5 {
    margin: 0 0 5px;
    font-size: 0.9rem;
    line-height: 1.35;
    font-weight: 600;
}

.popular-info h5 a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s ease;
}

.popular-info h5 a:hover {
    color: var(--primary-blue, #161741);
}

.popular-info span {
    font-size: 0.78rem;
    color: #a0aec0;
}

/* Pagination */
.blog-pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.page-num {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e0;
    background: #ffffff;
    color: #4a5568;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-num:hover,
.page-num.active {
    background: var(--primary-blue, #161741);
    color: #ffffff;
    border-color: var(--primary-blue, #161741);
}

/* =========================================
   ARTICLE DETAIL PAGE STYLES
   ========================================= */

.article-hero-header {
    background: linear-gradient(135deg, rgba(22, 23, 65, 0.95) 0%, rgba(42, 44, 104, 0.9) 100%), url('images/academico_bg.png') center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 20px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-sizing: border-box;
    text-align: center;
}

.article-hero-header .breadcrumb-nav {
    color: rgba(255, 255, 255, 0.75);
}

.article-hero-header .breadcrumb-nav a {
    color: #ffffff;
}

.article-hero-header .article-title-main {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    text-align: center;
}

.article-hero-header .article-subtitle-lead {
    color: rgba(255, 255, 255, 0.88);
}

.article-hero-header .author-details h4 {
    color: #ffffff;
}

.article-hero-header .author-details span {
    color: rgba(255, 255, 255, 0.75);
}

.article-hero-header .article-author-bar {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.article-hero-container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 20px;
}

.breadcrumb-nav a {
    color: #4a5568;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--primary-blue, #161741);
}

.article-category-badge {
    display: inline-block;
    background: #eef4ff;
    color: var(--primary-blue, #161741);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.article-title-main {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--primary-blue, #161741);
    margin-bottom: 15px;
}

.article-subtitle-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 30px;
}

.article-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 20px;
}

.social-share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #edf2f7;
    color: #4a5568;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

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

.article-cover-wrapper {
    max-width: 900px;
    margin: 40px auto 50px;
    padding: 0 20px;
}

.article-cover-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.article-body-wrapper {
    max-width: 800px;
    margin: 0 auto 80px;
    padding: 0 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-body-wrapper p {
    margin-bottom: 25px;
}

.article-body-wrapper h2 {
    font-size: 1.8rem;
    color: var(--primary-blue, #161741);
    margin: 45px 0 20px;
    font-weight: 700;
}

.article-body-wrapper h3 {
    font-size: 1.4rem;
    color: var(--primary-blue, #161741);
    margin: 35px 0 15px;
    font-weight: 700;
}

.custom-blockquote {
    border-left: 4px solid var(--primary-blue, #161741);
    background: #f8fafc;
    padding: 25px 30px;
    margin: 35px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #1a202c;
    line-height: 1.6;
}

.custom-blockquote cite {
    display: block;
    font-style: normal;
    font-size: 0.9rem;
    font-weight: 600;
    color: #718096;
    margin-top: 12px;
}

.key-takeaway-box {
    background: #eef4ff;
    border: 1px solid #cbd5e0;
    border-left: 4px solid #3e418f;
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

.key-takeaway-box h4 {
    margin: 0 0 15px;
    color: var(--primary-blue, #161741);
    font-size: 1.2rem;
}

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

.key-takeaway-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1rem;
}

.key-takeaway-list li i {
    color: var(--primary-blue, #161741);
    margin-top: 4px;
}

.author-bio-card {
    background: #f8fafc;
    border-radius: 14px;
    padding: 30px;
    display: flex;
    gap: 20px;
    margin: 60px 0;
    border: 1px solid #edf2f7;
    align-items: center;
}

.bio-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bio-details h4 {
    margin: 0 0 5px;
    color: var(--primary-blue, #161741);
    font-size: 1.15rem;
}

.bio-details span {
    font-size: 0.85rem;
    color: #718096;
    display: block;
    margin-bottom: 10px;
}

.bio-details p {
    margin: 0;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.55;
}

/* Related Posts Section */
.related-posts-section {
    background: #fdfdf9;
    padding: 70px 20px;
    border-top: 1px solid #edf2f7;
}

.related-posts-container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-blue, #161741);
    margin-bottom: 40px;
    font-weight: 700;
}

@media screen and (max-width: 992px) {
    .featured-card {
        grid-template-columns: 1fr;
    }
    .blog-main-layout {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    .blog-grid-stream {
        grid-template-columns: 1fr;
    }
    .article-title-main {
        font-size: 2rem;
    }
    .author-bio-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Executive Sidebar Programmes Widget */
.sidebar-programmes-widget {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #edf2f7;
    border-top: 4px solid var(--primary-blue, #161741);
}

.programme-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.programme-link-item:last-child {
    margin-bottom: 0;
}

.programme-left-flex {
    display: flex;
    align-items: center;
    gap: 14px;
}

.programme-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #eef4ff;
    color: var(--primary-blue, #161741);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.programme-text-box h5 {
    margin: 0 0 3px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c;
    transition: color 0.3s ease;
}

.programme-text-box span {
    font-size: 0.78rem;
    color: #718096;
    display: block;
}

.programme-arrow {
    color: #a0aec0;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.programme-link-item:hover {
    background: #ffffff;
    border-color: var(--primary-blue, #161741);
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(22, 23, 65, 0.08);
}

.programme-link-item:hover .programme-icon-box {
    background: var(--primary-blue, #161741);
    color: #cda85f;
}

.programme-link-item:hover .programme-text-box h5 {
    color: var(--primary-blue, #161741);
}

.programme-link-item:hover .programme-arrow {
    color: var(--primary-blue, #161741);
    transform: translateX(3px);
}

/* Legal Pages Styles (Privacy Policy & Terms of Service) */
.privacy-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.88)), url('images/privacy-banner.png') no-repeat center center / cover !important;
}

.terms-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.88)), url('images/terms-banner.png') no-repeat center center / cover !important;
}

.legal-layout {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.legal-content-card {
    width: 100%;
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef2f6;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

.legal-content-card p,
.legal-content-card li,
.legal-content-card h1,
.legal-content-card h2,
.legal-content-card h3,
.legal-content-card a {
    overflow-wrap: break-word;
    word-break: break-word;
}

.legal-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 25px;
    max-width: 100%;
    box-sizing: border-box;
}

.legal-meta-badge i {
    color: #161741;
}

.legal-intro-lead {
    font-size: 1.08rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}

.legal-section-block {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
    box-sizing: border-box;
}

.legal-section-block h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.4;
    overflow-wrap: break-word;
    word-break: break-word;
}

.legal-section-block h2 .section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #eef4ff;
    color: #161741;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    margin-right: 10px;
    vertical-align: middle;
    flex-shrink: 0;
}

.legal-section-block p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 16px;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.legal-list li {
    position: relative;
    padding-left: 28px;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 12px;
}

.legal-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #161741;
    font-size: 0.85rem;
}

.legal-contact-box {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border-left: 4px solid #161741;
    padding: 24px 30px;
    border-radius: 12px;
    margin-top: 40px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

.legal-contact-box h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.legal-contact-box p {
    margin-bottom: 0;
}

/* Mobile Responsiveness for Legal Pages */
@media (max-width: 991px) {
    .legal-content-card {
        padding: 35px 30px;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .article-hero-header {
        min-height: 180px !important;
        padding: 35px 16px !important;
    }
    
    .article-hero-header .article-title-main {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }

    .debut-container.legal-layout {
        padding: 0 12px !important;
    }

    .team-hero.privacy-hero,
    .team-hero.terms-hero {
        padding: 70px 15px 40px !important;
    }
    
    .team-hero.privacy-hero h1,
    .team-hero.terms-hero h1 {
        font-size: 28px !important;
        margin-bottom: 12px !important;
        overflow-wrap: break-word;
    }
    
    .team-hero.privacy-hero p,
    .team-hero.terms-hero p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
    
    .legal-content-card {
        padding: 22px 15px !important;
        border-radius: 14px;
    }
    
    .legal-section-block {
        margin-bottom: 25px;
    }
    
    .legal-section-block h2 {
        font-size: 1.15rem;
    }
    
    .legal-section-block h2 .section-num {
        width: 26px;
        height: 26px;
        font-size: 0.85rem;
        margin-right: 8px;
    }
    
    .legal-section-block p,
    .legal-list li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .legal-list li {
        padding-left: 22px;
    }
    
    .legal-contact-box {
        padding: 16px 14px !important;
        margin-top: 25px;
    }
    
    .legal-contact-box h3 {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .article-hero-header {
        min-height: 160px !important;
        padding: 30px 12px !important;
    }
    
    .article-hero-header .article-title-main {
        font-size: 20px !important;
    }

    .debut-container.legal-layout {
        padding: 0 8px !important;
    }

    .team-hero.privacy-hero h1,
    .team-hero.terms-hero h1 {
        font-size: 24px !important;
    }

    .legal-content-card {
        padding: 18px 12px !important;
        border-radius: 10px;
    }

    .legal-meta-badge {
        font-size: 0.78rem;
        padding: 4px 10px;
    }

    .legal-intro-lead {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 22px;
        padding-bottom: 16px;
    }
}






    
