/* Global Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--md-sys-typescale-font-family);
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========================================
   GLASSMORPHISM TOKENS
   ======================================== */
:root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --glass-blur: 12px;
    --glass-shine: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] {
    --glass-bg: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    --glass-shine: rgba(255, 255, 255, 0.05);
}

/* ========================================
   HERO SECTION REDESIGN
   ======================================== */

/* --- Global Fixed Background --- */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: linear-gradient(135deg,
            var(--md-sys-color-surface) 0%,
            var(--md-sys-color-surface-container-low) 50%,
            var(--md-sys-color-surface) 100%);
    overflow: hidden;
}

/* --- Hero Section Container --- */
/* --- Hero Section Container --- */
.hero-section {
    position: relative;
    /* Removed overflow: hidden so content isn't clipped strictly, if needed */
    /* Removed background gradient, now in fixed-background */
    background: transparent;
    min-height: 100vh;
    /* Full screen height */
    padding-top: 64px;
    /* Optional: Balance visual center against navbar */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

/* --- Animated Gradient Blobs --- */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blobFloat 15s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
    /* Blobs stay inside fixed background */
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #00c853 0%, rgba(45, 213, 91, 0) 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.hero-blob-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #2196F3 0%, rgba(0, 188, 212, 0) 70%);
    bottom: 5%;
    right: 5%;
    animation-delay: -5s;
}

.hero-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #3B82F6 0%, rgba(16, 185, 129, 0) 70%);
    top: 40%;
    left: 45%;
    opacity: 0.3;
    animation-delay: -10s;
}

@keyframes blobFloat {

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

    25% {
        transform: translate(20px, -20px) scale(1.05);
    }

    50% {
        transform: translate(-10px, 15px) scale(0.95);
    }

    75% {
        transform: translate(-20px, -10px) scale(1.02);
    }
}

/* Keep blob-3 centered during animation */
.hero-blob-3 {
    animation-name: blobFloatCenter;
}

@keyframes blobFloatCenter {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    25% {
        transform: translate(-45%, -55%) scale(1.05);
    }

    50% {
        transform: translate(-55%, -45%) scale(0.95);
    }

    75% {
        transform: translate(-52%, -52%) scale(1.02);
    }
}

/* --- Hero Headline Gradient — SkillDrive Neon Lime --- */
.hero-headline-gradient {
    font-family: 'Inter', 'Kantumruy Pro', sans-serif !important;
    font-size: 64px !important;
    background: linear-gradient(135deg, #B6FF00 0%, #CDFF4D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 8px;
    line-height: 1.2;
}

/* Mobile responsive hero headline */
@media (max-width: 768px) {
    .hero-headline-gradient {
        font-size: 42px !important;
    }
}

/* Dark mode adjustment for headline gradient */
[data-theme="dark"] .hero-headline-gradient {
    background: linear-gradient(135deg, #B6FF00 0%, #CDFF4D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Hero Button Enhancement --- */
.btn-hero {
    height: 52px;
    padding: 0 32px;
    font-size: 16px;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* Glass Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--md-sys-color-on-surface);
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, var(--md-sys-color-primary) 0%, rgba(0, 200, 83, 0.8) 100%);
    color: var(--md-sys-color-on-primary);
    border: none;
    box-shadow: 0 8px 20px rgba(0, 200, 83, 0.25);
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.btn-hero.btn-primary:hover {
    box-shadow: 0 12px 28px rgba(0, 200, 83, 0.4);
}



.btn-hero .material-symbols-rounded {
    font-size: 20px;
}

/* --- Fade-in Animation --- */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

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

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

/* --- Mobile Scroll Indicator --- */
.scroll-indicator {
    display: none;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -8px;
}

.scroll-arrow {
    font-size: 32px;
    color: var(--md-sys-color-primary);
    opacity: 0;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-arrow:nth-child(1) {
    animation-delay: 0s;
}

.scroll-arrow:nth-child(2) {
    animation-delay: 0.15s;
    margin-top: -16px;
}

.scroll-arrow:nth-child(3) {
    animation-delay: 0.3s;
    margin-top: -16px;
}

@keyframes scrollBounce {

    0%,
    100% {
        opacity: 0;
        transform: translateY(-8px);
    }

    50% {
        opacity: 1;
        transform: translateY(8px);
    }
}

/* Show scroll indicator only on mobile */
@media (max-width: 768px) {
    .scroll-indicator {
        display: block;
    }
}

/* --- Mobile Responsive Hero --- */
@media (max-width: 768px) {
    .hero-section {
        min-height: calc(100vh - 56px);
        min-height: calc(100dvh - 56px);
        /* Mobile navbar is 56px */
    }

    .hero-blob-1 {
        width: 250px;
        height: 250px;
        top: 5%;
        left: 0;
    }

    .hero-blob-2 {
        width: 200px;
        height: 200px;
        bottom: 10%;
        right: 5%;
    }

    .hero-blob-3 {
        width: 150px;
        height: 150px;
    }

    .btn-hero {
        height: 44px;
        padding: 0 20px;
        font-size: 14px;
    }
}

/* Typography Utilities */
.display-large {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 57px;
    font-weight: 400;
}

.headline-large {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 32px;
    line-height: 40px;
    font-weight: 200;
}

.title-medium {
    font-family: var(--md-sys-typescale-font-family);
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    letter-spacing: 0.15px;
}

.body-large {
    font-family: var(--md-sys-typescale-font-family);
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.body-medium {
    font-family: var(--md-sys-typescale-font-family);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    letter-spacing: 0.25px;
}

.label-large {
    font-family: var(--md-sys-typescale-font-family);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 0.1px;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.grid {
    display: grid;
    gap: 24px;
}

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

/* Components */

/* Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 40px;
    border-radius: var(--md-sys-shape-corner-full);
    font-family: var(--md-sys-typescale-font-family);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.1px;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--md-sys-color-on-primary);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn-primary:hover::before {
    opacity: 0.08;
    /* MD3 hover state layer */
}

.btn-primary:active::before {
    opacity: 0.12;
    /* MD3 pressed state layer */
}

.btn-secondary {
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: var(--md-sys-color-on-secondary-container);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.btn-secondary:hover::before {
    opacity: 0.08;
}

/* Button Overrides for Nav */
/* Button Overrides for Nav */
.nav-btn-join {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary) !important;
    border-radius: 100px;
    font-weight: 600;
    padding: 0 28px !important;
    height: 44px !important;
    box-shadow: 0 4px 12px rgba(45, 213, 91, 0.3);
    border: none;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.nav-btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 213, 91, 0.4);
    background-color: #25b04a;
    /* Slightly darker green for hover */
}

.nav-btn-join:active {
    transform: translateY(0);
}

/* Card */
.card {
    background-color: var(--md-sys-color-surface);
    border-radius: var(--md-sys-shape-corner-medium);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card:hover {
    box-shadow: var(--md-sys-elevation-level-2);
    transform: translateY(-4px);
}

/* Clickable Card Link */
.card-link {
    display: flex;
    cursor: pointer;
}

.card-link:hover {
    background-color: var(--md-sys-color-surface-container-high);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 16px;
}

/* Navbar - Floating Pill Design */
/* Navbar - Floating Pill Design */
.top-app-bar {
    position: fixed;
    top: 0;
    /* Default: Flat at the very top */
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    height: auto;
    width: 100%;
    transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-app-bar.scrolled {
    top: 24px;
    /* Floating pill position */
}

/* Removed .scrolled .top-app-bar as pill is static */

.app-bar-content {
    pointer-events: auto;
    /* Re-enable clicks on the navbar itself */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    /* Slightly tighter container for the pill */
    margin: 0 auto;
    /* Default: Flat & Transparent */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid transparent;
    border-radius: 100px;
    /* Pill shape */
    padding: 12px 32px;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled State: Glass Pill */
.scrolled .app-bar-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.02);
    /* Tighter width on scroll if desired */
    max-width: 1100px;
}

[data-theme="dark"] .scrolled .app-bar-content {
    background: rgba(30, 30, 30, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .app-bar-content {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.logo {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 22px;
    font-weight: 500;
    color: var(--md-sys-color-primary);
}

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

.nav-link {
    font-weight: 500;
    color: var(--md-sys-color-on-surface-variant);
    padding: 8px 12px;
    border-radius: var(--md-sys-shape-corner-full);
    transition: background-color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
}

/* Spacer */
.spacer {
    flex-grow: 1;
}

/* FAQ Item */
.faq-item {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: var(--md-sys-elevation-level-1);
}

.faq-item[open] summary .material-symbols-rounded {
    transform: rotate(180deg);
}

.faq-item summary .material-symbols-rounded {
    transition: transform 0.2s ease;
}

/* Missing Typography */
.display-small {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 36px;
    line-height: 44px;
    font-weight: 400;
}

.headline-small {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .display-large {
        font-size: 36px;
        line-height: 44px;
    }

    .headline-large {
        font-size: 24px;
        line-height: 32px;
    }

    .container {
        padding: 0 24px;
    }

    .grid-cols-3 {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .top-app-bar {
        height: 56px;
    }

    /* Responsive Spacing */
    .mt-6 {
        margin-top: 32px;
    }

    .mb-6 {
        margin-bottom: 32px;
    }
}

/* ========================================
   MD3 REUSABLE COMPONENT CLASSES
   ======================================== */

/* --- Feature Card --- */
.feature-card {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-card-icon {
    font-size: 32px;
    color: var(--md-sys-color-primary);
    flex-shrink: 0;
}

.feature-card-title {
    font-weight: 500;
    margin-bottom: 4px;
}

.feature-card-text {
    color: var(--md-sys-color-on-surface-variant);
}

/* --- Stats --- */
.stat-value {
    font-size: 28px;
    font-weight: 700;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
}

/* --- Stats Grid (Why Learn Section) --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    padding: 32px;
    text-align: center;
}

.stat-number {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 56px;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    line-height: 1;
}

/* --- Icon Containers --- */
.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.icon-circle-sm {
    width: 32px;
    height: 32px;
}

.icon-circle-md {
    width: 60px;
    height: 60px;
}

.icon-circle-lg {
    width: 100px;
    height: 100px;
}

.icon-circle-primary {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-primary);
}

/* --- Check List --- */
.check-list {
    display: inline-flex;
    flex-direction: column;
    gap: 12px;
    /* MD3: 12px between list items */
    text-align: left;
    /* Keep text left-aligned within centered container */
}

/* --- Alert / Flash Message Cards --- */
.alert-card {
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    border-radius: var(--md-sys-shape-corner-medium);
}

.alert-error {
    background-color: var(--md-sys-color-error-container);
    color: var(--md-sys-color-on-error-container);
}

.alert-success {
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}

.check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    /* MD3: 8px between icon and text */
}

.check-icon {
    color: var(--md-sys-color-primary);
    flex-shrink: 0;
}

/* --- Chips --- */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--md-sys-shape-corner-full);
    background: var(--md-sys-color-surface-variant);
    font-size: 14px;
    font-weight: 500;
}

.chip-outlined {
    background: transparent;
    border: 1px solid var(--md-sys-color-outline);
}

.chip-icon {
    width: 24px;
    height: 24px;
}

/* --- Text Colors --- */
.text-primary {
    color: var(--md-sys-color-primary);
}

.text-on-surface {
    color: var(--md-sys-color-on-surface);
}

.text-on-surface-variant {
    color: var(--md-sys-color-on-surface-variant);
}

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

/* --- Spacing --- */
.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 4px;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-3 {
    margin-bottom: 16px;
}

.mb-4 {
    margin-bottom: 24px;
}

.mb-5 {
    margin-bottom: 32px;
}

.mb-6 {
    margin-bottom: 48px;
}

.mt-4 {
    margin-top: 24px;
}

.mt-5 {
    margin-top: 32px;
}

.mt-6 {
    margin-top: 48px;
}

/* --- Flex Utilities --- */
.flex {
    display: flex;
}

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

.flex-col {
    flex-direction: column;
}

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

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

.gap-2 {
    gap: 8px;
}

.gap-3 {
    gap: 12px;
}

.gap-4 {
    gap: 16px;
}

.gap-5 {
    gap: 24px;
}

.gap-6 {
    gap: 32px;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* --- Glass Effect (for hero backgrounds) --- */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--md-sys-shape-corner-extra-large);
}

/* --- CTA Card --- */
.cta-card {
    max-width: 400px;
    margin: 0 auto;
    padding: 32px;
    text-align: center;
}

.cta-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--md-sys-color-primary);
    margin-bottom: 24px;
}

/* --- Hero Description --- */
.hero-description {
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 500px;
}

/* --- Label (uppercase small text) --- */
.label-uppercase {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

/* ========================================
   PAGE-SPECIFIC STYLES
   ======================================== */

/* --- Hero Section (Shared) --- */
.page-hero {
    padding: 80px 0;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.page-hero-title {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.page-hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
}

.page-hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* --- Section (Shared) --- */
.page-section {
    padding: 80px 0;
}

.page-section-title {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 36px;
    margin-bottom: 48px;
    text-align: center;
}

/* --- Excel Page --- */
.excel-hero-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: var(--md-sys-shape-corner-large);
}

/* --- AI Page --- */
.ai-hero-title {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.ai-objectives-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.ai-objective-icon {
    width: 100px;
    height: 100px;
}

.ai-objective-title {
    font-family: var(--md-sys-typescale-display-font-family);
    font-size: 24px;
    margin-bottom: 16px;
}

/* --- About Page --- */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: center;
}

.about-profile-img {
    width: 280px;
    height: 280px;
}

.about-profile-icon {
    font-size: 80px;
}

/* --- Prose Content Containers --- */
.prose-content-md {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.prose-content-lg {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.prose-content-xl {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Icon Sizes --- */
.icon-48 {
    font-size: 48px;
}

/* Value Card Large Icon */
.value-card-icon-lg {
    font-size: 48px;
}

/* --- CTA Section (Primary Background) --- */
.cta-section {
    background: var(--md-sys-color-primary);
}

.cta-title {
    color: var(--md-sys-color-on-primary);
}

.cta-text {
    color: var(--md-sys-color-on-primary);
    opacity: 0.9;
}

.btn-cta-inverse {
    background: var(--md-sys-color-on-primary);
    color: var(--md-sys-color-primary);
}

/* ========================================
   PAGE-SPECIFIC RESPONSIVE STYLES
   ======================================== */
@media (max-width: 768px) {

    /* --- Hero Section (Shared) --- */
    .page-hero {
        padding: 48px 0;
    }

    .page-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .page-hero-title {
        font-size: 32px;
    }

    .page-hero-stats {
        justify-content: center;
    }

    .page-hero-cta {
        justify-content: center;
    }

    .page-hero-image-container {
        order: -1;
    }

    /* --- Section (Shared) --- */
    .page-section {
        padding: 48px 0;
    }

    .page-section-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    /* --- Excel Page --- */
    .excel-hero-image {
        max-width: 100%;
    }

    /* --- Digital Skills Page --- */
    .ds-hero-icon {
        font-size: 100px;
    }

    .ds-icon-container {
        order: -1;
        padding: 24px;
    }

    /* --- AI Page --- */
    .ai-hero-title {
        font-size: 36px;
    }

    .ai-objectives-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .ai-objective-icon {
        width: 80px;
        height: 80px;
    }

    .ai-objective-icon .material-symbols-rounded {
        font-size: 36px;
    }

    .ai-objective-title {
        font-size: 20px;
    }

    /* --- About Page --- */
    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .about-profile-img {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .about-profile-icon {
        font-size: 80px;
    }

    .about-hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* --- Stats Grid (Index Page) - Mobile Card Design --- */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 24px 20px;
        background-color: var(--md-sys-color-surface-container-low);
        border-radius: 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .stat-item:active {
        transform: scale(0.98);
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-item .title-medium {
        margin-top: 8px;
    }

    .stat-item .body-large {
        margin-top: 4px;
        font-size: 14px;
        line-height: 20px;
    }
}

/* ========================================
   COURSES SLIDER (Featured Courses)
   ======================================== */

/* Desktop: Fixed 3-column grid */
.courses-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.course-slide {
    min-width: 0;
    min-height: 280px;
}

/* Tablet: 2-column grid */
@media (max-width: 900px) {
    .courses-slider {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
}

/* Mobile: Horizontal scroll slider */
@media (max-width: 768px) {
    .courses-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        padding-bottom: 16px;
        margin: 0 -24px;
        padding-left: 24px;
        padding-right: 24px;
    }

    /* Hide scrollbar but keep functionality */
    .courses-slider::-webkit-scrollbar {
        display: none;
    }

    .courses-slider {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .course-slide {
        flex: 0 0 280px;
        scroll-snap-align: start;
    }
}

/* --- Featured Courses Container --- */
.featured-container {
    background-color: var(--md-sys-color-surface-container-low);
    color: var(--md-sys-color-on-surface);
}

[data-theme="dark"] .featured-container {
    background-color: var(--md-sys-color-surface-container-highest);
    color: var(--md-sys-color-on-surface);
}

/* ========================================
   INDEX PAGE - STYLE CLEANUP UTILITIES
   MD3-aligned classes for index.html
   ======================================== */

/* --- Section Padding Variant --- */
.page-section-compact {
    padding: 64px 0;
}

/* --- Featured Course Card --- */
.course-card-featured {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: none;
    border-radius: 28px;
    padding: 24px;
    background-color: var(--md-sys-color-surface);
    min-height: 280px;
}

.course-card-featured .title-medium {
    font-size: 22px;
}

.course-card-featured .body-large {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- FAB-style Link Button --- */
.btn-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-fab:hover {
    background-color: var(--md-sys-color-secondary-container);
    transform: scale(1.05);
}

.btn-fab .material-symbols-rounded {
    font-size: 24px;
}

/* --- FAB-style Button (Small) --- */
.btn-fab-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    color: #6b7280;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-fab-sm:hover {
    background: #f3f4f6;
    transform: scale(1.05);
}

.btn-fab-sm .material-symbols-rounded {
    font-size: 20px;
}

/* --- Skill Item Component --- */
.skill-item {
    cursor: pointer;
    align-items: flex-start;
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: var(--md-sys-color-surface);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: var(--md-sys-color-surface-variant);
    transform: translateX(4px);
}

.skill-item.active {
    background: var(--md-sys-color-surface-variant);
}

/* Skill Item Description Animation */
.skill-item .body-medium {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.skill-item.active .body-medium {
    max-height: 100px;
    opacity: 1;
    margin-top: 4px;
}

/* --- Skill Icon Variants --- */
.skill-icon {
    padding: 12px;
    border-radius: 12px;
    font-size: 40px;
}

.skill-icon-excel {
    color: #1e7145;
    background: #d4edda;
}

.skill-icon-digital {
    color: #0d6efd;
    background: #cfe2ff;
}

.skill-icon-ai {
    color: #7c3aed;
    background: #ede9fe;
}

/* --- Prose Content Containers --- */
.prose-content {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.prose-content-md {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.prose-content-lg {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- AI Promo Card --- */
.ai-promo-card {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
    border-radius: var(--md-sys-shape-corner-extra-large);
    padding: 48px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-promo-card:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.45);
}

.ai-promo-card .label-large {
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
}

.ai-promo-card .page-hero-title {
    font-size: 42px;
    line-height: 1.2;
    color: #ffffff;
}

.ai-promo-card .body-large {
    max-width: 480px;
    color: rgba(255, 255, 255, 0.9);
}

.ai-promo-card .icon-container {
    padding: 48px;
    border-radius: var(--md-sys-shape-corner-extra-large);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-promo-card .icon-container .material-symbols-rounded {
    font-size: 120px;
    color: #ffffff;
}

/* --- AI CTA Button --- */
.btn-ai-cta {
    height: 48px;
    padding: 0 32px;
    font-size: 16px;
    background: #ffffff;
    color: #7c3aed;
    font-weight: 600;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ai-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-ai-cta .material-symbols-rounded {
    margin-right: 8px;
}

/* --- Skill Image Container --- */
.skill-image-container {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.skill-image {
    max-width: 100%;
    border-radius: 28px;
    position: absolute;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: scale(0.95);
}

.skill-image.active {
    opacity: 1;
    transform: scale(1);
}

/* --- Value Proposition Section Header --- */
.value-proposition-section .page-section-title,
.value-proposition-section .prose-content {
    position: relative;
    z-index: 2;
}

/* --- Responsive: Index Page Utilities --- */
@media (max-width: 768px) {
    .page-section-compact {
        padding: 48px 0;
    }

    .skill-image-container {
        min-height: 280px;
    }

    .ai-promo-card {
        padding: 32px;
    }

    .ai-promo-card .page-hero-title {
        font-size: 28px;
    }

    .ai-promo-card .icon-container {
        padding: 32px;
    }

    .ai-promo-card .icon-container .material-symbols-rounded {
        font-size: 80px;
    }
}

/* ========================================
   SKILL CARDS - MOBILE RESPONSIVE (MD3)
   ======================================== */

/* Desktop: Show desktop layout, hide mobile cards */
.skill-desktop-layout {
    display: block;
}

.skill-mobile-cards {
    display: none;
}

/* Mobile: Hide desktop layout, show mobile cards */
@media (max-width: 768px) {
    .skill-desktop-layout {
        display: none;
    }

    .skill-mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    /* --- MD3 Skill Card --- */
    .skill-card {
        background: var(--md-sys-color-surface);
        border-radius: 28px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
        transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1),
            box-shadow 0.3s cubic-bezier(0.2, 0, 0, 1);
        cursor: pointer;
    }

    /* Dark mode border for skill cards */
    [data-theme="dark"] .skill-card {
        border: 1px solid var(--md-sys-color-outline-variant);
    }

    .skill-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
    }

    .skill-card:active {
        transform: scale(0.98);
    }

    /* --- Card Media (Image on Top) --- */
    .skill-card-media {
        width: 100%;
        height: 180px;
        overflow: hidden;
        position: relative;
    }

    .skill-card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1);
    }

    .skill-card:hover .skill-card-media img {
        transform: scale(1.05);
    }

    /* --- Card Content --- */
    .skill-card-content {
        padding: 16px 20px;
    }

    /* --- Card Header --- */
    .skill-card-header {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .skill-card-header .skill-icon {
        padding: 8px;
        border-radius: 8px;
        font-size: 28px;
        flex-shrink: 0;
    }

    .skill-card-header .title-medium {
        flex: 1;
        font-size: 18px;
        font-weight: 600;
    }

    .skill-card-expand {
        color: var(--md-sys-color-on-surface-variant);
        transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1);
    }

    /* --- Card Body (Expandable) --- */
    .skill-card-body {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding-top: 0;
        transition: max-height 0.3s cubic-bezier(0.2, 0, 0, 1),
            opacity 0.3s cubic-bezier(0.2, 0, 0, 1),
            padding-top 0.3s cubic-bezier(0.2, 0, 0, 1);
    }

    .skill-card-body .body-medium {
        line-height: 1.6;
    }

    .skill-card-body .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Expanded State --- */
    .skill-card.expanded {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
    }

    .skill-card.expanded .skill-card-expand {
        transform: rotate(180deg);
    }

    .skill-card.expanded .skill-card-body {
        max-height: 200px;
        opacity: 1;
        padding-top: 16px;
    }

    /* --- State Layer (MD3 Ripple Effect) --- */
    .skill-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--md-sys-color-on-surface);
        opacity: 0;
        transition: opacity 0.2s ease;
        pointer-events: none;
        border-radius: inherit;
    }

    .skill-card:hover::after {
        opacity: 0.04;
    }

    .skill-card:active::after {
        opacity: 0.08;
    }

    /* Ensure card has position relative for state layer */
    .skill-card {
        position: relative;
    }
}

/* ========================================
   ADMIN TABLES
   ======================================== */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 16px 12px;
    font-weight: 500;
    color: var(--md-sys-color-on-surface);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.admin-table td {
    padding: 16px 12px;
    color: var(--md-sys-color-on-surface-variant);
    border-bottom: 1px solid var(--md-sys-color-outline-variant);
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background-color 0.2s ease;
}

.admin-table tbody tr:hover {
    background-color: var(--md-sys-color-surface-container-high);
}

.admin-table td:last-child {
    text-align: right;
}

.admin-table th:last-child {
    text-align: right;
}

/* ========================================
   VALUE CARDS - Reusable Gradient Cards
   ======================================== */

/* Base Value Card */
.value-card {
    padding: 32px;
    border-radius: var(--md-sys-shape-corner-extra-large);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--md-sys-color-surface);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--md-sys-elevation-level-2);
}

/* Value Card Icon */
.value-card-icon {
    font-size: 40px;
    display: inline-block;
}

/* Light mode card variants - subtle tints */
.value-card-green {
    background: linear-gradient(135deg, rgba(45, 213, 91, 0.08), rgba(45, 213, 91, 0.02));
}

.value-card-green .value-card-icon {
    color: #2DD55B;
}

.value-card-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02));
}

.value-card-blue .value-card-icon {
    color: #3B82F6;
}

.value-card-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(168, 85, 247, 0.02));
}

.value-card-purple .value-card-icon {
    color: #A855F7;
}

/* Dark Mode Value Cards - Vibrant gradients */
[data-theme="dark"] .value-card-green {
    background: linear-gradient(135deg, #22C55E, #10B981);
    box-shadow: 0 20px 40px -12px rgba(34, 197, 94, 0.25);
}

[data-theme="dark"] .value-card-green:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(34, 197, 94, 0.4);
}

[data-theme="dark"] .value-card-blue {
    background: linear-gradient(135deg, #3B82F6, #06B6D4);
    box-shadow: 0 20px 40px -12px rgba(59, 130, 246, 0.25);
}

[data-theme="dark"] .value-card-blue:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.4);
}

[data-theme="dark"] .value-card-purple {
    background: linear-gradient(135deg, #A855F7, #EC4899);
    box-shadow: 0 20px 40px -12px rgba(168, 85, 247, 0.25);
}

[data-theme="dark"] .value-card-purple:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -12px rgba(168, 85, 247, 0.4);
}

/* Dark mode text and icon colors */
[data-theme="dark"] .value-card-green,
[data-theme="dark"] .value-card-blue,
[data-theme="dark"] .value-card-purple {
    color: #FFFFFF;
}

[data-theme="dark"] .value-card-green .value-card-icon,
[data-theme="dark"] .value-card-blue .value-card-icon,
[data-theme="dark"] .value-card-purple .value-card-icon {
    color: #FFFFFF;
}

[data-theme="dark"] .value-card-green .headline-small,
[data-theme="dark"] .value-card-blue .headline-small,
[data-theme="dark"] .value-card-purple .headline-small,
[data-theme="dark"] .value-card-green h3,
[data-theme="dark"] .value-card-blue h3,
[data-theme="dark"] .value-card-purple h3 {
    color: #FFFFFF;
}

[data-theme="dark"] .value-card-green .body-large,
[data-theme="dark"] .value-card-blue .body-large,
[data-theme="dark"] .value-card-purple .body-large,
[data-theme="dark"] .value-card-green p,
[data-theme="dark"] .value-card-blue p,
[data-theme="dark"] .value-card-purple p {
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   ABOUT PAGE HERO REDESIGN
   ======================================== */
.hero-split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
    text-align: left;
    min-height: 50vh;
    /* Reduced height for about page */
}

.hero-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-visual-content {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Glassy Profile Card */
.profile-glass-card {
    position: relative;
    width: 320px;
    height: 320px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    transform: rotate(-3deg);
    transition: transform 0.3s ease;
}

.profile-glass-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.profile-icon-wrapper {
    background: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-primary);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    box-shadow: var(--md-sys-elevation-level-1);
}

/* Dark mode adjustments */
[data-theme="dark"] .profile-glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-split-layout {
        flex-direction: column-reverse;
        text-align: center;
        gap: 48px;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .hero-text-content {
        align-items: center;
    }

    .profile-glass-card {
        width: 240px;
        height: 240px;
    }

    .profile-icon-wrapper {
        width: 100px;
        height: 100px;
        font-size: 48px;
    }
}

/* ========================================
   GLASSMORPHISM CARDS (New)
   ======================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    /* Lighter base */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Thinner/subtler border */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy elegant feel */
    overflow: hidden;
    position: relative;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, var(--glass-shine), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.learn-now-card {
    /* Elegant Gradient Background */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.01)) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
    /* Top highlight for depth */
    border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
    /* Left highlight */
    border-radius: 24px !important;
    padding: 40px 32px !important;
    /* Reset inline styles override */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.learn-now-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05)) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

[data-theme='dark'] .learn-now-card {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}


/* Glassmorphism Button Override */
.btn-hero.btn-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--md-sys-color-on-surface) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-hero.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
}

/* Mobile Adjustment for Floating Pill */
@media (max-width: 768px) {
    .top-app-bar {
        top: 16px;
        padding: 0 12px;
    }

    .app-bar-content {
        padding: 8px 16px;
        width: 100%;
        border-radius: 100px;
        /* Keep pill shape even on mobile */
    }

    .logo {
        font-size: 18px;
        /* Slightly smaller logo text */
    }

    /* Hide nav links is handled elsewhere, but ensure menu button fits */
    .mobile-menu-btn {
        margin-right: 8px;
    }
}

/* Ensure all other sections are transparent to show fixed background */
.page-section {
    background-color: transparent !important;
}

/* If you really want *no* background on any section, override potential specific colors */
.page-section-compact {
    background-color: transparent !important;
}