body {
    font-family: Arial, sans-serif;
    background-color: white;
    color: black;
    height: 100%;
    margin: 0;
    padding-top: 50px; /* Adjust this to match the height of your nav bar */
    display: flex;
    flex-direction: column;
}


/* Sticky Navigation Bar */
nav {
    background-color: darkgreen;
    padding: 0;
    position: fixed; /* Makes the nav bar stick to the top */
    top: 0;
    width: 100%; /* Ensure it spans the full width of the page */
    z-index: 1000; /* Ensure it stays above other content */
    display: flex;
    justify-content: space-between; /* Space between logo/hamburger and menu */
    align-items: center; /* Center vertically */
}

/* Container for the navigation links */
nav ul {
    display: flex;
    justify-content: flex-end; /* Aligns the menu items to the right */
    list-style: none;
    padding: 0px 10px 0px 0px;
    margin: 0;
    width: 100%; /* Ensures the ul takes the full width */
}

/* Styles for individual list items */
nav li {
    margin-left: 10px; /* Space between menu items */
}

nav a {
    color: white;
    text-decoration: none;
    padding: 20px 10px 16px 10px ;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(0,27,75,1);  /*navy;*/
    color: white;
}

/* Hamburger menu styles */
.hamburger {
    display: none; /* Initially hidden */
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    background-color: white;
    height: 3px;
    width: 25px;
    margin: 4px;
    transition: 0.4s;
}

/* Mobile-specific styles */
@media (max-width: 986px) {
    nav ul {
        display: none; /* Hide menu by default */
        flex-direction: column;
		width: 100%;
        position: absolute;
        top: 50px; /* Below the nav */
        left: 0;
        background-color: darkgreen;
        border-top: 1px solid white;
    list-style: none;
    padding: 0;
    margin: 0;
    }

    nav ul.show {
        display: flex; /* Show menu when class 'show' is added */
    }

    nav ul li {
        margin: 2px;
        /* padding: 10px; */
        text-align: left; /* Center menu items in dropdown */
		width: 100%; /* Ensure the items take full width of the dropdown */
		flex: 1;
    }

.navbar ul li a {
    display: block; /* Make anchor element take full width */
    padding: 10px 10px;
    text-align: left;
    color: white;
    text-decoration: none;
}

    .hamburger {
        display: flex; /* Show hamburger icon */
		padding: 0px 10px;
    }
}

/* Highlight active navigation link */
.navbar ul li a.active {
    color: darkgreen;
	background-color: white;
    font-weight: bold; /* Optional: Make the active link bold */
    border-bottom: 2px solid darkgreen; /* Optional: Add an underline to indicate the active state */
}

/* Ensure the color changes on hover to make it more interactive */
.navbar ul li a:hover {
    color: white;
	background-color: rgba(0,27,75,1);  /*navy;*/
}




/* Club Logo */
.club-logo {
    text-align: left; /* Center the logo */
    padding: 6px 0 6px 6px; /* Space above and below the logo */
    /* background-color: white; /* Optional: Add a background color  */
    position: relative; /* Ensure it displays properly */
    z-index: 999; /* Keep it above other elements */
}

.club-logo img {
    max-width: 50px; /* Adjust the size of the logo */
    height: auto;
}

.club-logo {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the logo and text */
}

.club-logo {
    text-decoration: none; /* Remove underline */
    color: inherit; /* Keep text color unchanged */
}

.club-logo:hover {
    background-color: transparent; /* Ensure no background change on hover */
}

.club-name {
    font-size: 1.5em; /* Adjust the size as needed */
    color: White; /* Change color as desired */
    font-weight: bold;
}





/* Club Notice */
.club-notice {
    text-align: Center; /* Center the logo */
    padding: 0 ; /* Space above and below the logo */
    /*background-color: white; /* Optional: Add a background color */
    position: relative; /* Ensure it displays properly */
    z-index: 999; /* Keep it above other elements */
	
}

.club-notice img {
	width: 100%;
    max-width: 800px; /* Adjust the size of the logo */
    height: auto;
	border-radius: 10px;
}


/* Responsive Adjustments */
@media (max-width: 800px) {
    .club-notice img {
        width: 100%; /* Adjust to fit smaller screens */
        max-width: none; /* Remove any maximum width */
        margin: 0 auto; /* Center the image */
        display: block; /* Ensure it behaves as a block element */
    }
	

	
}


/* Section Styling */
section {
    padding: 20px;
    text-align: center;
}



/* Carousel */
.carousel {
    position: relative;
    width: 100%;
	max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    border: 2px solid rgba(0,27,75,1);  /*navy;*/
    border-radius: 10px;
}
.carousel-item {
    display: none;
    width: 100%;
}
.carousel-item.active {
    display: block;
}

/* Carousel Styling */
.carousel {
    /* display: flex; */
    overflow-x: auto;
    margin: 20px auto;
    gap: 10px;
    max-width: 100%;
    padding: 10px;
}

.carousel img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.carousel img:hover {
    transform: scale(1.05);
}




/* Gallery Grid */
.image-grid {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
	margin: 20px auto;
    width: 100%;
    max-width: 800px; /* Optional: Limit the max width */
}
.image-grid img {
    width: 100%;
    height: 150px;
    border: 2px solid darkgreen;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}


.image-grid img:hover {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 800px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr); /* Always display 2 columns on smaller screens */
	}
	.image-grid img {
    width: 100%;
    height: 100px;
	}
}





/* Contact Form Styling */
.contact-form {
    width: 60%;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #333;
	text-align: left;
}

.contact-form input, 
.contact-form textarea {
    width: 96%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form textarea {
    resize: vertical; /* Allow vertical resizing only */
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background-color: rgba(0,27,75,1);  /*navy;*/
    color: white;
    font-size: 1.2em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: darkgreen;
}

/* Responsive Design */
@media (max-width: 600px) {
    .contact-form {
        width: 90%;
    }
}


/* Contact Form and Map Layout */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin: 20px auto;
    padding: 20px;
    max-width: 1200px;
}

.contact-form, .map-container {
    flex: 1;
    min-width: 300px;
    margin: 10px;
}

.map-container iframe {
    width: 100%;
	max-width: 600px;
    height: 460px;
    border: 0;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form, .map-container {
        margin: 0;
        padding: 10px;
    }
}


/* Centering the content of the container */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: Top; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
    /*min-height: 70vh; /* Ensures the container takes up at least 70% of the viewport height */
    text-align: center;
	margin-bottom: 20px;
	padding-top: 10px
}



/* Footer */
footer {
    background-color: black;
    color: white;
    padding: 10px 10px 0px 10px;
    text-align: center;
}
.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.logo img {
    max-width: 100px;
    margin: 0px;
}

.sponsor-logos img {
    max-width: 200px;
	max-height: 50px;
    margin: 10px;
}

.sponsor-info {
    text-align: center;
    margin-bottom: 20px; 
	color: white; 
}

.sponsor-text {
    font-size: 18px; 
    font-weight: bold; 
    margin-bottom: 10px; 
    color: white; 
	text-align:left;
}

.site-map ul {
    list-style: none;
    padding: 0;
	font-size: 12px; 
	/* text-align: left; */
}
.site-map a {
    color: white;
    text-decoration: none;
    padding: 5px;
    transition: color 0.3s;

}
.site-map a:hover {
    color: gray;
}

.social-media {
    display: flex;
    justify-content: center; /* Center icons horizontally */
    margin: 20px 0; /* Space above and below */
}

.social-media a {
    margin: 0 0px; /* Space between icons */
}

.social-media img {
    width: 200px; /* Set size for icons */
    height: auto; /* Maintain aspect ratio */
}



/* Responsive Styling */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
    }
	.logo img {
		max-width: 80px;
		margin: 0px;
	}
	.sponsor-info {
		text-align: center;
		margin-bottom: 0px; 
		color: white; 
	}
	.sponsor-text {
		font-size: 14px; 
		font-weight: bold; 
		margin-bottom: 6px; 
		color: white; 
		text-align:left;
	}
	.sponsor-logos img {
		max-width: 160px;
		margin: 6px;
	}
	.social-media {
		display: flex;
		justify-content: center; /* Center icons horizontally */
		margin: 4px 0; /* Space above and below */
	}
	.social-media img {
		width: 160px; /* Set size for icons */
		height: auto; /* Maintain aspect ratio */
	}
	.social-media a {
		margin: 0 0px; /* Space between icons */
	}
}

/* Banner styles */
.banner {
    background-image: url('../../assets/images/banner-image.jpg'); /* Path to the image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px; /* Adjust height as needed */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2em;
    text-align: center;
    padding: 20px;
    position: relative;
}

/* Optional: Add a dark overlay for better text visibility */
.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust opacity as needed */
    z-index: 1;
}

.banner span {
    position: relative;
    z-index: 2; /* Ensure the text is above the overlay */
}


/* Make table container scrollable on smaller screens */
.table-container {
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS devices */
}

/* Optional: Style for horizontal scrolling indication */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

/* Fixtures Table Styling */
.fixtures-table {
    /* width: 800px; */
    max-width: 800px; /* Optional: Limit the maximum width */
    margin: 10px auto; /* Center the table */
    border-collapse: collapse; /* Merge borders */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
    width: 100%; /* Make sure the table takes the full width of its container */
    min-width: 400px; /* Ensures the table doesn’t become too small */
}

.fixtures-table th {
    padding: 10px 15px;
    text-align: center; /* Align text to the left */
    border-bottom: 1px solid #ddd; /* Add bottom border */
	    width: auto;
    white-space: nowrap; /* Prevents line break within the cell */
    text-align: left; /* Align text to the left for readability */
}
 
.fixtures-table td {
    padding: 4px 15px;
    text-align: left; /* Align text to the left */
    border-bottom: 1px solid #ddd; /* Add bottom border */
	width: auto;
    white-space: nowrap; /* Prevents line break within the cell */
    text-align: left; /* Align text to the left for readability */
	color: #333; /* Text color for table body */
}

.fixtures-table thead {
    background-color: rgba(0,27,75,1);  /*navy;*/ /* Background color for header */
    color: white; /* Text color for header */
}

.fixtures-table tbody tr:hover {
    background-color: #f1f1f1; /* Highlight row on hover */
}


/* Fixtures Filter Styling */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
    flex-wrap: wrap; 
	align-items: center;
}

.filter-container label {
    font-weight: bold;
    margin-right: 5px;
}

.filter-container select {
  width: 200px; /* or a specific value like 200px */
  max-width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Ensures the fixtures table maintains its layout */
.fixtures-table {
    /* width: 80%; */
    margin: 20px auto;
    text-align: center;
}


/* Responsive Design for Mobile View */
@media (max-width: 800px) {
    .fixtures-table, .fixtures-table thead, .fixtures-table tbody, .fixtures-table th, .fixtures-table td, .fixtures-table tr {
        display: block;
        width: 100%;
    }
    
    .fixtures-table thead {
        display: None; /* Hide table header */
    }
    
    .fixtures-table tr {
        margin-bottom: 15px; /* Space between rows */
    }
    
    .fixtures-table td {
        text-align: left;
        position: relative;
    }
    
    .fixtures-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        text-align: left;
        font-weight: bold;	 
    }
	
	/* Apply light gray background to every second row */
	.fixtures-table tr:nth-child(even) {
    background-color: #f2f2f2; /* Light gray color */
	}
	
    .fixtures-table tbody td:first-child {
        background-color: rgba(0,27,75,1);  /*navy;*/ /* Change to navy on mobile */
        color: white; /* Ensure text is visible */
    }
	
	
	
    .filter-container {
        flex-direction: column; /* Stack the elements vertically */
        align-items: flex-start; /* Align to the start of the container */
        gap: 10px; /* Add space between the rows */
    }

    .filter-container select {
        width: 100%; /* Make the dropdowns take the full width */
    }	
	
	.banner {
		font-size: 1.5em;
		padding: 10px;
	}
	.container {
		font-size: 0.7em;
		/* margin: auto; */
	}
	
}


.image-popup {
	display: none; 
	position: fixed; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	background: rgba(0, 0, 0, 0.8); 
	justify-content: center; 
	align-items: center; 
	z-index: 1000;
}

.popup-image  {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}

.popup-close  {
	position: absolute; 
	top: 10px; 
	right: 20px; 
	color: white; 
	font-size: 30px; 
	cursor: pointer;
}



/* Live Action Page Styling */
.live-video-container {
    width: 80%;
    max-width: 900px; /* Optional max-width */
    margin: 20px auto; /* Center the video on the page */
    text-align: center; /* Center align content */
}

.live-video-container iframe {
    border-radius: 8px; /* Optional: Rounded corners */
}

.live-description {
    font-size: 1.2em;
    color: #333;
    margin-top: 10px;
}

/* Responsive for Smaller Screens */
@media (max-width: 600px) {
    .live-video-container iframe {
        height: 300px; /* Adjust the height on smaller screens */
    }
}



.committee-members {
    text-align: center; /* Center text */
    margin: 20px 0; /* Space above and below */
}

.members-container {
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center members */
    flex-wrap: wrap; /* Wrap if necessary */
	max-width: 800px;
	min-width: 400px;
}

.member {
    margin: 15px; /* Space between members */
    width: 150px; /* Set a width for each member */
}

.member-photo {
    width: 100%; /* Make photo responsive */
    border-radius: 50%; /* Make the image rounded */
    object-fit: cover; /* Cover the area without distortion */
}

.member h4 {
    margin: 10px 0 5px; /* Space around name */
}

.member p {
    margin: 0; /* Remove default margin */
    font-style: italic; /* Style for position */
}



/* Copyright Disclaimer Styling */
.copyright {
    text-align: center; /* Center the text */
    padding: 0; /* Add some vertical padding */
    background-color: #000; /* Background color (optional) */
    color: #fff; /* Text color */
    font-size: 0.8em; /* Slightly smaller font */
    border-top: 1px solid #444; /* Optional: add a border line above */
}



/* Filter Buttons */
.filter-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.filter-btn {
    padding: 10px 15px;
    margin: 0 5px;
    background-color: rgba(0,27,75,1);  /*navy;*/
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.filter-btn:hover {
    background-color: darkgreen;
}

.filter-btn.active {
    background-color: darkgreen;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
}




.announcement-indicator {
    display: none;
    color: white;
    background-color: orange;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    margin: 5px 0;
}

/* Show the announcement indicator */
.announcement-indicator.show {
    display: inline-block;
}

.iframe-container {
  position: relative;
  display: flex;
  width: 100%;
  height: 2400px;
  padding-top: 56.25%; /* Aspect ratio 16:9 */
  overflow: hidden;


}

.iframe-container iframe {
  position: absolute;
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



/* Registration form */
    .registration-form {
      max-width: 800px;
      margin: 0px auto;
	  margin-top: 30px; 
	  margin-bottom: 30px;
      background: #f9f9f9;
      padding: 30px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
	  text-align: left;
    }
	
	


    h1, h2 {
		margin-top: 0px;
		margin-bottom: 30px;
		text-align: center;
    }
    h5 {
		margin-top: 0px;
		margin-bottom: 30px;
		font-weight: lighter;
		font-style: italic;
    }	
    .registration-form label {
      /* font-weight: bold;  */
      display: block;
      margin-top: 5px;
    }

    input[type="text"],
    input[type="date"],
    input[type="email"],
    textarea,
    select {
      width: 96%;
      padding: 10px;
      margin-top: 5px;
	  margin-bottom: 10px;
	  /* margin: 10px; */
      border: 1px solid #ccc;
      border-radius: 5px;
    }

    .checkbox-group {
      display: flex;
      gap: 20px;
      margin-top: 5px;
	  margin-bottom: 30px;
    }

.checkbox-group-vertical {
  flex-direction: column;
  gap: 5px;
}

.spaced-list li {
  margin-bottom: 8px;
}

    .section {
      margin-bottom: 30px;
    }

    .signature {
      margin-top: 30px;
    }

    .footer-note {
      text-align: center;
      margin-top: 30px;
      font-style: italic;
    }

    .submit-btn {
      background-color: rgba(0,27,75,1);  /*navy;*/
      color: white;
      padding: 12px 30px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 16px;
      display: block;
      margin: 10px auto;
    }

    .submit-btn:hover {
      background-color: darkgreen;
    }
	
	
.form-header {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  margin: 0;
}

.form-actions {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.form-actions a {
  margin-left: 0.75rem;
  text-decoration: none;
  font-size: 1.4rem;
  color: #333;
  transition: color 0.3s ease;
}

.form-actions a:hover {
  color: #007bff;
}

.icon {
  width: 24px;
  height: 24px;
  margin-left: 0.75rem;
  vertical-align: middle;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.icon:hover {
  opacity: 0.7;
}


/* For small screens (like mobile phones) */
@media (max-width: 600px) {
  .registration-form {
    margin: auto;         /* removes side margins */ 
    padding: 10px;     /* optional: reduces internal spacing */
    width: 100%;       /* makes it full width */
	
  }
     .checkbox-group {
      gap: 10px;
    }
}

.login-container {
  max-width: 400px;
  margin: 40px auto;
  padding: 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}
.login-container input {
  width: 100%;
  padding: 10px;
  margin: 6px 0 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.login-container button {
  width: 100%;
  padding: 10px;
  background-color: navy;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
}
.login-container .message {
  margin-bottom: 10px;
  color: darkred;
  font-weight: bold;
}