/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 150px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 0;
}

.header .container {
    padding-left: 0;
    margin-left: 0;
    padding-right: 0;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #F03134 0%, #d32f2f 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(240, 49, 52, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 49, 52, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #dc3545;
    color: #dc3545;
}

.btn-outline:hover {
    background: #dc3545;
    color: white;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* ===== HEADER ===== */
.header {
    background: #177BF1;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1600;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.logo-container {
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 0 0 20px;
    z-index: 10;
    background: #177BF1;
    width: 400px;
    height: 75px;
    display: flex;
    align-items: center;
}

.nav-container {
    position: absolute;
    left: 400px;
    top: 0;
    padding: 0;
    z-index: 10;
    background: #177BF1;
    width: calc(100vw - 400px);
    max-width: calc(100% - 400px);
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 40px;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 0;
    padding-left: 0;
}

.logo-img {
    width: 80.75px; /* 15% reduction (80.75 = 85% of 95) */
    height: 80.75px; /* 15% reduction (80.75 = 85% of 95) */
    object-fit: contain;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.logo-subtitle {
    font-size: 0.7rem;
    color: #FFFFFF;
    margin: 0;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin-right: 0;
    padding-right: 0;
}

.nav-link {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.9375rem; /* 25% reduction (0.9375 = 75% of 1.25) */
}

.nav-link:hover {
    color: #F03134;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #dc3545;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== DROPDOWN MENU ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #FFFFFF !important;
}

.nav-dropdown .nav-link:hover {
    color: #F03134 !important;
}

.nav-dropdown .nav-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #FFFFFF;
}


.nav-dropdown:hover .nav-link i {
    transform: rotate(180deg);
    color: #F03134;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #177BF1;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #F03134;
}

.btn-portal {
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1.125rem;
    margin-right: 0;
}

.btn-portal:hover {
    background: #c82333;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #FFFFFF;
    transition: all 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 75px;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    overflow: hidden;
}

.hero-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.hero-carousel img.active {
    display: block;
}

.hero-carousel img.fade-in {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 18px 36px;
    font-size: 1.5rem;
    min-width: 200px;
}

/* ===== CAROUSEL NAVIGATION ===== */
.carousel-navigation {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.carousel-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    gap: 0.5rem;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background: white;
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ===== QUICK STATS ===== */
.quick-stats {
    background: #f8f9fa;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #dc3545;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== TEAMS SECTION ===== */
.teams {
    padding: 5rem 0;
    background: white;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-icon {
    width: 80px;
    height: 75px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.team-icon i {
    font-size: 2rem;
    color: white;
}

.team-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.team-age {
    color: #dc3545;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ===== NEWS SECTION ===== */
.news {
    padding: 5rem 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card.featured {
    grid-column: span 2;
}

.news-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #dc3545;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.news-date {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.news-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #c82333;
}

.news-cta {
    text-align: center;
}

/* ===== FIXTURES SECTION ===== */
.fixtures {
    padding: 5rem 0;
    background: white;
}

.fixtures-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    background: #f8f9fa;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #dc3545;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.fixtures-list {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.fixture-item {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    gap: 1.5rem;
}

.fixture-date {
    text-align: center;
    min-width: 80px;
}

.fixture-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
}

.fixture-date .month {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
}

.fixture-details h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.fixture-details p {
    color: #666;
    margin-bottom: 0.25rem;
}

.fixture-time {
    color: #dc3545;
    font-weight: 500;
}

.fixtures-cta {
    text-align: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SPONSORSHIP SECTION ===== */
.sponsorship {
    padding: 5rem 0;
    background: #f8f9fa;
}

.sponsorship-packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.package-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.package-card.platinum::before { background: linear-gradient(90deg, #FFD700, #FFA500); }
.package-card.gold::before { background: linear-gradient(90deg, #FFD700, #DAA520); }
.package-card.silver::before { background: linear-gradient(90deg, #C0C0C0, #A9A9A9); }

.package-card:hover {
    transform: translateY(-5px);
}

.package-header {
    margin-bottom: 1.5rem;
}

.package-header h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #dc3545;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.package-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.package-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.current-sponsors {
    padding: 4rem 0;
    background: #f8fafc;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.sponsors-carousel-container {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.sponsors-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 120px;
    width: 100%;
}

.sponsor-slide {
    min-width: 100%; /* Each slide takes full width */
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 2rem 0; /* Vertical padding only, no horizontal */
    position: relative;
    border-right: 1px solid #f0f0f0;
}

.sponsor-slide:last-child {
    border-right: none;
}

.sponsor-item {
    width: 20%; /* Each sponsor takes 1/5 of the slide width */
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
}

.sponsor-item:first-child {
    padding-left: 0;
}

.sponsor-item:last-child {
    padding-right: 0;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: all 0.3s ease;
    display: block;
}

.sponsor-logo:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Carousel buttons and indicators removed - not needed for 5-sponsor display */

/* Responsive Design */
@media (max-width: 768px) {
    .sponsor-slide {
        width: 20%; /* Keep 5 sponsors even on mobile */
        flex: 0 0 20%;
        padding: 0.5rem;
    }
    
    .sponsor-logo {
        max-width: 100%;
        max-height: 60px;
    }
    
    .sponsors-carousel {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .sponsor-slide {
        width: 20%; /* Keep 5 sponsors even on very small screens */
        flex: 0 0 20%;
        padding: 0.25rem;
    }
    
    .sponsor-logo {
        max-height: 50px;
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature i {
    font-size: 1.5rem;
    color: #dc3545;
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 24px;
}

.feature-content {
    flex: 1;
}

.feature h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
    margin-top: 0;
}

.feature p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.about-image {
    text-align: center;
}

.about-img-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    border: 2px dashed #dee2e6;
}

.about-img-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-team-photo {
    width: 100%;
    max-width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 0;
    background: #f8f9fa;
}

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

.contact-map {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #dc3545;
    margin-top: 0.25rem;
    min-width: 20px;
}

.contact-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc3545;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ===== FOOTER ===== */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer-logo h3 {
    color: white;
    margin: 0;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #dc3545;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #dc3545;
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-form .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

.footer-bottom a {
    color: #dc3545;
    text-decoration: none;
}

/* ===== PAGE TEMPLATES ===== */
.page-hero {
    background: linear-gradient(135deg, #177BF1 0%, #0d5bb8 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.page-content {
    padding: 0 2rem;
}

.content-section {
    padding: 5rem 0;
    background: white;
}

.content-placeholder {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.content-placeholder h2 {
    color: #177BF1;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.content-placeholder p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* ===== BARRY MCMANUS ===== */
.barry-mcmanus-content {
    max-width: 800px;
    margin: 0 auto;
}

.biography-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #177BF1;
}

.biography-section h3 {
    color: #177BF1;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legacy-section {
    margin-top: 2rem;
    padding: 2rem;
    background: #e3f2fd;
    border-radius: 15px;
    border-left: 4px solid #dc3545;
}

.legacy-section h3 {
    color: #dc3545;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== CLUB PREMIERSHIPS ===== */
.club-premierships-content {
    max-width: 1000px;
    margin: 0 auto;
}

.premierships-list {
    margin: 2rem 0;
}

.premierships-list h3 {
    color: #177BF1;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.premiership-years {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.year-group {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid #177BF1;
}

.year-group h4 {
    color: #177BF1;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #177BF1;
    padding-bottom: 0.5rem;
}

.year-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.year-item:last-child {
    border-bottom: none;
}

.year-item .year {
    font-weight: 600;
    color: #177BF1;
    font-size: 1.1rem;
    min-width: 60px;
}

.year-item .team {
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Responsive design for club premierships */
@media (max-width: 768px) {
    .premiership-years {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .year-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .year-item .year {
        min-width: auto;
        font-size: 1rem;
    }
    
    .year-item .team {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .page-content h1 {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
}

/* ===== CLUB PREMIERSHIPS (NEW STRUCTURE) ===== */
section.premierships-hero {
    background: linear-gradient(135deg, #177BF1 0%, #0d5bb8 100%) !important;
    color: white !important;
    padding: 4rem 0 3rem !important;
    text-align: center !important;
    margin: 0 !important;
    border: none !important;
}

.premierships-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.premierships-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* This rule was conflicting with dashboard pages - removed */

.premierships-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.premierships-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.premierships-container h2 {
    color: #177BF1;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.premierships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.decade-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid #177BF1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.decade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.decade-card h3 {
    color: #177BF1;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #177BF1;
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.year-entries {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.year-entry {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #177BF1;
    transition: background-color 0.3s ease;
}

.year-entry:hover {
    background: #f0f8ff;
}

.year-entry .year {
    font-weight: 700;
    color: #177BF1;
    font-size: 1.1rem;
}

.year-entry .details {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Responsive design for premierships */
@media (max-width: 768px) {
    .premierships-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .premierships-hero h1 {
        font-size: 2.2rem;
    }
    
    .premierships-hero p {
        font-size: 1rem;
    }
    
    .decade-card {
        padding: 1.5rem;
    }
    
    .year-entry {
        padding: 0.8rem;
    }
    
    .year-entry .year {
        font-size: 1rem;
    }
    
    .year-entry .details {
        font-size: 0.9rem;
    }
}

/* ===== PAST EXECUTIVE ===== */
.past-executive-content {
    max-width: 1200px;
    margin: 0 auto;
}

.executive-table {
    margin: 2rem 0;
}

.executive-table h3 {
    color: #177BF1;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.executive-table-data {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.executive-table-data th {
    background: #177BF1;
    color: white;
    padding: 1rem 0.8rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.executive-table-data td {
    padding: 0.8rem;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.executive-table-data tr:nth-child(even) {
    background: #f8f9fa;
}

.executive-table-data tr:hover {
    background: #e3f2fd;
}

.executive-table-data td:first-child {
    font-weight: 600;
    color: #177BF1;
    min-width: 60px;
}

.executive-table-data td:nth-child(2),
.executive-table-data td:nth-child(3),
.executive-table-data td:nth-child(4) {
    color: #333;
    font-weight: 500;
    min-width: 150px;
}

.executive-table-data td:nth-child(3),
.executive-table-data td:nth-child(4),
.executive-table-data td:nth-child(5) {
    min-width: 150px;
}

@media (max-width: 768px) {
    .executive-table-data {
        font-size: 0.8rem;
    }
    
    .executive-table-data th,
    .executive-table-data td {
        padding: 0.6rem 0.4rem;
    }
}

/* ===== YEARLY TEAM AWARDS ===== */
.yearly-awards-content {
    max-width: 800px;
    margin: 0 auto;
}

.awards-note {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.awards-note h3 {
    color: #177BF1;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.award-year {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.award-year:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.award-year h4 {
    color: #177BF1;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.awards-info {
    background: #e3f2fd;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.awards-info h3 {
    color: #177BF1;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===== MATCH AWARDS ===== */
.match-awards-content {
    max-width: 1200px;
    margin: 0 auto;
}

.awards-category {
    margin-bottom: 3rem;
}

.awards-category h3 {
    color: #177BF1;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #177BF1;
    padding-bottom: 0.5rem;
}

.award-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.award-item {
    background: #f8f9fa;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #177BF1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.award-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.player-name {
    font-weight: 600;
    color: #333;
}

.year {
    color: #666;
    font-style: italic;
}

/* ===== REPRESENTATIVE PLAYERS ===== */
.rep-players-content {
    max-width: 1200px;
    margin: 0 auto;
}

.rep-category {
    margin-bottom: 3rem;
}

.rep-category h3 {
    color: #177BF1;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #177BF1;
    padding-bottom: 0.5rem;
}

.player-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.player-item {
    background: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 4px solid #177BF1;
    font-weight: 500;
    transition: all 0.3s ease;
}

.player-item:hover {
    background: #e3f2fd;
    transform: translateX(5px);
}

.note {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.competition-notes {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

.competition-notes h3 {
    color: #177BF1;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.note-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.note-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.note-item strong {
    color: #177BF1;
    display: block;
    margin-bottom: 0.5rem;
}

/* ===== HISTORY PAGE ===== */
.history-hero {
    background: linear-gradient(135deg, #177BF1 0%, #0d5bb8 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.history-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.history-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #177BF1;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #177BF1;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(23, 123, 241, 0.3);
}

.timeline-item:nth-child(odd) .timeline-year {
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-year {
    margin-left: 2rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    flex: 1;
    position: relative;
}

.timeline-content h3 {
    color: #177BF1;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.achievements-section {
    padding: 5rem 0;
    background: white;
}

.achievements-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 3rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.achievement-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
}

.achievement-item i {
    font-size: 3rem;
    color: #177BF1;
    margin-bottom: 1rem;
}

.achievement-item h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.achievement-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}


/* ===== COACHING FORM STYLES ===== */
.coaching-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.coaching-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkbox-group, .radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-label, .radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}

.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkmark, .radio-mark {
    margin-left: 0.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-actions .btn {
    min-width: 150px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Header spans full device width without overflow */
    .header {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
        overflow-x: hidden;
        box-sizing: border-box;
        padding-right: 0; /* remove right padding to avoid pushing hamburger off-screen */
    }

    /* Mobile logo container */
    .logo-container {
        width: 100%;
        max-width: 100%;
        position: relative;
        left: 0;
        height: 75px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        box-sizing: border-box;
        padding-right: 72px; /* Space for hamburger menu */
    }
    
    .logo-title {
        font-size: 1.08rem; /* 10% reduction from 1.2rem */
    }
    
    .logo-subtitle {
        font-size: 0.63rem; /* 10% reduction from 0.7rem */
    }

    /* Mobile dropdown nav panel */
    .nav {
        position: fixed;
        top: 75px;
        right: 0;
        left: 0;
        background: #177BF1;
        display: none;
        flex-direction: column;
        padding: 12px 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        z-index: 1700;
        transition: transform 0.2s ease, opacity 0.2s ease;
        transform: translateY(-10px);
        opacity: 0;
    }
    .nav.active { display: flex !important; transform: translateY(0); opacity: 1; }

    /* Mobile overlay base (created via JS) */
    #mobileNavOverlay { display: none; z-index: 1000; }

    .nav .nav-list { width: 100%; max-width: 520px; margin: 0 auto; }
    
    /* Hide specific menu items on mobile */
    .nav .nav-list > li:has(.nav-link[href="#home"]),
    .nav .nav-list > li:has(.nav-link[href="#current-sponsors"]),
    .nav .nav-list > li:has(.nav-link[href="#teams"]),
    .nav .nav-list > li:has(.nav-link[href="#news"]),
    .nav .nav-list > li:has(.nav-link[href="#fixtures"]),
    .nav .nav-list > li:has(.nav-link[href="#sponsorship"]) {
        display: none !important;
    }
    
    /* Show only Registration, About, Contact, Club Portal */
    .nav .nav-list > li { display: block !important; }

    /* Mobile link styles (align right) */
    .nav .nav-link { display: block; color: #fff; padding: 12px 8px; text-align: right; }
    .nav .nav-link.btn-portal { background: #dc3545; border-radius: 8px; margin-top: 8px; }

    /* Dropdowns inside mobile panel */
    .nav .dropdown-menu { display: none; position: static; transform: none; opacity: 1; visibility: visible; background: transparent; box-shadow: none; padding: 0; margin: 4px 0 8px; }
    .nav .dropdown-menu li a { display: block; color: #fff; padding: 10px 12px; font-size: 16px; border-radius: 6px; text-align: center; }
    .nav .dropdown-menu li a:hover { background: rgba(255,255,255,0.12); }
    .nav .nav-dropdown.open > .dropdown-menu { display: block; }
    .nav .nav-dropdown > .nav-link i { transition: transform 0.2s ease; margin-left: 6px; }
    .nav .nav-dropdown.open > .nav-link i { transform: rotate(180deg); }

    /* Hide full nav list outside of active panel */
    .nav-list { display: none !important; }
    .nav.active .nav-list { display: flex !important; flex-direction: column; gap: 6px; }

    /* Right anchor for hamburger */
    .nav-container {
        position: absolute;
        top: 0;
        left: auto !important; /* reset desktop left:400px */
        right: 32px !important; /* stronger left nudge */
        width: 48px; /* tighter anchor */
        height: 75px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: transparent;
        z-index: 1400; /* higher than overlay */
    }

    .mobile-menu-toggle { display: flex !important; position: static; top: auto; right: auto; transform: none; z-index: 1800; }
    .mobile-menu-toggle span { width: 20px; height: 2.5px; }

    /* About section mobile styles */
    .about-content { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
        text-align: center; 
    }
    .about-text { 
        order: 2; 
    }
    .about-image { 
        order: 1; 
    }
    .about-team-photo { 
        max-width: 100%; 
        height: 250px; 
    }
    .feature { 
        flex-direction: column; 
        text-align: center; 
        align-items: center;
        gap: 1rem; 
        margin-bottom: 1.5rem; 
    }
    .feature i { 
        margin-top: 0;
        align-self: center;
        width: auto;
    }
    
    /* Contact section mobile styles */
    .contact-content { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }
    .contact-map { 
        height: 300px; 
    }
    .contact-form { 
        padding: 1.5rem; 
    }
    
    .form-row { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item { flex-direction: column !important; padding-left: 3rem; }
    .timeline-year { position: absolute; left: 0; top: 0; margin: 0 !important; transform: translateX(-50%); }
    .timeline-content { margin-top: 1rem; }
    .news-card.featured { grid-column: span 1; }
    .fixtures-tabs { flex-direction: column; align-items: center; }
    .fixture-item { flex-direction: column; text-align: center; gap: 1rem; }
    .sponsorship-packages { grid-template-columns: 1fr; }

    /* Remove 100vw sections on mobile to avoid right-side white line */
    .hero-text-container,
    .current-sponsors { width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
    /* ensure nav list shows when active */
    .nav.active .nav-list { display: flex !important; }
}
