/* ==========================================================================
   Design System & Themes
   ========================================================================== */

:root {
    /* Color Palette - Light Theme Default */
    --primary-h: 142;
    --primary-s: 70%;
    --primary-l: 45%;
    
    --secondary-h: 199;
    --secondary-s: 89%;
    --secondary-l: 48%;

    --primary: hsl(var(--primary-h), var(--primary-s), var(--primary-l));
    --primary-light: hsl(var(--primary-h), var(--primary-s), 95%);
    --primary-dark: hsl(var(--primary-h), var(--primary-s), 35%);
    --secondary: hsl(var(--secondary-h), var(--secondary-s), var(--secondary-l));
    --secondary-light: hsl(var(--secondary-h), var(--secondary-s), 95%);
    
    --bg-color: hsl(210, 20%, 98%);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-border: rgba(255, 255, 255, 0.5);
    --text-color: hsl(222, 47%, 15%);
    --text-muted: hsl(215, 16%, 47%);
    --border-color: rgba(0, 0, 0, 0.08);
    
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #06b6d4;
    
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --shadow-hover: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    
    --glass-blur: 12px;
    --transition-speed: 0.3s;
    --font-sans: 'Inter', 'Noto Sans TC', sans-serif;
    --font-heading: 'Outfit', 'Noto Sans TC', sans-serif;
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-color: hsl(222, 47%, 9%);
    --card-bg: rgba(15, 23, 42, 0.65);
    --card-border: rgba(255, 255, 255, 0.06);
    --text-color: hsl(210, 40%, 98%);
    --text-muted: hsl(215, 20%, 65%);
    --border-color: rgba(255, 255, 255, 0.08);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
    
    --primary-light: hsl(var(--primary-h), var(--primary-s), 12%);
    --secondary-light: hsl(var(--secondary-h), var(--secondary-s), 12%);
}

/* ==========================================================================
   Base Elements & Reset
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-speed), color var(--transition-speed);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Decorative Blobs */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    transition: all 1s ease;
}

.bg-glow-1 {
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -200px;
    right: -200px;
}

.bg-glow-2 {
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
}

body.dark-theme .bg-glow {
    opacity: 0.12;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--card-border);
    transition: background var(--transition-speed), border-color var(--transition-speed);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(34, 197, 94, 0.3));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Nav Menu */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 4px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-link.active::after {
    width: 80%;
    left: 10%;
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all var(--transition-speed);
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: rotate(15deg);
}

body.dark-theme .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   Content Framework & Layouts
   ========================================================================== */

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 5rem;
    flex-grow: 1;
    width: 100%;
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.tab-content.active {
    display: block;
}

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

.section-container {
    padding: 2rem 0;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--text-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-theme .section-title {
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 400;
}

/* ==========================================================================
   UI Components (Badge, Button)
   ========================================================================== */

.badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 1rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge.bg-green {
    background-color: var(--primary-light);
    color: var(--primary);
    border-color: rgba(34, 197, 94, 0.2);
}

.badge.bg-blue {
    background-color: var(--secondary-light);
    color: var(--secondary);
    border-color: rgba(14, 165, 233, 0.2);
}

.badge.bg-teal {
    background-color: hsl(174, 60%, 94%);
    color: hsl(174, 90%, 30%);
    border-color: rgba(20, 184, 166, 0.2);
}

body.dark-theme .badge.bg-teal {
    background-color: hsl(174, 60%, 12%);
    color: hsl(174, 90%, 45%);
}

.badge.bg-orange {
    background-color: hsl(24, 75%, 95%);
    color: hsl(24, 85%, 45%);
    border-color: rgba(249, 115, 22, 0.2);
}

body.dark-theme .badge.bg-orange {
    background-color: hsl(24, 75%, 12%);
    color: hsl(24, 85%, 55%);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), hsl(142, 70%, 40%));
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: rgba(0, 0, 0, 0.02);
    border-color: var(--text-color);
}

body.dark-theme .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   SECTION 1: HOME PAGE STYLES
   ========================================================================== */

.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-img:hover {
    transform: scale(1.03);
}

/* Stats Container */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 6rem;
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.stat-card {
    text-align: center;
    position: relative;
}

.stat-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -0.75rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--border-color);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-unit {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-left: 2px;
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(34, 197, 94, 0.25);
}

.service-icon-wrap {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon-wrap svg {
    width: 28px;
    height: 28px;
}

.icon-green {
    background-color: rgba(34, 197, 94, 0.15);
    color: var(--primary);
}

.icon-blue {
    background-color: rgba(14, 165, 233, 0.15);
    color: var(--secondary);
}

.icon-teal {
    background-color: rgba(20, 184, 166, 0.15);
    color: hsl(174, 90%, 35%);
}

body.dark-theme .icon-teal {
    color: hsl(174, 90%, 45%);
}

.icon-orange {
    background-color: rgba(249, 115, 22, 0.15);
    color: hsl(24, 85%, 45%);
}

body.dark-theme .icon-orange {
    color: hsl(24, 85%, 55%);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   SECTION 2: THEME COURSE (RARE PLANTS) PAGE STYLES
   ========================================================================== */

.intro-glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
}

.intro-glass-text h3 {
    font-size: 1.45rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.intro-glass-text p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.intro-glass-features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
}

.mini-feature {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
}

body.dark-theme .mini-feature {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

.mini-feature strong {
    display: block;
    color: var(--primary);
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.mini-feature span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 0.8rem;
}

.gallery-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.plant-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.plant-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(34, 197, 94, 0.2);
}

.plant-img-placeholder {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, hsl(142, 60%, 94%), hsl(199, 60%, 92%));
    overflow: hidden;
}

body.dark-theme .plant-img-placeholder {
    background: linear-gradient(135deg, hsl(142, 60%, 8%), hsl(199, 60%, 8%));
}

.plant-svg {
    width: 130px;
    height: 130px;
    transition: transform 0.5s ease;
}

.plant-card:hover .plant-svg {
    transform: scale(1.08) rotate(5deg);
}

.plant-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    color: white;
}

.plant-badge.danger { background-color: var(--danger); }
.plant-badge.warning { background-color: var(--warning); }
.plant-badge.info { background-color: var(--info); }

.plant-info {
    padding: 1.8rem;
}

.plant-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.plant-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.plant-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.2rem;
    height: 4.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.plant-digital-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-light);
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    display: inline-block;
}

/* Timeline Components */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 5px;
    height: 98%;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.5);
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    background-color: var(--secondary);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.5);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
    transition: border-color 0.3s ease;
}

.timeline-item:hover .timeline-content {
    border-color: rgba(34, 197, 94, 0.2);
}

.timeline-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   SECTION 3: FREE COURSES PAGE STYLES
   ========================================================================== */

.courses-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.course-list-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.course-list-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.course-list-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.course-list-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Year Tabs Filter */
.year-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.year-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.3s ease;
}

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

.year-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

/* Achievements grid */
.achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.achievement-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(14, 165, 233, 0.2);
}

.achievement-card.hidden {
    display: none;
}

.achievement-img-mock {
    width: 140px;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    flex-shrink: 0;
}

.icon-ai { background: linear-gradient(135deg, hsl(263, 60%, 60%), hsl(222, 60%, 50%)); }
.icon-print { background: linear-gradient(135deg, hsl(325, 60%, 55%), hsl(14, 70%, 55%)); }
.icon-camera { background: linear-gradient(135deg, hsl(174, 60%, 50%), hsl(142, 60%, 45%)); }
.icon-news { background: linear-gradient(135deg, hsl(199, 65%, 50%), hsl(210, 60%, 40%)); }

.achievement-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.achievement-year {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    background-color: var(--secondary-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    align-self: flex-start;
    margin-bottom: 0.6rem;
}

.achievement-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.achievement-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION 4: MOBILE CONSULTATION DESK PAGE STYLES
   ========================================================================== */

.consultation-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.consultation-info-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.2rem;
    font-family: var(--font-heading);
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.schedule-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.schedule-list li {
    font-size: 0.95rem;
}

.schedule-note {
    font-size: 0.85rem;
    color: var(--danger);
    font-weight: 600;
}

/* Glassmorphism Booking Form */
.booking-glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow);
}

.booking-glass-card h3 {
    font-size: 1.45rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.booking-glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.2rem;
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.required {
    color: var(--danger);
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-color);
    outline: none;
    transition: all 0.3s ease;
}

body.dark-theme .form-group input[type="text"],
body.dark-theme .form-group input[type="tel"],
body.dark-theme .form-group input[type="date"],
body.dark-theme .form-group select {
    background: rgba(15, 23, 42, 0.4);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    background: white;
}

body.dark-theme .form-group input:focus,
body.dark-theme .form-group select:focus {
    background: rgba(15, 23, 42, 0.8);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
}

body.dark-theme .checkbox-group {
    background: rgba(255, 255, 255, 0.02);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
}

.checkbox-label input {
    accent-color: var(--secondary);
    width: 16px;
    height: 16px;
}

/* Photos Section */
.photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.photo-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.photo-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.photo-info {
    padding: 1.5rem;
}

.photo-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background-color: var(--primary-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.photo-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* SVG Mock Photo Card */
.photo-card-styled {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.photo-svg-art {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-svg-art svg {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

.bg-gradient-teal {
    background: linear-gradient(135deg, hsl(174, 60%, 45%), hsl(142, 60%, 45%));
}

.bg-gradient-blue {
    background: linear-gradient(135deg, hsl(199, 80%, 45%), hsl(222, 60%, 40%));
}

/* ==========================================================================
   SECTION 5: OFFICIAL LINKS PAGE STYLES
   ========================================================================== */

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.link-card-wrap {
    display: block;
    height: 100%;
}

.link-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.link-icon {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.link-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.link-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.link-action {
    font-size: 0.92rem;
    font-weight: 600;
    transition: transform 0.3s ease;
    align-self: flex-start;
}

/* Hover Specific Border Glows */
.link-card-wrap:hover .link-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-gov:hover {
    border-color: var(--primary);
    --secondary-hover: var(--primary);
}
.link-card-wrap:hover .card-gov .link-action { color: var(--primary); }

.card-fb:hover {
    border-color: #1877f2;
}
.link-card-wrap:hover .card-fb .link-action { color: #1877f2; }

.card-line:hover {
    border-color: #06c755;
}
.link-card-wrap:hover .card-line .link-action { color: #06c755; }

.card-peopo:hover {
    border-color: var(--warning);
}
.link-card-wrap:hover .card-peopo .link-action { color: var(--warning); }

/* Contact details block */
.contact-box-glass {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.contact-box-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-box-header h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.contact-box-header p {
    color: var(--text-muted);
}

.contact-box-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.contact-icon {
    font-size: 1.8rem;
}

.contact-item h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   SECTION 6: Q&A GAME STYLES
   ========================================================================== */

#game .section-title-wrap {
    margin-bottom: 1.5rem;
}

.game-container-glass {
    max-width: 760px;
    margin: 0 auto;
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem 2.5rem;
    box-shadow: var(--shadow);
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-screen {
    animation: fadeIn 0.4s ease forwards;
    text-align: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.game-start-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.game-screen h3 {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.game-screen p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Game Playing Screen Components */
.game-progress-bar-container {
    margin-bottom: 2rem;
    text-align: left;
}

.game-progress-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.game-progress-track {
    height: 8px;
    background-color: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.game-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.game-question {
    font-size: 1.2rem;
    text-align: left;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.game-options-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.option-btn {
    text-align: left;
    padding: 0.9rem 1.4rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    color: var(--text-color);
    transition: all 0.2s ease;
}

/* Option Colors Design */
.option-color-0 {
    border-color: rgba(14, 165, 233, 0.4);
    background-color: rgba(14, 165, 233, 0.05);
}
.option-color-0:hover:not(:disabled) {
    background-color: rgba(14, 165, 233, 0.1) !important;
    border-color: rgba(14, 165, 233, 0.8) !important;
    transform: translateY(-2px);
}

.option-color-1 {
    border-color: rgba(16, 185, 129, 0.4);
    background-color: rgba(16, 185, 129, 0.05);
}
.option-color-1:hover:not(:disabled) {
    background-color: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.8) !important;
    transform: translateY(-2px);
}

.option-color-2 {
    border-color: rgba(139, 92, 246, 0.4);
    background-color: rgba(139, 92, 246, 0.05);
}
.option-color-2:hover:not(:disabled) {
    background-color: rgba(139, 92, 246, 0.1) !important;
    border-color: rgba(139, 92, 246, 0.8) !important;
    transform: translateY(-2px);
}

.option-color-3 {
    border-color: rgba(249, 115, 22, 0.4);
    background-color: rgba(249, 115, 22, 0.05);
}
.option-color-3:hover:not(:disabled) {
    background-color: rgba(249, 115, 22, 0.1) !important;
    border-color: rgba(249, 115, 22, 0.8) !important;
    transform: translateY(-2px);
}

/* Dark Theme Adaptations */
body.dark-theme .option-color-0 {
    background-color: rgba(14, 165, 233, 0.02);
    border-color: rgba(14, 165, 233, 0.25);
}
body.dark-theme .option-color-0:hover:not(:disabled) {
    background-color: rgba(14, 165, 233, 0.08) !important;
}

body.dark-theme .option-color-1 {
    background-color: rgba(16, 185, 129, 0.02);
    border-color: rgba(16, 185, 129, 0.25);
}
body.dark-theme .option-color-1:hover:not(:disabled) {
    background-color: rgba(16, 185, 129, 0.08) !important;
}

body.dark-theme .option-color-2 {
    background-color: rgba(139, 92, 246, 0.02);
    border-color: rgba(139, 92, 246, 0.25);
}
body.dark-theme .option-color-2:hover:not(:disabled) {
    background-color: rgba(139, 92, 246, 0.08) !important;
}

body.dark-theme .option-color-3 {
    background-color: rgba(249, 115, 22, 0.02);
    border-color: rgba(249, 115, 22, 0.25);
}
body.dark-theme .option-color-3:hover:not(:disabled) {
    background-color: rgba(249, 115, 22, 0.08) !important;
}

.option-btn:disabled {
    cursor: not-allowed;
}

/* Option States (Correct/Incorrect) - Must override color variants */
.option-btn.correct {
    border-color: var(--success) !important;
    background-color: rgba(34, 197, 94, 0.15) !important;
    color: var(--success) !important;
    font-weight: 700;
}

.option-btn.incorrect {
    border-color: var(--danger) !important;
    background-color: rgba(239, 68, 68, 0.15) !important;
    color: var(--danger) !important;
}

/* Feedback Box */
.game-feedback-box {
    margin-top: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid var(--border-color);
    text-align: left;
    animation: slideDown 0.3s ease forwards;
}

body.dark-theme .game-feedback-box {
    background: rgba(255, 255, 255, 0.03);
}

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

.feedback-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.feedback-explanation {
    font-size: 0.88rem;
    color: var(--text-color);
    margin-bottom: 0.8rem !important;
    line-height: 1.4;
}

/* Game End Screen */
.game-result-medal {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.score-display {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.score-highlight {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.rank-card {
    background: var(--primary-light);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 16px;
    padding: 1.8rem;
    margin-bottom: 2.5rem;
}

.rank-prefix {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.rank-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 0.2rem;
    margin-bottom: 0.6rem;
}

.rank-desc {
    font-size: 0.95rem;
    color: var(--text-color) !important;
}

.game-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

/* ==========================================================================
   Footer Component
   ========================================================================== */

.main-footer {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    border-top: 1px solid var(--card-border);
    padding: 3rem 0;
    margin-top: auto;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.footer-info h4 {
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.footer-info p {
    margin-bottom: 0.4rem;
}

.footer-copyright {
    text-align: right;
    line-height: 1.5;
}

/* ==========================================================================
   Booking Success Modal Styles
   ========================================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-content-glass {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--card-border);
    max-width: 500px;
    width: 90%;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUp {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-success-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
}

.modal-content-glass h3 {
    font-size: 1.45rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.modal-content-glass p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.submitted-details {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

body.dark-theme .submitted-details {
    background: rgba(0, 0, 0, 0.2);
}

.submitted-details p {
    margin-bottom: 0.4rem !important;
    font-size: 0.88rem !important;
    color: var(--text-color) !important;
}

.submitted-details p strong {
    color: var(--secondary);
}

.modal-note {
    font-size: 0.85rem !important;
    color: var(--danger) !important;
    font-weight: 600;
}

/* ==========================================================================
   Responsive / Media Queries
   ========================================================================== */

@media (max-width: 968px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .intro-glass-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
    }

    /* Mobile Hamburger Menu */
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 66px;
        left: 0;
        width: 100%;
        height: 0;
        background: var(--card-bg);
        backdrop-filter: blur(20px);
        border-bottom: 0 solid var(--card-border);
        overflow: hidden;
        transition: height 0.3s ease, border-bottom-width 0.1s ease;
        z-index: 99;
    }

    .main-nav.active {
        height: 320px;
        border-bottom-width: 1px;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1.2rem;
        align-items: flex-start;
    }

    .nav-link {
        width: 100%;
        display: block;
        font-size: 1.1rem;
        padding: 0.6rem;
    }

    .nav-link.active::after {
        width: 100px;
        left: 0;
    }

    /* Form Rows */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Stats container grid border lines */
    .stat-card:not(:last-child)::after {
        display: none;
    }
    
    .stat-card {
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1rem;
    }
    
    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .stats-container {
        padding: 1.5rem;
    }

    /* Header toggle animations */
    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .game-container-glass {
        padding: 1.5rem 1.2rem;
    }

    .game-options-list {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .game-question {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
}
