:root {
    /* Deep Wine Palette - Light Mode (Default) */
    --wine-primary: #670047;
    --wine-secondary: #5c003f;
    --wine-depth: #520038;
    --wine-deep: #480031;
    --wine-accent: #761959;

    /* Backgrounds */
    --bg-primary: #f9f9f9;
    /* Soft neutral */
    --bg-secondary: #ffffff;
    /* White surfaces */
    --bg-tertiary: #f4f4f4;

    /* Text */
    --text-primary: #1a1a1a;
    /* Near black */
    --text-secondary: #4a4a4a;
    /* Dark gray */
    --text-muted: #666666;

    /* Semantic Mappings */
    --primary: var(--wine-primary);
    --primary-hover: var(--wine-secondary);
    --secondary: var(--wine-secondary);
    --accent: var(--wine-accent);

    /* UI Elements */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(103, 0, 71, 0.1);
    --card-border: var(--wine-depth);
    /* Thin accents */
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 8px 30px rgba(103, 0, 71, 0.15);

    /* Fonts */
    --font-heading: 'Montserrat', 'Inter', sans-serif;
    --font-body: 'Poppins', 'Inter', sans-serif;

    /* Compatibility / Derived */
    --primary-light: #761959;
    /* Accent for backgrounds */
    --highlight-text: var(--wine-primary);
    /* Dark text for light mode */
    --primary-glow: rgba(103, 0, 71, 0.4);
    --secondary-glow: rgba(92, 0, 63, 0.4);
    --accent-glow: rgba(118, 25, 89, 0.4);
}

[data-theme="dark"] {
    /* Backgrounds - Academic Dark Mode (Less Glare) */
    --bg-primary: #121212;
    /* Neutral deep charcoal */
    --bg-secondary: #1e1e24;
    /* Soft dark panel */
    --bg-tertiary: #25252b;
    /* Elevated surface */

    /* Text - Softer for reading */
    --text-primary: #e6e6e6;
    /* Off-white, not harsh */
    --text-secondary: #b0b0b8;
    /* Cool grey */
    --text-muted: #757580;

    /* Highlight Text - Muted University Wine */
    --highlight-text: #dcb3c9;
    /* Desaturated pink/wine */

    /* Interactive highlights */
    --primary: #a8326b;
    /* Muted wine for dark mode */
    --primary-light: #c25e8f;
    --accent: #d48bb1;

    /* Glass Effects - Reduced Transparency/Glare */
    --glass-bg: rgba(30, 30, 36, 0.8);
    /* Darker, less transparent */
    --glass-border: rgba(255, 255, 255, 0.08);
    /* Very subtle */
    --card-border: rgba(255, 255, 255, 0.08);

    /* Shadows - Deep and diffuse */
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    --card-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.8);

    --primary-glow: rgba(168, 50, 107, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s var(--transition-smooth), color 0.3s var(--transition-smooth);
}

/* 3D Background Canvas */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.4;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 90px;
    /* Moved down to avoid nav conflict, as per request */
    right: 20px;
    z-index: 3000;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s var(--transition-smooth);
}

.theme-toggle:hover {
    transform: translateY(-2px) rotate(15deg);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-light);
}

.theme-toggle i {
    font-size: 1.2rem;
    color: var(--highlight-text);
}

/* Navigation */
/* Navigation */


header {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    max-width: 100%;
    z-index: 2000;
    padding: 0;
}

.navbar {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    border-radius: 0;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--card-shadow);
    transition: all 0.3s var(--transition-smooth);
    width: 100%;
    margin: 0;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-logo {
    width: 160px;
    height: auto;
    max-height: 160px;
    /* Increased max-height */
    object-fit: contain;
    filter: drop-shadow(0 2px 8px var(--primary-glow));
    transition: transform 0.3s var(--transition-smooth), filter 0.3s var(--transition-smooth);
}

[data-theme="dark"] .navbar-logo {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 30px var(--primary));
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.logo-cube {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px var(--primary-glow);
    transform-style: preserve-3d;
    transition: transform 0.3s var(--transition-smooth);
}

.logo-cube:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

.logo-text h2 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 5px;
    list-style: none;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 12px;
    transition: all 0.3s var(--transition-smooth);
    font-size: 1rem;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 2;
    cursor: pointer;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 3px;
    transition: transform 0.4s var(--transition-smooth), opacity 0.3s ease;
    opacity: 0;
    box-shadow: 0 2px 10px var(--primary-glow);
}

.nav-links a:hover {
    color: var(--highlight-text);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(0.6);
    opacity: 0.5;
}

.nav-links a.active {
    color: var(--highlight-text);
}

.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

/* Hide the old nav-pill - now using ::after instead */
.nav-pill {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 180px 5% 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Hands Container */
.hands-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hand {
    position: absolute;
    top: 50%;
    width: 600px;
    height: auto;
    transform: translateY(-50%);
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
    transition: filter 0.5s var(--transition-smooth);
    will-change: transform;
    background: none;
}

.hand.touching {
    filter: drop-shadow(0 0 60px var(--primary-glow)) drop-shadow(0 0 90px var(--secondary-glow));
}

.robot-hand {
    left: -550px;
    transform-origin: left center;
}

.human-hand {
    right: -550px;
    transform-origin: right center;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
}

.organizer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    /* ensure proper spacing */
}

.sponsor-line {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--highlight-text);
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.organizer-logos {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

.organizer-logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeInScale 0.8s ease-out forwards;
}

.organizer-logo-img:nth-child(2) {
    height: 250px;
    /* Increased size for Korea Logo specifically */
    animation-delay: 0.3s;
}

.organizer-logo-img.uni-logo {
    height: 160px;
}

.organizer-logo-img:hover {
    transform: scale(1.05);
}

/* Dark Mode - Korea Logo Glow Effect */
[data-theme="dark"] .organizer-logo-img:nth-child(2),
[data-theme="dark"] .organizer-logo-img:nth-child(3) {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 60px var(--primary)) brightness(1.2);
}

[data-theme="dark"] .organizer-logo-img.uni-logo {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 30px var(--primary));
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Organizer Logos */
@media (max-width: 768px) {
    .organizer-logos {
        flex-direction: column;
        gap: 20px;
    }

    .organizer-logo-img {
        height: 100px;
    }

    .organizer-logo-img.uni-logo {
        height: 130px;
    }
}

.hero-tag {
    background: var(--primary-glow);
    padding: 10px 28px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--highlight-text);
    font-size: 0.95rem;
    margin-bottom: 25px;
    border: 1px solid var(--primary-light);
    display: inline-block;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}

.hero h1::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: -10px;
    width: 60px;
    height: 8px;
    background: var(--primary);
    border-radius: 4px;
    opacity: 0.8;
}

.hero-subtitle {
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn {
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transform-style: preserve-3d;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--wine-primary);
    /* #670047 */
    color: white;
    box-shadow: 0 4px 15px rgba(103, 0, 71, 0.3);
    border: none;
}

.btn-primary:hover {
    background: var(--wine-secondary);
    /* #5c003f */
    box-shadow: 0 8px 25px rgba(103, 0, 71, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--wine-primary);
    /* #670047 border */
}

.btn-secondary:hover {
    background: var(--wine-depth);
    /* #520038 */
    color: white;
    border-color: var(--wine-depth);
    box-shadow: 0 4px 15px rgba(82, 0, 56, 0.3);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

/* 3D Timer in Hero */
.timer-wrapper {
    margin: 40px auto 20px;
    perspective: 1000px;
}

.timer-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    transform-style: preserve-3d;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform-style: preserve-3d;
    transition: transform 0.3s var(--transition-smooth);
}

.time-unit:hover {
    transform: translateZ(20px) rotateX(10deg);
}

.time-box-3d {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
    position: relative;
    transform-style: preserve-3d;
    animation: float-timer 6s ease-in-out infinite;
}

/* Different float delays for variety */
.time-unit:nth-child(2) .time-box-3d {
    animation-delay: 1s;
}

.time-unit:nth-child(3) .time-box-3d {
    animation-delay: 2s;
}

.time-unit:nth-child(4) .time-box-3d {
    animation-delay: 3s;
}

.time-box-3d::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    opacity: 0.3;
}

.time-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    font-weight: 600;
}

@keyframes float-timer {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

[data-theme="dark"] .time-box-3d {
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 20px var(--primary-glow),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .time-box-3d::before {
    opacity: 0.6;
    filter: blur(5px);
}

.committee-3d-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.5s var(--transition-smooth);
}

.committee-3d-img:hover {
    transform: scale(1.05);
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s var(--transition-smooth);
    transform-style: preserve-3d;
    cursor: pointer;
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-light);
}

.info-card {
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.8;
}

.info-card:hover {
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.25);
    border-color: var(--primary-light);
    transform: translateY(-10px) scale(1.02);
}

.info-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% -20%, var(--primary-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.info-card:hover::after {
    opacity: 1;
}

.info-card i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 10px 20px var(--primary-glow));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.info-card h3 {
    color: var(--highlight-text);
    margin-bottom: 12px;
    font-size: 1.4rem;
    font-weight: 700;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Sections */
section {
    padding: 120px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    scroll-margin-top: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--highlight-text);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Tracks & Committee - Tree Layout */
.tree-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tree-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 140px;
}

.tree-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.tree-item:hover::before {
    opacity: 0.05;
}

.tree-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(103, 0, 71, 0.15);
    border-color: var(--primary-light);
}

.tree-item h4 {
    color: var(--highlight-text);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    transition: color 0.4s ease;
}

.tree-item:hover h4 {
    color: var(--primary);
}

.tree-item p {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Committee Cards */
.committee-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.committee-card:hover {
    transform: translateY(-5px);
}

.committee-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.committee-card:hover::before {
    opacity: 0.15;
}

.committee-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: 0 8px 20px var(--primary-glow);
    transition: all 0.3s ease;
    border: 3px solid var(--bg-secondary);
}

/* Keynote Speakers Section */
#keynote {
    position: relative;
    /* Soft background contrast handled by glass cards */
}

.keynote-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.speaker-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: row;
    /* Image left, content right */
    align-items: stretch;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-light);
}

.speaker-image-container {
    flex: 0 0 200px;
    /* Fixed width for image */
    overflow: hidden;
    position: relative;
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.speaker-card:hover .speaker-img {
    transform: scale(1.1);
}

.speaker-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.speaker-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--highlight-text);
    margin-bottom: 5px;
}

.speaker-title {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .speaker-card {
        flex-direction: column;
    }

    .speaker-image-container {
        height: 250px;
        flex: none;
    }

    .keynote-grid {
        grid-template-columns: 1fr;
    }
}

.committee-card:hover .committee-img {
    box-shadow: 0 12px 30px var(--primary-glow);
    transform: scale(1.05);
}

.committee-card h4 {
    color: var(--highlight-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.committee-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* Structure & Tree Layout */
.structure-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* New Date Highlight Card */
.conference-days-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    perspective: 1000px;
}

.date-highlight-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 30px 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 1px solid var(--primary-light);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(103, 0, 71, 0.15);
    text-align: left;
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.date-highlight-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(103, 0, 71, 0.25);
}

.date-icon-box {
    font-size: 3rem;
    color: var(--primary);
    background: rgba(103, 0, 71, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-content {
    display: flex;
    flex-direction: column;
}

.date-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
    letter-spacing: 1.5px;
}

.date-big-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .date-highlight-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

#structure-wrapper {
    position: relative;
    max-width: 1800px;
}

.tree-line {
    position: absolute;
    left: 50%;
    top: 100px;
    bottom: 100px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--primary), var(--secondary), transparent);
    transform: translateX(-50%);
    z-index: -1;
    opacity: 0.3;
}

.committee-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.hierarchy-line-system {
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    z-index: 0;
}

.main-trunk {
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--primary));
    box-shadow: 0 0 20px var(--primary-glow);
    animation: flow-line 5s infinite alternate;
}

@keyframes flow-line {
    0% {
        filter: brightness(1) drop-shadow(0 0 5px var(--primary));
    }

    100% {
        filter: brightness(1.5) drop-shadow(0 0 15px var(--secondary));
    }
}

.committee-branch {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 1600px;
    position: relative;
    backdrop-filter: blur(10px);
}

.branch-title {
    text-align: center;
    color: var(--highlight-text);
    margin-bottom: 40px;
    font-size: 1.6rem;
    font-weight: 900;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 12px 40px;
    border-radius: 50px;
    border: 1px solid var(--primary-light);
    box-shadow: 0 10px 25px rgba(103, 0, 71, 0.1);
    letter-spacing: -1px;
    z-index: 2;
}

.branch-title::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    box-shadow: 0 0 15px var(--primary);
}

.connect-line {
    height: 40px;
    width: 2px;
    background: var(--primary);
    opacity: 0.5;
}

.committee-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

@media (max-width: 1024px) {
    .committee-grid-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-links a {
        font-size: 0.95rem;
        padding: 8px 12px;
    }

    .navbar-logo {
        width: 70px;
        max-height: 70px;
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .logo-group {
        margin-bottom: 5px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .nav-links a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }

    .navbar-logo {
        width: 60px;
        max-height: 60px;
    }
}

/* Tour Section - Interactive SVG Map */
.tour-section {
    position: relative;
    padding: 100px 5%;
    min-height: 300vh;
}

.tour-map-sticky-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 60px 5%;
    background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(79, 70, 229, 0.05) 100%);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.sri-lanka-map {
    width: 100%;
    max-width: 450px;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.2));
}

/* SVG Map Animations */
.map-path {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.region-circle {
    transition: opacity 0.6s ease-out;
}

.map-outline {
    opacity: 0;
    animation: mapFadeIn 0.8s ease-out forwards;
}

@keyframes mapFadeIn {
    to {
        opacity: 1;
    }
}

.location-marker {
    transition: opacity 0.5s ease-out, r 0.5s ease-out;
}

.marker-pulse {
    animation: pulseGlow 1.5s ease-out forwards;
    opacity: 0 !important;
}

@keyframes pulseGlow {
    0% {
        r: 8px;
        opacity: 0.8;
        stroke-width: 2;
    }

    100% {
        r: 25px;
        opacity: 0;
        stroke-width: 2;
    }
}

.route-line {
    transition: opacity 0.6s ease-out, stroke-dashoffset 0.8s ease-out;
}

.location-label,
.location-sublabel {
    transition: opacity 0.5s ease-out;
}

.day-title,
.day-subtitle {
    transition: opacity 0.5s ease-out;
}

/* Day Groups */
.day-group {
    opacity: 1;
}

/* Tour Info Container */
.tour-info-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: flex-start;
}

.tour-day-info {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.6s ease-out;
    min-height: 300px;
}

.tour-day-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--highlight-text);
}

.tour-day-info p {
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-secondary);
}

.tour-day-info ul {
    list-style: none;
}

.tour-day-info li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.8;
}

.tour-day-info li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .tour-map-sticky-container {
        grid-template-columns: 1fr;
        padding: 40px 5%;
    }

    .sri-lanka-map {
        max-width: 100%;
    }

    .tour-day-info {
        padding: 30px;
    }

    .tour-day-info h3 {
        font-size: 1.5rem;
    }
}

/* Updated Footer */
.main-footer {
    background: linear-gradient(to bottom, var(--wine-deep), #2a001d);
    color: white;
    padding: 100px 0 0;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
}

.footer-content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-brand-section {
    flex: 2;
    min-width: 320px;
}

.footer-logo-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
}

@keyframes footer-logo-glow {

    0%,
    100% {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 25px var(--primary-glow));
        transform: translateY(0);
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.7)) drop-shadow(0 0 40px var(--primary-glow));
        transform: translateY(-5px);
    }
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 25px var(--primary-glow));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: footer-logo-glow 4s infinite ease-in-out;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px;
}

.footer-logo:nth-child(2) {
    animation-delay: 0.5s;
}

.footer-logo:nth-child(3) {
    animation-delay: 1s;
}

.footer-logo:hover {
    transform: scale(1.15) translateY(-8px) rotate(5deg);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 50px var(--primary-glow));
    animation-play-state: paused;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .footer-logo {
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 50px var(--primary)) drop-shadow(0 0 80px var(--primary));
}

.footer-brand-section h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, white 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.footer-brand-section p {
    color: #94a3b8;
    max-width: 450px;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 35px;
}

.social-links-row {
    display: flex;
    gap: 15px;
}

.social-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 25px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-pill:hover {
    background: var(--wine-primary);
    border-color: var(--wine-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(103, 0, 71, 0.3);
}

.footer-nav-section,
.footer-contact-section {
    flex: 1;
    min-width: 200px;
}

.footer-nav-section h4,
.footer-contact-section h4 {
    color: white;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-nav-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1rem;
    display: inline-block;
}

.footer-nav-section a:hover {
    color: white;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.contact-row {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
    color: #94a3b8;
    align-items: flex-start;
}

.contact-row i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 4px;
}

.contact-row span,
.contact-row a {
    color: #cbd5e1;
    text-decoration: none;
    line-height: 1.6;
    transition: 0.3s;
}

.contact-row a:hover {
    color: var(--primary-light);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.95rem;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    transition: 0.3s;
}

.footer-legal a:hover {
    color: white;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s var(--transition-smooth);
}

/* Form Styles - Deep Wine Theme */
input,
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color, #ccc);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s var(--transition-smooth);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--wine-accent);
    box-shadow: 0 0 0 3px rgba(118, 25, 89, 0.1);
}

/* Error state example */
.input-error {
    border-color: var(--wine-accent);
    /* Use accent/contrast, not bright red as requested */
    background: rgba(118, 25, 89, 0.05);
}

/* Static Committee Styles - Compact & Ultimate */
.committee-card-static {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    /* Reduced padding from 40px */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    box-shadow: var(--card-shadow);
    /* No transition or transform */
    height: 100%;
}

.committee-card-static .committee-img {
    width: 60px;
    /* Smaller image from 90px */
    height: 60px;
    font-size: 1.2rem;
    margin-bottom: 5px;
    box-shadow: 0 4px 10px var(--primary-glow);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.committee-card-static h4 {
    color: var(--highlight-text);
    font-size: 1rem;
    /* Smaller font */
    font-weight: 600;
    margin: 0;
}

.committee-card-static p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    /* Smaller font */
    margin: 0;
    line-height: 1.4;
    opacity: 0.8;
}

/* Ultimate Committee Grid - New Design */
#committee {
    position: relative;
    overflow: hidden;
}

#committee::before,
#committee::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

#committee::before {
    top: 10%;
    left: -100px;
    background: var(--primary);
    animation: float-slow 20s infinite alternate;
}

#committee::after {
    bottom: 10%;
    right: -100px;
    background: var(--secondary);
    animation: float-slow 25s infinite alternate-reverse;
}

@keyframes float-slow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 100px) rotate(30deg);
    }
}

.committee-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 35px;
    width: 100%;
    margin-top: 30px;
    perspective: 1200px;
}

/* Chair-card and pulse-glow removed */

.committee-card-new {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 35px 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 30px rgba(103, 0, 71, 0.05);
}

/* Background Animated Gradient Overlay */
.committee-card-new::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: radial-gradient(circle, var(--primary-glow) 0%, var(--secondary-glow) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
    z-index: 0;
}

.committee-card-new:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow:
        0 30px 60px rgba(103, 0, 71, 0.25),
        0 0 50px var(--primary-glow),
        0 0 80px rgba(103, 0, 71, 0.15);
    border-color: var(--primary);
}

.committee-card-new:hover::before {
    opacity: 0.2;
}

/* Animated Border Light */
.committee-card-new::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, var(--primary), var(--accent), var(--secondary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s ease;
    background-size: 300% 300%;
    animation: border-rotate 5s linear infinite;
}

@keyframes border-rotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.committee-card-new:hover::after {
    opacity: 1;
}

.member-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 5px;
    box-shadow:
        0 15px 30px rgba(103, 0, 71, 0.4),
        0 0 35px rgba(103, 0, 71, 0.3),
        0 0 60px rgba(118, 25, 89, 0.2),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: avatar-float 4s ease-in-out infinite;
}

@keyframes avatar-float {

    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow:
            0 15px 30px rgba(103, 0, 71, 0.4),
            0 0 35px rgba(103, 0, 71, 0.3),
            0 0 60px rgba(118, 25, 89, 0.2);
    }

    50% {
        transform: translateY(-8px) scale(1.02);
        box-shadow:
            0 20px 40px rgba(103, 0, 71, 0.5),
            0 0 45px rgba(103, 0, 71, 0.4),
            0 0 80px rgba(118, 25, 89, 0.3);
    }
}

.committee-card-new:hover .member-avatar {
    transform: scale(1.15) rotate(5deg);
    box-shadow:
        0 20px 40px rgba(103, 0, 71, 0.6),
        0 0 50px rgba(103, 0, 71, 0.5),
        0 0 90px rgba(118, 25, 89, 0.4),
        0 0 120px rgba(118, 25, 89, 0.2);
    animation: none;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--bg-secondary);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.avatar-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }

    100% {
        transform: translateX(100%) translateY(100%);
    }
}

.member-info {
    flex: 1;
    z-index: 1;
    width: 100%;
}

.member-info h4 {
    color: var(--highlight-text);
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.member-info p {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.85;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Badge for Chairs */
.chair-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px var(--primary-glow);
    z-index: 2;
    opacity: 0.8;
}

/* Registration Subgroups Styling */
.registration-subgroups-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    width: 100%;
}

.subgroup-block {
    position: relative;
    padding-top: 20px;
}

.subgroup-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--highlight-text);
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 5px solid var(--primary);
    display: block;
    letter-spacing: -0.5px;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .avatar-placeholder {
    background: var(--bg-tertiary);
    color: white;
}

[data-theme="dark"] .committee-card-new {
    background: rgba(45, 11, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

.committee-item-static {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 15px 20px;
    /* Compact padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: var(--card-shadow);
    min-height: auto;
    height: 100%;
}

.committee-item-static h4 {
    color: var(--highlight-text);
    font-size: 0.95rem;
    margin-bottom: 3px;
    font-weight: 600;
}

.committee-item-static p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.8;
    margin: 0;
}

/* Override Grid Columns for Tighter Packing - REMOVED for Pro Layout */
/*
#committee .tree-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 20px !important;
}

#general-chairs-grid,
#program-chairs-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
}
*/

#advisory-grid {
    display: block !important;
    /* Switch from grid to flex/block for tree */
    width: 100%;
}

/* Ultimate Hierarchy Tree Style for Advisory Board */
.advisory-tree-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
}

.tree-node-root {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.tree-connector-vertical {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    margin: -40px 0 20px;
    opacity: 0.6;
}

.tree-nodes-children {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    width: 100%;
    padding-top: 20px;
    position: relative;
}

.tree-nodes-children::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary), var(--secondary), transparent);
    opacity: 0.3;
}

/* Ultimate Attractive Committee Styles with Images */
.committee-card-with-image {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    /* Subtle transition for static feel */
    position: relative;
    overflow: hidden;
    height: 100%;
}

.committee-card-with-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--primary-glow), transparent 70%);
    opacity: 0.15;
    pointer-events: none;
}

.committee-photo-wrapper {
    position: relative;
    width: 130px;
    /* Increased from 100px */
    height: 130px;
    /* Increased from 100px */
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 25px var(--primary-glow);
    margin-bottom: 8px;
}

.committee-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-secondary);
    background: var(--bg-secondary);
}

.committee-card-with-image h4 {
    color: var(--highlight-text);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.committee-card-with-image p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
    font-weight: 500;
}

/* Hero Date Glance Styling */
.hero-date-glance {
    background: linear-gradient(135deg, rgba(103, 0, 71, 0.15), rgba(92, 0, 63, 0.15));
    backdrop-filter: blur(15px);
    border: 1px solid var(--primary-light);
    border-radius: 50px;
    padding: 15px 40px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(103, 0, 71, 0.2);
    animation: pulse-border 3s infinite;
}

.hero-date-glance i {
    font-size: 1.8rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.hero-date-glance span {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--highlight-text);
    letter-spacing: 1px;
    font-family: var(--font-heading);
}

@keyframes pulse-border {

    0%,
    100% {
        border-color: var(--primary-light);
        box-shadow: 0 10px 30px rgba(103, 0, 71, 0.2);
    }

    50% {
        border-color: var(--accent);
        box-shadow: 0 10px 40px rgba(103, 0, 71, 0.4);
    }
}

/* Hero Section Full Width Adjustment */
.hero {
    min-height: 100vh;
    padding: 180px 0 100px;
    /* Removed horizontal padding */
    width: 100% !important;
    max-width: none !important;
    overflow-x: hidden;
}

.hands-container {
    left: 0;
    right: 0;
    width: 100vw;
}

.robot-hand {
    left: -500px;
}

.human-hand {
    right: -500px;
}

/* About Panel Styling */
.about-panel {
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image-wrapper {
    height: 400px;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
}

/* Footer Logo Styling */
.footer-logo {
    width: 130px;
    height: auto;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    margin-bottom: 20px;
}

[data-theme="dark"] .footer-logo {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3)) drop-shadow(0 0 25px var(--primary));
}

/* Responsive Overrides - Comprehensive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .about-panel {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px;
    }

    .hero-date-glance span {
        font-size: 1.3rem;
    }

    .hero-date-glance {
        padding: 12px 30px;
    }
}

@media (max-width: 900px) {
    .navbar {
        padding: 10px 20px;
    }

    .nav-links {
        display: none;
    }

    /* Consider adding a mobile menu if time permits, but keeping it clean for now */

    .hero h1 {
        font-size: 2.8rem;
    }

    .hand {
        width: 400px;
    }

    /* Smaller hands for tablet */

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .timer-container {
        gap: 15px;
    }

    .time-box-3d {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 140px 20px 60px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-date-glance {
        flex-direction: column;
        border-radius: 20px;
        padding: 20px;
        width: 100%;
    }

    .hero-date-glance span {
        font-size: 1.1rem;
        text-align: center;
    }

    .hand {
        display: none;
    }

    /* Hide hands on small mobile to reduce clutter and focus on text */

    .section-header h2 {
        font-size: 2rem;
    }

    .glass-panel {
        padding: 25px !important;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-box {
        justify-content: center;
    }

    .contact-row {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }

    .time-unit:nth-child(n+3) {
        display: none;
    }

    /* Only show Days and Hours on tiny screens */
}

/* Smooth Transition for Theme Change */
body {
    transition: background-color 0.5s ease, color 0.5s ease;
}

[data-theme="dark"] .glass-panel {
    background: rgba(30, 30, 36, 0.8);
    /* Neutral academic dark */
}

/* ==========================================================================
   ULTIMATE PROFESSORIAL COMMITTEE DESIGN (Large Images, No Borders)
   ========================================================================== */

/* Ensure Tree Lines are visible for structure */
#committee .hierarchy-line-system,
#committee .connect-line {
    display: block !important;
    opacity: 0.4;
    filter: brightness(0.8);
}

/* Grid/Flex Layout for Centering */
#committee .committee-grid-new {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px 40px;
    /* Large vertical gap to accommodate floating avatars */
    margin-top: 40px;
    padding: 20px;
}

/* Floating Card Design */
.committee-card-new {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 35px;
    padding: 0 25px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    width: 280px;
    margin-top: 80px;
    /* Space for the floating image */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: visible !important;
}

.committee-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

/* Circular Avatar with subtle border */
.member-avatar {
    width: 170px;
    height: 170px;
    margin-top: -85px;
    /* Halfway out of the card */
    border-radius: 50% !important;
    /* Perfect circle */
    border: 2px solid var(--primary) !important;
    /* Subtle primary border */
    /* Create space between image and border */
    background: #ffffff;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 5;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.committee-card-new:hover .member-avatar {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25);
}

.avatar-placeholder {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -2px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: none !important;
}

.avatar-placeholder::after {
    display: none !important;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Show more of the image to avoid cropping */
    border-radius: 50% !important;
    background: #ffffff;
}

/* Info & Typography */
.member-info {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.member-info h4 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--highlight-text);
    margin: 0;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.member-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0.8;
    margin: 0;
    min-height: 1.2em;
}

/* Chair styles removed */

/* Dark Mode Professional Tweaks */
[data-theme="dark"] .committee-card-new {
    background: rgba(25, 25, 30, 0.85);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .member-avatar {
    background: #1e1e24;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .avatar-placeholder {
    color: var(--text-primary);
}

[data-theme="dark"] .committee-card-new:hover {
    border-color: var(--primary);
}

/* ==========================================================================
   TREE HIERARCHY FOR INTERNATIONAL ADVISORY COMMITTEE
   ========================================================================== */

#international-advisory-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 60px;
    position: relative;
    gap: 0;
}

/* Top Level - Chairman (Centered, Larger) */
#international-advisory-grid>.committee-card-new:nth-child(1) {
    width: 320px;
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
    border: 2px solid var(--primary) !important;
    box-shadow: 0 20px 60px var(--primary-glow) !important;
}

#international-advisory-grid>.committee-card-new:nth-child(1) .member-avatar {
    width: 190px;
    height: 190px;
    margin-top: -95px;
    border-width: 3px !important;
    box-shadow: 0 15px 40px rgba(103, 0, 71, 0.3) !important;
}

/* Vertical Connector Line from Top to Bottom Row */
#international-advisory-grid::before {
    content: '';
    position: absolute;
    top: 180px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 80px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
    opacity: 0.4;
    z-index: 1;
}

/* Horizontal Connector Line for Bottom Three Members */
#international-advisory-grid::after {
    content: '';
    position: absolute;
    top: 260px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
    opacity: 0.3;
    z-index: 1;
}

/* Bottom Row Container */
.advisory-bottom-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    width: 100%;
    max-width: 1100px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

/* Individual vertical connectors for each bottom member */
.advisory-bottom-row>.committee-card-new {
    position: relative;
}

.advisory-bottom-row>.committee-card-new::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 40px;
    background: var(--accent);
    opacity: 0.3;
    z-index: -1;
}

/* Responsive adjustment for Advisory Board */
@media (max-width: 992px) {
    .advisory-bottom-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    #international-advisory-grid::after {
        display: none;
    }

    .advisory-bottom-row>.committee-card-new::before {
        display: none;
    }
}

@media (max-width: 768px) {
    #international-advisory-grid>.committee-card-new:nth-child(1) {
        width: 100%;
        max-width: 350px;
    }

    .advisory-bottom-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #international-advisory-grid::before,
    #international-advisory-grid::after {
        display: none;
    }
}

/* Technical Sessions Management: Structured Row Layout */
#technical-sessions-grid {
    display: grid;
    width: 100%;
    margin-top: 40px;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: start;
}

/* Industrial Collaboration: Structured Row Layout */
#industrial-collab-grid {
    display: grid;
    width: 100%;
    margin-top: 40px;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: start;
}

/* Prevent grid items from blowing out width */
#technical-sessions-grid>.committee-card-new,
#industrial-collab-grid>.committee-card-new,
#international-advisory-grid>.committee-card-new {
    min-width: 0;
}

@media (max-width: 992px) {
    #technical-sessions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #industrial-collab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {

    #technical-sessions-grid,
    #industrial-collab-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PERFORMANCE OPTIMIZATIONS
   ========================================================================== */

/* Hardware Acceleration for Animations */
.glass-card,
.committee-card-new,
.tree-item,
.nav-pill,
.time-box-3d,
.speaker-avatar,
.timeline-item,
.agenda-day-btn {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

/* Disable 3D Tilt on Mobile */
@media (max-width: 768px) {

    .glass-card,
    .tree-item,
    .committee-card-new {
        transform: none !important;
    }
}

/* Optimize Hover States */
@media (hover: hover) and (pointer: fine) {

    /* Only enable hover effects on devices with precise pointing */
    .glass-card:hover,
    .committee-card-new:hover {
        transform: translateY(-8px) translateZ(0);
    }
}

/* Reduce Motion for Users Who Prefer It */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Lazy Load Images - Blur Up Effect */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* ==========================================================================
   WELCOME / CONFERENCE ANNOUNCEMENT SECTION
   ========================================================================== */

.welcome-section {
    padding: 100px 5% 120px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.welcome-container {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

/* Gradient accent line at top */
.welcome-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--wine-primary), var(--wine-accent), var(--wine-secondary));
    border-radius: 30px 30px 0 0;
}

/* Subtle background glow */
.welcome-container::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--wine-primary), var(--wine-secondary));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px var(--primary-glow);
    animation: pulse-badge 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.welcome-badge i {
    font-size: 1.1rem;
}

@keyframes pulse-badge {

    0%,
    100% {
        box-shadow: 0 8px 25px var(--primary-glow);
    }

    50% {
        box-shadow: 0 8px 40px var(--primary-glow), 0 0 30px var(--primary-glow);
    }
}

.welcome-content {
    position: relative;
    z-index: 1;
}

.welcome-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: justify;
    margin-bottom: 25px;
}

.welcome-content p strong {
    color: var(--highlight-text);
    font-weight: 700;
}

.welcome-content p em {
    color: var(--text-primary);
    font-style: italic;
}

.welcome-intro {
    font-size: 1.15rem !important;
    color: var(--text-primary) !important;
    background: linear-gradient(135deg, rgba(103, 0, 71, 0.05), rgba(118, 25, 89, 0.03));
    padding: 30px;
    border-radius: 20px;
    border-left: 4px solid var(--wine-primary);
    position: relative;
}

[data-theme="dark"] .welcome-intro {
    background: linear-gradient(135deg, rgba(168, 50, 107, 0.1), rgba(118, 25, 89, 0.05));
}

/* Divider */
.welcome-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.welcome-divider span {
    flex: 1;
    max-width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--wine-primary), transparent);
    border-radius: 2px;
}

.welcome-divider i {
    color: var(--wine-primary);
    font-size: 1rem;
    animation: rotate-star 8s linear infinite;
}

@keyframes rotate-star {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Theme Box */
.welcome-theme-box {
    display: flex;
    gap: 25px;
    background: linear-gradient(135deg, var(--wine-primary), var(--wine-secondary));
    padding: 35px;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 15px 40px rgba(103, 0, 71, 0.3);
    color: white;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.welcome-theme-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.theme-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.theme-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.theme-content p {
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 0;
    font-size: 1.05rem !important;
    line-height: 1.8;
}

.theme-content p strong {
    color: white !important;
    font-weight: 700;
}

/* Objectives List */
.welcome-objectives {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
}

.welcome-objectives h4 {
    color: var(--highlight-text);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.welcome-objectives h4 i {
    color: var(--wine-primary);
}

.welcome-objectives ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 18px;
}

.welcome-objectives li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.welcome-objectives li:hover {
    transform: translateX(10px);
    border-color: var(--wine-primary);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.objective-icon {
    width: 45px;
    height: 45px;
    min-width: 45px;
    background: linear-gradient(135deg, var(--wine-primary), var(--wine-accent));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.welcome-objectives li span:last-child {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Highlight Card */
.welcome-highlight-card {
    display: flex;
    gap: 25px;
    background: linear-gradient(135deg, rgba(103, 0, 71, 0.08), rgba(118, 25, 89, 0.04));
    border: 2px dashed var(--wine-primary);
    padding: 30px;
    border-radius: 20px;
    margin-top: 30px;
    align-items: center;
}

[data-theme="dark"] .welcome-highlight-card {
    background: linear-gradient(135deg, rgba(168, 50, 107, 0.15), rgba(118, 25, 89, 0.08));
}

.highlight-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--wine-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px var(--primary-glow);
    animation: bounce-icon 2s ease-in-out infinite;
}

@keyframes bounce-icon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.highlight-content p {
    color: var(--text-secondary);
    margin-bottom: 0 !important;
    font-size: 1.05rem !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .welcome-container {
        padding: 40px 30px;
    }

    .welcome-theme-box {
        flex-direction: column;
        text-align: center;
    }

    .theme-icon {
        margin: 0 auto;
    }

    .theme-content h4 {
        text-align: center;
    }

    .theme-content p {
        text-align: justify;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 60px 4%;
    }

    .welcome-container {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .welcome-badge {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .welcome-content p {
        font-size: 1rem;
        text-align: left;
    }

    .welcome-intro {
        padding: 20px;
        font-size: 1rem !important;
    }

    .welcome-theme-box {
        padding: 25px;
    }

    .theme-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        font-size: 1.4rem;
    }

    .welcome-objectives {
        padding: 25px 20px;
    }

    .welcome-objectives li {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }

    .objective-icon {
        margin: 0 auto;
    }

    .welcome-highlight-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .highlight-content p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .welcome-container {
        padding: 25px 15px;
    }

    .welcome-divider span {
        max-width: 80px;
    }

    .theme-content h4 {
        font-size: 1.1rem;
    }

    .welcome-objectives h4 {
        font-size: 1.1rem;
        flex-direction: column;
        text-align: center;
    }
}