/* Basic Resets and Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

:root {
    --primary-green: #477023;
    --dark-green: #0d330e;
    --primary-brown: #8a6240;
    --dark-brown: #4d2d18;
    --light-grey: #f0f0f0;
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #eee;
    --form-bg-light: rgba(255, 255, 255, 0.2);
    --form-border-light: rgba(255, 255, 255, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-grey);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-green);
    margin-bottom: 15px;
}

h1 {
    font-size: 3em;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    font-weight: 600;
}

h3 {
    font-size: 1.8em;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9em;
}

.btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-3px);
}



/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-green); /* Dark green as per mockup */
    color: var(--white);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.navbar .nav-links ul {
    display: flex;
}

.navbar .nav-links ul li {
    margin-left: 30px;
}

.navbar .nav-links ul li a {
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}

.navbar .nav-links ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.navbar .nav-links ul li a:hover::after {
    width: 100%;
}

.navbar .nav-links ul li a:hover {
    color: var(--primary-green);
}

.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 4px 0;
    transition: 0.3s;
}

/* Sections General Styling */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden; /* For floating shapes */
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 150px; /* Adjust for fixed navbar */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-section .hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,51,14,0.85), rgba(71,112,35,0.7));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-content .eyebrow {
    font-size: 1.2em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-images {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.main-hero-image {
    width: 500px;
    height: 350px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.main-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255,255,255,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateY(30px); /* Lift slightly */
}

.circle-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* About Section & General Two-Column Layout */
.about-section,
.benefits-section {
    background-color: var(--white);
}

.about-section .container,
.features-section .container,
.benefits-section .container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.about-image,
.features-image,
.benefits-image {
    flex: 1;
    min-width: 300px; /* Minimum width before wrapping */
    background-color: var(--light-grey);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.about-image img,
.features-image img,
.benefits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content,
.benefits-list {
    flex: 1.5; /* Content takes more space */
    min-width: 350px;
}

.about-content h2,
.benefits-list h2 {
    color: var(--primary-green);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-dark);
    font-size: 1.1em;
    line-height: 1.8;
}

/* Features Section (Image Left, Grid Right) */
.features-section {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url(assets/foorball\ talents\ in\ Nigeria.jpeg);
    background-size: cover;
    padding: 100px 0;
}

.features-section .container {
    flex-direction: row-reverse; /* Image on left, content on right */
}

.features-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    min-width: 350px;
}

.grid-item {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);

    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.grid-item .icon {
    font-size: 3em;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.grid-item h3 {
    font-size: 1.4em;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.grid-item p {
    font-size: 0.95em;
    color: var(--text-dark);
    line-height: 1.7;
}

/* Benefits Section (Image Left, List Right) */
.benefits-section .container {
    flex-direction: row; /* Image on left, list on right */
}

.benefits-list h2 {
    text-align: left;
    margin-bottom: 30px;
    color: var(--primary-brown);
}

.benefit-item {
    margin-bottom: 30px;
    padding-left: 20px;
    position: relative;
}

.benefit-item::before {
    content: '\2022'; /* Bullet point */
    color: var(--primary-green);
    font-size: 2em;
    position: absolute;
    left: 0;
    top: -5px;
}

.benefit-item h3 {
    color: var(--dark-brown);
    font-size: 1.5em;
    margin-bottom: 8px;
}

.benefit-item p {
    color: var(--text-dark);
    font-size: 1em;
    line-height: 1.7;
}

/* Register Section (Form) */
.register-section {
    background-image: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url(assets/foorball\ talents\ in\ Nigeria.jpeg);
    background-size: cover;
   /* background: linear-gradient(135deg, var(--dark-green), var(--primary-green));*/
    padding: 100px 0;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-section .container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; /* Ensure container content is above floating shapes */
}

.form-background-image {
    position: absolute;
    z-index: 0;
    opacity: 0.2; /* Make them subtle */
    filter: grayscale(100%) blur(5px);
}

.left-bg-image {
    left: -80px; /* Adjust to protrude */
    bottom: -50px; /* Adjust as if from underneath */
    width: 400px;
    height: auto;
    transform: rotate(-10deg);
}

.top-right-bg-image {
    top: -50px; /* Adjust to protrude */
    right: -80px; /* Adjust to protrude */
    width: 450px;
    height: auto;
    transform: rotate(15deg);
}

.left-bg-image img, .top-right-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.registration-form-wrapper {
    background: var(--form-bg-light); /* Semi-transparent background */
    backdrop-filter: blur(15px); /* Glass blur effect */
    -webkit-backdrop-filter: blur(15px); /* Safari support */
    border: 1px solid var(--form-border-light); /* Light border */
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    z-index: 1; /* Form is on top */
    text-align: center;
    color: var(--white);
}

.registration-form-wrapper h2 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.registration-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.1em;
    color: var(--white);
    text-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.registration-form input[type="text"],
.registration-form input[type="tel"],
.registration-form input[type="number"],
.registration-form select,
.registration-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    transition: all 0.3s ease;
}

.registration-form input::placeholder,
.registration-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
    border-color: var(--primary-green);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(71, 112, 35, 0.5);
}

.registration-form select option {
    background-color: var(--dark-green);
    color: var(--white);
}

.registration-form .submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
    margin-top: 20px;
    background-color: var(--primary-brown);
}

.registration-form .submit-btn:hover {
    background-color: var(--dark-brown);
}

/* Footer */
footer {
    background-color: var(--dark-green);
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

footer p {
    margin: 0;
}

/* Animations on Scroll (to be added with JS) */
.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
    opacity: 1;
    transform: translateY(0);
}


/* Media Queries for Responsiveness */
@media (max-width: 992px) {
    h1 {
        font-size: 3.2em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    .about-section .container,
    .features-section .container,
    .benefits-section .container {
        flex-direction: column; /* Stack columns on smaller screens */
        text-align: center;
    }

    .about-image,
    .features-image,
    .benefits-image {
        min-width: unset; /* Remove min-width */
        width: 80%; /* Adjust width for stacked layout */
        margin-bottom: 40px;
    }

    .about-content,
    .benefits-list {
        min-width: unset;
        width: 100%;
    }

    .benefits-list h2 {
        text-align: center;
    }

    .benefit-item {
        padding-left: 0;
    }

    .benefit-item::before {
        display: none; /* Hide bullet on smaller screens or re-center */
    }

    .hero-images {
        flex-direction: column;
        align-items: center;
    }

    .main-hero-image {
        width: 90%;
        height: 250px;
    }

    .circle-hero-image {
        width: 150px;
        height: 150px;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .navbar .nav-links {
        display: none; /* Hide nav links by default */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Below navbar */
        left: 0;
        background-color: var(--dark-green);
        box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .nav-links ul {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
    }

    .navbar .nav-links ul li {
        margin: 10px 0;
        text-align: center;
    }

    .navbar .nav-links ul li a {
        padding: 10px 0;
        display: block;
    }

    .hamburger-menu {
        display: flex; /* Show hamburger menu */
    }

    .hero-section {
        padding-top: 120px;
        min-height: unset;
        padding-bottom: 50px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    .hero-content .subtitle {
        font-size: 1.2em;
    }

    section {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }

    .registration-form-wrapper {
        padding: 25px;
        max-width: 90%;
    }

    .form-background-image {
        display: none; /* Hide complex background images on small mobiles */
    }

    .floating-shape {
        filter: blur(40px); /* Less blur on smaller screens */
        opacity: 0.08; /* More subtle */
    }
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5, .shape-6, .shape-7, .shape-8 {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .navbar .logo {
        font-size: 1.5em;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .hero-content .subtitle {
        font-size: 1em;
    }

    .main-hero-image {
        width: 100%;
        height: 200px;
    }

    .circle-hero-image {
        width: 120px;
        height: 120px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8em;
    }

    .grid-item {
        padding: 20px;
    }

    .grid-item .icon {
        font-size: 2.5em;
    }

    .registration-form-wrapper h2 {
        font-size: 2em;
    }

    .registration-form label,
    .registration-form input,
    .registration-form select,
    .registration-form textarea {
        font-size: 0.9em;
    }
}