@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --color-bg-dark: #131313;
    --color-bg-hero: #8b0000;
    --color-bg-light-grey: #f8f8f8;
    --color-white: #ffffff;
    --color-primary: #e20000;
    --color-border-light: rgba(255, 255, 255, 0.1);
    --color-border-faint: rgba(255, 255, 255, 0.05);
}

/* Base Reset */
html {
    margin: 0 !important;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--color-white);
    /* background-color: var(--color-bg-dark); */
    box-sizing: border-box;
}

.bg-dark {
    background-color: var(--color-bg-dark) !important;
}

.bg-light-grey {
    background-color: var(--color-bg-light-grey);
}

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

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

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

p {
    font-size: 1.1rem;
    color: #000;
    font-weight: 400;
    margin-bottom: 5px;
}
h1{
    font-size: 2.6em;
    color: #000;
    font-weight: 700;
    padding-bottom: 10px;
}

h2 {
    font-size: 2em;
    color: #000;
    font-weight: 700;
    position: relative;
    /* Space for the underline effect */
}


h3 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
    color: #000;
}

dl, ol, ul{
    color: #000;
}
.btn-danger {
    background-color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-danger:hover {
    border: 2px solid var(--color-primary);
    background-color: transparent;
}
.wrapper{
    padding: 30px 0;
}
/* Header */
.main-header {
    background-color: var(--color-bg-dark);
}
.hero-section h1{
    color: var(--color-white);
}
.top-bar {
    border-bottom: 1px solid var(--color-border-light);
    height: 100px;
    background-color: #f0f0f0;
}

.logo {
    height: 80px;
    margin-left: -4px;
}

.logo-container p {
    color: #191919;
    font-weight: 700;
    font-size: 24px;
}

/* Navbar */
.custom-navbar {
    padding-left: 0;
    padding-right: 0;
}

.custom-navbar .navbar-nav {
    width: 100%;
    justify-content: space-between;
}

.custom-navbar .navbar-nav .nav-link {
    color: var(--color-white);
    font-weight: 700;
    padding: 15px 0px;
    position: relative;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active {
    color: var(--color-primary);
}

/* Navbar Toggler */
.navbar-toggler {
    font-size: 1.8em;
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
}

.toggle-icon-bars,
.toggle-icon-times {
    color: var(--color-white);
    transition: all 0.3s ease;
}

.toggle-icon-bars {
    display: block;
}

.toggle-icon-times {
    display: none;
}

.navbar-toggler[aria-expanded="true"] .toggle-icon-bars {
    display: none;
}

.navbar-toggler[aria-expanded="true"] .toggle-icon-times {
    display: block;
}

/* Show submenu on hover */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Optional: Smooth transition for submenu */
.dropdown-menu {
    display: none;
    transition: all 0.3s ease;
    margin-top: 0;
}

/* Fix submenu alignment in navbar */
.navbar-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}
.navbar-nav .dropdown.open .dropdown-menu {
    display: none; 
}

/* Keep proper padding and background */
.dropdown-menu {
    padding: 0.5rem 0.5rem;
    background-color: #2e2e2e;
    border: 1px solid rgba(0, 0, 0, 0.15);
    width: 200px;
}
.dropdown-menu li .nav-link{
    padding: 10px 0 !important;
}

/* Ensure nav-item position is relative for absolute submenu */
.navbar-nav .dropdown {
    position: relative;
}


/* Hero Section */

.hero-section {
    position: relative;
    /* Add position relative to the hero-section */
    overflow: hidden;
    /* Hide overflow to prevent horizontal scroll from the image */
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-section p {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 16px;
    color: var(--color-white);
}

/* Updated hero-group-image styles */
.hero-group-image {
    object-fit: cover;
    width: 100%;
    position: absolute;
    right: -29%;
    top: -32px;
    max-width: 70%;
    z-index: -1;
}

/* Adjust the column for the image to allow it to go full right */
.hero-section .row {
    position: relative;
    padding: 80px 0px 0px 0px;
    /* Make the row relative to position the image inside */
}

.hero-section .col-lg-6.col-md-12.mt-4.mt-lg-0.d-flex.justify-content-center.align-items-end {
    /* Remove justify-content-center and align-items-end if you are absolutely positioning the image */
    justify-content: flex-start;
    /* Or remove entirely as absolute positioning overrides it */
    align-items: flex-end;
    /* Or remove entirely */
    position: static;
    /* Reset to static if it was influencing parent's absolute positioning */
}

/* Additional Content */
.additional-content {
    background-color: var(--color-bg-dark);
    color: var(--color-white);
}
.tournament-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.tournament-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}


/* Responsive Styles */
@media (max-width: 1024px) {

    .hero-group-image {
        object-fit: cover;
        width: 100%;
        position: absolute;
        right: -20px;
        top: 230px;
        max-width: 50%;
        z-index: -1;
    }

    .newsletter-content {
        flex-direction: column;
    }

}

@media (max-width: 991.98px) {

    /* Adjust breakpoint for larger tablets/small desktops */
    .hero-group-image {
        position: static;
        /* Reset to static for smaller screens */
        max-width: 100%;
        /* Allow image to take full width */
        margin-top: 20px;
        /* Add some space above */
    }

    .hero-section .col-lg-6.col-md-12.mt-4.mt-lg-0.d-flex.justify-content-center.align-items-end {
        justify-content: center;
        /* Re-center for smaller screens */
        align-items: center;
        /* Re-center for smaller screens */
    }

}


@media (max-width: 768px) {
    .custom-navbar .navbar-collapse.show {
        /* background-color: #2b2b2b; */
    }

    .custom-navbar .navbar-nav .nav-item {
        border-bottom: 1px solid var(--color-border-faint);
    }

    .custom-navbar .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .custom-navbar .navbar-nav .nav-link {
        padding: 10px 1rem;
        text-align: center;
    }

    .custom-navbar .navbar-nav .nav-link.active {
        background-color: var(--color-primary);
        color: var(--color-white);
    }

    .custom-navbar .navbar-nav .nav-link.active::after {
        content: none;
    }

    .logo-container p {
        font-size: 13px !important;
    }

    .hero-section {
        background-size: auto;
    }
    .logo{
        height: 70px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .additional-content h2 {
        font-size: 1.5em;
    }

    .hero-section .row {
        padding: 40px 0px 0px 0px;
    }

}

.card-image {
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    object-fit: cover;
    /* Cover the area, cropping if necessary */
    border-radius: 15px;
    margin-bottom: 20px;
}

.register-button:hover {
    border: 2px solid var(--color-primary);
    background-color: transparent;
    transform: translateY(-2px);
}

.event-reg-btn:hover {
    color: var(--color-primary);
}

/* NEW DIVIDER CSS STARTS HERE */
.bottom-divider {

    width: 100%;
    overflow: hidden;
    /* Hide anything outside the SVG path */
    z-index: 1;
    /* position: absolute;
    bottom: 0; */
    /* Ensure it's above other potential elements if any */
}

.bttom-div {
    position: absolute;
    bottom: 0;
}

.bottom-divider {
  /* height: 135px; */
  overflow: hidden;
}

.bottom-divider img {
  display: block;
  width: 100%;
  height: 100px;
  max-height: 100%;
/*   object-fit: cover; */
}

.bottom-divider path {
    fill: #ffffff;
    /* Color of the wave, white as in your image */
}

/* Responsive adjustments */
@media (max-width: 768px) {

    h2 {
        font-size: 1.5em;
        margin-bottom: 25px 0px;
    }

    .results-highlights-section {
        padding: 0px 0px 20px 0px !important;
    }
}

@media (max-width: 480px) {

    h2 {
        font-size: 1.5em;
    }

    .register-button {
        padding: 10px 20px;
    }


}

.results-highlights-section {
    text-align: center;
    background-color: #fff;
    padding: 10px 0;
    margin: -10px 0 0 0;
}

.section-title {
    font-size: 2.5em;
    color: #333333;
    margin: 20px 0 40px 0px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    /* Space for the underline effect if desired, not present in this image */
}

.results-cards-container {
    display: flex;
    flex-wrap: wrap;
    /* Allow cards to wrap to the next line on smaller screens */
    justify-content: space-evenly;
    /* Center the cards */
    gap: 30px;
    /* Space between cards */
}


.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    /* Fixed height for consistency */
    border-radius: 15px;
    overflow: hidden;
    /* Ensure overlay and image respects border-radius */
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the area, cropping if necessary */
    display: block;
    /* Remove extra space below image */
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark transparent overlay */
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-text {
    color: #ffffff;
    font-size: 1.8em;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    padding: 0 20px;
    /* Add some padding to prevent text from touching edges */
}

.card-content {
    padding: 25px 0px;
    width: 100%;
    /* Ensure content takes full width inside padding */
    box-sizing: border-box;
    /* Include padding in content width */
}

.result-card ul {
    list-style: none;
    /* Remove default bullet points */
    padding: 0;
    margin: 0 0 20px 0;
    /* Add bottom margin */
    color: #000;
    /* Slightly lighter text for list items */
    font-size: 19px;
}

.result-card ul li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.more-results {
    color: #555555;
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 25px;
    /* Space above the button */
}

.see-full-results-button:hover {
    background-color: transparent;
    /* Darker red on hover */
    transform: translateY(-2px);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

/* Responsive adjustments */
@media (max-width: 999px) {
    .results-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .result-card {
        max-width: 100%;
        /* Take more width on smaller screens */
    }

    .section-title {
        font-size: 2em;
    }

    .card-content {
        padding: 25px 0;
    }
    .tournaments-section h2{
        font-size: 2em !important;
            padding: 10px 0px 30px 0px !important;
    }
}

@media (max-width: 500px) {
    .section-title {
        font-size: 1.8em;
    }

    .overlay-text {
        font-size: 1.5em;
    }

    .see-full-results-button {
        padding: 10px 25px;
    }
}

/* Footer Specific Styles */
.site-footer {
    width: 100%;
    background-color: #1a1a1a;
    /* Matches the body background */
    color: #cccccc;
    /* Lighter gray for footer text */
    margin-top: auto;
    /* Pushes the footer to the bottom */
}

/* Newsletter Section */
.newsletter-section {
    background-image: url('newsletter-bg.jpg');
    /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-color: #333333;
    /* Fallback color */
    padding: 60px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
    position: relative;
    /* For the overlay */
}

/* Optional: Add a subtle overlay to the newsletter background image for better text readability */
.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.newsletter-content {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
    gap: 20px;
    /* max-width: 600px; */
    width: 100%;
    position: relative;
    z-index: 2;
    justify-content: space-between;
}

.newsletter-text {
    font-size: 1.8em;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.subscribe-form {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 450px;
    /* Limit form width */
    justify-content: center;
    position: relative;
}

.email-input {
    flex-grow: 1;
    /* Allows input to take available space */
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    background-color: rgba(255, 255, 255, 0.9);
    /* Slightly transparent white */
    color: #333333;
}

.email-input::placeholder {
    color: #666666;
}

.subscribe-button {
    background-color: #ff3333;
    /* Red button */
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    /* Prevent button text from wrapping */
    position: absolute;
    right: 0;

}

.subscribe-button:hover {
    background-color: #cc0000;
    /* Darker red on hover */
}

/* Main Footer Content Area (Links, Contact, Social) */
.footer-main-content {
    background-color: #ffffff;
    /* White background */
    padding: 60px 0px;
    text-align: center;
}

.footer-links ul {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 6px;
    list-style: none;
    padding: 0;
    /* Row and column gap */
}

.footer-links ul li a {
    color: #333333;
    /* Dark text for links */
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: color 0.3s ease;
    white-space: nowrap;
    /* Prevent links from breaking */
}

.footer-links a:hover {
    color: #ff3333;
    /* Red on hover */
}


.link-divider {
    color: #999999;
    /* Gray divider color */
    font-size: 1em;
    font-weight: 600;
}

.footer-nav ul li:last-child a .link-divider {
    display: none !important;
}

.footer-contact-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    /* Align items to top within their flex containers */
    margin: 0 auto;
    /* Center the section */
    gap: 30px;
    /* Space between contact and social blocks */
}

.contact-info {
    flex: 1;
    /* Allows contact info to take available space */
    min-width: 280px;
    /* Minimum width before wrapping */
    text-align: left;
    /* Align contact items to the left */
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #555555;
    font-size: 1em;
    font-weight: 600;
}

.contact-item a {
    color: #555555;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    color: #ff3333;
    /* Red icon color */
    margin-right: 15px;
    font-size: 1.2em;
    width: 30px;
    /* Fixed width to align text */
    text-align: center;
}

.social-media {
    text-align: right;
    /* Align social text and icons to the right */
    flex-grow: 0;
    /* Don't grow, take only needed space */
    min-width: 200px;
    /* Minimum width before wrapping */
}

.social-text {
    font-size: 1em;
    color: #555555;
    margin-top: 0;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    /* Align icons to the right */
    gap: 10px;
    flex-wrap: wrap;
    /* Allow icons to wrap if space is limited */
}

.social-icon-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #e0e0e0;
    /* Light gray background */
    border-radius: 8px;
    /* Slightly rounded corners */
    color: #777777;
    /* Dark gray icon color */
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icon {
    width: 40px;
    height: 40px;
}

.social-icon-btn:hover {
    background-color: #ff3333;
    /* Red on hover */
    color: #ffffff;
    /* White icon on hover */
}

/* Copyright Section */
.footer-copyright {
    background-color: #1a1a1a;
    /* Dark background */
    padding: 25px 20px;
    text-align: center;
    font-size: 0.9em;
    color: #999999;
    /* Lighter gray for copyright text */
}

.footer-copyright p {
    margin: 0;
    font-size: 16px;
    color: var(--color-white);
}

.copyright-link {
    color: #cccccc;
    /* Slightly brighter for the link */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.copyright-link:hover {
    color: #ff3333;
    /* Red on hover */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .newsletter-text {
        font-size: 1.5em;
    }

    .subscribe-form {
        flex-direction: column;
        /* Stack input and button */
        /* align-items: center; */
        gap: 10px;
    }



    .footer-links ul {
        justify-content: center;
        /* Center links when wrapped */
        gap: 8px 10px;
    }

    .footer-contact-social {
        flex-direction: column;
        /* Stack contact and social */
        align-items: center;
        /* Center them */
        text-align: center;
        /* Center text within columns */
    }

    .contact-info,
    .social-media {
        text-align: center;
        /* width: 100%; */
        /* Take full width */
        min-width: unset;
    }

    .contact-item {
        /* justify-content: center; */
        /* Center contact items horizontally */
    }

    .social-icons {
        justify-content: center;
        /* Center social icons */
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: 40px 15px;
    }

    .newsletter-text {
        font-size: 1.3em;
    }

    .email-input,
    .subscribe-button {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .footer-main-content {
        padding: 30px 0px;
    }

    .footer-links a,
    .link-divider {
        font-size: 0.9em;
    }

    .contact-item,
    .social-text {
        font-size: 0.9em;
    }

    .social-icon-btn {
        width: 35px;
        height: 35px;
        font-size: 1em;
    }

    .footer-copyright {
        padding: 20px 15px;
        font-size: 0.8em;
    }
}

.tournaments-section h2{
    color: var(--color-white);
        font-size: 2.5em;
    font-weight: 700;
    position: relative;
    padding: 15px 0px 30px 0px;
    text-align: center;
}
.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
}

.tournament-header h1 {
    font-size: 2.2em;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.tournament-header .icon {
    background-color: #e50000;
    /* Red icon as in the image */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5em;
    /* For a simple icon, you might use an SVG or FontAwesome.
               For this example, I'll just make a placeholder circle. */
    font-weight: bold;
}

.tournament-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns */
    gap: 30px;
    margin-bottom: 30px;
}

.tournament-grid-home {
    grid-template-columns: 1fr 1fr 1fr;
    display: grid;
    /* Two columns */
    gap: 30px;
    /* margin-bottom: 30px; */
}

.tournament-card {
    /* background-color: #fff; */
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
    display: flex;
    flex-direction: column;

}

.tournament-card a {
    text-decoration: none;
}

.tournament-image {
    width: 100%;
    height: 250px;
    /* Fixed height for images */
    object-fit: cover;
    /* Ensures the image covers the area */
}
.result-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}


.tournament-content {
    padding: 20px 0px;
    flex-grow: 1;
    /* Allows content to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Pushes button to the bottom */
}

.tournament-content-home {
    padding: 20px 0px 0px;
    flex-grow: 1;
    /* Allows content to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 240px;
    /* Pushes button to the bottom */
}



.tournament-content-home h3,
.result-content-home h3 {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.tournament-content-home p,
.tournament-content-home ul li,
.result-list-home li {
    font-size: 1.2em;
    line-height: 1.6;
    color: #fff;
    margin: 0px;
    font-weight: 400;
}



.tournament-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.register-button {
    display: inline-block;
    background-color: #e50000;
    /* Red button */
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: 30px;
    /* Pushes the button to the bottom */
    border: 2px solid var(--color-primary);
    width: fit-content;
}

.see-more-button-container {
    padding-top: 20px;
}

.see-more-button {
    background-color: #e50000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-size: 1.1em;
}

.see-more-button:hover {
    border: 2px solid var(--color-primary);
    background-color: transparent;
    transform: translateY(-2px);
    color: var(--color-primary);
}

.card-image-warriors img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    
}

/* Specific styles for the image backgrounds */
.card-image-warriors {
    /* Placeholder, replace with actual image */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 0px 0px 25px;
    box-sizing: border-box;
    border-radius: 20px;
    max-height: 350px;
}

.gallery-box{
	max-height: 300px;
}

.card-image-190 {
    background-image: url('https://placehold.co/600x400/556B2F/FFFFFF?text=190+DUALS');
    /* Placeholder, replace with actual image */
    background-size: cover;
    background-position: center;
    height: 250px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    box-sizing: border-box;
    border-radius: 20px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    /* Padding for the header border */
}

.results-header h1 {
    font-size: 2.2em;
    color: #333;
    font-weight: 700;
    margin: 0;
    /* Remove default margin */
}

.results-header .icon {
    background-color: #e50000;
    /* Red icon as in the image */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5em;
    /* Adjust icon size if needed */
    font-weight: bold;
    /* For a mountain icon, you might use an SVG or FontAwesome.
               For this example, I'll keep it as a placeholder circle. */
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two columns */
    gap: 30px;
    margin-bottom: 30px;
    /* Space before the general "See More" button */
}

.result-card-wrapper {
    display: flex;
    flex-direction: column;
}

.result-card {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.result-card h3 {
    color: var(--color-bg-dark);
}

.result-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    color: #fff;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.result-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.result-archive::before{
    background: rgba(0, 0, 0, 0) !important;
}
.result-image h3 {
    margin: 0;
    font-size: 1.8em;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.result-content {
    padding: 20px 0px;
    flex-grow: 1;
    /* Allows content to expand */
    display: flex;
    flex-direction: column;
    text-align: start;
    justify-content: space-between;
}

/* .result-content h4 {
            font-size: 1.1em;
            margin-top: 0;
            margin-bottom: 10px;
            color: #333;
            font-weight: 600;
        } */

.result-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
    /* Allows the list to take available space */
}

/* .result-list li {
            margin-bottom: 8px;
            color: #555;
            font-size: 0.95em;
            line-height: 1.4;
        } */

.see-full-results-button {
    display: inline-block;
    background-color: #e50000;
    /* Red button */
    color: #fff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
    width: fit-content;
    margin-top: 15px;
    border: 2px solid var(--color-primary);
}

.see-more-highlights-container {
    padding-top: 20px;
}

.see-more-highlights-button {
    background-color: #e50000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    font-size: 1.1em;
}

.see-more-highlights-button:hover {
    background-color: #cc0000;
}

.image-190-duals {
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
}

.filters {
    display: flex;
    /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); */
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: space-between;
}

.filter-dropdown {
    position: relative;
    width: 180px;
}

.filter-dropdown select {
    width: 100%;
    padding: 6px 15px;
    padding-right: 40px;
    /* Space for the arrow icon */
    border: 1px solid #ccc;
    border-radius: 14px;
    background-color: #f9f9f9;
    appearance: none;
    /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    color: #555;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}

.filter-dropdown select:focus {
    border-color: #e50000;
}

.filter-dropdown .arrow-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    /* Make sure clicks go through to the select */
    color: #e50000;
}


/* Accordion Sections */
.accordion-section {
    /* background-color: #f8f8f8; */
    /* Lighter background for inactive sections */
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    margin-bottom: 20px;
    overflow: hidden;
    /* Important for hiding content */
}

.accordion-header {
    background-color: #eee;
    /* Default background */
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.2em;
    color: #333;
    transition: background-color 0.3s;
    border-radius: 10px;
}

.faq-header {
    text-transform: capitalize;
}

.accordion-header.active {
    background-color: #e50000;
    /* Red background for active header */
    color: #fff;
}

.accordion-header .fa-chevron-down {
    color: #e50000;
}

.accordion-header.active .fa-chevron-down {
    color: #fff;
}

.accordion-header:hover {
    background-color: #e0e0e0;
    /* Hover effect for inactive */
}

.accordion-header.active:hover {
    background-color: #cc0000;
    /* Hover effect for active */
}

.accordion-header .arrow {
    transition: transform 0.3s ease;
}

.accordion-header.active .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    /* Smooth transition */
}

.accordion-content.open {
    max-height: fit-content;
    /* Large enough value to show content */
    padding-top: 20px;
    /* Adjust as needed */
}

/* Result Cards within Accordion */
.results-grid-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.result-image-inner {
    width: 100%;
    height: 180px;
    /* Slightly smaller image height for inner cards */
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    /* Slightly less padding */
    box-sizing: border-box;
    color: #fff;
    font-weight: 600;
    /* Lighter weight for inner card image text */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-size: 1.1em;
    /* Adjust font size for text on inner image */
}

.result-content-inner {
    padding: 15px;
    /* Slightly less padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-content-inner h4 {
    font-size: 1em;
    margin-top: 0;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.result-list-inner {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.result-list-inner li {
    margin-bottom: 6px;
    color: #555;
    font-size: 0.88em;
    line-height: 1.3;
}

.see-gallery-button {
    display: inline-block;
    background-color: #e50000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
    width: fit-content;
    margin-top: auto;
    font-size: 0.9em;
}

.see-gallery-button:hover {
    background-color: #cc0000;
}

/* Specific styles for the image backgrounds (for inner cards) */
.image-girl-wrestling {
    background-image: url('https://via.placeholder.com/400x180/777777/FFFFFF?text=WRESTLING+IMAGE');
    /* Placeholder */
    background-size: cover;
    background-position: center;
}

.image-boys-wrestling {
    background-image: url('https://via.placeholder.com/400x180/666666/FFFFFF?text=WRESTLING+IMAGE+2');
    /* Placeholder */
    background-size: cover;
    background-position: center;
}

.registration-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.registration-header h2 {
    font-size: 2.2em;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.registration-header .icon {
    background-color: #e50000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
}

.icon img {
    width: 50px;
    height: 50px;
}

/* Info Cards Section */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.info-card {
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    /* For icon positioning */
    min-height: 200px;
    /* Ensure consistent height */
}

.info-card h3 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
    padding-right: 50px;
    color: #000;
    /* Space for the icon */
}

.info-card-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: #e50000;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.1em;
}

.info-card-icon img {
    width: 50px;
    height: 50px;
}

.info-card p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #000;
    font-weight: 400;
}

.info-card a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.info-card a:hover {
    color: #cc0000;
}

/* Divisions & Weight Tabs Section */
.divisions-section {

    background: #fff;
    border-radius: 20px;

    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background-color: #eee;
    /* Background for tab headers */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    width: 90%;
}

.tab-button {
    flex-grow: 1;
    text-align: center;
    padding: 15px 20px;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border-bottom: 3px solid transparent;
    /* For active indicator */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: #e50000;
    color: #fff;
    border-bottom-color: #e50000;
    /* Red underline for active tab */

}

.tab-content {
    padding: 25px;
    border: 2px solid red;

    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    background-color: #f8f8f8;
}

.tab-pane {
    display: none;
    /* Hide by default */
}

.tab-pane.active {
    display: block;
    /* Show active pane */
}

.weight-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.weight-table th,
.weight-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
    color: #333;
}

.weight-table th {
    background-color: #f2f2f2;
    font-weight: 700;
    color: #000;
}

.weight-table tr:last-child td {
    border-bottom: none;
}

.weight-table td i {
    color: #e50000;
    margin-right: 8px;
}

.schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.schedule-header h2 {
    font-size: 2.2em;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.schedule-header .icon {
    background-color: #e50000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.schedule-block {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    min-height: 120px
}

.schedule-block h3 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    /* Bold as per image */
    color: #333;
}


.rules-challenges-section {
    background-color: #0d0d0d;

}

.rules-challenges-box {
    /* Dark background */
    color: #fff;
    padding: 0px 20px 40px 20px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.rules-block,
.challenges-block {
    padding: 0;
    /* Already has padding from section */
}

.rules-block h2,
.challenges-block h2 {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0px;
    color: #fff;
}

.rules-block h2 i,
.challenges-block h2 i {
    color: #e50000;
    /* Red dot icon */
    margin-right: 10px;
    font-size: 0.8em;
    /* Adjust size of the dot */
    vertical-align: middle;
}

.rules-block ul,
.challenges-block ul {
    padding-left: 55px;
    margin: 0;
    color: var(--color-white);
}

.rules-block li,
.challenges-block li {
    font-size: 1em;
    line-height: 1.8;
    margin-bottom: 2px;
    position: relative;
    padding-left: 20px;
    /* Space for custom bullet */
}

/* Hotels Section */
.hotels-section {
    background-color: #fff;
    padding: 0;
    display: flex;
    justify-content: space-between;
    padding: 30px 0px;

}

.hotels-header {
    display: flex;
    margin-bottom: 30px;
    flex-direction: column;
    gap: 10px;
}

.hotels-header .icon {
    background-color: #f8f8f8;
    /* Light gray background for the icon */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e50000;
    /* Red icon color */
    font-size: 2.2em;
    margin-right: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for icon */
}

.hotels-header h2 {
    font-size: 2.2em;
    color: #333;
    font-weight: 700;
    margin: 0;
}

.hotel-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.hotel-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Push button to bottom */
    min-height: 200px;
    gap: 10px;
}

.hotel-card h3 {
    font-size: 1.3em;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}


.hotel-card .learn-more-button {
    display: inline-block;
    background-color: #e50000;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    text-align: center;
    width: 100%;
    /* Adjusts button width to content */
    margin-top: auto;
    /* Push to bottom */
}

.hotel-card .learn-more-button:hover {
    background-color: #cc0000;
}


.event-hero-section {
    background-size: cover;
    background-position: top center;
    color: #fff;
    padding: 80px 0px 0px 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 370px;
}
.event-hero-section h1{
    color:var(--color-white);
}
.event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.event-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
    padding: 0px 20px;
}
.gallery-hero{
	padding: 0px 20px 80px 20px;
}

.event-hero-content h1 {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    width: 60%;
}

.event-hero-content p {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 5px;
    color: var(--color-white);
}

.event-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    justify-content: space-between;
}

.event-hero-button {
    display: inline-block;
    background-color: #e50000;
    color: #fff;
    padding: 13px 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    width: 25%;
    text-align: center;
}

.event-hero-button.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.event-hero-button:hover {
    background-color: #cc0000;
}

.event-hero-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.info-section {
    background-color: var(--color-bg-dark);
    /* Dark background for the bottom section */
    color: #fff;
    /* padding: 50px 20px; */
    position: relative;
    z-index: 3;
    /* Ensure it overlaps any extended hero content slightly if needed */
}

.info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.info-block {
    display: flex;
    align-items: flex-start;
    /* Align icon and text at the top */
    gap: 20px;
}

.info-icon {
    font-size: 2.5em;
    color: #e50000;
    /* Red icon */
}

.info-icon img {
    width: 50px;
    height: 50px;
}

.info-details h3 {
    color: var(--color-white);
    margin-top: 0;
    margin-bottom: 10px;
}

.info-details p {
    margin: 5px 0px;
    color: var(--color-white);
}

.info-details a {
    color: #e50000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-details a:hover {
    color: #ff3333;
}

/* Main Container */
.contact-us-container {
    display: flex;
    border-radius: 8px;
    width: 100%;
    overflow: hidden;
    gap: 50px;
}

/* Left Section */
.left-section {
    flex: 1;
    padding: 40px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically align content */
}

.left-section h1 {
    font-size: 2.2em;
    color: var(--color-bg-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.left-section .tagline {
    color: var(--color-bg-dark);
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.left-section .description {
    color: var(--color-bg-dark);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #555;
    font-size: 1.1em;
}

.contact-info .icon {
    background-color: #e50000;
    /* Red icon background */
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 0.9em;
    flex-shrink: 0;
    /* Prevent icon from shrinking */
}

/* Right Section (Form) */
.right-section {
    flex: 1;
    padding: 40px 0px;
}

.right-section form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    /* Include padding in width */
    background-color: #fbfbfb;
}

.form-group textarea {
    resize: vertical;
    /* Allow vertical resizing */
    min-height: 100px;
    /* Adjust as needed */
}

.submit-btn {
    background-color: #e50000;
    /* Red submit button */
    color: white;
    padding: 11px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    align-self: flex-start;
    /* Align button to the left */
    transition: background-color 0.3s ease;
}

.wpcf7 form.invalid {
    color: var(--color-primary);
    border-color: var(--color-primary) !important;
}

button[type="submit"]:hover {
    background-color: #c00000;
    /* Darker red on hover */
}

/* FAQ Section Headers (e.g., General Event Questions) */
.faq-section h3 {
    color: #333;
    font-size: 1.25em;
    /* Adjust font size */
    margin: 30px 30px 15px 30px;
    /* Top, Right, Bottom, Left */
    border-bottom: 1px solid #eee;
    /* Light separator line */
    padding-bottom: 10px;
}

/* Individual FAQ Item (Question and Answer) */
.faq-item {
    padding: 0 30px 20px 30px;
    /* Left/right padding for items */
}

.faq-item:last-child {
    padding-bottom: 30px;
    /* More padding for the last item in a section */
}


.faq-item .question {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    /* Space between Q and A */
    line-height: 1.5;
}

.faq-item .answer {
    color: #555;
    line-height: 1.6;
    margin-top: 0;
}

.about-container {
    display: flex;
    align-items: start;
    gap: 60px;
    padding: 50px 15px 0px 0px;
}
.our-vision-container {
    display: flex;
    align-items: start;
    gap: 60px;
    padding: 20px 0px 20px 15px;
}

.about-left-section {
    width: 45%;
    display: flex;
    justify-content: center;
    padding: 0px;
    position: relative;
    height: 100%;
    min-height: 850px;
    

}


.about-left-section img.about-main-image {
    max-width: 100%;
    height: 100%;
    min-height: 750px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}
.our-vision-right-section img.our-vision-image {
    width: 100%;
    height: 100%;
    /* min-height: 750px; */
    border-radius: 10px;
    position: relative;
    z-index: 2;
}
.our-vision-right-section {
    width: 50%;
    display: flex;
    justify-content: center;
    padding: 0px;
    position: relative;
    height: 100%;
    

}


.our-vision-right-sectionimg.about-main-image {
    max-width: 100%;
    height: 100%;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.about-right-section {
    flex: 1.5;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 55%;
}

.about-right-section h2 {
    font-size: 2.5em;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 10px;
}


.about-right-section h3 {

    color: var(--color-white);
}

.about-right-section p {
    margin-bottom: 20px;
    color: var(--color-white);
}
.our-vision-left-section {
    flex: 1.5;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 50%;
}

.our-vision-left-section h2 {
    margin-bottom: 10px;
    color: #000;
    font-size: 2.5em;
}

.our-vision-left-section p {
    margin-bottom: 20px;
    color: #000;
}

.about-icon {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 50px;
    height: 50px;
    /* Example icon color, adjust as needed */
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    color: #fff;
}
.pagination-wrapper{
    padding: 30px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pagination {
    margin-top: 20px; /* Adjust spacing above pagination */
    text-align: center; /* Center the pagination */
    justify-content: center;
}

.page-numbers {
    list-style: none; /* Remove bullet points */
    margin: 0;
    padding: 0;
    display: inline-block; /* Display list items in a row */
}

.page-numbers li {
    display: inline-block; /* Display list items horizontally */
    margin: 0 5px; /* Space between page numbers */
}

.page-numbers a,
.page-numbers span {
    display: block;
    padding: 8px 20px;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px; /* Slightly rounded corners */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transitions */
}

.page-numbers a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.page-numbers .current {
    background-color: var(--color-primary); /* Highlight for the current page */
    color: var(--color-white);
    border-color: var(--color-primary);
    cursor: default; /* No pointer on current page */
}

.page-numbers .next {
    font-weight: bold;
}
/* Responsive adjustments */

@media (max-width: 992px) {
      /* Prevent default dropdown behavior */
  .navbar-nav .dropdown-menu {
    width: 100%;
    display: none;
    padding-left: 20px;
    background-color: transparent;
    border: none;
    position: static; /* Important: prevent absolute positioning */
    box-shadow: none;
  }

  /* When dropdown has class "open", show submenu */
  .navbar-nav .dropdown.open .dropdown-menu {
    display: block;
  }

  /* Style submenu links */
  .navbar-nav .dropdown-menu .nav-link {
    padding: 10px 0;
    font-weight: 600;
    color: #fff;
  }

  /* Make sure dropdown parent is full width */
  .navbar-nav .dropdown {
    width: 100%;
  }

    
    .info-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .schedule-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .rules-challenges-box {
        grid-template-columns: 1fr;
        /* Stack rules/challenges on medium screens */
        gap: 30px;
    }

    .hotel-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .event-hero-content h1 {
        font-size: 2.8em;
        width: 100%;
    }

    .event-hero-content p {
        font-size: 1.1em;
        text-align: left;
    }
    .about-left-section img.about-main-image{
        min-height: unset;
    }
}

@media (max-width: 768px) {
    .card-image-warriors{
        max-height: 160px;
    }
	.event-thumb-image{
		max-height: 350px;
	}
    .event-hero-section{
            min-height: 317px;
    }
    h1{
        font-size: 1.8em;
    }

    .btn-danger{
        font-size: 15px;
    }
    .tournament-grid {
        grid-template-columns: 1fr;
        /* Single column on smaller screens */
        margin: 0;
    }
    .section-title{
        margin: 0;
            padding-bottom: 30px;
    }
    .tournament-grid-home {
        grid-template-columns: 1fr;
        /* Single column on smaller screens */
        margin: 0;
    }

    .tournament-content {
        padding: 20px 0px 0px 0px;
    }

    .see-more-button-container {
        margin: 20px 0px;
        font-size: 12px;
    }

    .tournament-header h1 {
        font-size: 1.5em;
    }
    .tournament-header{
        padding-bottom: 20px;
    }
    .tournament-image {
        height: 180px;
    }

    .tournament-content h3,
    .result-content h3 {
        font-size: 19px;
    }

    .tournament-content p,
    .tournament-content ul li,
    .result-list li {
        font-size: 16px;
    }

    .register-button {
        font-size: 15px;
        padding: 10px 20px;
    }

    .see-more-button{
            font-size: 15px;
    padding: 15px;
    }

    .results-grid {
        grid-template-columns: 1fr;
        /* Single column on smaller screens */
        gap: 10px;
        margin-bottom: 0px;
    }

    /* Renamed header class to results-header */
    .results-header h1 {
        font-size: 1.5em;

    }

    .results-header {
        padding: 20px 0px;
    }

    .icon img {
        width: 40px;
        height: 40px;
    }

    .results-header .icon {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    .result-image {
        height: 150px;
    }

    .result-image h3 {
        font-size: 1.5em;
    }

    .see-full-results-button,
    .see-more-highlights-button {
        width: fit-content;
        /* Full width buttons on small screens */
        box-sizing: border-box;
        /* Include padding in width */
        font-size: 15px;
        padding: 10px 20px;

    }

    .see-more-highlights-button {
        font-size: 12px;
        padding: 15px 20px;

    }

    .result-list {
        margin: 0;
    }

    .filters {
        flex-direction: column;
    }

    .filter-dropdown {
        width: 100%;
    }
    .gallery-section-container{
        padding: 40px 15px !important;
    }
    .container {
        padding: 15px;
    }

    .section-container {
        padding: 15px;

    }
    .wrapper{
        padding: 25px 0px 30px 0px;
    }
    .results-header h1 {
        font-size: 1.8em;
    }

    .results-header .icon {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    .accordion-header {
        font-size: 1em;
        padding: 12px 15px;
    }

    .results-grid-inner {
        grid-template-columns: 1fr;
    }

    .result-image-inner {
        height: 150px;
        font-size: 1em;
    }

    .result-content-inner {
        padding: 10px;
    }

    .see-gallery-button {
        width: 100%;
        box-sizing: border-box;
        font-size: 0.85em;
        padding: 10px;
    }

    .registration-header {
        margin-bottom: 30px;
    }

    .registration-header h2 {
        font-size: 1.5em;
        padding: 0;
    }


    .registration-header .icon {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
        margin-bottom: 15px;
    }

    .tab-buttons {
        width: 100%;
    }

    .tab-button {
        border-bottom: 1px solid #ddd;
        /* Separator for stacked tabs */
        font-size: 13px;

    }

    .tab-button.active {
        border-bottom-color: #e50000;
        /* Active indicator */
    }

    .weight-table {
        font-size: 0.85em;
    }

    .weight-table th,
    .weight-table td {
        padding: 10px 8px;
        /* Further reduce padding for small screens */
        font-size: 0.8em;
        /* Smaller font size for table content */
    }

    .weight-table {
        display: block;
        /* Make table scrollable horizontally if needed */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* Smoother scrolling on iOS */
    }

    /* Ensure table elements maintain table-like behavior within the scrollable div */
    .weight-table thead,
    .weight-table tbody,
    .weight-table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

    .weight-table th,
    .weight-table td {
        white-space: normal;
        /* Allow text to wrap within table cells */
    }

    .schedule-header {
        margin-bottom: 30px;
    }

    .schedule-header h2 {
        font-size: 1.5em;
        padding: 0;
    }

    .schedule-header .icon {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
        /* Single column on smaller screens */
    }

    .schedule-block {
        padding: 20px;
    }

    .rules-challenges-box {
        padding: 30px 20px;
        margin-bottom: 0;
    }

    .hotels-section {
        flex-direction: column;
        padding: 30px 0px;
    }

    .rules-block h2,
    .challenges-block h2,
    .hotels-header h2 {
        font-size: 1.5em;
        padding: 0;
    }

    .hotels-header .icon {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        margin-right: 15px;
    }



    .hotel-card .learn-more-button {
        width: fit-content;
        box-sizing: border-box;
    }

    .hero-section {
        padding: 0px;
    }

    .evemt-hero-content h1 {
        font-size: 2.2em;
        text-align: center;
        /* Center text on smaller screens */
    }

    .event-hero-content p {
        font-size: 1em;
        max-width: none;
        /* Remove max-width on small screens */
    }

    .event-hero-buttons {
        flex-direction: column;
        /* Stack buttons vertically */
        align-items: center;
        /* Center stacked buttons */
    }

    .event-hero-button {
        width: 100%;
        /* Full width for stacked buttons */
        box-sizing: border-box;
        /* Include padding in width */
    }

    .info-container {
        grid-template-columns: 1fr;
        /* Single column for info blocks */
        gap: 30px;
    }

    .contact-us-container {
        flex-direction: column;
        gap: 0;
    }

    .right-section {
        padding: 0px;
    }

    .faq-header,
    .faq-section h3,
    .faq-item {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-header h2 {
        font-size: 1.3em;
    }

    .faq-section h3 {
        font-size: 1.1em;
    }

    .submit-btn {
        padding: 5px 20px;
    }
    .about-container{
        flex-direction: column-reverse;
        gap: 0;
    }
    .our-vision-container{
        flex-direction: column;
        gap: 0px;
    }
    .about-left-section, .about-right-section{
        width: 100%;
        min-height: unset;
    }
    .about-right-section{
        padding: 0;
    }
    .about-left-section img.about-main-image{
        min-height: unset;
    }
    .our-vision-left-section, .our-vision-right-section{
        width: 100%;
    }

    .page-numbers a, .page-numbers span{
        padding: 0px 8px;
    }
    .pagination-wrapper {
    padding: 30px 0px 10px;
}
}

@media (max-width: 480px) {
    .info-card {
        padding: 20px;
    }

    .info-card-icon {
        top: 20px;
        right: 20px;
    }

    .info-card h3 {
        font-size: 1.2em;
    }

    .schedule-block h3 {
        font-size: 1.2em;
    }

    .rules-challenges-box {
        padding: 25px 15px;
    }

    .rules-block h2,
    .challenges-block h2 {
        font-size: 1.5em;
    }

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

    .bottom-divider img {
        height: 100%;
    }

    .event-hero-section {
        padding: 40px 0px 0px 0px;
    }

    .info-block {
        flex-direction: column;
    }

    p {
        font-size: 1em !important;
    }

    .left-section h1 {
        font-size: 2em;
    }

    .left-section .tagline {
        font-size: 1em;
    }

    .left-section .description,
    .contact-info .contact-item {
        font-size: 0.9em;
    }

    .faq-header,
    .faq-section h3,
    .faq-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    .about-icon{
        right: 0;
    }
}

