* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Section - Enhanced for Mobile */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    min-height: 70px;
}

.logo-section {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.logo {
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* First logo - square */
.logo:nth-child(1) {
    width: 50px;
}

/* Second logo - landscape (double width) */
.logo:nth-child(2) {
    width: 100px;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Mobile Menu Toggle - Hidden by default */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #2F4F2F;
    margin: 3px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-container {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2F4F2F;
    font-weight: 600;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.nav-menu a:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.event-date {
    font-weight: bold;
    color: #9ACD32;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    background: rgba(154, 205, 50, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(154, 205, 50, 0.2);
    flex-shrink: 0;
}

/* Main Content */
main {
    margin-top: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: 
        url('MainTitle1.png') center/contain no-repeat,
        url('bg1.png') center/cover,
        radial-gradient(circle at 30% 70%, #9ACD32 0%, #7CB342 25%, #689F38 50%, #558B2F 75%, #2F4F2F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(154, 205, 50, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

/* Section Styles */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2F4F2F;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #9ACD32, #FFD700);
}

/* Featured Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Hidden class for expandable content */
.hidden {
    display: none;
}

/* See More Button Styling */
.see-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.see-more-container.visible {
    opacity: 1;
}

.see-more-btn {
    background: linear-gradient(135deg, #9ACD32, #FFD700);
    color: #2F4F2F;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(154, 205, 50, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.see-more-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(154, 205, 50, 0.4);
    background: linear-gradient(135deg, #FFD700, #9ACD32);
}

.see-more-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.event-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(47, 79, 47, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(154, 205, 50, 0.2);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(47, 79, 47, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.event-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #9ACD32, #7CB342, #FFD700);
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border: none;
    display: block;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-label {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: rgba(47, 79, 47, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.event-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #9ACD32, #7CB342, #FFD700);
    z-index: -1;
}

.event-content {
    padding: 1.5rem;
}

.event-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #2F4F2F;
}

.event-meta {
    color: #9ACD32;
    margin-bottom: 1rem;
    font-weight: 600;
}

.event-description {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.event-heads {
    border-top: 1px solid rgba(154, 205, 50, 0.3);
    padding-top: 1rem;
    font-size: 0.9rem;
    color: #777;
}

/* Highlights Slideshow */
.highlights-slideshow {
    position: relative;
    height: 80vh;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(47, 79, 47, 0.2);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    background: linear-gradient(90deg, 
        rgba(34, 79, 34, 0.95) 0%, 
        rgba(34, 79, 34, 0.8) 20%, 
        rgba(34, 79, 34, 0.6) 40%, 
        rgba(34, 79, 34, 0.3) 60%, 
        transparent 80%);
    padding: 3rem;
    color: white;
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
}

.slide h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide p {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.slideshow-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.nav-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-dot.active {
    background: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

/* Announcements Grid */
.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.announcement-card {
    aspect-ratio: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(47, 79, 47, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(154, 205, 50, 0.2);
}

.announcement-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(47, 79, 47, 0.2);
    border-color: rgba(255, 215, 0, 0.3);
}

.announcement-image {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #9ACD32, #7CB342, #FFD700);
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    border: none;
    display: block;
}

.announcement-card:hover .announcement-image img {
    transform: scale(1.05);
}

.announcement-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #9ACD32, #7CB342, #FFD700);
    z-index: -1;
}

.announcement-date {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 3;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(47, 79, 47, 0.9);
    backdrop-filter: blur(15px);
    padding: 0.6rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.announcement-card:hover .announcement-date {
    background: rgba(154, 205, 50, 0.95);
    color: #2F4F2F;
    transform: scale(1.05);
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 79, 47, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.gallery-content {
    display: flex;
    width: 95%;
    height: 90%;
    max-width: 1400px;
    max-height: 800px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(154, 205, 50, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { 
        transform: translateY(50px) scale(0.9); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

.gallery-image {
    flex: 2.5;
    background: linear-gradient(135deg, #f8fffe, #f0f8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    overflow: hidden;
}

.gallery-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(47, 79, 47, 0.2);
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.02);
}

.gallery-caption {
    flex: 1;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    background: rgba(154, 205, 50, 0.03);
    border-left: 1px solid rgba(154, 205, 50, 0.2);
    overflow-y: auto;
}

.gallery-caption h3 {
    color: #2F4F2F;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.3;
    border-bottom: 2px solid rgba(154, 205, 50, 0.3);
    padding-bottom: 1rem;
}

.gallery-caption p {
    color: #555;
    line-height: 1.7;
    font-size: 1.1rem;
    text-align: justify;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(47, 79, 47, 0.9);
    backdrop-filter: blur(15px);
    color: #FFD700;
    border: 2px solid rgba(255, 215, 0, 0.4);
    padding: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(47, 79, 47, 0.3);
}

.gallery-nav:hover {
    background: rgba(154, 205, 50, 0.95);
    color: #2F4F2F;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(154, 205, 50, 0.4);
}

.gallery-nav.prev {
    left: 30px;
}

.gallery-nav.next {
    right: 30px;
}

.close-gallery {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #FFD700;
    font-size: 2.5rem;
    cursor: pointer;
    background: rgba(47, 79, 47, 0.9);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(47, 79, 47, 0.3);
    font-weight: bold;
}

.close-gallery:hover {
    background: rgba(154, 205, 50, 0.95);
    color: #2F4F2F;
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(154, 205, 50, 0.4);
}

/* FIXED: Updated Ranking System - Full Width Background like Hero */
#rankings {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: 
        url('bg1.png') center/cover no-repeat,
        radial-gradient(circle at 30% 70%, #9ACD32 0%, #7CB342 25%, #689F38 50%, #558B2F 75%, #2F4F2F 100%);
    padding: 4rem 0;
    overflow: hidden;
    min-height: 100vh;
}


/* Section title styling for ranking */
#rankings .section-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 3rem;
    z-index: 10;
    position: relative;
}

#rankings .section-title::after {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

/* Keep the ranking container centered */
.rankings-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
}

.ranking-podium-container {
    display: flex;
    align-items: flex-end; /* This is crucial - aligns all items to bottom */
    justify-content: center;
    gap: 2rem;
    width: 100%;
    height: auto; /* Let it adjust to content */
}

.center-podium {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
}

.side-rankings {
    display: flex;
    align-items: flex-end;
    margin-top: 0;
}

.rank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
}

.rank-item:hover {
    transform: translateY(-10px);
}

.team-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2F4F2F;
    margin-bottom: 1rem;
    text-align: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(47, 79, 47, 0.1);
    border: 1px solid rgba(154, 205, 50, 0.2);
    min-width: 120px;
    transition: all 0.3s ease;
}

.rank-podium {
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px 15px 0 0;
    position: relative;
    overflow: hidden;
}

.rank-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

/* First place - tallest */
.podium-rank.first .rank-podium {
    height: 200px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.podium-rank.first .rank-number {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    border: 4px solid #FFF;
    transform: scale(1.2);
    animation: goldGlow 2s ease-in-out infinite alternate;
}

.podium-rank.first .team-name {
    font-size: 1.3rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 255, 255, 0.9));
    border: 2px solid #FFD700;
    color: #B8860B;
    font-weight: 900;
}

@keyframes goldGlow {
    from { box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4), 0 0 0 0 rgba(255, 215, 0, 0.7); }
    to { box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6), 0 0 0 10px rgba(255, 215, 0, 0.3); }
}

/* Second place */
.podium-rank.second .rank-podium {
    height: 160px;
    background: linear-gradient(135deg, #C0C0C0, #A9A9A9);
}

.podium-rank.second .rank-number {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    border: 3px solid #FFF;
}

.podium-rank.second .team-name {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(255, 255, 255, 0.9));
    border: 2px solid #C0C0C0;
    color: #696969;
}

/* Third place */
.podium-rank.third .rank-podium {
    height: 120px;
    background: linear-gradient(135deg, #CD7F32, #A0522D);
}

.podium-rank.third .rank-number {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    border: 3px solid #FFF;
}

.podium-rank.third .team-name {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(255, 255, 255, 0.9));
    border: 2px solid #CD7F32;
    color: #A0522D;
}

/* Side rankings (4th and 5th) */
.side-rank .rank-podium {
    height: 80px;
    width: 80px;
}

.side-rank .rank-number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #9ACD32, #7CB342);
    border: 2px solid #FFF;
}

.side-rank .team-name {
    font-size: 1rem;
    min-width: 100px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(154, 205, 50, 0.3);
}

.side-rank.fourth .rank-podium,
.side-rank.fifth .rank-podium {
    background: linear-gradient(135deg, #9ACD32, #7CB342);
}

/* Hover effects for rankings */
.rank-item:hover .team-name {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(47, 79, 47, 0.2);
}

.podium-rank.first:hover .rank-number {
    animation: none;
    transform: scale(1.3);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.8);
}

.podium-rank.second:hover .rank-number,
.podium-rank.third:hover .rank-number {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Sponsors Section */
.sponsors-category {
    margin-bottom: 4rem;
}

.category-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #2F4F2F;
}

.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sponsor-logo:hover {
    transform: scale(1.05);
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.sponsor-logo.major {
    width: 200px;
    height: 200px;
}

.sponsor-logo.partner {
    width: 150px;
    height: 150px;
}

.sponsor-logo.concessionary {
    width: 120px;
    height: 120px;
}

.sponsor-logo.minor {
    width: 100px;
    height: 100px;
}

/* Mobile-First Responsive Design */
@media (max-width: 1024px) {
    .section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .announcements-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Header Mobile Styles */
    .header {
        flex-wrap: wrap;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        min-height: auto;
    }
    
    .logo-section {
        gap: 0.5rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .logo:nth-child(1) {
        width: 40px;
    }
    
    .logo:nth-child(2) {
        width: 80px;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    /* Mobile Navigation */
    .nav-container {
        order: 3;
        width: 100%;
        margin-top: 1rem;
        display: none;
    }
    
    .nav-container.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 1rem;
        box-shadow: 0 10px 30px rgba(47, 79, 47, 0.1);
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(154, 205, 50, 0.2);
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }
    
    .nav-menu a:hover {
        transform: none;
        background: rgba(154, 205, 50, 0.1);
    }
    
    .event-date {
        order: 1;
        font-size: 0.9rem;
        padding: 0.5rem 0.8rem;
    }
    
    /* Hero Section Mobile */
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    /* Sections Mobile */
    .section {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* Events Grid Mobile */
    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-card {
        max-width: 100%;
    }
    
    .event-image {
        height: 180px;
    }
    
    .event-content {
        padding: 1.2rem;
    }
    
    .event-title {
        font-size: 1.2rem;
    }
    
    /* Announcements Grid Mobile */
    .announcements-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    /* Slideshow Mobile */
    .highlights-slideshow {
        height: 50vh;
        min-height: 300px;
    }
    
    .slide-content {
        width: 100%;
        padding: 1.5rem;
        background: linear-gradient(180deg, 
            rgba(34, 79, 34, 0.95) 0%, 
            rgba(34, 79, 34, 0.8) 50%, 
            rgba(34, 79, 34, 0.6) 100%);
    }
    
    .slide h3 {
        font-size: 1.8rem;
    }
    
    .slide p {
        font-size: 1rem;
    }
    
    /* Gallery Modal Mobile */
    .gallery-modal {
        padding: 0.5rem;
    }
    
    .gallery-content {
        flex-direction: column;
        width: 98%;
        height: 95%;
        max-height: none;
    }
    
    .gallery-image {
        flex: 1.5;
        padding: 1rem;
        min-height: 300px;
    }
    
    .gallery-caption {
        flex: 1;
        padding: 1.5rem;
        min-height: 200px;
    }
    
    .gallery-caption h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .gallery-caption p {
        font-size: 1rem;
    }
    
    .gallery-nav {
        padding: 0.8rem;
        font-size: 1.4rem;
    }
    
    .gallery-nav.prev {
        left: 15px;
    }
    
    .gallery-nav.next {
        right: 15px;
    }
    
    .close-gallery {
        top: 15px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 2rem;
    }
    
    /* Mobile ranking adjustments */
    #rankings {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .ranking-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        min-height: auto;
        padding: 0 1rem;
    }
    
    .center-podium {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .side-rankings {
        display: flex;
        align-items: flex-end; /* This ensures 4th and 5th align with the podium bottom */
        margin-top: 0; /* Remove any margin-top that pushes them up */
        height: 200px; /* Set a fixed height to match the tallest podium */
    }
    
    .podium-rank.first .rank-podium {
        height: 120px;
        width: 80px;
    }
    
    .podium-rank.second .rank-podium {
        height: 100px;
        width: 80px;
    }
    
    .podium-rank.third .rank-podium {
        height: 80px;
        width: 80px;
    }
    
    .podium-rank .rank-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .podium-rank.first .rank-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }
    
    .side-rank .rank-podium {
        height: 80px;
        width: 80px;
        background: linear-gradient(135deg, #9ACD32, #7CB342);
        margin-bottom: 0; /* Ensure no extra margin */
    }
    
    .side-rank .rank-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .team-name {
        font-size: 0.9rem;
        min-width: 80px;
        padding: 0.4rem 0.8rem;
    }
    
    .podium-rank.first .team-name {
        font-size: 1rem;
        min-width: 90px;
    }
    
    /* Sponsors Mobile */
    .sponsor-logo.major {
        width: 120px;
        height: 120px;
    }
    
    .sponsor-logo.partner {
        width: 100px;
        height: 100px;
    }
    
    .sponsor-logo.concessionary {
        width: 80px;
        height: 80px;
    }
    
    .sponsor-logo.minor {
        width: 60px;
        height: 60px;
    }
    
    .sponsors-grid {
        gap: 1rem;
    }
    
    /* Button Mobile */
    .see-more-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile adjustments */
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .event-image {
        height: 160px;
    }
    
    .event-content {
        padding: 1rem;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide h3 {
        font-size: 1.5rem;
    }
    
    .slide p {
        font-size: 0.9rem;
    }
    
    .gallery-caption {
        padding: 1rem;
    }
    
    .gallery-caption h3 {
        font-size: 1.2rem;
    }
    
    .announcements-grid {
        grid-template-columns: 1fr;
    }
    
    .center-podium {
        gap: 0.2rem;
    }
    
    .side-rankings {
        gap: 1rem;
    }
    
    .sponsor-logo.major {
        width: 100px;
        height: 100px;
    }
    
    .sponsor-logo.partner {
        width: 80px;
        height: 80px;
    }
    
    .sponsor-logo.concessionary {
        width: 70px;
        height: 70px;
    }
    
    .sponsor-logo.minor {
        width: 50px;
        height: 50px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Background Sections */
.section:nth-child(even) {
    background: linear-gradient(135deg, rgba(154, 205, 50, 0.05), rgba(255, 215, 0, 0.05));
}

.section:nth-child(odd) {
    background: rgba(248, 255, 248, 0.7);
    backdrop-filter: blur(5px);
}

/* Particle effects for hero section */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(154, 205, 50, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 215, 0, 0.4), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: sparkle 20s linear infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-200px); }
}

/* Touch-friendly enhancements for mobile */
@media (hover: none) and (pointer: coarse) {
    .event-card:hover,
    .announcement-card:hover {
        transform: none;
    }
    
    .event-card:active {
        transform: scale(0.98);
    }
    
    .announcement-card:active {
        transform: scale(0.98);
    }
    
    .nav-menu a:hover {
        transform: none;
        background: rgba(154, 205, 50, 0.1);
    }
    
    .see-more-btn:hover {
        transform: none;
    }
    
    .see-more-btn:active {
        transform: scale(0.98);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::before,
    .hero::after {
        animation: none;
    }
}

/* Focus states for better keyboard navigation */
.nav-menu a:focus,
.see-more-btn:focus,
.gallery-nav:focus,
.close-gallery:focus {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .header {
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 2px solid #2F4F2F;
    }
    
    .nav-menu a {
        border: 1px solid transparent;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        border-color: #2F4F2F;
    }
    
    .event-card,
    .announcement-card {
        border: 2px solid rgba(47, 79, 47, 0.3);
    }
}

/* Footer Styles - Add this to your styles.css file at the bottom */

.footer {
    background: linear-gradient(135deg, #2F4F2F 0%, #558B2F 50%, #9ACD32 100%);
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #FFD700;
    font-weight: 700;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-logo {
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    padding: 0.5rem;
}

.footer-about p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Pages Section */
.footer-pages ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-pages ul li {
    margin-bottom: 0.8rem;
}

.footer-pages ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-pages ul li a:hover {
    color: #FFD700;
    transform: translateX(5px);
}

/* Social Section */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #FFD700;
    color: #2F4F2F;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.social-link.email:hover {
    background: #FF6B6B;
}

.social-link.facebook:hover {
    background: #1877F2;
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .footer-logos {
        justify-content: center;
    }
    
    .footer-logo {
        height: 50px;
    }
    
    .footer-about p {
        text-align: center;
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-logo {
        height: 40px;
    }
    
    .footer-about p {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
}