:root {
    --primary-color: #4e73df;
    --secondary-color: #1cc88a;
    --dark-color: #5a5c69;
    --light-color: #f8f9fc;
    --primary: #2196F3;
    --secondary: #1976D2;
    --accent: #00BCD4;
    --dark: #212121;
    --light: #ffffff;
    --glow: 0 0 15px rgba(33, 150, 243, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(33, 37, 41, 0.95) !important;
}

.navbar.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar-brand .brand-text {
    color: var(--secondary-color);
    font-weight: 700;
}

.nav-item {
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-3px);
}

.nav-link {
    position: relative;
    padding: 8px 12px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-link.active {
    background-color: var(--primary-color) !important;
    box-shadow: 0 4px 8px rgba(78, 115, 223, 0.3);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('istockphoto-1192023529-612x612.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: -72px;
    padding-top: 72px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    animation-duration: 2s;
}

/* Section Styling */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 20px;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

/* Image Sections */
.image-section {
    flex: 1;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    box-shadow: var(--glow);
    position: relative;
    overflow: hidden;
}

/* Section 1: Player Profile */
.player-profile {
    background: linear-gradient(135deg, rgba(225, 245, 254, 0.8) 0%, rgba(187, 222, 251, 0.5) 100%);
}

.player-profile .image-section {
    background-image: url('WhatsApp Image 2025-05-24 at 23.27.41_43ed374c.jpg');
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.player-profile .image-section:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

/* Section 2: Tournament */


/* Section 3: Academy */
.academy {
    background: linear-gradient(135deg, rgba(225, 245, 254, 0.6) 0%, rgba(187, 222, 251, 0.3) 100%);
}

.academy .image-section {
    background-image: url('12.jpg');
}

.coach-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Content Styles */
.content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: transparent;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(33, 150, 243, 0.2);
}

.subtitle {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 500px;
}

.highlight {
    font-weight: 600;
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn {
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--light);
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 10px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glow);
    align-self: flex-start;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.4);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

/* Navigation Dots */
.nav-dots {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    opacity: 1;
    transform: scale(1.3);
    background: var(--accent);
}

/* Cards Section */
.cards-section {
    padding: 80px 20px;
}

.card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-weight: 700;
    color: var(--primary);
}

/* About Section */
.about-section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.profile-card {
    flex: 1;
    min-width: 280px;
    max-width: 100%;
    perspective: 1000px;
}

.profile-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.profile-card:hover .profile-inner {
    transform: rotateY(10deg);
}

.profile-img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateZ(20px);
    transition: all 0.5s ease;
    filter: grayscale(20%);
}

.profile-card:hover .profile-img {
    transform: translateZ(30px);
    filter: grayscale(0%);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

.about-content {
    flex: 1;
    min-width: 280px;
    max-width: 100%;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease forwards 0.3s;
}

.about-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-content h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    animation: underlineGrow 1.5s ease forwards;
}

.about-content p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #555;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.about-content p:nth-child(2) { animation-delay: 0.5s; }
.about-content p:nth-child(3) { animation-delay: 0.7s; }
.about-content p:nth-child(4) { animation-delay: 0.9s; }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f1f1;
    color: var(--dark);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.decoration {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.1), rgba(77, 68, 219, 0.1));
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

.decoration:nth-child(1) {
    top: 10%;
    left: 5%;
}

.decoration:nth-child(2) {
    bottom: 10%;
    right: 5%;
    animation-delay: 0.5s;
    animation-direction: reverse;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes underlineGrow {
    from { width: 0; }
    to { width: 50px; }
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Footer Styles */
.footer {
    background-color: #212529;
    position: relative;
    overflow: hidden;
    padding: 60px 0 40px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.footer h5 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer a:hover {
    color: white;
    padding-left: 5px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-right: 10px;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer .input-group {
    max-width: 300px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 1rem;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .container {
        gap: 30px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .image-section {
        min-height: 350px;
    }
}

@media (max-width: 991.98px) {
    .container {
        flex-direction: column;
        gap: 40px;
    }
    
    .image-section {
        width: 100%;
        min-height: 300px;
    }
    
    h1 {
        font-size: 2rem;
        text-align: center;
    }
    
    .subtitle {
        text-align: center;
        max-width: 100%;
    }
    
    .btn {
        align-self: center;
    }
    
    .nav-dots {
        display: none;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 60px 20px;
    }
    
    .profile-img {
        max-width: 350px;
        margin: 0 auto;
        display: block;
    }
    
    .about-content {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .about-content h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .navbar-brand {
        font-size: 1rem;
    }

    .nav-link {
        padding: 6px 10px !important;
        font-size: 0.8rem;
    }

    .hero-section {
        min-height: 500px;
    }

    .hero-section h1 {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    .hero-section .lead {
        font-size: 1rem;
        padding: 0 15px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 0.8rem;
    }

    .image-section {
        min-height: 250px;
    }
    
    .cards-section {
        padding: 60px 20px;
    }
    
    .footer .col-md-4, 
    .footer .col-md-3,
    .footer .col-md-2 {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer .input-group {
        margin: 0 auto;
    }
    
    .tournament-badge,
    .coach-tag {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .section {
        padding: 50px 15px;
        min-height: auto;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 0.75rem;
    }
    
    .image-section {
        min-height: 200px;
    }
    
    .about-content h1 {
        font-size: 1.6rem;
    }

    .about-content p {
        font-size: 0.9rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .decoration {
        width: 150px;
        height: 150px;
    }
    
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
    
    .footer a {
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .hero-section h1 {
        font-size: 1.4rem;
    }
    
    .hero-section .lead {
        font-size: 0.85rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .card-img-top {
        height: 150px;
    }
}