/* Root Variables */
:root {
    --primary-color: #3C8EFF;
    --secondary-color: #52c41a;
    --accent-color: #faad14;
    --danger-color: #ff4d4f;
    --info-color: #1677ff;
    --text-base: #333333;
    --text-light: #666666;
    --bg-base: #ffffff;
    --bg-gray: #f9fafb;
    --border-color: #e5e7eb;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-primary: 0px 0px 10px 0px #E1E7F3;
    --shadow-secondary: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-base);
    background-color: var(--bg-gray);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
}

@media (min-width: 640px) { .container { max-width: 640px; padding-right: 1.5rem; padding-left: 1.5rem; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; padding-right: 2rem; padding-left: 2rem; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* Header & Navigation */
.site-header {
    background-color: var(--bg-base);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

@media (min-width: 768px) {
    .header-inner {
        height: 5rem;
    }
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    container-type: inline-size;
    min-width: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .header-inner {
        height: auto !important;
        padding: 0.75rem 0;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo-area {
        flex-direction: column;
        text-align: center;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
        container-type: inline-size;
    }
    
    .logo-img {
        margin: 0 auto;
        max-width: 100%;
    }
    
    .logo-text {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 3.6cqi;
        white-space: nowrap;
        padding: 0 1rem;
        box-sizing: border-box;
        line-height: 1.5;
        font-weight: 700;
        color: var(--primary-color);
    }
}

.logo-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: min(1.25rem, 4cqi);
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

@media (min-width: 768px) {
    .logo-text {
        font-size: min(1.5rem, 4cqi);
    }
}

.main-nav {
    display: none;
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        gap: 0.1rem;
        flex-shrink: 0;
        position: relative;
    }
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 3px;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(60, 142, 255, 0.5);
    opacity: 0;
}

.nav-item {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-light);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item i {
    margin-right: 0.5rem;
}

.nav-item:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

.nav-item.active {
    background-color: transparent;
    color: var(--primary-color);
}
.nav-item.active:hover {
    color: var(--primary-color);
}

.nav-item.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    margin-left: 1rem;
}

.nav-item.btn-primary:hover {
    opacity: 0.9;
}



/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 48rem;
    color: #fff;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn i {
    margin-right: 0.5rem;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background-color: #2864c5; /* Darker shade of primary */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-lg);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.mt-4 { margin-top: 1rem; }

/* Section Common */
.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.bg-white { background-color: var(--bg-base); }
.bg-gray { background-color: var(--bg-gray); }

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}



/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Feature Cards (Intro Section) */
.text-block p {
    color: #374151;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.feature-card-mini {
    background-color: var(--bg-base);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.feature-card-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card-mini:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(60, 142, 255, 0.3);
}

.feature-card-mini:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    background-size: 150% 150%;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.icon-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(10px);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.icon-box:hover {
    background-position: 100% 100%;
    transform: scale(1.1);
}

.icon-box:hover::after {
    opacity: 0.9;
}

.icon-box i {
    font-size: 1.75rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.icon-box:hover i {
    transform: scale(1.2);
}

.icon-box.primary {
    background: radial-gradient(circle at 30% 30%, rgba(60, 142, 255, 0.2), rgba(60, 142, 255, 0.05));
}

.icon-box.secondary {
    background: radial-gradient(circle at 30% 30%, rgba(82, 196, 26, 0.2), rgba(82, 196, 26, 0.05));
}

.icon-box.info {
    background: radial-gradient(circle at 30% 30%, rgba(22, 119, 255, 0.2), rgba(22, 119, 255, 0.05));
}

.icon-box.accent {
    background: radial-gradient(circle at 30% 30%, rgba(250, 173, 20, 0.2), rgba(250, 173, 20, 0.05));
}

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-info { color: var(--info-color); }
.text-accent { color: var(--accent-color); }

.card-title {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-base);
    transition: color 0.3s ease;
    position: relative;
}

.feature-card-mini:hover .card-title {
    color: var(--primary-color);
}

.card-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.feature-card-mini:hover .card-desc {
    color: var(--text-base);
}

.text-block p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-base);
    margin-bottom: 1.5rem;
    text-align: justify;
    letter-spacing: 0.01em;
    text-indent: 2em;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.media-content {
    order: 1;
    display: flex;
    flex-direction: column;
}

.media-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-base);
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.5rem;
}

.media-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    border-radius: 1.5px;
}

@media (min-width: 768px) {
    .media-title {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .event-intro-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .text-content {
        order: 1;
    }
    
    .media-content {
        order: 2;
    }
    
    .text-block {
        padding: 2.5rem;
    }
    
    .media-content .showcase-img-wrapper {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .media-content video {
        flex-grow: 1;
        height: 100%;
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .showcase-img-wrapper {
        display: block;
    }
    
    .section {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .feature-card-mini {
        padding: 1rem;
    }
    
    .overview-card, .auth-card {
        padding: 1.25rem;
    }
    
    .event-intro-container {
        gap: 1.5rem;
    }
    
    .text-block {
        padding: 1.5rem;
    }
    
    .text-block p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-secondary);
    transition: transform 0.3s ease;
}

.showcase-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.stat-card {
    position: absolute;
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-primary);
    display: none;
}

@media (min-width: 768px) {
    .stat-card {
        display: block;
    }
}

.stat-card.bottom-left { bottom: -1.5rem; left: -1.5rem; }
.stat-card.top-right { top: -1.5rem; right: -1.5rem; }

.stat-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-icon i { font-size: 1.25rem; }

.stat-text .label { font-size: 0.875rem; color: #6b7280; }
.stat-text .value { font-size: 1.25rem; font-weight: 700; }

/* Overview Cards */
.overview-card {
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: var(--shadow-primary);
    transition: all 0.3s ease;
}

.overview-card:hover {
    box-shadow: var(--shadow-secondary);
}

.overview-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Authority Cards */
.auth-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background-color: var(--bg-gray);
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.auth-card:hover {
    box-shadow: var(--shadow-primary);
}

/* Work Requirements */
.requirements-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        align-items: start;
    }
}

.req-card {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    height: 100%;
}

@media (min-width: 768px) {
    .req-card {
        padding: 2rem;
    }
}

.req-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(60, 142, 255, 0.2);
    transform: translateY(-2px);
}

.req-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-gray);
}

.req-card-header i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.req-card-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-base);
    margin: 0;
}

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

.req-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

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

.req-item i {
    color: var(--secondary-color);
    margin-top: 0.3rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.cat-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--bg-gray);
    border-radius: 0.5rem;
    font-weight: 500;
    color: var(--text-base);
    transition: all 0.2s;
    font-size: 0.95rem;
}

.cat-item:hover {
    background-color: rgba(60, 142, 255, 0.1);
    color: var(--primary-color);
}

.cat-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 1.25rem;
    text-align: center;
}

.submission-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sub-method-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background-color: var(--bg-gray);
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.sub-method-item > div:last-child {
    flex: 1;
    min-width: 0;
}

.sub-method-item:hover {
    background-color: #f0f7ff;
}

.sub-method-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-base);
}

.sub-method-item p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

.icon-box.sm {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box.sm i {
    font-size: 1rem;
}

/* Footer */
.site-footer {
    background-color: #fff;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    padding: 3rem 0 1.5rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #111827;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #6b7280;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    color: #6b7280;
}

.contact-info i {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
    color: var(--primary-color);
}

.copyright {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f3f4f6;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Helper Utilities */
.hidden { display: none !important; }
@media (min-width: 768px) { .md\:hidden { display: none !important; } .md\:block { display: block !important; } }

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mt-8 { margin-top: 2rem; }

/* --- New Utilities Extracted from Inline Styles --- */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.p-0 { padding: 0; }
.overflow-hidden { overflow: hidden; }
.transition-transform { transition: transform 0.3s; }
.mr-2 { margin-right: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }
.object-cover { object-fit: cover; }
.text-lg { font-size: 1.125rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.text-gray-600 {
    color: #4b5563;
    margin-top: 15px;
}
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #1f2937; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.flex-col { flex-direction: column; }
.gap-4 { gap: 1rem; }

/* --- Background Colors --- */
.bg-primary-light { background-color: rgba(60, 142, 255, 0.1); }
.bg-secondary-light { background-color: rgba(82, 196, 26, 0.1); }
.bg-accent-light { background-color: rgba(250, 173, 20, 0.1); }
.bg-info-light { background-color: rgba(22, 119, 255, 0.1); }

/* --- Overview Icons --- */
.overview-icon i { font-size: 1.5rem; }

/* --- Auth External Button --- */
.btn-auth-external {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    box-shadow: 0 4px 6px -1px rgba(60, 142, 255, 0.4);
}

/* --- Timeline --- */
.timeline-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.timeline-date {
    color: #374151;
}

/* --- FAQ Section --- */
.faq-intro-text {
    margin-top: 1rem;
    color: #4b5563;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.faq-container {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-card {
    padding: 0;
    overflow: hidden;
}

.faq-toggle {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size:16px;
}

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

.faq-content {
    padding: 0 1.5rem 1rem 1.5rem;
    color: #4b5563;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.cta-bg-wrapper {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.cta-content-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 2;
}

.cta-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    background-color: white;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1); /* fallback for var(--shadow-xl) */
}

/* --- Footer --- */
.friend-links-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: #1f2937;
}
/* Optimized Mobile Layouts */
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 1.5rem;
    }

    /* Organization: Centered Vertical Layout (Compact) */
    #organization .grid-3 {
        gap: 0.75rem;
    }
    
    #organization .feature-card-mini {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    #organization .feature-card-mini .icon-box {
        margin: 0 0 0.75rem 0;
        width: 3rem;
        height: 3rem;
    }

    #organization .feature-card-mini .icon-box i {
        font-size: 1.25rem;
    }

    #organization .card-content {
        width: 100%;
    }

    #organization .card-title {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    #organization .card-desc {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    /* Event Introduction: Compact List View (Keep Horizontal for Event Intro) */
    #eventIntroduction .feature-card-mini {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 1rem;
        text-align: left;
        padding: 1rem;
        align-items: center;
    }

    #eventIntroduction .feature-card-mini .icon-box {
        grid-row: 1 / span 2;
        margin: 0;
        width: 3rem;
        height: 3rem;
    }

    #eventIntroduction .feature-card-mini .icon-box i {
        font-size: 1.25rem;
    }

    #eventIntroduction .feature-card-mini .card-title {
        grid-column: 2;
        grid-row: 1;
        margin: 0 0 0.25rem 0;
        font-size: 1rem;
    }

    #eventIntroduction .feature-card-mini .card-desc {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        font-size: 0.875rem;
        line-height: 1.4;
    }

    /* Event Overview: Compact 2-Column Grid */
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .grid-4 .overview-card {
        padding: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: 100%;
    }

    .grid-4 .overview-icon {
        width: 2.5rem;
        height: 2.5rem;
        margin-bottom: 0.5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .grid-4 .overview-icon i {
        font-size: 1rem !important;
    }

    .grid-4 .overview-card .card-title {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
        width: 100%;
    }

    .grid-4 .overview-card .card-desc {
        font-size: 0.75rem;
        line-height: 1.3;
    }
}

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

/* Friend Links */
.friend-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
  .friend-links { grid-template-columns: repeat(2, 1fr); }
}

.friend-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg-gray);
    padding: 0.75rem;
    border-radius: 0.5rem;
    color: #374151;
    transition: box-shadow 0.2s, color 0.2s;
    min-width: 0;
}

.friend-link:hover { box-shadow: var(--shadow-primary); color: var(--primary-color); }

.friend-icon { width: 1.75rem; height: 1.75rem; border-radius: 0.25rem; }
.friend-text { font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }

/* Schedule Timeline */
.schedule-timeline { position: relative; max-width: 56rem; margin: 0 auto; }
.timeline-line { position: absolute; left: 50%; transform: translateX(-50%); height: 100%; width: 4px; background-color: #e5e7eb; }
.timeline-item { gap: 0; margin-bottom: 4rem; }
.timeline-content.left { text-align: right; padding-right: 3rem; padding-bottom: 1.5rem; }
.timeline-content.right { padding-left: 3rem; }
.timeline-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 3rem; height: 3rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; z-index: 10; }
.timeline-dot.primary { background-color: var(--primary-color); }
.timeline-dot.secondary { background-color: var(--secondary-color); }
.timeline-dot.accent { background-color: var(--accent-color); }
.timeline-dot.info { background-color: var(--info-color); }

@media (max-width: 768px) {
  .schedule-timeline {
    position: relative;
    padding-left: 0;
    margin-left: 0;
  }
  
  /* Reposition the vertical line to the left */
  .timeline-line {
    display: block !important;
    left: 1.5rem !important; 
    transform: translateX(-50%) !important;
    width: 2px;
    height: 100%;
    z-index: 0;
  }
  
  /* Disable grid and add spacing for the list */
  #schedule .timeline-item.grid-2 {
    display: block;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 4rem; /* Space for dot and gap */
    gap: 0;
  }

  /* Hide empty grid cells */
  #schedule .timeline-item > div:empty {
    display: none;
  }

  /* Reset content alignment and padding */
  #schedule .timeline-content.left,
  #schedule .timeline-content.right {
    text-align: left !important;
    padding: 0 !important;
    width: 100%;
  }

  /* Header container */
  #schedule .timeline-head {
    display: block; /* Reset flex if needed, or keep block */
    margin-bottom: 0.5rem;
    position: static;
  }

  /* Position the dot absolutely on the left */
  #schedule .timeline-dot {
    position: absolute;
    left: 1.5rem !important;
    top: 0;
    transform: translateX(-50%) !important;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    margin: 0;
  }
  
  /* Align title with the dot */
  #schedule .timeline-head h3 {
    margin-bottom: 0.25rem !important;
    line-height: 1.4;
    padding-top: 0.25rem; /* Visual alignment with dot */
  }
  
  /* Adjust paragraph text color/margin if needed */
  #schedule .timeline-content p {
    color: #4b5563;
  }
}

@media (max-width: 768px) {
    #organization .grid-3 {
        gap: 0.75rem;
    }
}





