:root {
    --primary-color: #FF5733;
    --secondary-color: #1a1a1a;
    --bg-light: #FFF9F5;
    --white: #ffffff;
    --gray-light: #f4f4f4;
    --text-gray: #666666;
    --text-muted: #444444;
    /* Improved contrast */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
}

/* --- UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
}

.text-muted {
    color: var(--text-muted);
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h4 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 87, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 51, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-dark {
    background-color: #333;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-dark:hover {
    background-color: #222;
    transform: translateY(-2px);
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

span.highlight {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER --- */
header {
    padding: 20px 0;
    background: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- HERO SECTION --- */
.hero {
    background: var(--bg-light);
    padding: 80px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 0px;
}

.hero-text {
    flex: 1;
}

.hero-text h4 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.hero-text>p {
    margin-bottom: 30px;
}

.hero-list {
    list-style: none;
    margin-bottom: 30px;
    padding-left: 0;
}

.hero-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5733' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.hero-cta {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.play-button {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: translateX(5px);
}

.play-icon {
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: left;
    margin-bottom: 200px;
}

.hero-image img.main-img {
    width: 100%;
    max-width: 500px;
    object-fit: cover;
}

/* Floating elements */
.float-card {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-t1tan {
    top: 18%;
    right: 8%;
}

.float-academy {
    bottom: 10%;
    left: 0%;
    animation-delay: 1.5s;
}

.stats-row {
    display: flex;
    gap: 80px;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.stat-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.social-stat svg {
    color: var(--primary-color);
    margin-top: 5px;
}

/* --- SPONSORS --- */
.sponsors {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.sponsor-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.sponsor-grid img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: 0.3s;
}

.sponsor-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- ABOUT --- */
.about {
    padding: 100px 0;
    overflow: hidden;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 20px;
}

.about-img {
    flex: 1;
    position: relative;
    padding: 30px;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.checklist {
    list-style: none;
    margin: 30px 0;
}

.checklist li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.check-icon {
    color: var(--primary-color);
    font-weight: bold;
}

.info-card-highlight {
    background: #FFF0EB;
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: white;
    max-width: 250px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-card-highlight h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.info-card-highlight p {
    font-size: 0.8rem;
    margin: 0;
}

/* --- FEATURED TESTIMONIAL --- */
.featured-testimonial {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff7a59 100%);
    position: relative;
    overflow: hidden;
}

.featured-testimonial::before {
    content: '"';
    position: absolute;
    top: -50px;
    left: 50px;
    font-size: 300px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

.testimonial-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.testimonial-quote {
    font-size: 1.8rem;
    line-height: 1.6;
    color: white;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 40px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-info {
    text-align: left;
}

.testimonial-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* --- GOALKEEPERS PORTFOLIO --- */
.goalkeepers-portfolio {
    padding: 100px 0;
    background: white;
}

.goalkeepers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.goalkeeper-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.goalkeeper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.goalkeeper-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.goalkeeper-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-light);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.goalkeeper-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 87, 51, 0.3);
}

.goalkeeper-info {
    flex: 1;
    min-width: 0;
}

.goalkeeper-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.goalkeeper-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-height: 100px;
    overflow-y: auto;
}

.goalkeeper-description::-webkit-scrollbar {
    width: 4px;
}

.goalkeeper-description::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.goalkeeper-description::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* --- SERVICES --- */
.services {
    padding: 100px 0;
    background: var(--gray-light);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 48px;
    height: 48px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* --- REVIEWS --- */
.reviews {
    padding: 100px 0;
    text-align: center;
}

.review-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.review-card {
    background: white;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 20px;
    width: 300px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #FFC107;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.reviewer-name {
    margin-top: 15px;
    font-weight: bold;
}

.reviewer-role {
    font-size: 0.8rem;
    color: #888;
}

/* --- SOCIAL WALL --- */
.social-wall {
    padding: 100px 0;
    background: var(--bg-light);
}

/* --- SOCIAL MEDIA SECTION --- */
.social-media-section {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.social-media-content {
    max-width: 1000px;
    margin: 0 auto;
}

.social-buttons-large {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.social-btn-large {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-btn-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.social-btn-large svg {
    width: 28px;
    height: 28px;
}



/* Hide old social wall styles */
.social-wall-grid,
.social-post,
.social-post-overlay,
.social-post-platform {
    display: none;
}


/* --- CTA SECTION --- */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff7a59 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-section .btn {
    background: white;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 15px 40px;
}

.cta-section .btn:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- FOOTER --- */
footer {
    background: #111;
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #666;
    font-size: 0.9rem;
}

/* --- CONTACT MODAL --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f1f1f1;
    color: var(--secondary-color);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form .btn-submit:hover {
    background: #e64a2e;
    transform: translateY(-2px);
}

@media (max-width: 768px) {

    .hero-content,
    .about-grid {
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }

    .nav-links {
        display: none;
    }

    .stats-row {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 25px;
        margin-top: 40px;
    }

    .stat-item h3 {
        font-size: 1.8rem;
    }

    .stat-item svg {
        width: 20px;
        height: 20px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

/* --- VIDEO MODAL --- */
.video-modal-content {
    background: transparent;
    padding: 0;
    width: 70vw !important;
    /* Use viewport width */
    max-width: 1600px !important;
    /* Much larger max-width */
    aspect-ratio: 16/9;
    max-height: 90vh;
    /* Ensure it fits vertically */
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: #000;
}

.video-modal-content .modal-close {
    top: -50px;
    right: 0;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
}

.video-modal-content .modal-close:hover {
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 98vw !important;
    }
}

/* --- SOCIAL MEDIA SECTION --- */
.social-media-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.social-media-content {
    max-width: 1200px;
    /* Increased to allow single row */
    margin: 0 auto;
}

.social-buttons-large {
    display: flex;
    /* Changed to flex for better control */
    justify-content: center;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    gap: 15px;
    /* Reduced gap */
    margin-top: 50px;
}

.social-btn-large {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 20px;
    /* Reduced padding */
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    /* Slightly smaller font */
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);

    /* Default State: White outline */
    background: white;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-btn-large svg {
    width: 24px;
    height: 24px;
}

.social-btn-large:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 87, 51, 0.3);
}

/* --- MODAL STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-color);
    color: white;
}

.modal-close svg {
    color: inherit;
}

.modal-header {
    padding: 40px 40px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.modal-header h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 85vh;
    }

    .modal-header {
        padding: 30px 20px 15px;
    }
}