/* ========================================
   ACUMEN SPORTS MANAGEMENT LIMITED
   Main Stylesheet
   Colors: Navy Blue, Maroon, Red, White
   Version: 2.0
   ======================================== */

/* ---------- COLOR VARIABLES ---------- */
:root {
    --navy: #0a1e3d;
    --navy-light: #1a3a6b;
    --maroon: #6b1a2a;
    --maroon-light: #8a2235;
    --red: #c41e3a;
    --red-light: #d42a47;
    --white: #ffffff;
    --off-white: #f8f6f4;
    --gray-light: #e8e4e0;
    --gray: #8a8580;
    --text-dark: #1a1a1a;
    --shadow: rgba(10, 30, 61, 0.15);
    --shadow-hover: rgba(10, 30, 61, 0.25);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--navy);
}

::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--maroon);
}

/* ---------- HEADER ---------- */
header {
    background: var(--navy);
    color: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(10, 30, 61, 0.3);
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--maroon);
    flex-shrink: 0;
}

.logo h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--white);
    line-height: 1.2;
}

.logo h1 span {
    color: var(--red);
}

nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--red);
    transition: width var(--transition);
}

nav a:hover::after,
nav a.active::after {
    width: 50%;
}

nav a:hover {
    background: rgba(196, 30, 58, 0.15);
}

nav a.active {
    background: rgba(196, 30, 58, 0.2);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px 5px;
    background: transparent;
    border: none;
    z-index: 1001;
    border-radius: 8px;
    transition: background var(--transition);
}

.hamburger:hover {
    background: rgba(255,255,255,0.05);
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all var(--transition);
    display: block;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--red);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
    background: var(--red);
}

/* ---------- MOBILE MENU SOCIAL ---------- */
.mobile-social {
    display: none;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    max-width: 300px;
    flex-wrap: wrap;
}

.mobile-social a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 24px;
    transition: all var(--transition);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.mobile-social a:hover {
    color: var(--red);
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}

/* ---------- HERO CAROUSEL ---------- */
.hero-carousel {
    height: 500px;
    overflow: hidden;
    position: relative;
    background: var(--navy);
}

.slides-wrapper {
    height: 100%;
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 30, 61, 0.4);
}

.overlay {
    background: rgba(10, 30, 61, 0.75);
    padding: 40px 50px;
    border-radius: 20px;
    color: var(--white);
    max-width: 750px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin: 0 20px;
    border-left: 5px solid var(--red);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.overlay h2 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.overlay h2 span {
    color: var(--red);
}

.overlay p {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
}

/* ---------- STATISTICS ---------- */
.stats-section {
    background: var(--navy);
    padding: 50px 5%;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: var(--maroon);
    opacity: 0.1;
    border-radius: 50%;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: var(--red);
    opacity: 0.08;
    border-radius: 50%;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.stat {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    padding: 35px 20px;
    text-align: center;
    border-radius: 20px;
    transition: all var(--transition);
    border: 1px solid rgba(255,255,255,0.05);
}

.stat:hover {
    transform: translateY(-5px);
    background: rgba(196, 30, 58, 0.2);
    border-color: var(--red);
}

.stat h2 {
    font-size: 45px;
    margin-bottom: 10px;
    font-weight: 800;
    color: var(--red);
}

.stat p {
    font-size: 18px;
    opacity: 0.9;
}

/* ---------- ECOSYSTEM ---------- */
.ecosystem {
    padding: 70px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.ecosystem h2 {
    text-align: center;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
}

.ecosystem h2 span {
    color: var(--red);
}

.academy-model h2 {
    text-align: center;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
}

.academy-model h2 span {
    color: var(--maroon);
}

.partner h2 {
    text-align: center;
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
}

.intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-bottom-color: var(--red);
}

.icon {
    font-size: 50px;
    margin-bottom: 10px;
    display: block;
}

.card h3 {
    color: var(--navy);
    margin: 15px 0 10px;
    font-size: 18px;
}

.card p {
    line-height: 1.7;
    flex-grow: 1;
    color: #555;
    font-size: 14px;
}

.card a {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 20px;
    font-weight: bold;
    transition: all var(--transition);
    align-self: center;
}

.card a:hover {
    background: var(--red);
    transform: scale(1.03);
}

/* ---------- ACADEMY MODEL ---------- */
.academy-model {
    background: linear-gradient(135deg, #f8f6f4 0%, #e8e4e0 100%);
    padding: 60px 5%;
}

.model-box {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    border-top: 5px solid var(--maroon);
}

.model-box h3 {
    color: var(--navy);
    font-size: 25px;
    margin-bottom: 20px;
}

.model-box h3 span {
    color: var(--maroon);
}

.model-box p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    max-width: 700px;
    margin: 0 auto;
}

.sport-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.sport-list span {
    background: var(--navy);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: all var(--transition);
}

.sport-list span:hover {
    background: var(--red);
    transform: scale(1.05);
}

/* ---------- PARTNER ---------- */
.partner {
    padding: 60px 5%;
    text-align: center;
    background: var(--off-white);
}

.partner-box {
    max-width: 650px;
    margin: 0 auto;
    background: var(--white);
    padding: 45px 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px var(--shadow);
    border-left: 5px solid var(--maroon);
}

.partner-box img {
    max-width: 200px;
    margin: 0 auto 25px;
    border-radius: 10px;
}

.partner-box p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.partner a {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all var(--transition);
}

.partner a:hover {
    background: var(--maroon);
    transform: scale(1.03);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 50px 5% 20px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.footer-section h3 span {
    color: var(--red);
}

.footer-section h4 {
    font-size: 17px;
    margin-bottom: 15px;
    color: var(--red);
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #c5d9f5;
    text-decoration: none;
    transition: color var(--transition);
    font-size: 14px;
}

.footer-section ul li a:hover {
    color: var(--red);
}

/* ===== FOOTER SOCIAL MEDIA ===== */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--white);
    transition: all var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--red);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(196, 30, 58, 0.3);
}

.footer-social a svg {
    width: 20px;
    height: 20px;
}

.footer-install-btn {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.footer-install-btn:hover {
    background: var(--maroon);
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.3);
}

.footer-install-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#installStatus {
    font-size: 12px;
    min-height: 20px;
    color: rgba(255,255,255,0.7);
    text-align: center;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    color: var(--white);
}

.footer-bottom-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.footer-bottom-social a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 20px;
    transition: all var(--transition);
}

.footer-bottom-social a:hover {
    color: var(--red);
    transform: translateY(-2px);
}

/* ===== CUSTOM INSTALL POPUP ===== */
.install-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.install-popup.show {
    display: flex;
    animation: popupFadeIn 0.5s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.install-popup-content {
    background: var(--white);
    border-radius: 24px;
    padding: 40px 35px 35px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-top: 5px solid var(--red);
    animation: popupContentIn 0.4s ease;
}

@keyframes popupContentIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.install-close {
    position: absolute;
    top: 12px;
    right: 18px;
    background: none;
    border: none;
    font-size: 30px;
    color: var(--gray);
    cursor: pointer;
    transition: color var(--transition);
    line-height: 1;
    padding: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.install-close:hover {
    color: var(--red);
    background: rgba(196, 30, 58, 0.08);
}

.install-popup-icon {
    margin: 0 auto 15px;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    border: 3px solid var(--maroon);
}

.install-popup-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.install-popup-content h3 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 800;
}

.install-popup-content h3 span {
    color: var(--red);
}

.install-popup-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    min-height: 60px;
}

#installDirectInfo {
    margin-top: 15px;
    font-size: 13px;
    color: #888;
    padding: 10px;
    background: var(--off-white);
    border-radius: 10px;
    line-height: 1.5;
}

.install-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.install-btn {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.install-btn:hover {
    background: var(--red);
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.install-btn:active {
    transform: scale(0.98);
}

.install-btn.installing {
    opacity: 0.7;
    pointer-events: none;
}

.install-btn .spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.install-later {
    background: transparent;
    color: var(--gray);
    border: none;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: color var(--transition);
    text-decoration: underline;
}

.install-later:hover {
    color: var(--red);
}

/* ===== ABOUT PAGE STYLES ===== */
.about-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 5% 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: var(--maroon);
    opacity: 0.1;
    border-radius: 50%;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--red);
    opacity: 0.08;
    border-radius: 50%;
}

.about-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.about-hero h1 span {
    color: var(--red);
}

.about-hero .subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 10px;
    position: relative;
    z-index: 1;
}

.about-hero .cac-number {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.about-section {
    padding: 70px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2 {
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.about-section h2 span {
    color: var(--red);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 18px;
}

.about-text strong {
    color: var(--navy);
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
}

.about-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-bottom-color: var(--red);
}

.service-card .icon {
    font-size: 45px;
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    color: var(--navy);
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Mission Vision Values */
.mv-section {
    background: var(--off-white);
    padding: 70px 5%;
}

.mv-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform var(--transition);
}

.mv-card:hover {
    transform: translateY(-5px);
}

.mv-card .mv-icon {
    font-size: 50px;
    margin-bottom: 15px;
    display: block;
}

.mv-card h3 {
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 12px;
}

.mv-card h3 span {
    color: var(--red);
}

.mv-card p {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.values-list span {
    background: var(--navy);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
}

.values-list span:hover {
    background: var(--red);
}

/* ===== MANAGEMENT TEAM STYLES ===== */
.team-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 5% 60px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: var(--maroon);
    opacity: 0.1;
    border-radius: 50%;
}

.team-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.team-hero h1 span {
    color: var(--red);
}

.team-hero .subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.badge-cac {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.team-section {
    padding: 70px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-section h2 {
    color: var(--navy);
    font-size: 32px;
    margin-bottom: 10px;
    text-align: center;
}

.team-section h2 span {
    color: var(--red);
}

.team-section .section-subtitle {
    text-align: center;
    color: #666;
    font-size: 17px;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all var(--transition);
    text-align: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.team-member .member-image {
    width: 100%;
    height: 250px;
    background: var(--off-white);
    overflow: hidden;
    position: relative;
}

.team-member .member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member .member-image .placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 80px;
    color: var(--navy);
    background: linear-gradient(135deg, var(--off-white), var(--gray-light));
}

.team-member .member-info {
    padding: 25px 20px;
}

.team-member .member-info h3 {
    color: var(--navy);
    font-size: 20px;
    margin-bottom: 5px;
}

.team-member .member-info .title {
    color: var(--red);
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 12px;
    display: block;
}

.team-member .member-info .bio {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.team-member .member-info .member-email {
    font-size: 13px;
    color: var(--navy);
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

.team-member .member-info .member-email:hover {
    color: var(--red);
}

.team-member .member-info .social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.team-member .member-info .social-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 18px;
    transition: color var(--transition);
}

.team-member .member-info .social-links a:hover {
    color: var(--red);
}

.badge-shareholder {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.badge-associate {
    display: inline-block;
    background: var(--maroon);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
    background: var(--navy);
    border-radius: 20px;
    padding: 40px;
    color: var(--white);
}

.team-stat {
    text-align: center;
}

.team-stat .number {
    font-size: 40px;
    font-weight: 800;
    color: var(--red);
    display: block;
}

.team-stat .label {
    font-size: 16px;
    opacity: 0.8;
    margin-top: 5px;
}

/* ===== GALLERY STYLES ===== */
.gallery-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 5% 60px;
    text-align: center;
    color: var(--white);
}

.gallery-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.gallery-hero h1 span {
    color: var(--red);
}

.gallery-hero .subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-section {
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-section h2 {
    color: var(--navy);
    font-size: 32px;
    text-align: center;
    margin-bottom: 10px;
}

.gallery-section h2 span {
    color: var(--red);
}

.gallery-section .subtitle {
    text-align: center;
    color: #666;
    font-size: 17px;
    margin-bottom: 40px;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-filter button {
    background: var(--off-white);
    border: 2px solid transparent;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition);
    color: var(--navy);
    font-size: 14px;
}

.gallery-filter button:hover,
.gallery-filter button.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--red);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all var(--transition);
    aspect-ratio: 4/3;
    background: var(--off-white);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 40px var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 30, 61, 0.85));
    padding: 30px 20px 20px;
    color: var(--white);
    opacity: 0;
    transition: opacity var(--transition);
    border-left: none;
    backdrop-filter: none;
    border-radius: 0;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-item .overlay span {
    font-size: 13px;
    opacity: 0.8;
}

.gallery-item .category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--red);
    color: var(--white);
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
}

.no-images {
    text-align: center;
    padding: 60px;
    color: #888;
}

.no-images .icon {
    font-size: 60px;
    display: block;
    margin-bottom: 15px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 40px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    transition: color var(--transition);
    padding: 10px;
}

.lightbox .close:hover {
    color: var(--red);
    transform: rotate(90deg);
}

.lightbox .caption {
    position: absolute;
    bottom: 30px;
    color: white;
    text-align: center;
    font-size: 18px;
    opacity: 0.8;
}

/* ===== LEGAL PAGES (Privacy, Terms) ===== */
.legal-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 5% 60px;
    text-align: center;
    color: var(--white);
}

.legal-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
}

.legal-hero h1 span {
    color: var(--red);
}

.legal-hero .subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.legal-content {
    padding: 60px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content .last-updated {
    color: #888;
    font-size: 14px;
    text-align: center;
    margin-bottom: 40px;
}

.legal-content h2 {
    color: var(--navy);
    font-size: 26px;
    margin: 40px 0 15px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h2 span {
    color: var(--red);
}

.legal-content p {
    color: #444;
    line-height: 1.9;
    font-size: 16px;
    margin-bottom: 18px;
}

.legal-content ul {
    color: #444;
    line-height: 1.9;
    font-size: 16px;
    margin: 10px 0 20px 25px;
}

.legal-content ul li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--navy);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1200px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mv-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 12px 5%;
        min-height: 70px;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .logo h1 {
        font-size: 15px;
    }
    
    /* Mobile Navigation - Right Sliding */
    nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 290px;
        height: 100vh;
        background: var(--navy);
        padding: 80px 25px 30px;
        z-index: 999;
        overflow-y: auto;
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.3);
    }
    
    nav.active {
        right: 0;
    }
    
    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    nav a {
        display: block;
        padding: 14px 18px;
        width: 100%;
        text-align: left;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: 10px;
        transition: all var(--transition);
        color: var(--white);
    }
    
    nav a::after {
        display: none;
    }
    
    nav a:hover {
        background: rgba(196, 30, 58, 0.2);
        padding-left: 24px;
    }
    
    /* Add icons to menu items */
    nav a:nth-child(1)::before { content: '🏠 '; }
    nav a:nth-child(2)::before { content: 'ℹ️ '; }
    nav a:nth-child(3)::before { content: '👥 '; }
    nav a:nth-child(4)::before { content: '🖼️ '; }
    nav a:nth-child(5)::before { content: '🏟️ '; }
    nav a:nth-child(6)::before { content: '🔎 '; }
    nav a:nth-child(7)::before { content: '📊 '; }
    nav a:nth-child(8)::before { content: '📞 '; }
    
    .mobile-social {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero */
    .hero-carousel,
    .slide {
        height: 400px;
    }
    
    .overlay {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .overlay h2 {
        font-size: 30px;
    }
    
    .overlay p {
        font-size: 17px;
    }
    
    /* Stats */
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat {
        padding: 25px 15px;
    }
    
    .stat h2 {
        font-size: 32px;
    }
    
    .stat p {
        font-size: 15px;
    }
    
    /* Ecosystem */
    .ecosystem {
        padding: 40px 5%;
    }
    
    .ecosystem h2,
    .academy-model h2,
    .partner h2 {
        font-size: 26px;
    }
    
    .cards {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    /* Academy Model */
    .academy-model {
        padding: 40px 5%;
    }
    
    .model-box {
        padding: 30px 20px;
    }
    
    .model-box h3 {
        font-size: 22px;
    }
    
    .sport-list span {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    /* Partner */
    .partner-box {
        padding: 30px 20px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-social a {
        width: 44px;
        height: 44px;
    }
    
    .footer-social a svg {
        width: 22px;
        height: 22px;
    }
    
    .footer-bottom-social {
        gap: 12px;
    }
    
    .footer-bottom-social a {
        font-size: 22px;
    }
    
    /* About Page */
    .about-hero h1,
    .team-hero h1,
    .gallery-hero h1,
    .legal-hero h1 {
        font-size: 32px;
    }
    
    .about-hero .subtitle,
    .team-hero .subtitle,
    .gallery-hero .subtitle,
    .legal-hero .subtitle {
        font-size: 17px;
    }
    
    .about-section {
        padding: 40px 5%;
    }
    
    .about-section h2,
    .team-section h2,
    .gallery-section h2 {
        font-size: 26px;
    }
    
    .about-image img {
        height: 250px;
    }
    
    .mv-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mv-section {
        padding: 40px 5%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-filter button {
        padding: 8px 18px;
        font-size: 13px;
    }
    
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 20px;
    }
    
    .team-stat .number {
        font-size: 32px;
    }
    
    .team-section {
        padding: 40px 5%;
    }
    
    .legal-content {
        padding: 40px 5%;
    }
    
    .legal-content h2 {
        font-size: 22px;
    }
    
    /* Install Popup */
    .install-popup-content {
        max-width: 95%;
        padding: 30px 20px 25px;
        margin: 15px;
    }
    
    .install-popup-content h3 {
        font-size: 22px;
    }
    
    .install-popup-content p {
        font-size: 14px;
        min-height: 70px;
    }
    
    .install-popup-icon {
        width: 65px;
        height: 65px;
    }
    
    .install-btn {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .install-close {
        font-size: 26px;
        top: 8px;
        right: 12px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 500px) {
    .logo h1 {
        font-size: 13px;
    }
    
    .logo img {
        width: 42px;
        height: 42px;
    }
    
    .hero-carousel,
    .slide {
        height: 350px;
    }
    
    .overlay h2 {
        font-size: 24px;
    }
    
    .overlay p {
        font-size: 15px;
    }
    
    .overlay {
        padding: 25px 18px;
    }
    
    .stats-container {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .stat {
        padding: 20px 12px;
    }
    
    .stat h2 {
        font-size: 28px;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .gallery-item .overlay h3 {
        font-size: 14px;
    }
    
    .gallery-item .overlay span {
        font-size: 11px;
    }
    
    .gallery-item .category-badge {
        font-size: 10px;
        padding: 3px 10px;
        top: 10px;
        right: 10px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member .member-image {
        height: 200px;
    }
    
    .about-hero,
    .team-hero,
    .gallery-hero,
    .legal-hero {
        padding: 60px 5% 40px;
    }
    
    .about-hero h1,
    .team-hero h1,
    .gallery-hero h1,
    .legal-hero h1 {
        font-size: 26px;
    }
    
    .model-box {
        padding: 25px 15px;
    }
    
    .sport-list span {
        padding: 8px 14px;
        font-size: 12px;
    }
    
    .partner-box {
        padding: 25px 15px;
    }
    
    .partner-box img {
        max-width: 120px;
    }
    
    nav {
        width: 260px;
    }
    
    nav a {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    .install-popup-content {
        padding: 25px 15px 20px;
    }
    
    .install-popup-content h3 {
        font-size: 19px;
    }
    
    .install-popup-content p {
        font-size: 13px;
        min-height: 60px;
    }
    
    .install-popup-icon {
        width: 55px;
        height: 55px;
    }
    
    .install-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .lightbox {
        padding: 20px;
    }
    
    .lightbox .close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .lightbox .caption {
        font-size: 14px;
        bottom: 20px;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-red { color: var(--red); }
.text-maroon { color: var(--maroon); }
.bg-navy { background: var(--navy); }
.bg-red { background: var(--red); }
.bg-maroon { background: var(--maroon); }
.bg-off-white { background: var(--off-white); }
.p-20 { padding: 20px; }
.p-40 { padding: 40px; }
.m-20 { margin: 20px; }
.m-40 { margin: 40px; }
.rounded-10 { border-radius: 10px; }
.rounded-20 { border-radius: 20px; }
.shadow { box-shadow: 0 5px 20px var(--shadow); }
.shadow-hover:hover { box-shadow: 0 15px 40px var(--shadow-hover); }

/* ===== PRINT STYLES ===== */
@media print {
    header,
    footer,
    .hamburger,
    .install-popup,
    .hero-carousel,
    .stats-section,
    .partner,
    .gallery-filter,
    .lightbox {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .about-section,
    .ecosystem,
    .academy-model,
    .mv-section,
    .team-section,
    .gallery-section,
    .legal-content {
        padding: 20px 5% !important;
    }
    
    .card,
    .service-card,
    .mv-card,
    .team-member {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}