* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================================================
   Modern Thin Custom Scrollbar (Theme Matching)
   ========================================================================== */
html {
    width: 100%;
    min-height: 100%;
    font-family: 'Inter', sans-serif;
    color: #433322;
    background-color: #FFFEF8;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #d7c5b0 transparent;
}

body {
    width: 100%;
    min-height: 100%;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #d7c5b0;
    border-radius: 10px;
    transition: background-color 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #A14600;
}

/* Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    z-index: 999;
    background-color: rgba(224, 219, 219, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(161, 70, 0, 0.08);
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .navbar.navbar-index {
        background-color: rgba(253, 251, 247, 0.72);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-bottom: 1px solid rgba(161, 70, 0, 0.12);
        box-shadow: 0 4px 24px rgba(67, 51, 34, 0.08);
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #433322;
}

.logo img {
    height: 54px;
    max-width: 270px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.logo-text h1 {
    font-family: 'Outfit', 'Alexandria', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #433322;
}

.logo-text p {
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #A14600;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #433322;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.25s ease;
    padding: 6px 14px;
    border-radius: 20px;
}

.nav-links a:hover {
    color: #A14600;
    background-color: rgba(161, 70, 0, 0.06);
}

.nav-links a.active {
    color: #A14600;
    font-weight: 700;
}

.nav-links a.nav-signin-btn {
    background-color: #A14600;
    color: #ffffff !important;
    padding: 8px 22px;
    border-radius: 24px;
    box-shadow: 0 4px 12px rgba(161, 70, 0, 0.25);
}

.nav-links a.nav-signin-btn:hover {
    background-color: #7C3702;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(161, 70, 0, 0.35);
}

.nav-campus-btn,
.nav-links a.nav-campus-btn,
.nav-links .nav-campus-btn {
    display: none !important;
}

@media (min-width: 769px) {
    .nav-campus-btn,
    .nav-links a.nav-campus-btn,
    .nav-links .nav-campus-btn {
        display: inline-flex !important;
        align-items: center;
        gap: 7px;
        background-color: #A14600 !important;
        color: #ffffff !important;
        font-family: 'Alata', sans-serif;
        font-size: 13.5px;
        font-weight: 500;
        padding: 8px 18px !important;
        border-radius: 24px !important;
        text-decoration: none;
        transition: all 0.25s ease;
        letter-spacing: 0.2px;
        box-shadow: 0 4px 12px rgba(161, 70, 0, 0.25);
        border: none !important;
    }

    .nav-campus-btn:hover,
    .nav-links a.nav-campus-btn:hover {
        background-color: #7C3702 !important;
        color: #ffffff !important;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(161, 70, 0, 0.35);
    }

    .nav-campus-arrow {
        flex-shrink: 0;
        transition: transform 0.2s ease;
    }

    .nav-campus-btn:hover .nav-campus-arrow,
    .nav-links a.nav-campus-btn:hover .nav-campus-arrow {
        transform: translate(2px, -2px);
    }
}

/* Hero Section Styling */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    background-color: #D7AF7C;
    background-image: url('images/hero_section_converted.webp');
    background-size: contain;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

/* The gradient overlay that covers the text content on the left and reaches through 'Daily.' before fading out */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, #D7AF7C 0%, #D7AF7C 52%, rgba(224, 199, 156, 0.5) 78%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 80px;
    padding-right: 20px;
    max-width: 900px;
}

.subtitle {
    font-family: 'Alan Sans', 'Inter', sans-serif;
    color: #372706;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: none;
}

.title {
    font-family: 'Alexandria', sans-serif;
    font-size: 68px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    color: #372706;
}

.description {
    font-family: 'Alan Sans', 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 500;
    color: #211c15;
    max-width: 650px;
}

.btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 14px 34px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background-color: #433322;
    color: #FFFEF8;
    box-shadow: 0 4px 12px rgba(67, 51, 34, 0.25);
}

.btn-primary:hover {
    background-color: #2b1f13;
    box-shadow: 0 6px 18px rgba(67, 51, 34, 0.35);
    transform: translateY(-2px);
}

.hero-content .btn-primary {
    background-color: #FFFFFF;
    color: #000000;
    font-family: 'Alata', sans-serif;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.hero-content .btn-primary:hover {
    background-color: #433322;
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(67, 51, 34, 0.35);
    transform: translateY(-2px);
}

.hero-actions {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    width: fit-content;
}

.hero-actions .btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    width: 100%;
}

.campus-btn-wrapper {
    margin-top: 16px;
    display: flex;
    width: 100%;
}

.btn-campus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.campus-arrow-icon {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-campus:hover .campus-arrow-icon {
    transform: translate(2px, -2px);
}

.hero-content .btn-secondary {
    font-family: 'Alata', sans-serif;
}

.btn-secondary {
    background-color: #f7f1e6;
    color: #40301e;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(67, 51, 34, 0.15);
}

.btn-secondary:hover {
    background-color: #ffffff;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* About Section */
.about-section {
    background-color: #FFFEF8;
    padding: 100px 20px 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.about-subtitle {
    font-family: 'Arimo', sans-serif;
    font-style: italic;
    color: #A14600;
    font-size: 18px;
    margin-bottom: 10px;
}

.about-title {
    font-family: 'Arimo', sans-serif;
    font-style: italic;
    color: #A14600;
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 25px;
}

.about-description {
    font-family: 'Baloo Chettan 2', sans-serif;
    color: #332d27;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.about-description .mobile-br {
    display: none;
}

.about-description .desktop-br {
    display: inline;
}

.about-link {
    font-family: 'Alata', sans-serif;
    color: #A14600;
    font-size: 19px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 50px;
    transition: transform 0.2s ease;
}

.about-link:hover {
    transform: translateX(4px);
    text-decoration: underline;
}

.features-subtitle {
    font-family: 'Arimo', sans-serif;
    font-style: italic;
    color: #A14600;
    font-size: 24px;
    margin-bottom: 50px;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 260px;
    text-align: center;
    background: #ffffff;
    padding: 36px 24px;
    border-radius: 16px;
    border: 1px solid rgba(161, 70, 0, 0.08);
    box-shadow: 0 4px 20px rgba(161, 70, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(161, 70, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.feature-title {
    font-family: 'Arimo', 'Arimo Hebrew Subset', sans-serif;
    color: #7C3702;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-text {
    font-family: 'Alata', sans-serif;
    color: #8c5b36;
    font-size: 15px;
    line-height: 1.6;
}

/* Info Section (Process & Instructor) */
.info-section {
    background-color: #FFFEF8;
    padding: 60px 20px 80px;
}

.info-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.section-title {
    font-family: 'Arimo', sans-serif;
    color: #652c00;
    font-size: 28px;
    margin-bottom: 25px;
}

.process-wrapper {
    background: #fdfbf7;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #f2e9dc;
}

.process-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-list li {
    font-family: 'Alata', sans-serif;
    color: #A14600;
    font-size: 16px;
    line-height: 1.6;
}

.step-title {
    font-family: 'Arimo', sans-serif;
    color: #7C3702;
    font-weight: 700;
    margin-right: 5px;
}

.instructor-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(161, 70, 0, 0.08);
    box-shadow: 0 4px 25px rgba(161, 70, 0, 0.04);
}

.instructor-card {
    display: flex;
    gap: 40px;
    align-items: center;
}

.instructor-image {
    width: 250px;
    height: 280px;
    border-radius: 14px;
    box-shadow: 3px 3px 10px 0px #A14600;
    object-fit: cover;
    flex-shrink: 0;
}

.instructor-details {
    flex: 1;
}

.instructor-name {
    font-family: 'Arimo', sans-serif;
    color: #333333;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 6px;
}

.instructor-role {
    font-family: 'Alata', sans-serif;
    color: #A14600;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
}

.instructor-bio {
    font-family: 'Alata', sans-serif;
    color: #4a433d;
    font-size: 15px;
    line-height: 1.75;
}

@media (max-width: 820px) {
    .instructor-card {
        flex-direction: column;
        text-align: center;
    }

    .instructor-image {
        width: 200px;
        height: 230px;
    }
}

.ssf-font {
    font-family: inherit;
    color: inherit;
}

/* CTA Section */
.cta-section {
    padding: 40px 20px 80px;
    background-color: #FFFEF8;
    display: flex;
    justify-content: center;
}

.cta-container {
    background: linear-gradient(135deg, #099A97, #13C1A3);
    width: 100%;
    max-width: 1100px;
    border-radius: 16px;
    padding: 56px 30px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(9, 154, 151, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.cta-title {
    font-family: 'Arimo', sans-serif;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 14px;
}

.cta-subtitle {
    font-family: 'Alata', sans-serif;
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.6;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #FFFEF8;
    padding: 20px 20px 80px;
    display: flex;
    justify-content: center;
}

.testimonials-container {
    width: 100%;
    max-width: 1100px;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 4px 25px rgba(161, 70, 0, 0.05);
    border: 1px solid rgba(161, 70, 0, 0.08);
}

.testimonials-heading {
    font-family: 'Arimo', sans-serif;
    color: #652c00;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.testimonial-card {
    background-color: #fdfbf7;
    border-radius: 14px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    border: 1px solid #f2e9dc;
    display: none;
    animation: slideDownEffect 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card.active {
    display: block;
}

@keyframes slideDownEffect {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

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

.quote-icon-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.testimonial-text {
    font-family: 'Alata', sans-serif;
    font-style: italic;
    color: #433322;
    font-size: 17px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 25px;
}

.testimonial-author {
    font-family: 'Arimo', sans-serif;
    color: #A14600;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.testimonial-role {
    font-family: 'Inter', sans-serif;
    color: #8c7b69;
    font-size: 14px;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #e3d3be;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-dots .dot.active {
    background-color: #A14600;
    width: 28px;
    border-radius: 10px;
}

/* ========================================================
   Courses Page Specific Styling
   ======================================================== */
.courses-hero {
    padding: 130px 20px 40px;
    text-align: center;
    background: linear-gradient(180deg, #f7efe4 0%, #FFFEF8 100%);
    border-bottom: none;
}

.courses-hero-title {
    font-family: 'Alexandria', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #372706;
    margin-bottom: 12px;
}

.courses-hero-subtitle {
    font-family: 'Alata', sans-serif;
    font-size: 17px;
    color: #7C3702;
    max-width: 700px;
    margin: 0 auto 30px;
}

.search-filter-section {
    max-width: 1100px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-bar-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 30px;
    border: 1px solid #dccbb6;
    background: #ffffff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    outline: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #A14600;
    box-shadow: 0 4px 20px rgba(161, 70, 0, 0.15);
}

.search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c7b69;
}

.category-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-pill {
    padding: 8px 18px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e5d8c8;
    color: #554433;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-pill:hover {
    border-color: #A14600;
    color: #A14600;
}

.category-pill.active {
    background: #A14600;
    color: #ffffff;
    border-color: #A14600;
    box-shadow: 0 4px 10px rgba(161, 70, 0, 0.2);
}

/* Course Grid */
.courses-container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 28px;
}

/* ==========================================================================
   Course Card - Light Theme Profile Card Style
   ========================================================================== */
.course-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #efe4d5;
    box-shadow: 0 8px 24px rgba(67, 51, 34, 0.06);
    padding: 14px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(161, 70, 0, 0.12);
    border-color: #e2ceb7;
}

.course-thumb-container {
    height: 250px;
    width: 100%;
    position: relative;
    background: #f7f1e8;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.course-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
    border-radius: 20px;
}

.course-card:hover .course-thumb {
    transform: scale(1.04);
}

.course-thumb-fallback {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d7af7c, #b3854b);
    color: #372706;
    font-size: 52px;
}

.course-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(67, 51, 34, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.course-level-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #099A97;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: capitalize;
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.course-body {
    padding: 16px 6px 4px 6px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.course-header-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.course-card-title {
    font-family: 'Alexandria', 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #372706;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    margin: 0;
    flex: 1;
}

.verified-badge {
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
}

.course-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    color: #4a4035;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 38px;
}

/* 2-Column Stats Row with Divider (Light Theme) */
.course-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #faf6ef;
    border: 1px solid #ebdccb;
    border-radius: 16px;
    padding: 11px 0;
    margin-bottom: 16px;
}

.course-stat-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.course-stat-divider {
    width: 1px;
    height: 24px;
    background: #ebdccb;
    flex-shrink: 0;
}

.stat-val {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #372706;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #8c7b69;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Action Row - Full Width Primary Pill Button */
.course-actions-row {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.btn-primary-pill {
    width: 100%;
    background: #433322;
    color: #ffffff;
    padding: 13px 20px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.22s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(67, 51, 34, 0.15);
}

.btn-primary-pill:hover {
    background: #A14600;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(161, 70, 0, 0.25);
}

.btn-primary-pill svg {
    color: #ffffff;
    flex-shrink: 0;
}

/* Skeleton Loading (Light Theme) */
.skeleton-card {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid #efe4d5;
    height: 480px;
    overflow: hidden;
    position: relative;
    padding: 14px;
}

.skeleton-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    animation: skeletonWave 1.5s infinite;
}

@keyframes skeletonWave {
    0% {
        transform: translateX(-100%);
    }

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

/* ==========================================================================
   Course Details Popup Modal
   ========================================================================== */
.course-card {
    cursor: pointer;
}

.course-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 20, 10, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.course-modal-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #efe4d5;
    box-shadow: 0 25px 60px rgba(67, 51, 34, 0.25);
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 24px;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE / Edge */
}

.course-modal-card::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Edge, Opera */
    width: 0;
    height: 0;
}

.course-modal-backdrop.active .course-modal-card {
    transform: scale(1);
}

.course-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #efe4d5;
    color: #433322;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.course-modal-close:hover {
    background: #fdfbf7;
    color: #A14600;
    transform: scale(1.08);
}

.modal-thumb-box {
    height: 220px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #f7f1e8;
    margin-bottom: 20px;
}

.modal-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-thumb-fallback {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d7af7c, #b3854b);
    color: #372706;
    font-size: 56px;
}

.modal-category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(67, 51, 34, 0.88);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 12px;
}

.modal-level-tag {
    position: absolute;
    top: 12px;
    right: 56px;
    background: #099A97;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
    padding: 5px 12px;
    border-radius: 12px;
}

.modal-title {
    font-family: 'Alexandria', 'Arimo', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #372706;
    margin-bottom: 6px;
    line-height: 1.3;
}

.modal-instructor {
    font-size: 14px;
    color: #A14600;
    font-weight: 600;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

@media (max-width: 580px) {
    .modal-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.modal-stat-card {
    background: #f7f1e7;
    border: 1px solid #ebdccb;
    border-radius: 14px;
    padding: 10px 12px;
    text-align: center;
}

.modal-stat-card .label {
    font-size: 10.5px;
    font-weight: 700;
    color: #8c7b69;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
    display: block;
}

.modal-stat-card .val {
    font-size: 14px;
    font-weight: 700;
    color: #372706;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #372706;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.modal-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #4a4035;
    line-height: 1.7;
    margin-bottom: 22px;
    white-space: pre-line;
    background: #fdfbf7;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid #efe4d5;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #efe4d5;
    padding-top: 18px;
}

.modal-actions .btn-close-modal {
    padding: 11px 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #dccbb6;
    color: #433322;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-actions .btn-close-modal:hover {
    background: #f7efe4;
    color: #A14600;
}

.modal-actions .btn-enroll-modal {
    padding: 11px 24px;
    border-radius: 12px;
    background: #A14600;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(161, 70, 0, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-actions .btn-enroll-modal:hover {
    background: #7C3702;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(161, 70, 0, 0.35);
}

/* Empty State */
.courses-empty {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #efe4d5;
    max-width: 600px;
    margin: 40px auto;
}

.courses-empty h3 {
    font-size: 20px;
    color: #433322;
    margin-bottom: 8px;
}

.courses-empty p {
    color: #8c7b69;
    font-size: 15px;
}

/* Footer */
.site-footer {
    background-color: #372706;
    color: #f7efe4;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(247, 239, 228, 0.15);
}

.footer-brand h4 {
    font-family: 'Alexandria', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFEF8;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #d8c6b2;
    max-width: 380px;
}

.footer-col h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFFEF8;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #d8c6b2;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #FFFEF8;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1100px;
    margin: 20px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #a4917b;
    flex-wrap: wrap;
    gap: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px !important;
        /* Space for the fixed bottom navigation bar */
    }

    /* Top Logo Header in Mobile (Index, Courses, Login) */
    .navbar,
    .navbar.navbar-index {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 20px 24px !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        border-bottom: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
        z-index: 10 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    .logo {
        gap: 10px !important;
        text-decoration: none !important;
    }

    .logo img {
        height: 48px !important;
        max-width: 240px !important;
        width: auto !important;
        display: block !important;
    }

    /* Bottom Navigation Bar in Mobile (Index, Courses, Login) */
    .nav-links {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 64px !important;
        background-color: #fff9f9 !important;
        z-index: 9999 !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 0 16px !important;
        border-top: 1px solid rgba(161, 70, 0, 0.08) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
        gap: 0 !important;
        overflow: visible !important;
    }

    .nav-links a {
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #433322 !important;
        padding: 8px 16px !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        flex: 1 !important;
        text-align: center !important;
        display: block !important;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: #A14600 !important;
        font-weight: 800 !important;
        background: transparent !important;
    }

    .nav-links a.nav-signin-btn {
        background-color: transparent !important;
        color: #433322 !important;
        padding: 8px 16px !important;
        border: none !important;
        box-shadow: none !important;
    }

    .nav-links a.nav-signin-btn.active {
        color: #A14600 !important;
        font-weight: 800 !important;
    }

    .nav-links a.nav-campus-btn,
    .nav-links .nav-campus-btn,
    .nav-campus-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        flex: 0 0 0 !important;
        position: absolute !important;
        left: -9999px !important;
    }

    /* Hero Section in Mobile */
    .hero-section {
        position: relative;
        height: 100vh;
        min-height: 680px;
        max-height: 860px;
        padding: 85px 24px 20px;
        background-color: #D7AF7C;
        background-image: url('images/kid-hero-mobile.webp');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg,
                #D7AF7C 0%,
                #D7AF7C 38%,
                rgba(215, 175, 124, 0.85) 45%,
                rgba(215, 175, 124, 0) 54%);
        z-index: 1;
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        margin-top: 10px;
    }

    .subtitle {
        font-family: 'Alan Sans', 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 700;
        color: #2b1f13;
        margin-bottom: 12px;
    }

    .title {
        font-family: 'Alexandria', sans-serif;
        font-size: 40px;
        font-weight: 800;
        line-height: 1.15;
        color: #24190d;
        margin-bottom: 16px;
    }

    .description {
        font-family: 'Alan Sans', 'Inter', sans-serif;
        font-size: 14px;
        line-height: 1.55;
        font-weight: 500;
        color: #2c2014;
        margin-bottom: 22px;
        text-shadow: none;
        max-width: 330px;
    }

    .hero-content .btn-group {
        display: flex;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .hero-content .btn-primary,
    .hero-content .btn-secondary {
        background-color: #fffdfa;
        color: #211c15;
        font-family: 'Alata', sans-serif;
        font-size: 13.5px;
        font-weight: 600;
        padding: 9px 20px;
        border-radius: 24px;
        border: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }

    .hero-content .btn-primary:hover,
    .hero-content .btn-secondary:hover,
    .hero-content .btn-primary:active,
    .hero-content .btn-secondary:active,
    .hero-content .btn-primary:focus,
    .hero-content .btn-secondary:focus {
        background-color: #ffffff;
        color: #211c15 !important;
        transform: translateY(-1px);
    }

    .hero-content .btn-campus:hover,
    .hero-content .btn-campus:active,
    .hero-content .btn-campus:focus {
        background-color: #ffffff;
        color: #211c15 !important;
    }

    .hero-content .btn-campus:hover .campus-arrow-icon,
    .hero-content .btn-campus:active .campus-arrow-icon,
    .hero-content .btn-campus:focus .campus-arrow-icon {
        stroke: #211c15;
    }

    .hero-actions {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        width: auto;
    }

    .campus-btn-wrapper {
        margin-top: 12px;
        width: auto;
    }

    .hero-content .btn-campus {
        width: auto;
    }

    .about-section {
        padding: 50px 20px 40px;
    }

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

    .about-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .about-description .desktop-br {
        display: none !important;
    }

    .about-description .mobile-br {
        display: block !important;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

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

    .description {
        font-size: 13.5px;
        max-width: 295px;
    }

    .hero-content .btn-primary,
    .hero-content .btn-secondary {
        padding: 8px 16px;
        font-size: 13px;
    }
}