/* ==========================================
   FOOTBALL SPORTS WEBSITE - RESPONSIVE CSS
   Mobile-First Approach
   ========================================== */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================
   PRELOADER / LOADING SCREEN
   ========================================== */
.contact-card_left {
    float: left;
    width: 25%;
}
.contact-card_right {
    float: right;
    width: 74%;
}
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5a3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 0.8s ease-in-out 2.5s forwards;
}

.preloader-content {
    text-align: center;
    color: var(--white);
}

.football-loader {
    font-size: 5rem;
    animation: spin 1.5s linear infinite;
    margin-bottom: 1.5rem;
}

.preloader p {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
}

@keyframes spin {
    0% { transform: rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateY(360deg) rotateZ(360deg); }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Root Variables */
:root {
    --primary-color: #1a472a;
    --secondary-color: #f39c12;
    --accent-color: #e74c3c;
    --content-width: 1600px;
    --hero-bg-image: url(../images/hero-image.png);
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #ecf0f1;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

button {
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.header {
    background-color: var(--white);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.navbar {
    width: 100%;
    padding: 1rem 0;
}

.nav-container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    display: block;
    width: auto;
    height: 50px;
    max-width: 100%;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background-color: transparent;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
}

.menu-toggle span {
    width: 18px;
    height: 2px;
    background-color: var(--primary-color);
    display: block;
    transition: var(--transition);
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 1rem 21px;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link-box {
    background-color: #1a472a;
    color: var(--white);
    padding: 0.75rem 1.02rem;
    font-size: 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link-box:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid #c3c3c3;
    background-color: transparent;
    color: #cbcbcb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 1.1rem;
}

.theme-toggle:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Mobile Navigation */
@media (max-width: 768px) {

    .contact-card_left {
    float: left;
    width: 100%;
}
.contact-card_right {
    float: right;
    width:100%;
}
    .nav-container {
        align-items: center;
    }

    .nav-right {
        width: auto;
        justify-content: flex-end;
        margin-top: 0;
        position: relative;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: min(280px, 90vw);
        background-color: var(--white);
        box-shadow: var(--shadow-lg);
        border-radius: 10px;
        padding: 0.8rem;
        gap: 0;
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .nav-right.open .nav-menu {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.8rem 0.9rem;
    }

    .nav-link-box {
        margin-top: 0.25rem;
        text-align: center;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .logo img {
        height: 38px;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(#1a472ab5, rgb(0 0 0 / 0%)), var(--hero-bg-image) center / cover no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    text-align: left;
    padding: 3rem 20px;
}

/* ==========================================
   DARK THEME
   ========================================== */

body.dark-theme {
    --text-dark: #e2e8f0;
    --text-light: #cbd5e1;
    --bg-light: #0f172a;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.45);
    background-color: #020617;
}

body.dark-theme .header {
    background-color: #111827;
}

body.dark-theme .nav-link {
    color: #f8fafc;
}

body.dark-theme .nav-link:hover {
    color: var(--secondary-color);
}

body.dark-theme .theme-toggle {
    border-color: #f8fafc;
    color: #f8fafc;
}

body.dark-theme .theme-toggle:hover {
    background-color: #f8fafc;
    color: #111827;
}

body.dark-theme h2 {
    color: #f8fafc;
}

body.dark-theme .team-card,
body.dark-theme .contact-item {
    background-color: #1f2937;
}

body.dark-theme .team-card h3,
body.dark-theme .fixture-details h4,
body.dark-theme .contact-item h3 {
    color: #f8fafc;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea {
    background-color: #111827;
    color: #f8fafc;
    border-color: #334155;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 6rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-align: left;
    max-width: 871px;
    line-height: 1.0;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 5rem;
    color: var(--bg-light);
    max-width: 900px;
    line-height: 1.5;
}

.cta-button {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

/* ==========================================
   NEW ABOUT US SHOWCASE SECTION
   ========================================== */

.aboutus-showcase {
    background-color: #ffffff;
    padding: 6rem;
}

.aboutus-container {
    max-width: var(--content-width);
    display: grid;
    grid-template-columns: minmax(320px, 42%) minmax(420px, 58%);
    gap: 3rem;
    align-items: center;
}

.aboutus-top {
    margin-bottom: 0;
    max-width: 847px;
}

.aboutus-label {
    font-size: 1.1rem;
    font-weight: 400;
    color: #8b8b8b;
    letter-spacing: 0.04em;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2.8rem;
    text-transform: uppercase;
}

.aboutus-label::before {
    content: "";
    width: 2.2rem;
    height: 3px;
    background-color: #7bc100;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.aboutus-top h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.15;
    color: #222222;
    text-align: left;
    max-width: 847px;
    font-weight: 400;
}

.aboutus-top h2 span {
    color: #6b7280;
}

.aboutus-bottom {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

.aboutus-copy p {
    color: #6b7280;
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    line-height: 1.7;
    max-width: 847px;
    margin-top: 51px;
}

.aboutus-text {
    max-width: 847px;
}

.aboutus-image-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.aboutus-image {
    width: min(100%, 510px);
    min-height: 500px;
    border-radius: 20px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.aboutus-image.image-one {
    background-image: url(../images/about-1.jpg);
    background-position: 35% center;
}

@media (max-width: 1100px) {
    .aboutus-container {
        grid-template-columns: 1fr;
    }

    .aboutus-copy p {
        max-width: 100%;
    }

    .aboutus-image-wrap {
        justify-content: flex-start;
    }

    .aboutus-image {
        width: 100%;
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .aboutus-showcase {
        padding: 3.5rem 20px;
    }

    .aboutus-top h2 {
        font-size: clamp(1.6rem, 8vw, 2.6rem);
    }

    .aboutus-image {
        min-height: 320px;
    }
}

body.dark-theme .aboutus-showcase {
    background-color: #0b1220;
}

body.dark-theme .aboutus-label {
    color: #e5e7eb;
}

body.dark-theme .aboutus-top h2 {
    color: #f8fafc;
}

body.dark-theme .aboutus-top h2 span,
body.dark-theme .aboutus-copy p {
    color: #94a3b8;
}

body.dark-theme .aboutus-cta {
    color: #07210a;
}

/* ==========================================
   OUR FOCUS SECTION
   ========================================== */

.ourfocus-section {
    background-color: rgb(255, 215, 0);
    padding: 6rem;
}

.ourfocus-container {
    max-width: var(--content-width);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* gap: 3rem; */
    align-items: center;
}

.ourfocus-label {
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.ourfocus-content h2 {
    text-align: left;
    margin-bottom: 4.2rem;
    color: #0f172a;
    font-weight: 400;
}

.ourfocus-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.ourfocus-list li {
    background-color: #ffffff;
    /* border: 1px solid #e2e8f0; */
    border-radius: 10px;
    padding: 1rem 1.2rem;
    color: #334155;
    line-height: 1.6;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ourfocus-icon {
    font-size: 1.3rem;
    color: #c0c0c0;
    flex-shrink: 0;
    width: 1.6rem;
    text-align: center;
}

.ourfocus-image-wrap {
    width: 90%;
}

.ourfocus-image {
    min-height: 610px;
    border-radius: 18px;
    background-image: linear-gradient(rgb(15 23 42 / 22%), rgb(15 23 42 / 22%)), url(../images/our-focus-image.jpeg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .ourfocus-container {
        grid-template-columns: 1fr;
    }

    .ourfocus-image {
        min-height: 320px;
    }
}

body.dark-theme .ourfocus-section {
    background-color: #0b1220;
}

body.dark-theme .ourfocus-label {
    color: #94a3b8;
}

body.dark-theme .ourfocus-content h2 {
    color: #f8fafc;
}

body.dark-theme .ourfocus-list li {
    background-color: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

/* ==========================================
   COMPLIANCE SECTION
   ========================================== */

.compliance-section {
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    background-image: linear-gradient(rgb(15 23 42 / 35%), rgb(15 23 42 / 35%)), url(../images/parallax-image.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.compliance-container {
    width: 100%;
    max-width: var(--content-width);
    min-height: 720px;
    padding: 40px;
    display: flex;
    align-items: center;
}

.compliance-card {
    width: min(100%, 447px);
    background-color: #ffffff;
    border-radius: 10px;
    padding: 3rem 2.4rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.18);
}

.compliance-label {
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #4b5563;
    font-weight: 600;
}

.compliance-card h2 {
    margin: 0 0 1.2rem;
    text-align: left;
    color: #111827;
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    font-weight: 400;
}

.compliance-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.compliance-list li {
    color: #4b5563;
    line-height: 1.6;
    font-size: 1.02rem;
}

@media (max-width: 992px) {
    .compliance-section {
        min-height: 100vh;
        padding: 24px 20px;
        background-attachment: scroll;
    }

    .compliance-container {
        min-height: auto;
        padding: 24px;
    }

    .compliance-card {
        width: 100%;
        padding: 2rem 1.2rem;
    }
}

body.dark-theme .compliance-section {
    background-color: #020617;
}

body.dark-theme .compliance-card {
    background-color: #0f172a;
}

body.dark-theme .compliance-label,
body.dark-theme .compliance-list li {
    color: #cbd5e1;
}

body.dark-theme .compliance-card h2 {
    color: #f8fafc;
}

/* Club Network Dark Theme */
body.dark-theme .club-network {
    background-color: #020617;
}

body.dark-theme .club-network h2 {
    color: #f8fafc;
}

body.dark-theme .section-description {
    color: #cbd5e1;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    padding: 4rem 20px;
    background-color: var(--bg-light);
}

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

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

/* ==========================================
   CLUB NETWORK SECTION
   ========================================== */

.club-network {
    padding: 5rem 20px;
    background-color: var(--white);
}

.club-network .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.club-network .section-label {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.club-network h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.club-network-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

.club-card {
    border-radius: 16px;
    padding: 2.5rem;
    min-height: 140px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: white;
    border: 1px solid #ddd;
    transition: background-color 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.club-card-1 {
    color: var(--text-dark);
}

.club-card-2 {
    color: var(--text-dark);
}

.club-card-3 {
    color: var(--text-dark);
}
.club-card-5 {
    color: var(--text-dark);
}

.club-card-5 {
    color: var(--text-dark);
}
.club-card-1:hover {
    background-color: #eaf4ff;
    border-color: #9ec5ff;
    transform: translateY(-4px);
}

.club-card-2:hover {
    background-color: #ecfff5;
    border-color: #9de5c0;
    transform: translateY(-4px);
}

.club-card-3:hover {
    background-color: #fff3e8;
    border-color: #ffcb99;
    transform: translateY(-4px);
}
.club-card-4:hover {
    background-color: #7c8ea3b0;
    border-color: #7c8ea3b0;
    transform: translateY(-4px);
}

.club-card-5:hover {
    background-color: #fff3e8;
    border-color: #ffcb99;
    transform: translateY(-4px);
}
.club-card-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.club-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.club-info {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
}

/* ==========================================
   CLUB NETWORK RESPONSIVE
   ========================================== */

/* Club Network Responsive */
@media (min-width: 768px) {
    .club-network-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .club-network-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .club-network {
        padding: 3rem 20px;
    }

    .club-card {
        padding: 1.5rem;
        min-height: 120px;
    }

    .club-card h3 {
        font-size: 1.3rem;
    }

    .club-info {
        font-size: 0.85rem;
    }
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
    padding: 5rem 20px;
    background-color: #ecf0f1;
}

.contact-container {
    max-width: 1600px;
}

.contact .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact .section-label {
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.profile-avatar {
    width: 120px;
    height: 200px; 
    /* border-radius: 1%; */
    display: block;
    margin-bottom: 1rem;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.contact-card h3 {
    color: var(--primary-color);
    /* margin-bottom: 0.75rem; */
    font-size: clamp(1.4rem, 2vw, 1.8rem);
}

.contact-card p {
    color: var(--text-dark);
    margin: 0 0 0.75rem;
    line-height: 1.7;
    font-size: 1rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.contact-detail-icon {
    color: #c4c9cf;
    width: 16px;
    flex-shrink: 0;
    text-align: center;
}

.contact-card hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #d3d3d3;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-image-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.contact-image-card img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: auto;
        width: 100%;
    }
    .ourfocus-content {
    margin-top: 30px;
}
}

body.dark-theme .contact {
    background-color: #0b1220;
}

body.dark-theme .contact h2 {
    color: #f8fafc;
}

body.dark-theme .contact-card {
    background-color: #111827;
}

body.dark-theme .contact-card h3,
body.dark-theme .contact-card p {
    color: #e2e8f0;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 20px 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section h4 img {
    display: block;
    width: auto;
    max-width: 180px;
    height: 48px;
    filter: brightness(0) invert(1);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-section ul {
    list-style: none;
}

.quick-links-section {
    text-align: right;
}

.quick-links-section ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: nowrap;
}

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

.quick-links-section ul li {
    margin-bottom: 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .quick-links-section {
        text-align: left;
    }

    .quick-links-section ul {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 0.8rem 1rem;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        right: 16px;
        bottom: 16px;
    }
}

/* ==========================================
   COMPREHENSIVE RESPONSIVE DESIGN - ALL DEVICES
   ========================================== */

/* EXTRA SMALL DEVICES (320px - 480px) */
@media (max-width: 480px) {
    :root {
        --content-width: 100%;
    }

    body {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        margin-bottom: 1rem;
    }

    /* Navigation */
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .nav-link {
        padding: 0.75rem 12px;
    }

    .nav-link-box {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    /* Hero Section */
    .hero {
        padding: 1.5rem 15px;
    }

    .hero-content h2 {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        max-width: 100%;
    }

    .hero-content p {
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        max-width: 100%;
    }

    /* About Us Showcase */
    .aboutus-showcase {
        padding: 2rem 15px;
    }

    .aboutus-container {
        gap: 1.5rem;
    }

    .aboutus-top h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .aboutus-copy p {
        font-size: clamp(0.95rem, 3vw, 1.1rem);
        margin-top: 1rem;
    }

    .aboutus-image {
        min-height: 250px;
    }

    /* Our Focus Section */
    .ourfocus-section {
        padding: 2rem 15px;
    }

    .ourfocus-content h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        margin-bottom: 2rem;
    }

    .ourfocus-list li {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .ourfocus-image {
        min-height: 250px;
    }

    /* Compliance Section */
    .compliance-section {
        padding: 1.5rem 15px;
    }

    .compliance-card {
        padding: 1.5rem 1rem;
    }

    .compliance-card h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .compliance-list li {
        font-size: 0.9rem;
    }

    /* Club Network */
    .club-network {
        padding: 2rem 15px;
    }

    .club-network h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .club-card {
        padding: 1.2rem;
        min-height: 100px;
    }

    .club-card h3 {
        font-size: clamp(1.1rem, 5vw, 1.5rem);
    }

    .club-info {
        font-size: 0.8rem;
    }

    /* Contact Section */
    .contact {
        padding: 2rem 15px;
    }

    .contact h2 {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card h3 {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
    }

    .contact-card p {
        font-size: 1.0rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 15px 0.5rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }
}

/* SMALL DEVICES (480px - 768px) */
@media (min-width: 480px) and (max-width: 768px) {
    :root {
        --content-width: 100%;
    }

    body {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 20px;
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    /* Navigation */
    .nav-menu {
        gap: 0.8rem;
        font-size: 0.9rem;
    }

    .nav-link {
        padding: 0.8rem 15px;
    }

    /* Hero */
    .hero {
        padding: 2rem 20px;
    }

    .hero-content h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-content p {
        font-size: clamp(1rem, 3vw, 1.15rem);
    }

    /* About Us */
    .aboutus-showcase {
        padding: 3rem 20px;
    }

    .aboutus-top h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .aboutus-image {
        min-height: 300px;
    }

    /* Our Focus */
    .ourfocus-section {
        padding: 3rem 20px;
    }

    .ourfocus-content h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 2.5rem;
    }

    .ourfocus-image {
        min-height: 300px;
    }

    /* Club Network */
    .club-network {
        padding: 3rem 20px;
    }

    .club-network h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .club-card {
        padding: 1.8rem;
        min-height: 120px;
    }

    .club-card h3 {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
    }

    /* Contact */
    .contact {
        padding: 3rem 20px;
    }

    .contact h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .contact-card {
        padding: 2rem;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 20px 1rem;
    }
}

/* TABLETS (768px - 992px) */
@media (min-width: 768px) and (max-width: 992px) {
    :root {
        --content-width: 100%;
    }

    /* Navigation */
    .nav-menu {
        gap: 1.2rem;
    }

    /* Hero */
    .hero-content h2 {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }

    .hero-content p {
        font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    }

    /* About Us */
    .aboutus-container {
        gap: 2rem;
    }

    .aboutus-top h2 {
        font-size: clamp(1.8rem, 4vw, 2.2rem);
    }

    .aboutus-image {
        min-height: 350px;
    }

    /* Our Focus */
    .ourfocus-image {
        min-height: 350px;
    }

    /* Compliance */
    .compliance-section {
        background-attachment: scroll;
    }

    /* Club Network - 2 columns */
    .club-network-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact - Single column */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 2rem;
    }
}

/* LARGE DEVICES (992px - 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
    .aboutus-container {
        grid-template-columns: 40% 60%;
    }

    .club-network-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* EXTRA LARGE DEVICES (1200px+) */
@media (min-width: 1200px) {
    .club-network-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    .header,
    .footer,
    .contact-form {
        display: none;
    }

    body {
        background-color: white;
    }
}
