* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #1a2642 50%, #0f3a2e 100%);
    color: #ffffff;
    min-height: 100vh;
}


/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle::after {
    content: 'Theme Toggle';
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(31, 36, 58, 0.95);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-toggle:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.moon-icon {
    display: none;
}

.navbar {
    background: linear-gradient(135deg, rgba(31, 36, 58, 0.95) 20%, rgba(37, 23, 79, 0.95) 100%);
    padding: 15px 50px;
    display: flex;
    align-items: center;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    gap: .5rem;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: linear-gradient(135deg, rgba(31, 36, 58, 0.95) 20%, rgba(37, 23, 79, 0.95) 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.navbar-brand a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.navbar-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    margin: 0;
    padding: 0;
    margin-left: auto;
    margin-right: 1rem;
    align-items: center;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.navbar-menu li a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: white;
    transition: transform 0.3s ease;
}

.navbar-menu li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-menu li a.active {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.navbar-menu li a.active::after {
    transform: translateX(-50%) scaleX(1);
    background: #fbbf24;
    height: 3px;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle svg {
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, rgba(31, 36, 58, 0.98) 0%, rgba(118, 75, 162, 0.98) 100%);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px 8px;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a svg {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

/* .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
} */

.theme-toggle .moon-icon {
    display: inline;
}

.theme-toggle .sun-icon {
    display: none;
}

/* Light Mode Styles */
body.light-mode {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #1a1a1a;
}

body.light-mode .navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.light-mode .section {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.light-mode .section h2,
body.light-mode .section h3,
body.light-mode .feature-card h4,
body.light-mode .contact-info h4,
body.light-mode .stat-box h3 {
    color: #667eea;
}

body.light-mode .section p,
body.light-mode .event-cell li {
    color: #333;
}

body.light-mode .schedule-table {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

body.light-mode .schedule-table th {
    color: #667eea;
    border-bottom: 3px solid rgba(102, 126, 234, 0.5);
}

body.light-mode .schedule-table tbody tr {
    background: rgba(245, 247, 250, 0.5);
}

body.light-mode .schedule-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.1);
}

body.light-mode .schedule-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.8);
}

body.light-mode .time-cell {
    color: #667eea;
    border-left: 4px solid rgba(102, 126, 234, 0.6);
}

body.light-mode .venue-cell {
    color: #555;
    background: rgba(102, 126, 234, 0.05);
}

body.light-mode .highlight {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.2), rgba(102, 126, 234, 0.1));
    border-left: 4px solid #667eea;
    color: #667eea !important;
}

body.light-mode .contest-row {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.15), rgba(102, 126, 234, 0.05)) !important;
    border-left: 5px solid #667eea;
}

body.light-mode .venue-list li {
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.light-mode .venue-list li:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

body.light-mode .venue-list strong {
    color: #667eea;
}

body.light-mode .feature-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

body.light-mode .feature-card:hover {
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.2);
}

body.light-mode .stat-box {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

body.light-mode .contact-info {
    background: rgba(255, 255, 255, 0.7);
    border-left: 4px solid #667eea;
}

body.light-mode .contact-info a {
    color: #667eea;
}

body.light-mode .hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(195, 207, 226, 0.6) 100%);
}

body.light-mode .banner {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1920') center/cover;
}

body.light-mode footer {
    color: #666;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .theme-toggle .moon-icon {
    display: none;
}

body.light-mode .theme-toggle .sun-icon {
    display: inline;
}

/* Hero Section - Index Page */
.hero {
    text-align: center;
    padding: 8rem 2rem 3rem;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.8) 0%, rgba(26, 38, 66, 0.6) 100%);
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Schedule Page Banner */
.schedule-banner {
    width: 100%;
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 70px;
}

.schedule-banner-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    color: white;
}

.schedule-banner-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Banner Section - About Page */
.banner {
    width: 100%;
    height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1920') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.banner-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.banner-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Section Styles */
.section {
    background: rgba(26, 38, 66, 0.6);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #4CAF50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #66BB6A;
}

.section p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Features Grid - About Page */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(10, 22, 40, 0.5);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(76, 175, 80, 0.2);
}

.feature-card h4 {
    font-size: 1.4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
}

/* Stats Container - About Page */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    border: 2px solid rgba(76, 175, 80, 0.3);
    min-width: 200px;
}

.stat-box h3 {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.stat-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Venue and Notes Lists */
.venue-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.venue-list li {
    background: rgba(10, 22, 40, 0.6);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
    line-height: 1.8;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.venue-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    background: rgba(10, 22, 40, 0.8);
}

.venue-list strong {
    color: #4CAF50;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.notes-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.notes-list li {
    background: rgba(76, 175, 80, 0.1);
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    border-left: 3px solid #66BB6A;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.notes-list strong {
    color: #4CAF50;
    margin-right: 0.5rem;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5rem;
    background: rgba(10, 22, 40, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(76, 175, 80, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.schedule-table thead {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(102, 187, 106, 0.2));
}

.schedule-table th {
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #4CAF50;
    border-bottom: 3px solid rgba(76, 175, 80, 0.5);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.schedule-table td {
    padding: 1.5rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
}

.schedule-table td:last-child {
    border-right: none;
}

.schedule-table tbody tr {
    transition: all 0.3s ease;
    background: rgba(26, 38, 66, 0.3);
}

.schedule-table tbody tr:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: scale(1.01);
}

.schedule-table tbody tr:nth-child(even) {
    background: rgba(10, 22, 40, 0.5);
}

.schedule-table tbody tr:nth-child(even):hover {
    background: rgba(76, 175, 80, 0.15);
}

.time-cell {
    color: #66BB6A;
    font-weight: 600;
    white-space: nowrap;
    font-size: 1rem;
    border-left: 4px solid rgba(76, 175, 80, 0.4);
    padding-left: 1rem !important;
}

.event-cell {
    line-height: 1.8;
}

.event-cell strong {
    color: #4CAF50;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.event-cell ul {
    margin-left: 1.5rem;
    margin-top: 0.8rem;
    list-style-type: disc;
}

.event-cell li {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.venue-cell {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    text-align: center;
    font-weight: 500;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 6px;
}

.highlight {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1));
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    border-left: 4px solid #4CAF50;
    color: #66BB6A !important;
    font-size: 1.15rem !important;
}

/* Special styling for contest row */
.contest-row {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05)) !important;
    border-left: 5px solid #4CAF50;
}

.contest-row:hover {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15)) !important;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.date-header {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(102, 187, 106, 0.1));
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    color: #4CAF50;
    font-size: 1.2rem;
    border-top: 2px solid rgba(76, 175, 80, 0.3);
    border-bottom: 2px solid rgba(76, 175, 80, 0.3);
}

/* Map Container - About Page */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(76, 175, 80, 0.3);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Info - About Page */
.contact-info {
    background: rgba(10, 22, 40, 0.5);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #4CAF50;
    margin-top: 2rem;
}

.contact-info h4 {
    color: #4CAF50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.contact-info a {
    color: #66BB6A;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info a:hover {
    color: #4CAF50;
}

/* Icon */
.icon {
    display: inline-block;
    width: 20px;
    height: 20px;
}

/* Sponsors */
.sponsors {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(26, 38, 66, 0.6);
    margin-top: 3rem;
}

.sponsors h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #4CAF50;
}

.sponsor-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.sponsor-item {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

/* ICPC Homepage Styles */
.icpc-hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content-center {
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    margin-top: 8rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-logos img {
    height: 100px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.icpc-medals {
    display: flex;
    gap: 1rem;
}

.medal {
    font-size: 3rem;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.5));
}

.medal-large {
    font-size: 4rem;
}

/* Sponsors Banner */
.sponsors-banner {
    background: #f4f4f4;
    color: #333;
    padding: 3rem 0;
    text-align: center;
}

.sponsors-banner h3 {
    color: #1a2642;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.sponsor-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.sponsor-logos .sponsor-item {
    background: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    color: #333;
}

/* About ICPC Section */
.about-icpc {
    background: #112240;
    padding: 4rem 0;
    color: white;
}

.about-icpc h2 {
    color: #4CAF50;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.about-icpc p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-icpc a {
    color: #4CAF50;
    text-decoration: underline;
}

.stat-box-icpc {
    background: rgba(76, 175, 80, 0.1);
    border: 2px solid rgba(76, 175, 80, 0.3);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    min-width: 200px;
}

.stat-box-icpc h3 {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.stat-box-icpc p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.qualified-teams {
    background: rgba(26, 38, 66, 0.6);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.qualified-teams h3 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.teams-list {
    list-style: none;
    padding: 0;
}

.teams-list li {
    padding: 0.8rem 1rem;
    background: rgba(76, 175, 80, 0.05);
    margin-bottom: 0.5rem;
    border-radius: 6px;
    border-left: 3px solid #4CAF50;
}

/* Prizes Section */
.prizes-section {
    background: #1b263b;
    padding: 4rem 0;
    color: white;
}

.prizes-section h2 {
    color: #ffd166;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.prize-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.prize-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.trophy-placeholder {
    background: rgba(76, 175, 80, 0.1);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(76, 175, 80, 0.3);
}

.medals-display {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Post Contest Section */
.post-contest {
    background: #112240;
    padding: 4rem 0;
    color: white;
}

.post-contest h2 {
    color: #4CAF50;
    margin-bottom: 2rem;
}

.post-contest p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Hosts Section */
.hosts-section {
    background: #1b263b;
    padding: 4rem 0;
    color: white;
}

.hosts-section h2 {
    color: #00b4d8;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.host-card {
    background: rgba(26, 38, 66, 0.6);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.host-info h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.host-info p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.organizer-card {
    background: rgba(76, 175, 80, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
}

.organizer-card h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

.organizer-card p {
    line-height: 1.8;
}

/* ICPC Foundation Section */
.icpc-foundation {
    background: #0a192f;
    padding: 4rem 0;
    color: white;
}

.icpc-foundation h2 {
    color: #90e0ef;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.foundation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.foundation-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.icpc-logo-box {
    background: rgba(76, 175, 80, 0.1);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(76, 175, 80, 0.3);
}

/* Location Section */
.location-section {
    background: #112240;
    padding: 4rem 0;
    color: white;
}

.location-section h2 {
    color: #4CAF50;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: rgba(26, 38, 66, 0.6);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
}

.contact-card h4 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* ICPC Footer */
.icpc-footer {
    background: #061123;
    text-align: center;
    padding: 2rem;
    color: #bbb;
}

.icpc-footer p {
    margin-bottom: 0.5rem;
}

/* Light Mode for ICPC Homepage */
body.light-mode .icpc-hero {
    background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)),
        url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?w=1920') center/cover no-repeat;
}

body.light-mode .hero-title,
body.light-mode .hero-subtitle {
    color: white;
}

body.light-mode .about-icpc,
body.light-mode .post-contest,
body.light-mode .location-section {
    background: #f5f7fa;
    color: #333;
}

body.light-mode .about-icpc h2,
body.light-mode .post-contest h2,
body.light-mode .location-section h2 {
    color: #667eea;
}

body.light-mode .about-icpc p,
body.light-mode .post-contest p {
    color: #333;
}

body.light-mode .prizes-section,
body.light-mode .hosts-section {
    background: #e8ecf1;
    color: #333;
}

body.light-mode .prizes-section h2,
body.light-mode .hosts-section h2 {
    color: #667eea;
}

body.light-mode .icpc-foundation {
    background: #d4dbe3;
    color: #333;
}

body.light-mode .icpc-foundation h2 {
    color: #667eea;
}

body.light-mode .qualified-teams,
body.light-mode .host-card,
body.light-mode .contact-card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(102, 126, 234, 0.3);
}

body.light-mode .stat-box-icpc,
body.light-mode .trophy-placeholder,
body.light-mode .icpc-logo-box {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

body.light-mode .icpc-footer {
    background: #c3cfe2;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .banner {
        height: 350px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
        padding: 15px 20px;
    }

    .navbar-brand {
        font-size: 18px;
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-menu {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    .schedule-table {
        font-size: 0.85rem;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.7rem 0.5rem;
    }

    .section {
        padding: 2rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 1.5rem;
    }
}