body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: #1A1A1A;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(to bottom, #008536, rgba(0, 133, 54, 0));
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.5s ease-in-out;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 80px;
    transition: all 0.5s ease-in-out;
}

.club-name {
    display: none;
    flex-direction: column;
    align-items: center;
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.club-name span {
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}

.club-name .laudium {
    font-size: 1.5em;
}

.club-name .all-stars {
    font-size: 1.2em;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: color 0.3s;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: #EADB18;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-links li a:hover {
    color: #EADB18;
}

.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 20px;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

.hero {
    position: relative;
    text-align: center;
    height: 80vh;
    overflow: hidden;
    margin-top: -150px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-images img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1.5s ease-in-out;
    z-index: 0;
}

.hero-images img.active {
    opacity: 1;
    transform: scale(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-content h1 {
    font-size: 3em;
    margin: 0;
    animation: fadeInDown 1s;
}

.hero-content .text-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 20px;
}

.hero-content h2 {
    font-size: 5em;
    margin: 0;
    color: #EADB18; /* Update yellow color */
    opacity: 1;
    animation: zoomInOut 10s infinite; /* Zoom in and out for 10 seconds */
    font-weight: bold;
}

@keyframes zoomInOut {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hidden {
    display: none;
}

.hero-content p {
    font-size: 1.5em;
    margin: 20px 0;
    animation: fadeInUp 1s;
}

.hero-content .btn {
    background-color: #008536;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-content .btn:hover {
    background-color: #EADB18;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    color: #EADB18;
}

section {
    text-align: center;
    margin-bottom: 30px; /* Reduced margin */
}

.about p, .matches ul {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.matches ul {
    list-style: none;
    padding: 0;
}

.matches ul li {
    margin-bottom: 10px;
    animation: fadeIn 1s;
}

.contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.contact form input, .contact form textarea, .contact form button {
    margin-bottom: 15px; /* Reduced margin */
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.contact form button {
    background-color: #008536;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact form button:hover {
    background-color: #EADB18;
}

footer {
    background-color: #1A1A1A;
    text-align: center;
    padding: 20px;
}

footer p a {
    color: #EADB18;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s;
}

footer p a:hover {
    color: #fff;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

::selection {
    background: #008536;
    color: #fff;
}

.scrolled .logo img {
    max-height: 50px;
}

.scrolled .club-name {
    display: flex;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background: #008536;
        text-align: center;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links li a {
        padding: 15px;
        display: block;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }

    .burger.toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.toggle .line2 {
        opacity: 0;
    }

    .burger.toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .event-card, .tournament-card {
        margin: 10px 0;
        max-width: 100%;
    }

    .team-logo {
        max-width: 50px;
    }

    .columns {
        flex-direction: column;
        align-items: center;
    }

    .column {
        flex: 1 1 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.events {
    background-color: #1A1A1A;
    padding: 30px 20px; /* Reduced padding */
    text-align: center;
}

.events h2 {
    color: #EADB18;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.column {
    flex: 1 1 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.event-card, .tournament-card {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0; /* Reduced margin */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.event-header, .tournament-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px; /* Reduced margin */
}

.team-logo, .tournament-logo {
    max-width: 90px;
    margin: 0 10px;
}

.event-body p, .tournament-body p {
    margin: 10px 0;
}

.event-body a, .tournament-body a {
    color: #00b94a;
    text-decoration: none;
    transition: color 0.3s;
}

.event-body a:hover, .tournament-body a:hover {
    color: #fff;
}

.countdown {
    font-size: 1.2em;
    margin-top: 10px;
    color: #EADB18;
}

.age-format .blue-text {
    background-color: #206CD6;
    color: white;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
}

.age-format {
    margin-bottom: 10px; /* Reduced margin */
}

.tournament-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-button {
    background-color: #008536;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.about-button:hover {
    background-color: #005221;
}

.tournament-details {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0; /* Reduced margin */
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.tournament-details .tournament-logo {
    max-width: 90px;
    margin-bottom: 15px; /* Reduced margin */
}

.tournament-details .tournament-body {
    text-align: left;
    width: 100%;
    max-width: 800px;
}

.about-gallery {
    background-color: #1A1A1A;
    padding: 30px 20px; /* Reduced padding */
}

.about-gallery h2 {
    color: #EADB18;
    font-size: 2.5em;
    margin-bottom: 20px; /* Reduced margin */
}

#gallery-search {
    width: 50%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: none;
    font-family: 'Montserrat', sans-serif;
}

.about-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.about-gallery-item {
    position: relative;
    flex: 1 1 calc(25% - 20px);
    overflow: hidden;
    border-radius: 10px;
}

.about-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-gallery-item:hover img {
    transform: scale(1.1);
}

.about-gallery-item .category-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 0.8em;
}

@media screen and (max-width: 768px) {
    .about-gallery-item {
        flex: 1 1 calc(50% - 20px);
    }
}

.about-testimonials {
    background-color: #1A1A1A;
    padding: 30px 20px; /* Reduced padding */
    text-align: center;
}

.about-testimonials h2 {
    color: #EADB18;
    font-size: 2.5em;
    margin-bottom: 20px; /* Reduced margin */
}

.testimonial-carousel {
    position: relative;
    height: 300px; /* Adjust height as needed */
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-card {
    background-color: #333;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.testimonial-profile {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1.2em;
    margin: 10px 0;
}

.testimonial-author {
    display: block;
    font-size: 1em;
    color: #EADB18;
}

/* Timeline Carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #1A1A1A;
    padding: 30px 0; /* Reduced padding */
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    position: relative;
}

@media screen and (min-width: 769px) {
    .carousel-slide {
        min-width: 50%;
    }
}

.timeline-card {
    background: #333;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    position: relative;
    text-align: center;
    height: 300px;
    background-size: cover;
    background-position: center;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 30, 0.7);
    border-radius: 10px;
    z-index: 1;
}

.timeline-card .date {
    color: #EADB18;
    font-size: 1.5em;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.timeline-card .content {
    padding: 10px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background-color: #008536;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: #EADB18;
}

.prompt-swipe {
    color: #EADB18;
    text-align: center;
    margin-top: 10px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

#lightbox-caption {
    text-align: center;
    color: #ccc;
    padding: 10px 20px;
    height: 150px;
}

#lightbox-caption .category-label {
    font-size: 1.5em;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
    border-radius: 10px;
    color: #EADB18;
    font-weight: bold;
    display: inline-block;
}

/* Contact Section */
.contact-section {
    padding: 50px 20px;
    background-color: #1A1A1A;
    color: #fff;
    text-align: center;
}

.contact-section h2 {
    color: #EADB18;
    font-size: 2.5em;
    margin-bottom: 30px;
}

.contact-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.contact-info, .location, .contact-details {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.contact-info h3, .location h3, .contact-details h3 {
    color: #EADB18;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.divisions-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.division-card {
    background-color: #444;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    flex: 1 1 calc(33% - 40px);
    max-width: calc(33% - 40px);
}

.division-card p {
    margin: 0;
    font-size: 1.2em;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between buttons */
    margin-bottom: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
}

.contact-button {
    padding: 18px 35px;
    border-radius: 20px; /* More rounded buttons */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    display: inline-block;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px;
}

.email-button, .call-button {
    background-color: #008536;
    color: #fff;
    font-size: 1.3em;
    flex: 1 1 auto; /* Allow buttons to size based on their content */
    max-width: 250px; /* Set a max width for large screens */
    margin: 10px 5px; /* Margin between the buttons */
    padding: 15px 25px;
    border-radius: 20px; /* Rounded buttons */
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

.email-button:hover, .call-button:hover {
    background-color: #005221;
    color: #EADB18;
}

/* Adjust the social button styles */
.social-button {
    background-color: #fff;
    color: #008536;
    border: 2px solid #008536;
    border-radius: 10px; /* Less rounded buttons */
    padding: 12px 25px;
    font-size: 1.1em;
    margin: 10px 5px; /* Adds spacing between social buttons */
    text-decoration: none;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}

.social-button:hover {
    background-color: #008536;
    color: #fff;
    border: 2px solid #005221;
}

/* Responsive for small screens */
@media screen and (max-width: 768px) {
    .divisions-list {
        flex-direction: column;
    }

    .division-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .contact-buttons {
        flex-direction: column;
        width: 100%;
    }

    .email-button, .call-button {
        flex: 1 1 100%; /* Make them full width on smaller screens */
        max-width: 100%;
        margin-bottom: 10px;
    }

    .social-button {
        width: 100%; /* Make social buttons full width on smaller screens */
        text-align: center;
        margin-bottom: 10px;
    }
}

/* Footer Social Media Icons */
footer .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

footer .social-icons a {
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    transition: color 0.3s ease;
    padding: 0 15px; /* Adjust padding to control spacing */
    position: relative; /* Required for the border */
}

footer .social-icons a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px; /* Adjust the height of the line */
    background-color: #EADB18; /* Color of the line */
}

footer .social-icons a:hover {
    color: #EADB18;
}