@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #FF4D1C;
    --primary-hover: #E63B00;
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --dark-bg: #0A0A0A;
    --card-bg: #F8F9FF;
    --font-family: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
}

#frontpage-available-course-list {
    display: none;
}

/* Navbar Styling */
.latingles-navbar {
    position: absolute;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: background 0.3s ease;
}

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

.latingles-navbar .navbar-brand {
    font-weight: 700;
    font-size: 24px;
    color: var(--text-white) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    margin-right: 0;
}

.latingles-navbar .nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.latingles-navbar .nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 15px;
    opacity: 0.9;
    text-decoration: none;
}

.latingles-navbar .nav-link:hover {
    opacity: 1;
}

.btn-login,
.btn-dashboard {
    border: 1px solid var(--text-white);
    color: var(--text-white) !important;
    padding: 8px 25px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;

    img {
        margin-right: 10px;
    }
}

.btn-dashboard {
    i {
        margin-right: 10px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    /* height: 85vh; */
    min-height: 630px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--text-white);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(13, 47, 80, 0.6), rgba(13, 47, 80, 0.2));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding-top: 100px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 25px;
    color: white;
}

.hero-stats {
    display: flex;
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;

    img {
        margin-right: 10px;
    }
}

.hero-stats span {
    display: flex;
    align-items: center;
}

.hero-stats i {
    color: #FFC107;
    margin-right: 12px;
    font-size: 1.1em;
}

.hero-btns {
    display: flex;
    gap: 20px;

    .btn.btn-orange {
        border: 1px solid white;

        img {
            margin-left: 10px;
        }
    }
}

.hero-btns .btn {
    padding: 10px 45px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-orange {
    background-color: var(--primary-color);
    border: none;
    color: white !important;
}

.btn-orange:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 77, 28, 0.3);
}

.btn-icon-circle {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 14px;
}

.btn-outline-white {
    background: transparent;
    border: 1px solid var(--text-white);
    color: var(--text-white) !important;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-container {
    position: relative;
    z-index: 30;
    padding: 60px 0;
}

.stat-card {
    background: var(--card-bg);
    padding: 15px 25px;
    border-radius: 16px;
    text-align: center;
    height: 100%;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.stat-card-icon {
    font-size: 28px;
    color: #004AAD;
    margin-bottom: 20px;
    opacity: 0.8;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 36px;
    font-weight: 500;
    color: #0A0A0A;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stat-label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
    text-transform: capitalize;
}

.stars {
    color: #FFC107;
    font-size: 14px;
    letter-spacing: 2px;
}

/* Moodle Overrides */
#page-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

#page {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    background-color: white;
}

#region-main {
    padding: 0 !important;
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

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

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Navigation Defaults (Hidden for Desktop) */
#latingles-mobile-nav {
    display: none;
}

@media (max-width: 767.98px) {
    .latingles-navbar {
        padding: 15px 0;
    }

    .tm-carousel-container {
        box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
        background-color: white;
        margin: 10px;

        .tm-card  {
            padding: 0;
        }

        .tm-content {
            padding: 20px;
        }
    }
    
    .latingles-navbar .row {
        flex-wrap: nowrap !important;
        margin: 0 -5px;
    }

    .latingles-navbar .col-auto {
        padding: 0 5px;
    }

    .latingles-navbar .container-fluid {
        padding: 0 15px !important;
    }

    .btn-login,
    .btn-dashboard   {
        padding: 8px 12px;
        font-size: 13px;
        border-radius: 8px;
        white-space: nowrap;
    }

    .btn-login img {
        height: 14px;
        margin-right: 6px;
    }

    .hamburger-menu {
        background: transparent;
        border: 1px solid white;
        color: white;
        border-radius: 8px;
        width: 40px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        padding: 0;
    }

    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
        background-position: 75% center;
    }

    .hero-content {
        padding-top: 40px;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left;
    }

    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 25px;
    }

    .hero-title br {
        display: none;
    }

    .hero-title strong {
        display: block;
        margin-top: 5px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 40px;
        opacity: 1;
    }

    .hero-stats span {
        font-size: 14px;
    }

    .hero-stats span.mx-3.opacity-50 {
        display: none;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;

        img {
            display: none;
        }
    }

    .hero-btns .btn {
        width: 100%;
        padding: 16px;
        font-size: 16px;
        justify-content: center;
        border-radius: 50px;
        margin: 0;
    }

    /* Stats Cards Mobile Grid */
    .stats-container {
        padding: 30px 20px;
    }

    .stats-container .row {
        margin: 0 -8px;
    }

    .stats-container {
        .col-md {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 0 8px;
            margin-bottom: 16px;
        }

        div.col-md:last-child {
            min-width: 100%;
        }
    }

    .stat-card {
        padding: 20px 10px;
        border-radius: 12px;
    }

    .stat-number {
        font-size: 24px;
        gap: 5px;
    }

    .stat-label {
        font-size: 11px;
    }

    .app-store-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Income Dashboard Responsive */
    .income-dashboard-card {
        padding: 40px 20px;
    }

    .income-dashboard-card > .row > div:nth-child(2) {
        padding-left: 15px;
        margin-top: 30px;
    }

    .income-card-title h3, 
    .income-card-title h4 {
        font-size: 28px;
        line-height: 1.2;
    }

    .income-card-title h4 {
        color: #FF4D1C !important;
    }

    .income-card-desc {
        font-size: 15px;
        margin-bottom: 30px;
        max-width: 100%;
    }

    .nested-growth-card {
        padding: 20px;
    }

    .schedule-board-horizontal {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -10px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .schedule-board-horizontal::-webkit-scrollbar {
        display: none;
    }

    .schedule-item-h {
        flex: 0 0 280px;
        scroll-snap-align: start;
        background: rgba(255, 255, 255, 0.07) !important;
    }

    .ws-heading {
        color: #fff;
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .predictable-tag {
        font-size: 13px;
        padding: 15px;
        line-height: 1.4;
        margin-top: 25px;
        flex-direction: row;
        align-items: flex-start;
        background: rgba(255, 255, 255, 0.08);
        flex-wrap: wrap;
    }

    .predictable-tag strong {
        color: #fff;
    }

    .green-status-dot {
        margin-top: 5px;
        flex-shrink: 0;
    }

    .not-anymore-title {
        font-size: 32px !important;
    }

    /* Full-Width Mobile Navigation Dropdown */
    #latingles-mobile-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 1000;
        padding: 25px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #F3F4F6;
        
        /* Initial Hidden State */
        display: none;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Checkbox Toggle Logic */
    #latingles-nav-toggle:checked ~ #latingles-mobile-nav {
        display: block;
        opacity: 1;
        transform: translateY(0);
        animation: latinglesDropdownSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes latinglesDropdownSlide {
        from { transform: translateY(-20px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    .dropdown-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .dropdown-link {
        font-size: 16px;
        font-weight: 600;
        color: #1A1A1A !important;
        text-decoration: none !important;
        padding: 16px 20px;
        border-radius: 12px;
        background: #F9FAFB;
        display: flex;
        align-items: center;
        justify-content: space-between;
        
        /* Premium Stagger Initial State */
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Staggered Animations when Checkbox is Checked */
    #latingles-nav-toggle:checked ~ #latingles-mobile-nav .dropdown-link {
        opacity: 1;
        transform: translateY(0);
    }

    #latingles-nav-toggle:checked ~ #latingles-mobile-nav .dropdown-link:nth-child(1) { transition-delay: 0.1s; }
    #latingles-nav-toggle:checked ~ #latingles-mobile-nav .dropdown-link:nth-child(2) { transition-delay: 0.2s; }
    #latingles-nav-toggle:checked ~ #latingles-mobile-nav .dropdown-link:nth-child(3) { transition-delay: 0.3s; }

    .btn-become-tutor-dropdown {
        background: #FF4D1C;
        color: #fff !important;
        margin-top: 5px;
        box-shadow: 0 4px 12px rgba(255, 77, 28, 0.2);
    }
}

/* Languages Section */
.languages-section {
    background-color: #fff;
}

.language-card {
    background: #f9f9f9;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-bottom: 25px;
    min-height: 110px;
}

.language-card:hover {
    background: #fff;
    border-color: #eee;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.lang-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.lang-icon-box img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Specific colors for language icons */
.lang-icon-english {
    color: #FF4D1C;
}

.lang-icon-spanish {
    color: #8C52FF;
}

.lang-icon-french {
    color: #00BF63;
}

.lang-icon-german {
    color: #004AAD;
}

.lang-icon-italian {
    color: #FFBD59;
}

.lang-icon-chinese {
    color: #FF3131;
}

.lang-icon-arabic {
    color: #38B6FF;
}

.lang-icon-japanese {
    color: #5271FF;
}

.lang-icon-portuguese {
    color: #7ED957;
}

.lang-icon-polish {
    color: #D10000;
}

.lang-icon-dutch {
    color: #FF914D;
}

.lang-icon-urdu {
    color: #00754A;
}

.lang-icon-greek {
    color: #00A3E0;
}

.lang-icon-turkish {
    color: #E30A17;
}

.lang-icon-korean {
    color: #000000;
}

.lang-icon-hindi {
    color: #E46B02;
}

.lang-info {
    flex-grow: 1;
}

.lang-title {
    font-size: 20px;
    font-weight: 700;
    color: #0A0A0A;
    display: block;
    margin-bottom: 2px;
}

.lang-teachers {
    font-size: 14px;
    color: #888;
}

.lang-arrow {
    color: #0A0A0A;
    font-size: 18px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.language-card:hover .lang-arrow {
    opacity: 1;
}

.show-more-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #0A0A0A;
    text-decoration: none !important;
    margin-top: 20px;

    img,
    i {
        margin-right: 10px;
    }
}

/* More Languages Toggle */
.more-languages-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0, 1, 0, 1), opacity 0.5s ease;

    .language-card .lang-icon-box {
        display: none;
    }
}

.more-languages-wrapper.is-active {
    max-height: 2000px;
    opacity: 1;
    transition: max-height 0.8s cubic-bezier(1, 0, 1, 0), opacity 0.5s ease;
}

/* How Latingles Works Section */
.how-it-works-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;

    > .container {
        text-align: start;
    }
}

.how-it-works-title {
    font-size: 80px;
    font-weight: 500;
    color: #0A0A0A;
    letter-spacing: -2px;
}

.how-it-works-title span {
    color: #004AAD;
    /* Moodle/Latingles Blue */
}

.how-it-works-sub {
    font-size: 20px;
    color: #666;
    max-width: 600px;
}

/* Step Cards */
.how-it-works-steps {
    margin-top: 30px;
}

.step-card {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.step-card:hover {
    border-color: #004AAD;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.step-badge {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
}

.step-badge-1 {
    background-color: #FFE5D9;
    color: #000;
}

.step-badge-2 {
    background-color: #D8F3DC;
    color: #000;
}

.step-badge-3 {
    background-color: #E2E2E2;
    color: #000;
}

.step-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #0A0A0A;
    margin-bottom: 20px;
}

.step-text {
    font-size: 16px;
    color: #888;
    line-height: 1.6;
    margin-bottom: 40px;
}

.step-image-box {
    margin-top: auto;
    border-radius: 12px;
    overflow: hidden;
}

.step-image-box img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Group Sessions Section */
.main-content-capsule {
    background-color: #F4F7FF;
    /* Figma Light Blue-Grey */
    border-radius: 80px;
    margin: auto;
    padding-bottom: 40px;
    margin-bottom: 60px;
}

.group-experience-section {
    padding: 30px 0;

    .feature-card .feature-list+.btn-pill-orange {    
        &:hover img {
            filter: brightness(0) invert(1);
        }

        img {
            margin-left: 10px;

        }
    }
}

.lost-for-words-section{

    .not-anymore-container .btn-pill-orange {    
        &:hover img {
            filter: brightness(0) invert(1);
        }

        img {
            margin-left: 10px;

        }
    }
}

.group-sessions-header {
    text-align: center;
    margin-bottom: 10px;
}

.group-sessions-header h2 {
    font-size: 42px;
    font-weight: 500;
    color: #1A1A1A;
    margin: 0;
}

.group-sessions-header h3 {
    font-size: 42px;
    font-weight: 500;
    color: #004AAD;
    /* Moodle Blue */
    margin: 0;
}

.feature-card {
    background: #fff;
    border-radius: 40px;
    padding: 60px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

.feature-title {
    font-size: 48px;
    font-weight: 500;
    color: #0A0A0A;
    margin-bottom: 25px;
    line-height: 1.1;
}

.feature-text {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.feature-list li {
    font-size: 18px;
    color: #555;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #888;
    border-radius: 50%;
}

.btn-pill-orange {
    display: inline-flex;
    align-items: center;
    padding: 14px 35px;
    font-size: 18px;
    font-weight: 600;
    color: #FF4D1C !important;
    border: 2px solid #FF4D1C;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-pill-orange:hover {
    background-color: #FF4D1C;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(255, 77, 28, 0.2);
}

.btn-pill-orange i {
    margin-left: 15px;
}

.feature-image-box {
    text-align: center;
}

.feature-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .feature-card {
        padding: 30px;
    }

    .feature-title {
        font-size: 36px;
    }

    .group-sessions-header h2,
    .group-sessions-header h3 {
        font-size: 32px;
    }
}

/* Lost for words Section */
.lost-for-words-section {
    padding: 0 40px;
    text-align: center;

    >div.lost-for-words-div {
        background: #fff;
        border-radius: 40px;
        padding: 60px;
        border: none;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    }
}

.lost-for-words-title {
    font-size: 64px;
    font-weight: 500;
    color: #1A1A1A;
    margin-bottom: 80px;
    letter-spacing: -2px;
}

.interactive-laptop-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

@keyframes slideTrackAnim {

    0%,
    40% {
        transform: translateY(0);
    }

    50%,
    90% {
        transform: translateY(-50%);
    }

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

.laptop-main-img {
    width: 65%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
    z-index: 2;
    position: relative;
    /* Adjust for tilted perspective */
    transform: translateX(20px);
}

/* Floating Card Left */
.floating-group-card {
    position: absolute;
    left: 80px;
    top: 45%;
    transform: translateY(-50%);
    width: 360px;
    border-radius: 30px;
    text-align: left;
    z-index: 3;
}

.group-badge-title {
    background: rgba(242, 245, 255, 0.7);
    border-radius: 16px;
    padding: 18px 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: start;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    font-size: 15px;
    border: 1px solid lightgray;
    flex-direction: column;
    gap: 10px;
}

.group-tag {
    background: #FEE2E2;
    color: #BE123C;
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 16px;
    margin-right: 15px;
}

.group-name {
    font-size: 16px;
    color: #1A1A1A;
    font-weight: 600;
    line-height: 1.3;
}

.group-detail-row {
    border-bottom: 1px solid #F3F4F6;
    background: rgba(242, 245, 255, 0.7);
    border-radius: 16px;
    padding: 18px 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    font-size: 15px;
    border: 1px solid lightgray;
}

.group-detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #6B7280;
    font-weight: 500;
}

.detail-value {
    color: #111827;
    font-weight: 700;
    text-align: right;
}

/* Floating Stats Right */
.floating-stats-column {
    position: absolute;
    right: 80px;
    top: 55%;
    transform: translateY(-50%);
    width: 340px;
    z-index: 3;
}

.stat-bar-item {
    background: rgba(242, 245, 255, 0.7);
    border-radius: 16px;
    padding: 18px 30px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    font-size: 15px;
    border: 1px solid lightgray;
}

.stat-label {
    color: #4B5563;
    font-weight: 600;
}

.stat-value {
    color: #111827;
    font-weight: 800;
}

.not-anymore-title {
    font-size: 84px;
    font-weight: 500;
    color: #004AAD;
    margin-bottom: 25px;
    letter-spacing: -3px;
}

.not-anymore-sub {
    font-size: 20px;
    color: #4B5563;
    max-width: 550px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

@media (max-width: 1399px) {
    .floating-group-card {
        left: 40px;
        width: 320px;
    }

    .floating-stats-column {
        right: 40px;
        width: 300px;
    }
}

@media (max-width: 1199px) {
    .laptop-main-img {
        width: 85%;
        transform: none;
    }

    .floating-group-card,
    .floating-stats-column {
        position: static;
        transform: none;
        margin: 30px auto;
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 991px) {
    .how-it-works-title {
        font-size: 45px;
    }
}

/* PeerTalk Section */
.peertalk-section {
    background: linear-gradient(to bottom,
            rgba(6, 12, 36, 1) 0%,
            rgba(10, 21, 64, 1) 50%,
            rgba(6, 12, 36, 1) 100%);
    color: #fff;
    padding: 100px 0;

    .pt-btn-outline img {
        margin-left: 10px;
    }
}

.pt-brand {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}

.pt-brand img {
    height: 24px;
    margin-right: 12px;
}

.pt-brand i {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 12px;
    font-size: 14px;
}

.pt-title {
    font-size: 64px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
    color: white;
}

.pt-desc {
    font-size: 18px;
    color: #B2B9C8;
    line-height: 1.6;
    margin-bottom: 60px;
}

.pt-features {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.pt-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.pt-feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: #fff;
    font-size: 18px;
}

.pt-feature-text h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.pt-feature-text p {
    font-size: 15px;
    color: #8D97A8;
    margin-bottom: 0;
}

.pt-btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.pt-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.pt-btn-outline i {
    margin-left: 15px;
}

/* Session Card */
.pt-session-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 40px;
    backdrop-filter: blur(20px);
}

.pt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.pt-card-header h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: white;
}

.live-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.live-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #FF3B30;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px rgba(255, 59, 48, 0.8);
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.video-panel {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    /* Default removed to allow specific overrides */
}

.sim-ratio-portrait {
    aspect-ratio: 0.80; /* Taller for Sim 1 to match left column height */
}

.sim-ratio-standard {
    aspect-ratio: 5 / 3; /* Standard for Sim 2 */
}

.video-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-meta {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.v-info-box {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 8px;
}

.v-name {
    font-size: 13px;
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.v-location {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.v-location img {
    width: 14px;
    height: 10px;
    margin-right: 6px;
    border-radius: 2px;
}

.instructor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 10px;
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.session-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.sc-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.2s ease;
}

.sc-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.sc-btn-end {
    background: #FF3B30;
    width: 60px;
    border: none;
}

.sc-btn-end:hover {
    background: #FF453A;
}

/* Testimonial Box */
.pt-testimonial {
    margin-top: 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 30px;
}

.pt-test-text {
    font-size: 16px;
    color: #B2B9C8;
    line-height: 1.7;
    margin-bottom: 25px;
}

.pt-test-user {
    display: flex;
    align-items: center;
}

.pt-test-user img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin-right: 15px;
}

.pt-u-info h5 {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.pt-u-info span {
    font-size: 13px;
    color: #6B7280;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fff;
    padding: 120px 0;
    text-align: center;

    .rating-group {
        display: flex;
        justify-content: center;
        gap: 20px;
        align-items: center;
    }
}

.rating-badge-group {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.stars-row {
    display: flex;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.rating-text {
    font-size: 16px;
    color: #4B5563;
    font-weight: 600;
}

.tm-title {
    font-size: 64px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -2px;
}

.tm-title span.blue {
    color: #004AAD;
    display: block;
}

.tm-subtext {
    font-size: 20px;
    color: #4B5563;
    max-width: 650px;
    margin: 0 auto 80px;
    line-height: 1.6;
}

/* Carousel Container */
.tm-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.tm-card {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 60px;
}

.tm-video-box {
    position: relative;
    flex: 1;
    border-radius: 40px;
    overflow: hidden;
}

.tm-video-box>img {
    width: 100%;
    height: auto;
    display: block;
}

.play-btn-overlay {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: #FF4D1C;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 8px 20px rgba(255, 77, 28, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 3px solid white;
}

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

.tm-content {
    flex: 0.8;
}

.tm-user {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.tm-user img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-right: 20px;
}

.tm-u-meta h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #1A1A1A;
}

.tm-u-meta span {
    font-size: 14px;
    color: #6B7280;
}

.tm-stars {
    color: #FF4D1C;
    font-size: 16px;
    margin-bottom: 5px;
}

.tm-text {
    font-size: 18px;
    color: #1A1A1A;
    line-height: 1.7;
    font-weight: 500;
}


@media (max-width: 991px) {
    .tm-title {
        font-size: 44px;
    }
}

/* Become a Tutor Section */
.tutor-section {
    background-color: #fff;
    padding-bottom: 100px;
}

.tutor-sim-container {
    background-color: rgba(242, 245, 255, 1);
    border-radius: 40px;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.tutor-title {
    font-size: 64px;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.1;
    letter-spacing: -2px;
}

.tutor-title span.blue {
    color: #004AAD;
    display: block;
}

.tutor-desc {
    font-size: 20px;
    color: #4B5563;
    max-width: 500px;
    line-height: 1.6;
}

.btn-become-tutor {
    display: inline-flex;
    align-items: center;
    padding: 10px 45px;
    background-color: #FF3B30;
    color: #fff !important;
    font-weight: 500;
    font-size: 18px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    margin-bottom: 30px;
    border: 3px solid black;

    img {
        margin-left: 10px;
    }
}

.btn-become-tutor:hover {
    background-color: #E6352B;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 59, 48, 0.3);
}

.btn-become-tutor i {
    margin-left: 15px;
}

/* Income Card */
.income-dashboard-card {
    background: rgba(6, 13, 46, 1);
    border-radius: 40px;
    padding: 30px;
    color: #fff;

    > .row > div:nth-child(2) {
        padding-left: 0;
    }
}

.income-card-title h3 {
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
}

.income-card-title h4 {
    font-size: 32px;
    color: #FF3B30;
    font-weight: 500;
    margin-bottom: 10px;
}

.income-card-desc {
    font-size: 16px;
    color: white;
    line-height: 1.6;
    max-width: 480px;
}

/* Nested Growth Card */
.nested-growth-card {
    background: linear-gradient(135deg, rgba(28, 41, 77, 0.4), rgba(10, 17, 40, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

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

.growth-header span {
    font-size: 12px;
    color: #8D97A8;
    font-weight: 600;
}

.growth-status {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 80px;
}

.month-label {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.trending-badge {
    position: absolute;
    right: 0;
    background: #234369;
    color: #34C759 !important;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 10px !important;
    font-weight: 500 !important;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    transform: translateX(10px);
    border: 1px solid #2f726c;
}

.nested-growth-card:hover {
    background-color: #1e2756;
}
.nested-growth-card:hover .month-label {
    opacity: 0;
}

.nested-growth-card:hover .trending-badge {
    opacity: 1;
    transform: translateX(0);
}

.mini-graph-wrapper {
    margin: 15px 0;
}

.glowing-path {
    filter: drop-shadow(0 0 4px #34C759);
}

.glowing-point {
    filter: drop-shadow(0 0 6px #34C759);
}

.graph-dot-blue {
    filter: drop-shadow(0 0 4px rgba(0, 74, 173, 0.4));
}

.mini-graph-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.mini-graph-labels span {
    font-size: 10px;
    color: #4B5563;
}

/* Weekly Schedule */
.ws-heading {
    font-size: 14px;
    color: #4B5563;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.schedule-board-horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.schedule-item-h {
    border-radius: 20px;
    padding: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.schedule-board-horizontal {
    >div:nth-child(1) {
        background: rgba(255, 255, 255, 0.07);
        border-top: 1px solid rgba(72, 204, 216, 1);
        border-width: medium;
    }

    >div:nth-child(2) {
        background: rgba(255, 255, 255, 0.07);
        border-top: 1px solid rgba(241, 181, 23, 1);
        border-width: medium;
    }

    >div:nth-child(3) {
        background: rgba(255, 255, 255, 0.07);
        border-top: 1px solid rgba(74, 222, 128, 1);
        border-width: medium;
    }
}

.schedule-item-h:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    background-color: #1c2341 !important;
}

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

.itb-icon-bg {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.itb-icon-bg.group {
    background: rgba(0, 74, 173, 0.2);
    color: #004AAD;
}

.itb-icon-bg.practice {
    background: rgba(255, 210, 94, 0.2);
    color: #FFD25E;
}

.itb-icon-bg.private {
    background: rgba(52, 199, 89, 0.2);
    color: #34C759;
}

.it-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    text-transform: capitalize;
}

.it-badge.group {
    background: rgba(0, 74, 173, 0.1);
    color: rgba(72, 204, 216, 1);
}

.it-badge.practice {
    background: rgba(255, 210, 94, 0.1);
    color: rgba(241, 181, 23, 1);
}

.it-badge.private {
    background: rgba(52, 199, 89, 0.1);
    color: rgba(74, 222, 128, 1);
}

.item-content-h h6 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.item-content-h p {
    font-size: 12px;
    color: #8D97A8;
    margin-bottom: 15px;
}

.student-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-stack {
    display: flex;
}

.avatar-stack img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: -8px;
    border: 2px solid #010B1D;
}

.s-count {
    font-size: 14px;
    color: white;
}

.predictable-tag {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #8D97A8;
    background: rgba(255, 255, 255, 0.06);
    padding: 12px 25px;
    border-radius: 15px;
    margin-top: 15px;
}

.green-status-dot {
    width: 10px;
    height: 10px;
    background: #34C759;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 0 10px #34C759;
}

/* Right Side Simulation Cards */
.tutor-sim-card {
    border: none;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
    background: transparent;
}

.tutor-sim-card .video-grid {
    margin-bottom: 0 !important;
    background-color: rgba(255, 255, 255, 1);
    padding: 5px;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.11);
}

.sim-window-controls {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.sim-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.sim-dot.red { background: #FF5F56; }
.sim-dot.yellow { background: #FFBD2E; }
.sim-dot.green { background: #27C93F; }

.sim-overlay-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 20px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.sim-overlay-info h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #fff;
}

.sim-meta-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ms-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 11px;
    color: #fff;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ms-pill-earn {
    color: #fff;
    border: none;
    font-weight: 600;
}

.ms-pill i.fa-star {
    color: #FFD25E;
    font-size: 10px;
}

/* Tutor Section Responsive Layout */
@media (min-width: 992px) {
    .tutor-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "header sim"
            "income sim";
        column-gap: 30px;
    }

    .tutor-header-col { 
        grid-area: header; 
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
    }

    .tutor-sim-col { 
        grid-area: sim;
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
        margin-top: 0 !important;
    }

    .tutor-income-col { 
        grid-area: income;
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
    }

    /* Peer Talk Section Grid */
    .pt-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "header visual"
            "features visual";
        column-gap: 50px;
    }

    .pt-header-col { 
        grid-area: header; 
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
    }

    .pt-visual-col { 
        grid-area: visual;
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
        margin-top: 0 !important;
    }

    .pt-features-col { 
        grid-area: features;
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
    }
}

@media (max-width: 991px) {
    .tutor-title {
        font-size: 40px;
    }

    .schedule-board {
        grid-template-columns: 1fr;
    }

    .income-dashboard-card {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .tutor-row {
        display: flex !important;
        flex-direction: column !important;
    }

    .tutor-header-col { order: 1; }
    .tutor-sim-col { order: 2; margin-top: 20px !important; }
    .tutor-income-col { order: 3; margin-top: 30px !important; }

    .tutor-section {
        padding-bottom: 60px;
    }

    .tutor-section .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .tutor-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .tutor-title span.blue {
        display: inline;
    }

    .tutor-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .btn-become-tutor {
        justify-content: center;
        padding: 14px 20px;
        font-size: 16px;
        margin-bottom: 40px;
        box-shadow: 0 4px 12px rgba(255, 59, 48, 0.2);
    }

    .pt-title {
        font-size: 32px;
    }

    .pt-brand {
        font-size: 16px;
    }
    
    .pt-desc {
        font-size: 15px;
    }

    /* Peer Talk Mobile Reordering */
    .pt-row {
        display: flex !important;
        flex-direction: column !important;
    }

    .pt-header-col { order: 1; }
    .pt-visual-col { order: 2; margin-top: 30px !important; }
    .pt-features-col { order: 3; margin-top: 40px !important; }

    .pt-session-card {
        padding: 24px 16px !important;
        border-radius: 24px;
    }

    .pt-card-header {
        margin-bottom: 20px;
    }

    .pt-card-header h4 {
        font-size: 16px;
    }

    .video-grid {
        gap: 12px !important;
        margin-bottom: 25px !important;
    }

    .video-panel {
        aspect-ratio: 0.75 !important; /* Portrait 3:4 */
        border-radius: 20px !important;
    }

    .video-panel img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .video-meta {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .v-info-box {
        padding: 4px 10px;
    }

    .v-name {
        font-size: 12px;
    }

    .v-location {
        font-size: 9px;
    }

    .session-controls {
        gap: 10px !important;
    }

    .sc-btn {
        width: 48px !important;
        height: 48px !important;
        border-radius: 12px !important;
    }

    .sc-btn img {
        width: 20px !important;
        height: 20px !important;
    }

    .sc-btn-end {
        width: 60px !important;
    }

    .pt-testimonial {
        padding: 20px;
        margin-top: 20px;
    }

    .pt-test-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .sim-overlay-info {
        padding: 15px 12px 10px;
    }

    .sim-overlay-info h5 {
        font-size: 11px;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ms-pill {
        padding: 2px 8px;
        font-size: 9px;
        gap: 2px;
    }

    .ms-pill i.fa-star {
        font-size: 8px;
    }

    .instructor-badge, .live-badge {
        font-size: 9px !important;
        padding: 2px 8px !important;
        top: 8px !important;
        right: 8px !important;
    }

    .sim-window-controls {
        top: 8px;
        left: 8px;
        gap: 4px;
    }

    .sim-dot {
        width: 6px;
        height: 6px;
    }
}

/* App Promo Section */
.app-promo-section {
    background-color: #fff;
    padding: 100px 0 160px;
}

.app-promo-card {
    background: #F3F4F6;
    border-radius: 40px;
    padding: 40px;
    position: relative;
}

.app-promo-title {
    font-size: 52px;
    font-weight: 500;
    line-height: 1.1;
    color: #1A1A1A;
    letter-spacing: -1.5px;
    max-width: 700px;
}

.app-promo-title span.blue {
    color: #004AAD;
}

.app-promo-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #4B5563;
    max-width: 600px;
    font-weight: 500;
}

.app-btn {
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.app-btn:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    opacity: 0.9;
}

.app-btn i {
    font-size: 24px;
    margin-right: 10px;
}

.app-btn-text .small-text {
    font-size: 9px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2px;
    display: block;
}

.app-btn-text .large-text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    display: block;
}

/* App badge image links */
.app-badge-link {
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s, opacity 0.2s;
    text-decoration: none;
}

.app-badge-link:hover {
    transform: translateY(-3px);
    opacity: 0.88;
    text-decoration: none;
}

.app-store-badge-img {
    height: 48px;
    width: auto;
    display: block;
    object-fit: contain;
}

.app-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-stat-label {
    font-size: 13px;
    color: #6B7280;
    margin-top: 2px;
    font-weight: 600;
}

.app-fine-print {
    font-size: 13px;
    color: #9CA3AF;
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 20px;
}

.app-mockup-col {
    position: relative;
    height: 100%;
}

.app-mockup-img {
    width: 140%;
    max-width: 450px;
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translate(-95px, -62%);
    z-index: 2;
    border-bottom-right-radius: 40px;
}

@media (max-width: 1199px) {
    .app-promo-card {
        padding: 60px;
    }

    .app-promo-title {
        font-size: 44px;
    }

    .app-mockup-img {
        position: relative;
        right: 0;
        transform: none;
        top: 0;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .app-promo-card {
        padding: 40px 24px;
        border-radius: 32px;
        text-align: left;
    }

    .app-promo-section {
        padding: 60px 10px;
    }

    .app-promo-title {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .app-promo-desc {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .app-integration-row {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 30px !important;
    }

    .app-badges,
    .app-badges-flex {
        flex-direction: row !important;
        width: 100%;
        gap: 10px !important;
        flex-wrap: wrap;
    }

    .app-store-badge-img {
        height: 40px;
    }

    .app-stats-row {
        flex-direction: row !important;
        width: 100%;
        justify-content: space-between;
        border-left: none !important;
        padding-left: 0 !important;
        gap: 0 !important;
    }

    .app-stat-value {
        font-size: 20px;
    }

    .app-stat-label {
        font-size: 11px;
    }

    .app-mockup-col {
        margin-top: 40px;
        display: flex;
        justify-content: center;
    }

    .app-mockup-img {
        position: static;
        transform: none;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        margin-left: 43px;
        margin-bottom: -40px;
    }
}

/* Guarantee Section */
.guarantee-section {
    background-color: #EEF2FF;
    padding: 60px 0;
    text-align: center;
}

.guarantee-title {
    font-size: 80px;
    font-weight: 500;
    line-height: 1;
    color: #1A1A1A;
    margin-bottom: 25px;
    letter-spacing: -3px;
}

.guarantee-title span.blue {
    color: #004AAD;
    display: block;
}

.guarantee-desc {
    font-size: 22px;
    line-height: 1.5;
    color: #4B5563;
    margin: 0 auto 50px;
    max-width: 700px;
}

.btn-guarantee {
    background-color: #FF3B30;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 45px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(255, 59, 48, 0.15);
    border: 3px solid black;
}

.btn-guarantee:hover {
    background-color: #E0352B;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 59, 48, 0.25);
}

.btn-guarantee i {
    font-size: 16px;
}

@media (max-width: 991px) {
    .guarantee-title {
        font-size: 56px;
        letter-spacing: -1.5px;
    }

    .guarantee-desc {
        font-size: 18px;
    }

    .guarantee-section {
        padding: 100px 20px;
    }
}

@media (max-width: 767px) {
    .guarantee-title {
        font-size: 42px;
    }

    .btn-guarantee {
        width: 100%;
        justify-content: center;
        padding: 15px 25px;
    }
}

/* Social Section */
.social-section {
    background-color: #fff;
    padding: 120px 0;
}

.social-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.social-title {
    font-size: 48px;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.1;
    margin-bottom: 15px;
}

.social-title span.blue-italic {
    color: #004AAD;
    font-style: italic;
    font-family: 'Georgia', serif;
    font-weight: 500;
    display: block;
}

.social-desc {
    font-size: 16px;
    color: #4B5563;
    max-width: 480px;
    margin: 0;
}

.social-btn-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon-btn {
    width: 44px;
    height: 44px;
    background: #F3F4F6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #004AAD;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.social-icon-btn:hover {
    background: lightgray;
    color: #fff;
    text-decoration: none;
}

.btn-follow {
    background-color: #004AAD;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: background 0.3s;
    margin-left: 10px;
}

.btn-follow:hover {
    background-color: #001280;
    color: #fff;
    text-decoration: none;
}

.btn-follow img {
    filter: brightness(0) invert(1);
    width: 14px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: flex-start;
}

.social-card {
    aspect-ratio: 4 / 5.5;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    transition: transform 0.3s;
    cursor: pointer;
    overflow: hidden;
}

.social-card:nth-child(even) {
    margin-top: 40px;
}

.social-card:hover {
    transform: translateY(-8px);
}

/* Card Themes */
.sc-indigo {
    background-color: #000B4D;
}

.sc-green {
    background-color: #2B4C3F;
    position: relative;
    overflow: hidden;
}

.sc-green::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65%;
    height: 70%;
    background-color: #3C6654;
    border-top-left-radius: 100px;
    border-top-right-radius: 100px;
    z-index: 0;
}

.sc-green>div {
    position: relative;
    z-index: 1;
}

.sc-blue {
    background-color: #0022BC;
}

.sc-slate {
    background-color: #212121;
}

.sc-navy {
    background-color: #010B1D;
}


.social-card .sc-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    :nth-child(1) {
        width: 150px;
    }

    :nth-child(2) {
        filter: brightness(0) invert(1);
    }
}

.sc-logo-text {
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sc-social-icon {
    font-size: 20px;
    opacity: 0.8;
}

.sc-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sc-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    color: white;
}

.sc-title span.orange {
    color: #FF3B30;
}

.sc-quote {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    font-style: italic;
}

.sc-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    opacity: 0.8;
    font-weight: 600;
}

.sc-stat {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Card Specific Grid Layouts */
.sc-grid-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.sc-grid-item {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-align: center;
}

.sc-grid-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.sc-grid-item span {
    font-size: 9px;
    opacity: 0.7;
}

.sc-play-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.sc-play-btn i {
    font-size: 16px;
    margin-left: 3px;
}

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

.sc-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 8px;
}

.sc-list li i {
    font-size: 12px;
}

@media (max-width: 1199px) {
    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .social-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .social-title {
        font-size: 36px;
    }
}

@media (max-width: 767px) {
    .social-section {
        padding: 60px 0;
        overflow-x: hidden;
        padding-bottom: 0;
    }

    .social-header {
        align-items: flex-start;
        margin-bottom: 40px;
        padding: 0 20px;
    }

    .social-title {
        font-size: 32px;
    }

    .social-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        margin: 0 -20px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        align-items: flex-start; /* Ensure margins work for staggering */
        margin: 0 10px;
    }

    /* Staggered look for mobile scroll row */
    .social-card:nth-child(even) {
        margin-top: 60px !important;
    }

    .social-card {
        flex: 0 0 300px;
        aspect-ratio: auto;
        min-height: 380px;
        scroll-snap-align: start;
        margin-top: 0;
    }

    .social-btn-group {
        width: 100%;
        margin-top: 10px;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
    }

    .social-btn-group::-webkit-scrollbar {
        display: none; /* Keep it clean */
    }

    .social-icon-btn {
        flex-shrink: 0;
        width: 40px;
        height: 40px;
    }

    .btn-follow {
        margin-left: 0;
        flex-shrink: 0;
        padding: 12px 25px;
        white-space: nowrap;
    }

    .btn-follow {
        margin-left: 0;
        width: auto;
        flex-grow: 1;
        justify-content: center;
    }
}

/* Final CTA Section */
.final-cta-section {
    background-color: #fff;
    padding: 40px 0;
}

.final-cta-capsule {
    background:
        /* Layer 1: The subtle Red Radial Glow */
        radial-gradient(circle, rgba(255, 37, 0, 0.15) 0%, rgba(255, 37, 0, 0) 70%),
        /* Layer 2: The Blue to Red Linear Gradient */
        linear-gradient(90deg,
            rgba(0, 28, 177, 1) 0%,
            rgba(13, 13, 26, 1) 50%,
            rgba(179, 21, 0, 1) 100%);
    border-radius: 64px;
    padding: 100px 60px;
    color: #fff;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
}

.final-cta-title {
    font-size: 72px;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -3px;
    color: white;
}

.final-cta-btns .btn-guarantee {
    border-color: white;
    border-width: 3px;
}

.final-cta-subtitle {
    font-size: 20px;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 50px;
    opacity: 0.9;
    font-weight: 0;
}

.final-cta-footer {
    font-size: 14px;
    margin-top: 30px;
    opacity: 0.7;
    font-weight: 500;
}

@media (max-width: 1199px) {
    .final-cta-title {
        font-size: 56px;
    }

    .final-cta-capsule {
        padding: 80px 40px;
    }
}

@media (max-width: 991px) {
    .final-cta-title {
        font-size: 44px;
        letter-spacing: -1.5px;
    }

    .final-cta-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .final-cta-section {
        padding: 0px;
        padding-top: 20px;

        > .container {
            padding-left: 0;
            padding-right: 0;
        }
    }

    .final-cta-capsule {
        border-radius: 0;
        padding: 60px 20px;
    }

    .final-cta-title {
        font-size: 32px;
        letter-spacing: -1px;
    }
}

/* Footer Section */
.tm-footer {
    background-color: rgba(13, 19, 56, 1);
    color: #fff;
    padding: 100px 0 50px;
}

.footer-col-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    text-decoration: none !important;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #9CA3AF;
    margin-bottom: 30px;
}

.footer-social-links {
    display: flex;
    gap: 20px;
}

.footer-social-link {
    color: #fff;
    font-size: 20px;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-social-link:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: #fff;
}

.tm-footer .row {
    display: flex;
    flex-wrap: wrap;
}

/* Desktop Grid Layout (Figma Match) */
@media (min-width: 992px) {
    .tm-footer .row {
        display: grid;
        grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr;
        grid-template-areas: 
            "brand about  tutors  student  tutor"
            "brand support contact apps     .";
        gap: 0 30px;
        align-items: start;
    }

    .footer-col-brand { grid-area: brand; }
    .footer-col-about { grid-area: about; }
    .footer-col-tutors { grid-area: tutors; }
    .footer-col-student { grid-area: student; }
    .footer-col-tutor { grid-area: tutor; }
    .footer-col-support { grid-area: support; margin-top: 40px; }
    .footer-col-contact { grid-area: contact; margin-top: 40px; }
    .footer-col-apps { grid-area: apps; margin-top: 40px; }

    .tm-footer .row > div[class*="col-"] {
        max-width: none;
        flex: none;
        width: auto;
    }
}

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

.footer-links li {
    margin-bottom: 18px;
}

.footer-link {
    color: #9CA3AF;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #fff;
    text-decoration: none;
}

.footer-app-badges {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-app-badge {
    height: 36px;
    display: block;
}

.footer-app-badge img {
    height: 100%;
    border-radius: 6px;
}

.footer-bottom {
    margin-top: 100px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.tm-footer h4 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 14px;
    letter-spacing: 1.5px;
    color: white;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 1199px) {
    .tm-footer {
        padding: 80px 0 40px;
    }

    .footer-bottom {
        margin-top: 60px;
    }
}

@media (max-width: 991px) {
    .footer-col-brand {
        margin-bottom: 60px;
        max-width: 100%;
    }

    .footer-title {
        margin-bottom: 20px;
        margin-top: 40px;
    }

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

@media (max-width: 767px) {
    .tm-footer {
        padding: 80px 24px 60px;
    }

    .footer-col-brand {
        text-align: left;
        margin-bottom: 50px;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        order: 0;
    }

    /* Interleaved ordering for mobile matching Figma pairs */
    .footer-col-about { order: 1; }
    .footer-col-tutors { order: 2; }
    .footer-col-student { order: 3; }
    .footer-col-tutor { order: 4; }
    .footer-col-support { order: 5; }
    .footer-col-contact { order: 6; }
    .footer-col-apps { order: 7; }

    .footer-logo {
        justify-content: flex-start;
        margin-bottom: 20px;
    }

    .footer-desc {
        font-size: 14px;
        max-width: 280px;
    }

    .footer-social-links {
        justify-content: flex-start;
        gap: 16px;
    }

    /* Standardized 2-column grid for all link blocks */
    .tm-footer .row > div[class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 40px;
        padding-right: 15px;
    }

    /* Reset Brand to full width */
    .tm-footer .row > .footer-col-brand {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding-right: 0;
    }

    .tm-footer h4 {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        font-size: 14px;
        letter-spacing: 1.5px;
    }

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

    .footer-link {
        font-size: 14px;
        color: #9CA3AF;
    }

    .footer-app-badges {
        display: flex;
        flex-direction: column;
        gap: 12px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footer-app-badge img {
        height: 38px !important;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 30px;
    }
}


#page-site-index .container {
    max-width: 1500px;
    width: 100%;
}

/* Testimonials Carousel Styling */
.testimonials-section {
    padding: 120px 0;
    background-color: #fff;
    text-align: center;
}

.rating-badge-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.stars-row {
    display: flex;
    gap: 4px;
}

.stars-row img {
    width: 18px;
    height: 18px;
}

.rating-text {
    font-size: 14px;
    color: #4B5563;
    font-weight: 500;
}

.tm-title {
    font-size: 64px;
    font-weight: 500;
    color: #1A1A1A;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.tm-title .blue {
    color: #004AAD;
    display: block;
}

.tm-subtext {
    font-size: 18px;
    color: #4B5563;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

.tm-carousel-wrapper {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
}

.tm-carousel-container {
    overflow: hidden;
    border-radius: 40px;
    background: #fff;
}

.tm-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tm-card {
    flex: 0 0 100%;
    display: flex;
    gap: 40px;
    background: #fff;
    padding: 20px;
    align-items: center;
    text-align: left;
}

.tm-video-box {
    flex: 0 0 700px;
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 32px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
}

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

.tm-video-box:hover img {
    transform: scale(1.05);
}

.play-btn-overlay {
    position: absolute;
    transform: translate(5%, 5%);
    width: 72px;
    height: 72px;
    background: #FF3B30;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.4);
    transition: transform 0.3s ease, background 0.3s ease;
}

.play-btn-overlay img {
    width: 20px;
    height: 20px;
    margin-left: 4px;
    /* Offset for better balance */
    filter: brightness(0) invert(1);
}

.tm-content {
    flex: 1;
    padding: 20px 0;
}

.tm-user {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tm-user img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.tm-u-meta h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #1A1A1A;
}

.tm-u-meta span {
    font-size: 14px;
    color: #9CA3AF;
}

.tm-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.tm-stars img {
    width: 16px;
    height: 16px;
}

.tm-text {
    font-size: 16px;
    color: #1F2937;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s ease;
}

.nav-btn {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    pointer-events: auto;
    border: 1px solid #F3F4F6;
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.nav-btn img {
    width: 18px;
    opacity: 0.6;
}

.nav-btn:hover img {
    opacity: 1;
}

.nav-btn.disabled {
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

/* Dots */
.tm-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.tm-dot {
    width: 8px;
    height: 8px;
    background: #E5E7EB;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tm-dot.active {
    background: #1A1A1A;
    transform: scale(1.3);
}

@media (max-width: 1400px) {
    .carousel-nav {
        left: 10px;
        right: 10px;
    }
}

@media (max-width: 767px) {
    .carousel-nav {
        position: static;
        transform: none;
        margin-top: 20px;
        width: 100%;
        justify-content: center;
        gap: 20px;
        pointer-events: auto;
    }

    .nav-btn {
        width: 42px;
        height: 42px;
    }

    .tm-dots {
        margin-top: 20px;
    }
}

@media (max-width: 991px) {
    .tm-title {
        font-size: 48px;
    }

    .tm-card {
        flex-direction: column;
        text-align: center;
    }

    .tm-video-box {
        flex: 0 0 auto;
        width: 100%;
        border-radius: 20px;
    }

    .tm-user {
        justify-content: center;
    }

    .tm-stars {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .tm-title {
        font-size: 36px;
    }

    .tm-subtext {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .app-mockup-img {
        width: 100%;
    }

    .language-card {
        padding: 10px;
        min-height: 80px;

        .lang-info {
            .lang-title {
                font-size: 14px;

                span {
                    display: none;
                }
            }

            .lang-teachers {
                font-size: 11px;
            }
        }

        .lang-icon-box {
            margin-right: 10px;
            width: 35px;
            height: 35px;

            img {
                width: 35px;
                height: 35px;
            }
        } 
    }

    .languages-section  {
        .container {
            padding: 30px 20px !important;
        }
        .row {
            margin: 0;

            .col-sm-6:nth-child(odd) {
                padding-left: 0;
                padding-right: 5px;
            }
            .col-sm-6:nth-child(even) {
                padding-left: 5px;
                padding-right: 0;
            }
        }
    }

    .how-it-works-section {
        padding: 0;

        .step-card {
            padding: 20px;
        }
    }

    .main-content-capsule {
        border-radius: 0;

        .group-experience-section .container {
            padding: 0 !important;
        }

        .lost-for-words-section {
            padding: 0 !important;

            div.lost-for-words-div {
                padding: 40px 20px !important;
                display: flex !important;
                flex-direction: column !important;

                .lost-for-words-title {
                    font-size: 32px;
                    margin-bottom: 5px !important;
                    order: 1;
                }

                .not-anymore-container {
                    order: 2;
                    margin-top: 0;
                    margin-bottom: 30px;

                    .not-anymore-title {
                        font-size: 32px;
                        color: #004AAD;
                        font-weight: 700;
                        margin-bottom: 15px;
                    }

                    .not-anymore-sub {
                        font-size: 15px;
                        color: #4B5563;
                        margin-bottom: 25px;
                        line-height: 1.5;
                        font-weight: 500;
                    }

                    .btn-pill-orange {
                        justify-content: center;
                        margin-left: auto;
                        margin-right: auto;
                        display: flex;
                        width: fit-content;
                    }
                }

                .interactive-laptop-container {
                    order: 3;
                    margin-top: 20px;
                }
            }
        }
    }
}

#page-admin-setting-themesettinglatingles {
    .rui-setting-heading-wrapper::before {
        content: none !important;
    }
    
    .settingsform .tab-content {
        margin-bottom: 30px;
    }
}

/* Consolidated Inline Styles from Templates */
.nav-logo { height: 40px; }
.nav-chevron-down { font-size: 10px; }
.hamburger-menu-label { cursor: pointer; margin-bottom: 0; }

.hero-section {
    background-image: var(--hero-bg);
}

.lfw-badge-container { padding: 0; overflow: hidden; display: grid; gap: 0; position: relative; }
.lfw-slide-spacer { grid-area: 1 / 1; visibility: hidden; pointer-events: none; padding: 18px 30px; display: flex; flex-direction: column; gap: 10px; }
.lfw-slider-track { position: absolute; top: 0; left: 0; width: 100%; height: 200%; display: flex; flex-direction: column; animation: slideTrackAnim 10s ease-in-out infinite; }
.lfw-slide-inner { flex: 1; padding: 18px 30px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.lfw-tag-alt { background:#EBF8FF !important; color:#0369A1 !important; }
.lfw-detail-row { padding: 0; overflow: hidden; display: grid; position: relative; }
.lfw-detail-spacer { grid-area: 1 / 1; visibility: hidden; pointer-events: none; padding: 18px 30px; display: flex; justify-content: space-between; align-items: center; }
.lfw-detail-inner { height: 50%; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }
.lfw-laptop-viewport { display: grid; overflow: hidden; padding: 0; position: relative; }
.lfw-laptop-spacer { grid-area: 1 / 1; visibility: hidden; pointer-events: none; padding-bottom: 20px; }
.lfw-laptop-img { width: 100%; height: auto; display: block; }
.lfw-laptop-slide { height: 50%; width: 100%; display: flex; flex-direction: column; justify-content: flex-start; padding-bottom: 20px; }
.lfw-stat-bar { padding: 0; overflow: hidden; display: grid; position: relative; }
.lfw-stat-spacer { grid-area: 1 / 1; visibility: hidden; pointer-events: none; padding: 18px 30px; display: flex; justify-content: space-between; align-items: center; }
.lfw-stat-inner { height: 50%; padding: 0 30px; display: flex; justify-content: space-between; align-items: center; }

.show-more-icon-span { display: inline-flex; align-items: center; margin-right: 10px; }
.icon-minus-hidden { display: none; }

.sim-video-grid-1-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.sim-video-grid-group { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.sim-img-fill { width: 100%; height: 100%; object-fit: cover; }
.sim-live-badge-pos { position: absolute; top:12px; right:12px; }
.v-signal span:nth-child(1) { height: 4px; }
.v-signal span:nth-child(2) { height: 7px; }
.v-signal span:nth-child(3) { height: 10px; }

.app-integration-row { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.app-badges-flex { display: flex; gap: 12px; margin-bottom: 0; }
.app-stats-row-flex { display: flex; gap: 30px; margin-bottom: 0; align-items: center; border-left: 1px solid #E5E7EB; padding-left: 30px; }

.footer-logo-inverted { filter: brightness(0) invert(1); }
.footer-app-badge-img { height: 32px; object-fit: contain; }

/* Styles Migrated from post.scss */
body.pagelayout-login {
    background-image: url([[pix:theme_latingles|loginbackgroundimage]]);
    background-size: cover;
}
body.pagelayout-frontpage {
    background-image: url([[pix:theme_latingles|frontpagebackgroundimage]]);
    background-size: cover;
}
body.pagelayout-mydashboard {
    background-image: url([[pix:theme_latingles|dashboardbackgroundimage]]);
    background-size: cover;
}
body.pagelayout-course,
body.pagelayout-incourse {
    background-image: url([[pix:theme_latingles|incoursebackgroundimage]]);
    background-size: cover;
}
body.pagelayout-embedded,
body.pagelayout-popup,
body.pagelayout-secure,
body.pagelayout-print {
    background-image: none;
}
body {
    background-image: url([[pix:theme_latingles|defaultbackgroundimage]]);
    background-size: cover;
}

/* Theme Settings Accordion Styles */
.theme-accordion-header {
    cursor: pointer !important;
    position: relative !important;
    background: #f8f9fa !important;
    padding: 12px 20px !important;
    margin-top: 15px !important;
    margin-bottom: 2px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    user-select: none !important;

.theme-accordion-header h3 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.theme-accordion-header:hover {
    background-color: #f1f3f5 !important;
    border-color: #ced4da !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.theme-accordion-header.active {
    background-color: #e9ecef !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    margin-bottom: 0 !important;
    border-color: #dee2e6 !important;
}

.theme-accordion-header.active .accordion-icon {
    transform: rotate(180deg) !important;
}
}

.theme-accordion-content {
    background: #fff !important;
    padding: 20px 20px 10px !important;
    border: 1px solid #dee2e6 !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    margin-bottom: 12px !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
    
.theme-accordion-content .form-item.row {
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f3f5;
    padding-bottom: 0.5rem;
}

.theme-accordion-content .form-item.row:last-child {
    border-bottom: none;
}
}

.accordion-icon {
    font-size: 12px;
    color: #6c757d;
    transition: transform 0.3s ease;
}

/* Accordion styles migrated to lib.php JS injection for guaranteed loading */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.3);
    background-color: #128C7E;
    color: #FFF;
}

.whatsapp-float img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 85px;
        right: 20px;
    }
    
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}

.editmode-switch-form {
    display: none !important;
}

.amo-button-holder iframe+.amo-button--main {
    top: -35px;
    right: -50px;
}