* {
    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);
}

.moon-icon {
    display: none;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, rgba(31, 36, 58, 0.6) 10%, rgba(37, 23, 79, 0.6) 90%);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);

    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.6) 10%, rgba(37, 23, 79, 0.6) 90%);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);

    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 .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 .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: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('img/head2.jpeg') 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 */
 

 
 

.stats-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 3rem 0;
}

.stat-box-icpc {
    background: white;
    padding: 2rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    min-width: 180px;
}

.stat-box-icpc:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.stat-box-icpc h3 {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-box-icpc p {
    font-size: 1rem;
    color: #555;
}


.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;
}

.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);
}

/* 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);
}

.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;
}

.contest-row {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.05)) !important;
    border-left: 5px solid #4CAF50;
}

/* ICPC Homepage Styles */
.icpc-hero {
    width: 100%;
    height: 80vh; /* full screen height */
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('img/head.jpeg') no-repeat center center;
    background-size: cover; /* ensures the image covers the whole area */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
}


.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: 2rem;
    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;
     align-items: center;
  justify-content: center;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
     
    margin-top: 1rem;
}

.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;
}

/* Host Card */
.hosts-section {
    background: #1b263b;
    padding: 4rem 0;
    color: white;
}

.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;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.host-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.host-logo {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* so it looks good on small screens */
}

.host-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #fff;
    padding: 5px 10px;
    border-radius: 10px;
}

.host-logo img:hover {
    transform: scale(1.05);
}

.host-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.host-info p {
    color: #d0d0d0;
    line-height: 1.6;
}

.organizer-card {
    background: rgba(76, 175, 80, 0.1);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #4CAF50;
}

/* Location Section */
.location-section {
    background: #112240;
     
    color: white;
}

.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;
}

.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;
}

/* Prizes Section */
.prizes-section {
    background: #1b263b;
    padding: 4rem 0;
    color: white;
}

.prize-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.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;
}

/* Sponsors */
.sponsors {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(26, 38, 66, 0.6);
    margin-top: 3rem;
}

.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-footer {
    background: #061123;
    text-align: center;
    padding: 2rem;
    color: #bbb;
}

/* ============================================ */
/* MOBILE RESPONSIVE DESIGN - STARTS HERE */
/* ============================================ */

/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
    .navbar {
        padding: 15px 30px;
    }

    .navbar-brand {
        font-size: 18px;
    }

    .navbar-logo {
        height: 50px;
    }

    .navbar-menu li a {
        font-size: 16px;
        padding: 10px 15px;
    }

    .hero-title,
    .banner-content h1,
    .schedule-banner-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle,
    .banner-content p,
    .schedule-banner-content p {
        font-size: 1.3rem;
    }

    .stats-container {
        gap: 1.5rem;
    }

    .stat-box,
    .stat-box-icpc {
        min-width: 150px;
        padding: 1.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .venue-list {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prize-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .host-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .host-logo img {
        margin: 0 auto;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        flex-direction: column;
        padding: 15px 20px;
        gap: 1rem;
    }

    .navbar-brand {
        font-size: 14px;
        gap: 10px;
    }

    .navbar-brand a {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar-logo {
        height: 45px;
    }

    .navbar-menu {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-right: 0;
        gap: 5px;
    }

    .navbar-menu li {
        width: 100%;
    }

    .navbar-menu li a {
        font-size: 16px;
        padding: 12px 15px;
        width: 100%;
        justify-content: center;
    }

    /* Dropdown Mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        max-height: 400px;
    }

    .dropdown-menu li a {
        justify-content: center;
    }

    .theme-toggle {
        margin: 10px auto 0;
    }

    /* Hero Sections Mobile */
    .hero {
        padding: 6rem 1.5rem 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .banner,
    .schedule-banner {
        height: 300px;
        margin-top: 140px;
    }

    .banner-content h1,
    .schedule-banner-content h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .banner-content p,
    .schedule-banner-content p {
        font-size: 1rem;
    }

    /* ICPC Hero Mobile */
    .icpc-hero {
        height: 60vh;
        margin-top: 140px;
    }

    .hero-title {
        font-size: 1.4rem;
        margin-top: 4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-logos {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-logos img {
        height: 70px;
    }

    .medal {
        font-size: 2rem;
    }

    .medal-large {
        font-size: 2.5rem;
    }

    /* Container Mobile */
    .container {
        padding: 1rem;
    }

    /* Section Mobile */
    .section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .section h2 {
        font-size: 1.5rem;
        flex-wrap: wrap;
    }

    .section h3 {
        font-size: 1.2rem;
    }

    .section p {
        font-size: 1rem;
        text-align: left;
    }

    /* Features Grid Mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .feature-card h4 {
        font-size: 1.2rem;
    }

    .feature-card p {
        font-size: 0.95rem;
    }

    /* Stats Container Mobile */
    .stats-container {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0;
    }

    .stat-box,
    .stat-box-icpc {
        width: 100%;
        min-width: auto;
        padding: 1.5rem;
    }

    .stat-box h3,
    .stat-box-icpc h3 {
        font-size: 2.5rem;
    }

    .stat-box p,
    .stat-box-icpc p {
        font-size: 1rem;
    }

    /* Venue List Mobile */
    .venue-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .venue-list li {
        padding: 1.2rem;
        font-size: 0.95rem;
    }

    .venue-list strong {
        font-size: 1rem;
    }

    /* Schedule Table Mobile */
    .schedule-table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .schedule-table thead {
        display: none;
    }

    .schedule-table tbody {
        display: block;
    }

    .schedule-table tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid rgba(76, 175, 80, 0.3);
        border-radius: 10px;
        padding: 1rem;
        background: rgba(26, 38, 66, 0.5) !important;
    }

    .schedule-table td {
        display: block;
        text-align: left;
        padding: 0.8rem 0;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .schedule-table td:last-child {
        border-bottom: none;
    }

    .schedule-table td::before {
        content: attr(data-label);
        font-weight: bold;
        color: #4CAF50;
        display: block;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }

    .time-cell {
        border-left: none;
        border-top: 3px solid #4CAF50;
        padding-left: 0 !important;
        padding-top: 1rem !important;
        font-size: 1.1rem;
        white-space: normal;
    }

    .event-cell {
        padding: 1rem 0;
    }

    .event-cell strong {
        font-size: 1rem;
    }

    .event-cell ul {
        margin-left: 1.2rem;
        font-size: 0.9rem;
    }

    .venue-cell {
        text-align: left;
        padding: 0.8rem 0;
        background: transparent;
    }

    .highlight {
        font-size: 1rem !important;
    }

    .contest-row {
        border-left: none;
        border-top: 4px solid #4CAF50;
    }

    /* Host Card Mobile */
    .hosts-section {
        padding: 2rem 0;
    }

    .host-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
        text-align: center;
    }

    .host-logo {
        display: flex;
        justify-content: center;
    }

    .host-logo img {
        height: 60px;
    }

    .host-info h3 {
        font-size: 1.2rem;
    }

    .host-info p {
        font-size: 0.95rem;
    }

    .organizer-card {
        padding: 1.5rem;
    }

    .organizer-card h3 {
        font-size: 1.2rem;
    }

    .organizer-card p {
        font-size: 0.95rem;
    }

    /* Location Section Mobile */
    /* .location-section {
        padding: 2rem 0;
    } */

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card h4 {
        font-size: 1.2rem;
    }

    .contact-card p {
        font-size: 0.95rem;
    }

    .map-container {
        height: 300px;
    }

    /* Prizes Section Mobile */
    .prizes-section {
        padding: 2rem 0;
    }

    .prizes-section h2 {
        font-size: 1.8rem;
    }

    .prize-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .prize-text p {
        font-size: 0.95rem;
    }

    .trophy-placeholder {
        padding: 2rem;
    }

    /* Sponsors Mobile */
    .sponsors {
        padding: 2rem 1rem;
    }

    .sponsors h3 {
        font-size: 1.3rem;
    }

    .sponsor-grid {
        gap: 1.5rem;
    }

    .sponsor-item {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Footer Mobile */
    footer,
    .icpc-footer {
        padding: 1.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Navbar Extra Small */
    .navbar {
        padding: 12px 15px;
    }

    .navbar-brand {
        font-size: 14px;
    }

    .navbar-logo {
        height: 40px;
    }

    .navbar-menu li a {
        font-size: 14px;
        padding: 10px 12px;
    }

    .theme-toggle {
        font-size: 18px;
        padding: 8px 12px;
    }

    /* Hero Sections Extra Small */
    .banner,
    .schedule-banner {
        height: 250px;
    }

    .banner-content h1,
    .schedule-banner-content h1 {
        font-size: 1.6rem;
    }

    .banner-content p,
    .schedule-banner-content p {
        font-size: 0.9rem;
    }

    .icpc-hero {
        height: 50vh;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-top: 3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-logos img {
        height: 60px;
    }

    .medal {
        font-size: 1.8rem;
    }

    .medal-large {
        font-size: 2rem;
    }

    /* Section Extra Small */
    .section {
        padding: 1.2rem;
    }

    .section h2 {
        font-size: 1.3rem;
    }

    .section h3 {
        font-size: 1.1rem;
    }

    .section p {
        font-size: 0.9rem;
    }

    /* Feature Card Extra Small */
    .feature-card {
        padding: 1.2rem;
    }

    .feature-card h4 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }

    /* Stats Extra Small */
    .stat-box h3,
    .stat-box-icpc h3 {
        font-size: 2rem;
    }

    .stat-box p,
    .stat-box-icpc p {
        font-size: 0.9rem;
    }

    /* Schedule Table Extra Small */
    .schedule-table {
        font-size: 0.8rem;
    }

    .schedule-table tbody tr {
        padding: 0.8rem;
    }

    .time-cell {
        font-size: 1rem;
    }

    .event-cell strong {
        font-size: 0.95rem;
    }

    .event-cell ul {
        font-size: 0.85rem;
    }

    /* Venue List Extra Small */
    .venue-list li {
        padding: 1rem;
        font-size: 0.9rem;
    }

    /* Contact Cards Extra Small */
    .contact-card {
        padding: 1.2rem;
    }

    .contact-card h4 {
        font-size: 1.1rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    /* Map Extra Small */
    .map-container {
        height: 250px;
    }

    /* Host Card Extra Small */
    .host-card {
        padding: 1.2rem;
    }

    .host-logo img {
        height: 50px;
    }

    .host-info h3 {
        font-size: 1.1rem;
    }

    .host-info p {
        font-size: 0.9rem;
    }

    /* Prizes Extra Small */
    .trophy-placeholder {
        padding: 1.5rem;
    }

    .medals-display {
        gap: 1rem;
    }

    /* Sponsors Extra Small */
    .sponsors h3 {
        font-size: 1.2rem;
    }

    .sponsor-item {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Extra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
    .navbar-brand {
        font-size: 12px;
    }

    .navbar-logo {
        height: 35px;
    }

    .hero-title,
    .banner-content h1,
    .schedule-banner-content h1 {
        font-size: 1.4rem;
    }

    .section h2 {
        font-size: 1.2rem;
    }

    .section p {
        font-size: 0.85rem;
    }

    .stat-box h3,
    .stat-box-icpc h3 {
        font-size: 1.8rem;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .banner,
    .schedule-banner {
        height: 350px;
    }

    .icpc-hero {
        height: 90vh;
    }

    .hero-title {
        margin-top: 2rem;
    }

    .navbar {
        padding: 10px 20px;
    }

    .navbar-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar-menu li {
        width: auto;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .theme-toggle,
    .dropdown-menu,
    footer {
        display: none;
    }

    .banner,
    .schedule-banner,
    .icpc-hero {
        height: auto;
        padding: 2rem;
        background: white;
        color: black;
    }

    .section {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        background: white;
        color: black;
    }

    .schedule-table {
        page-break-inside: avoid;
    }
}

/* ✅ Hamburger Button */
.hamburger {
    font-size: 30px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: none;
}

/* ✅ Side Drawer */
.side-drawer {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background: #1b263b;
    padding: 2rem 1.5rem;
    transition: 0.3s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.side-drawer.open {
    left: 0;
}

.side-drawer a {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #2f3b52;
}

/* Close button */
.close-btn {
    font-size: 35px;
    background: none;
    border: none;
    color: #fff;
    margin-left: auto;
    margin-bottom: 1rem;
    cursor: pointer;
}

/* Dark Overlay */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    z-index: 1500;
}

.drawer-overlay.active {
    display: block;
}

/* ✅ Mobile Dropdown inside Drawer */
/* .mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    margin-left: 1rem;
    padding: 10px;
} */
.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    margin-top: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mobile-dropdown-menu a {
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* hover effect for links */
.mobile-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* show on hover */
.mobile-dropdown:hover .mobile-dropdown-menu {
    display: flex;
}

.mobile-dropdown-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    text-align: left;
    cursor: pointer;
}

.mobile-dropdown.open .mobile-dropdown-menu {
    display: flex;
}

/* ✅ Responsive Fixes */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .desktop-menu {
        display: none;
    }
     
     
    
}
.navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;   /* spacing between icons */
}
@media (max-width: 768px) {
    .navbar-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .hamburger {
        display: block;
        font-size: 30px;
    }

    .theme-toggle {
        font-size: 22px;
    }
}
.coming-soon {
    margin-top: 60px;
    text-align: center;
    padding: 50px 20px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    animation: fadeIn 1.2s ease-in-out;
}

.coming-soon h1 {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 10px;
    animation: pulse 1.5s infinite;
}

.coming-soon p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.university-logo {
    display: block;
    margin: 0 auto 10px auto; /* top 0, left/right auto (center), bottom 10px */
    max-width: 100px;
    object-fit: contain;
}
