:root {
    --primary: #0066cc;
    /* Akoben Blue */
    --secondary: #00ccff;
    /* Akoben Cyan */
    --dark: #0a1628;
    /* Deep Navy - used for dark backgrounds/text */
    --light: #f8f9fa;
    --accent: #ff6b6b;
    --section-bg: #f5f8fc;
    /* Light blueish background for sections */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: #ffffff;
    overflow-x: hidden;
}

/* Base Styles & Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #f8f9fa 0%, var(--section-bg) 100%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.bg-animation::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 204, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(50px, -50px) rotate(120deg);
    }

    66% {
        transform: translate(-30px, 30px) rotate(240deg);
    }
}

/* Header */
.site-header {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.12);
    z-index: 1000;
    padding: 16px 32px;
    transition: all 0.3s ease;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.brand-logo {
    width: 52px;
    height: 52px;

    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 22px;
}

.brand-text h1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.brand-text p {
    font-size: 11px;
    color: #666;
    letter-spacing: 0.5px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav>a,
.cta-btn {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 10px 16px;
    border-radius: 10px;
    position: relative;
}

.main-nav>a:hover,
.main-nav>a.active {
    color: var(--primary);
    background: rgba(0, 102, 204, 0.08);
}

.cta-btn {
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 100px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    padding: 25px;
    z-index: 999;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    animation: slideDown 0.4s ease;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 14px 16px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    padding-left: 24px;
}

/* Hero Section */
.hero {
    padding: 200px 20px 120px;
    max-width: 1400px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0a1628 0%, #17375a 100%);
    /* Dark, premium gradient */
    border-radius: 0 0 40px 40px;
    color: white;
    text-align: center;
}

.hero h2 {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 22px;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.btn-primary {
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary {
    padding: 16px 36px;
    background: transparent;
    color: white;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 44px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Cards / Grids (Generic Styling) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border-top: 5px solid var(--primary);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 102, 204, 0.15);
}

.card h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.card p {
    font-size: 15px;
    color: #555;
}

.icon-box {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* Player Management Card Specific */
.profile-card {
    text-align: center;
    padding: 30px;
    border-top: none;
    border: 1px solid #eee;
}

.profile-card img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 6px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-card h4 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 5px;
    color: var(--dark);
}

.profile-card p.role {
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}



.profile-card p.bio {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 25px;
    min-height: 90px;
}

.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background: var(--dark);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.cv-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cv-btn i {
    margin-right: 8px;
}

/* Contact Form Specific */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

/* Footer (No change, retained from previous step) */
.footer {
    background: linear-gradient(135deg, #003d6b 0%, #001f3f 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover,
.footer-contact-item a:hover {
    color: var(--secondary);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item i {
    margin-right: 10px;
    color: var(--secondary);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 968px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero {
        padding: 160px 20px 80px;
    }

    .hero h2 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 18px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 12px 20px;
        top: 10px;
        left: 10px;
        right: 10px;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding: 0 20px 40px;
    }
}

/* Team Section Styles */
#team {
    padding: 80px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 38px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 20px;
    text-align: center;
}

#team center p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    line-height: 1.6;
}

.team-slider-container {
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
    padding: 0 40px;
    overflow: hidden;
    /* Important for masking */
}

.team-grid {
    display: flex;
    /* Changed from grid to flex for slider */
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.team-member {
    flex: 0 0 calc(33.333% - 20px);
    /* 3 items visible by default */
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    text-align: center;
    padding-bottom: 30px;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-member-top {
    padding: 40px 20px 20px;
    background: linear-gradient(to bottom, var(--section-bg) 50%, white 50%);
}

.team-member img {
    width: 100%;
    height: 350px;
    /* Increased height to show head and neck */
    border-radius: 10px;
    /* Slight rounded corners instead of circle */
    object-fit: cover;
    object-position: top;
    /* Ensure heads are visible */
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.position {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.team-member-content {
    padding: 0 20px;
}

.team-member-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--dark);
}

.team-member-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.team-member-content a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.team-member-content a:hover {
    color: var(--primary);
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    /* Allow clicking through the container space */
    padding: 0 10px;
    /* Spacing from edges */
    z-index: 10;
}

.slider-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    color: var(--dark);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
    /* Re-enable pointer events for buttons */
}

.slider-control:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.pagination-dot.active {
    background: var(--primary);
}

/* Responsive Team Slider */
@media (max-width: 1024px) {
    .team-member {
        flex: 0 0 calc(50% - 15px);
        /* 2 items visible */
    }
}

@media (max-width: 640px) {
    .team-member {
        flex: 0 0 100%;
        /* 1 item visible */
    }
}