/* Resetting default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General Styles */
body {
    font-family: 'Oswald', sans-serif; /* Use Oswald as the main font */
    padding-bottom: 60px; /* Adjust this based on your footer height */
    box-sizing: border-box;
}

/* Adjust scroll position for sections to prevent sticky nav overlap */
section {
    scroll-margin-top: 135px; /* Adjust this value to match your sticky nav height */
}

/* Enhanced Logo Section */
#logo-section {
    position: relative;
    text-align: center;
    padding: 60px 0; /* Increased padding for spacing */
    background: linear-gradient(135deg, #24476f 0%, #f4f4f4 100%); /* Dark blue to neutral gradient */
    color: #fff; /* White text color */
    border-top: 4px solid #4682b4; /* Dark blue top border */
    border-bottom: 4px solid #ffffff; /* White bottom border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    display: flex; /* Flex container for layout */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
    overflow: hidden; /* Prevent overflow */
    gap: 20px; /* Space between the slideshows and the logo */
}

/* Add a subtle animation to the background */
#logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 20%, transparent 70%);
    animation: pulse 6s infinite;
    transform: translate(-50%, -50%);
    opacity: 0.5;
    pointer-events: none;
}

/* Background animation */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Styling for the logo image */
#logo-section .logo-container img {
    max-width: 210px; /* Larger maximum size for the logo */
    border: 8px solid #fff; /* White border around the logo */
    background-color: #f4f4f4; /* Light background */
    padding: 20px; /* Space around the logo */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Deeper shadow for focus */
    transition: transform 0.3s ease-in-out; /* Smooth scaling effect */
}

#logo-section .logo-container img:hover {
    transform: scale(1.26); /* Slightly enlarge the logo on hover */
}

#logo-section .logo-container {
    text-align: center;
    max-width: 380px; /* Centered container for the logo */
}

#logo-section .logo-container h1 {
    font-size: 2.5rem;
    color: #4682b4; /* Classic dark blue */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Shadow for depth */
    margin-top: 10px;
    font-weight: bold;
}

#logo-section .logo-container p {
    font-size: 1.2rem;
    color: #4682b4; /* Classic dark blue */
    -webkit-text-stroke: .5px black ;
    margin-top: 10px;
    
}

/* Slideshow Containers */
.slideshow-left, .slideshow-right {
    width: 250px;
    height: 400px; /* Set consistent height */
    overflow: hidden; /* Hide overflowing content */
    position: relative;
    cursor: grab; /* Indicate draggable content */
    scroll-behavior: smooth; /* Smooth scrolling */
}

/* Slideshow Content */
.slideshow {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    animation: scrollVertical 20s linear infinite; /* Continuous scroll */
}

.slideshow img {
    width: 100%; /* Fit images to the container */
    display: block;
    margin-bottom: 10px;
    border-radius: 5px; /* Optional: Rounded edges for images */
}

/* Pause animation when user hovers over slideshow */
.slideshow-left:hover .slideshow,
.slideshow-right:hover .slideshow {
    animation-play-state: paused;
}

/* Duplicate Content for Seamless Scrolling */
.slideshow::after {
    content: '';
    position: absolute;
    top: 100%;
    width: 100%;
    height: 100%;
    background: inherit;
    animation: inherit;
}

/* Animation for Seamless Scrolling */
@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}




/* Slideshow Container */
.slideshow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    border: 10px solid #4682b4; /* Navy Blue Border */
    box-sizing: border-box; /* Ensure the border width is included in the container size */
}

.slideshow-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    animation: slideAnimation 60s infinite; /* Total duration for 18 images */
    opacity: 0;
}

.slideshow-container img:nth-child(1) {
    animation-delay: 0s;
    opacity: 1; /* Ensure the first image is initially visible */
}
.slideshow-container img:nth-child(2) {
    animation-delay: 4s; /* 0 + 4 = 4 seconds */
}
.slideshow-container img:nth-child(3) {
    animation-delay: 8s; /* 4 + 4 = 8 seconds */
}
/* Add more nth-child selectors for the remaining images */
.slideshow-container img:nth-child(4) {
    animation-delay: 12s; /* 8 + 4 = 12 seconds */
}
.slideshow-container img:nth-child(5) {
    animation-delay: 16s; /* 12 + 4 = 16 seconds */
}
.slideshow-container img:nth-child(6) {
    animation-delay: 20s; /* 16 + 4 = 20 seconds */
}
.slideshow-container img:nth-child(7) {
    animation-delay: 24s; /* 20 + 4 = 24 seconds */
}
.slideshow-container img:nth-child(8) {
    animation-delay: 28s; /* 24 + 4 = 28 seconds */
}
.slideshow-container img:nth-child(9) {
    animation-delay: 32s; /* 28 + 4 = 32 seconds */
}
.slideshow-container img:nth-child(10) {
    animation-delay: 36s; /* 32 + 4 = 36 seconds */
}
.slideshow-container img:nth-child(11) {
    animation-delay: 40s; /* 36 + 4 = 40 seconds */
}
.slideshow-container img:nth-child(12) {
    animation-delay: 44s; /* 40 + 4 = 44 seconds */
}
.slideshow-container img:nth-child(13) {
    animation-delay: 48s; /* 44 + 4 = 48 seconds */
}
.slideshow-container img:nth-child(14) {
    animation-delay: 52s; /* 60 + 5 = 65 seconds */
}
.slideshow-container img:nth-child(15) {
    animation-delay: 56s; /* 65 + 5 = 70 seconds */
}
/* Add more nth-child selectors for the remaining images */
@keyframes slideAnimation {
    0%, 20% { opacity: 1; } /* Maintain opacity at 1 for each image */
    25%, 100% { opacity: 0; } /* Fade out for transition */
}

/* Navigation styles */
nav {
    background-color: #4682b4; /* Light Navy Blue */
    padding: 10px 20px;
    position: relative; /* Ensure nav is positioned for dropdown z-index */
    z-index: 2000; /* Ensure the nav bar is at a high z-index */
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 10px;
    position: relative; /* Ensure dropdown-content is positioned relative to its parent */
}

nav ul li a {
    color: #fff; /* White */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffc107;
}

/* Updated Dropdown Styles */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #4682b4; /* Steel Blue */
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 2100;
    padding: 8px 0;
    border-radius: 6px; /* Slight rounding for softer edges */
}

.dropdown-content a {
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #315f86; /* Darker steel blue on hover */
    color: #ffc107;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Header styles */
header {
    text-align: center;
    padding: 50px 0;
}
header img {
    max-width: 200px; /* Adjust as needed */
    margin-bottom: 20px;
}
header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #4682b4; /* Light Navy Blue */
}
header p {
    display: inline;
    font-size: 1.2rem;
    color: #000; /* Black */
    
    padding: 10px 20px; /* Add padding to the text */
    margin: 0; /* Remove default margin */
}

/* Media query for smaller screens */
@media (max-width: 600px) {
    header img {
        max-width: 150px; /* Adjust logo size for smaller screens */
    }
    header h1 {
        font-size: 1.8rem; /* Adjust heading size for smaller screens */
    }
    header p {
        font-size: 1rem; /* Adjust paragraph size for smaller screens */
    }
}

/* Featured Products styles */
#featured-products {
    padding: 50px 20px;
    text-align: center;
}
.product {
    margin-bottom: 30px;
}
.product img {
    max-width: 100%;
    border-radius: 5px;
}
.product h3 {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #4682b4; /* Light Navy Blue */
}
.product p {
    color: #666;
    margin-top: 10px;
}
.product button {
    background-color: #4682b4; /* Light Navy Blue */
    color: #fff; /* White */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.product button:hover {
    background-color: #ffc107;
}

/* About section styles */
#about {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
#about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #4682b4; /* Light Navy Blue */
    border: 6px solid #4682b4; /* Navy Blue Border */
}
#about .lacrosse-image img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    
}
#about p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 20px;
    border: 4px solid #4682b4; /* Navy Blue Border */
}
#about a {
    font-size: 1.1rem;
    color: #4682b4; /* Light Navy Blue */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}
#about a:hover {
    color: #ffc107;
}

/* Sizing chart styles */
#sizing-chart {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
}
#sizing-chart h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #4682b4; /* Light Navy Blue */
}
.chart-container {
    margin-bottom: 50px;
}
.chart-container h3 {
    font-size: 2rem;
    color: #4682b4; /* Light Navy Blue */
    margin-bottom: 20px;
}
.chart {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.chart img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}
.chart p {
    font-size: 1.1rem;
    color: #333;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact section styles */
#contact {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}
#contact form {
    max-width: 500px;
    margin: 0 auto;
}
#contact label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}
#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
#contact textarea {
    resize: none;
}
#contact button {
    background-color: #4682b4; /* Light Navy Blue */
    color: #fff; /* White */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#contact button:hover {
    background-color: #ffc107;
}

.calendly-section {
    margin-top: 20px;
    padding: 20px;
    background-color: #eef2f7; /* Light gray background */
    border-radius: 10px;
    text-align: left;
    max-width: 500px;
    margin: 20px auto;
}

.calendly-section p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
}

.calendly-link a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4682b4; /* Steel Blue */
    color: #fff; /* White */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.calendly-link a:hover {
    background-color: #ffc107;
}
.outlined-text {
    font-size: 2.5rem;
    color: #4682b4; /* Original text color */
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff; /* White outline */
}

.team-store-title {
    font-size: 2.5rem;
    color: #4682b4; /* Steel Blue */
    text-align: center;
    margin: 20px 0;
}

.starter-pack-options {
    display: flex;
    flex-direction: column; /* Stack the columns vertically */
    justify-content: space-between;
}

.starter-pack-options .left-column,
.starter-pack-options .right-column {
    width: 100%; /* Full width for each column */
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 5px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
}

.form-group textarea {
    height: 100px; /* Larger height for message box */
    resize: none; /* Disable resize to keep uniform look */
}

/* Footer styles */
.site-footer {
    background-color: #4682b4;
    color: #fff;
    padding: 6px 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap; /* Prevents unwanted wrapping */
}

/* Both logos */
.footer-logo {
    width: 28px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* Text stays inline */
.footer-text {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap; /* Forces everything to stay on one row */
    font-size: 0.85rem;
}

.footer-text a {
    color: #fff;
    text-decoration: none;
}

.footer-text a:hover {
    color: #ea6200;
    text-decoration: underline;
}

.footer-separator {
    opacity: 0.7;
}

/* Footer rows: give explicit layout (safe defaults) */
.footer-links-row,
.footer-meta-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}



/* Product Carousel styles */
.carousel {
    position: relative;
    max-width: 100%;
    margin: auto;
}

.carousel-inner {
    display: flex;
    overflow: hidden;
}

.carousel-inner img {
    width: 100%;
    display: none;
}

.carousel-inner img:first-child {
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px; /* Adjust border radius to align with the corner */
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Additional Product styles */
#lacrosse-products {
    padding: 50px 20px;
    text-align: center;
}
#lacrosse-products h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #4682b4; /* Steel Blue */
}
.products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.product {
    display: inline-block;
    width: 100%; /* Full width by default for mobile devices */
    margin: 10px 0; /* Reduce margin for better spacing */
    border: 2px solid #4682b4; /*Steel Blue */
    border-radius: 10px;
    padding: 20px;
    background-color: #f8f8f8; /* Light Gray */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s; /* Smooth transition for scaling */
}

.product:hover {
    transform: scale(1.05); /* Scale up on hover */
}

.product img {
    max-width: 100%;
    border-radius: 5px;
}

.product h3 {
    margin-top: 10px;
    font-size: 1.8rem;
    color: #4682b4; /* Steel Blue */
}

.product p {
    color: #666;
    margin-top: 10px;
}

.product button {
    background-color: #4682b4; /* Steel Blue */
    color: #fff; /* White */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product button:hover {
    background-color: #ffc107;
}

/* Cart styles */
#cart {
    padding: 50px 20px;
    background-color: #fff; /* White background */
    text-align: center;
}
#cart h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #4682b4; /* Steel Blue */
}
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}
.cart-item img {
    max-width: 100px;
    border-radius: 5px;
    margin-right: 20px;
}
.cart-item-details {
    flex-grow: 1;
    text-align: left;
}
.cart-item-details h3 {
    font-size: 1.5rem;
    color: #4682b4; /* Steel Blue */
    margin-bottom: 10px;
}
.cart-item-details p {
    color: #666;
    margin-bottom: 10px;
}
.cart-item-quantity {
    display: flex;
    align-items: center;
}
.cart-item-quantity button {
    background-color: #4682b4; /* Steel Blue */
    color: #fff; /* White */
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cart-item-quantity button:hover {
    background-color: #ffc107;
}
.cart-total {
    font-size: 1.5rem;
    color: #333;
    margin-top: 20px;
}

/* Style for button container */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    border: 1px solid #ccc; /* Add border to entire container */
    padding: 10px; /* Add padding to container */
}

/* Style for individual buttons */
button {
    background-color: #4682b4; /* Light Navy Blue */
    color: #fff; /* White */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem; /* Increase font size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
}

button:hover {
    background-color: #ffc107; /* Change to hover color */
}

/* Ensure Square payment button matches other buttons */
#card-button {
    background-color: #4682b4; /* Steel Blue */
    color: #fff; /* White */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem; /* Increase font size */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
}

#card-button:hover {
    background-color: #ffc107; /* Change to hover color */
}

#payment-status-container {
    margin-top: 20px;
}

/* Team Store styles */
#team-store {
    padding: 50px 20px;
    text-align: center;
}
#team-store h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    color: #4682b4; /* Steel Blue */
    position: relative; /* Added to position the title above the background image */
    z-index: 1; /* Ensures the title appears above the background image */
}
#team-store .product {
    display: inline-block;
    width: 100%; /* Full width by default for mobile devices */
    margin: 10px 0; /* Reduce margin for better spacing */
    border: 2px solid #4682b4; /* Steel Blue */
    border-radius: 10px;
    padding: 20px;
    background-color: #f8f8f8; /* Light Gray */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
    transition: transform 0.2s; /* Smooth transition for scaling */
}
#team-store .product:hover {
    transform: scale(1.05); /* Scale up on hover */
}
#team-store .product img {
    max-width: 100%;
    border-radius: 5px;
}
#team-store .product h3 {
    margin-top: 10px;
    font-size: 1.8rem;
    color: #4682b4; /* Steel Blue */
}
#team-store .product p {
    color: #666;
    margin-top: 10px;
}
#team-store .product button {
    background-color: #4682b4; /* Steel Blue */
    color: #fff; /* White */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#team-store .product button:hover {
    background-color: #ffc107;
}

/* Outlined text style */
.outlined-text {
    font-size: 3rem;
    color: #4682b4;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff; /* White outline */
    position: relative; /* Added to position the title above the background image */
    z-index: 1; /* Ensures the title appears above the background image */
}

/* Image Background Style */
.image-overlay-container {
    position: relative;
    height: 400px; /* Adjust the height as needed */
    width: 100%;
    overflow: hidden;
    z-index: -1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay-content {
    position: relative;
    z-index: 1;
}

.team-logo {
    max-width: 200px; /* Adjust the size as needed */
    margin: 0 auto;
    display: block;
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .products-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .product {
        width: 30%; /* Three products per row */
        margin: 1.5%;
    }

    #team-store .products-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    #team-store .product {
        width: 30%; /* Three products per row */
        margin: 1.5%;
    }

    .starter-pack-options {
        flex-direction: row; /* Side by side columns on larger screens */
    }

    .starter-pack-options .left-column,
    .starter-pack-options .right-column {
        width: 48%; /* Adjust width for two columns */
    }
}

/* Mobile-specific styles */
@media (max-width: 600px) {
    .starter-pack-options {
        flex-direction: column;
    }

    .starter-pack-options .left-column,
    .starter-pack-options .right-column {
        width: 100%;
    }

    .form-group {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 15px;
    }

    .form-group label {
        text-align: left;
        margin-bottom: 5px;
    }

    .form-group select,
    .form-group input {
        width: 100%;
    }
}
/* Modal styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
    padding-top: 60px; 
}

.modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    margin: 5% auto; 
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    align-self: flex-end;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Form group styling */
.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 5px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
}

.form-group textarea {
    height: 100px; /* Larger height for message box */
    resize: none; /* Disable resize to keep uniform look */
}

/* Styles for product details in the modal */
.product-detail {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.product-detail + .product-detail {
    margin-top: 20px;
}

.product-detail p {
    margin: 5px 0;
    line-height: 1.5;
}

/* Button styling */
button {
    background-color: #4682b4; /* Steel Blue */
    color: #fff; /* White */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* Margin for spacing */
}

button:hover {
    background-color: #ffc107; /* Change to hover color */
}

/* Success message styles */
.success-message {
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 5px;
    margin: 20px;
}

/* Error message styles */
.error-message {
    background-color: #f44336;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    border-radius: 5px;
    margin: 20px;
}

/* Style for the customization notice */
.customization-notice {
    background-color: #f4f4f4; /* Light gray background */
    border-left: 5px solid #4682b4; /* Steel Blue left border */
    padding: 15px 20px; /* Padding inside the box */
    margin-bottom: 20px; /* Space below the notice */
    font-size: 1.2rem; /* Slightly larger text */
    font-weight: bold; /* Bold text */
    color: #333; /* Dark gray text color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-radius: 5px; /* Rounded corners */
}

.success-message {
    background-color: #28a745; /* Green background */
    color: #fff; /* White text */
    padding: 20px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 8px;
    margin: 20px auto;
    width: 80%; /* Adjust width as necessary */
    max-width: 600px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Countdown Timer Styles */
.countdown-container {
    text-align: center;
    margin: 20px 0;
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.countdown-container h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

#countdown {
    display: flex;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
}

.time-box {
    margin: 0 10px;
    text-align: center;
}

.time {
    display: block;
    font-size: 28px;
    color: #e74c3c;
}

.label {
    font-size: 14px;
    color: #555;
}

.countdown-container p {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}



/* Container for the Moro Process image */
.moro-process-container {
    position: relative;
    text-align: center;
    max-width: 50%; /* Reduced the max-width to make the image smaller */
    margin: 20px auto;
    border: 10px solid #ffffff; /* White border around the image */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Light shadow for better visibility */
}

.moro-process-image {
    width: 70%; /* Adjusted the width to make the image smaller */
    max-width: 600px; /* Reduced max width for a smaller image */
    height: auto; /* Maintain aspect ratio */
    margin: auto; /* Center the image */
    display: block; /* Ensure it centers in the container */
}

/* Style for the Step 1 button */
#step1-button {
    position: absolute;
    top: 35.5%; /* Adjusted position to fit smaller image */
    left: 46%; /* Adjusted position to fit smaller image */
    width: 200px; /* Slightly smaller button */
    padding: 10px; /* Padding remains unchanged */
    background-color: #4682b4;
    color: white;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 2px;
}

#step1-button:hover {
    background-color: #b33300;
}

/* Media Query for Phones (max-width: 768px) */
@media (max-width: 768px) {
    /* Adjustments for smaller screens (phone) */
    
    .moro-process-container {
        max-width: 90%; /* Make the image container smaller for phones */
        margin: 10px auto;
        border: 5px solid #ffffff; /* Adjust the border size for smaller screens */
    }

    #step1-button {
        position: absolute;
        top: 35.5%; /* Adjust the top position for better alignment on small screens */
        left: 60%; /* Center the button horizontally */
        transform: translateX(-50%); /* Ensure button is perfectly centered */
        width: 114px; /* Make the button wider on mobile for easier clicking */
        padding: 2px; /* Increase padding for better touch targets on mobile */
        font-size: 14px; /* Slightly smaller font size for smaller screens */
    }
}

/* Google Form Link Styles */
.uniform-form-container {
    margin: 20px 0;
    text-align: center;
}

.uniform-form-link {
    background-color: #4682b4; 
    color: #fff;
    padding: 15px 30px; /* Wider padding for a more prominent button */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.uniform-form-link:hover {
    background-color: #ff8533; /* Change to a lighter orange on hover */
}

/* Media Query for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .uniform-form-link {
        font-size: 16px; /* Slightly smaller text on mobile */
        padding: 12px 20px; /* Slightly reduced padding on mobile */
    }
}

/* Hero header styling with borders */
.hero-header {
    text-align: center;
    padding: 50px 0;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking */
    align-items: center;
    justify-content: center;
}

/* Container for logo and Moro Athletics title */
.logo-border-container {
    display: inline-block;
    padding: 30px;
    border: 5px solid #4682b4; /* Thicker Steel Blue border around logo and heading */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow */
    margin-bottom: 20px;
}

.logo-border-container img {
    max-width: 200px;
    margin-bottom: 10px;
}

/* Outlined text for "Moro Athletics" */
.outlined-text {
    font-size: 3rem;
    color: #4682b4;
    text-shadow: 
        -2px -2px 0 #fff,  
         2px -2px 0 #fff,
        -2px  2px 0 #fff,
         2px  2px 0 #fff; /* Thicker white outline */
}

/* Container for the description below the title */
.description-border-container {
    display: inline-block;
    padding: 20px;
    border: 5px solid #4682b4; /* Thicker Steel Blue border around description */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Slightly stronger shadow */
    margin-top: 20px;
}

/*Underlined text above team order instructions*/
.team-order-header {
    font-size: 3rem;
    color:#4682b4; /*Steel Blue*/
    text-align: center;
    text-decoration: underline;
    text-shadow: 
        -2px -2px 0 #fff,  
         2px -2px 0 #fff,
        -2px  2px 0 #fff,
         2px  2px 0 #fff;
}

/* Outlined text for the description */
.outlined-description {
    font-size: 3rem; /* Larger size for the description */
    color: #4682b4; /* Steel Blue */
    text-shadow: 
        -2px -2px 0 #fff,  
         2px -2px 0 #fff,
        -2px  2px 0 #fff,
         2px  2px 0 #fff; /* Thicker white outline */
}

/* Media query for larger screens */
@media (min-width: 768px) {
    .hero-header {
        flex-direction: column; /* Maintain vertical stacking on large screens */
    }
}

.order-notice {
    background-color: #f0f8ff;  /* Light blue background to stand out */
    border: 2px solid #4682b4;  /* Steel Blue border */
    padding: 20px;
    margin-top: 20px;
    font-size: 1.1em;
    color: #333;
    border-radius: 8px;  /* Rounded corners */
    text-align: center;  /* Center the text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Slight shadow for depth */
}

.order-notice h3 {
    color: #4682b4;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.order-notice p {
    line-height: 1.6;  /* More spacing between lines for readability */
}

.order-notice strong {
    color: #01050a;  /* Emphasize important parts in black */
}

.order-notice a {
    color: #4682b4;  /* Link color */
    text-decoration: underline;
}

.order-notice a:hover {
    text-decoration: none;
    color: #005bb5;  /* Darker blue on hover */
}

/* Default button container styling for larger screens */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid #ccc; /* Existing border */
    padding: 10px;
}

/* Mobile-specific layout for button container */
@media (max-width: 600px) {
    .button-container {
        flex-direction: column; /* Stack elements vertically */
    }

    .button-container > div {
        width: 100%; /* Make ZIP code input and Estimate Shipping button full width */
        display: flex;
        justify-content: center;
        margin-top: 10px; /* Add spacing between rows */
    }
}

/* Style for spacing between text box and image */
.image-container {
    margin-top: 30px; /* Adds more space between the text box and image */
    text-align: center; /* Centers the image */
}

/* Style for making the image slightly shorter */
.team-image {
    width: 95%; /* Keeps the width the same */
    max-width: 1000px; /* Retains the maximum width */
    max-height: 600px; /* Slightly reduces height for a shorter appearance */
    height: auto; /* Maintains aspect ratio while adjusting height */
    border-radius: 8px; /* Optional: Adds slight rounding to corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
}

/* Adjust image for larger screens */
@media (min-width: 1024px) {
    .team-image {
        width: 95%; /* Keeps the width consistent */
        max-width: 1000px; /* Retains maximum width for desktops */
        max-height: 550px; /* Slightly shorter height for desktops */
    }
}


/* Style for the horizontal line (divider) */
.section-divider {
    border: none; /* Removes default border style */
    height: 28px; /* Makes the line thicker */
    background-color: #ffffff; /* Sets the color to the specified blue */
    margin: 30px 0; /* Adds spacing above and below the line */
    width: 100%; /* Makes the line stretch across the entire screen */
    position: relative; /* Enables z-index control */
    z-index: 1; /* Ensures the line is visible above other content */
}

/* Ensure other content (besides nav bar) is below the divider */
.description-border-container,
.image-container {
    position: relative; /* Enables z-index control for proper stacking */
    z-index: 0; /* Sets lower priority than the line */
}

/* Make sure the nav bar is always on top */
nav {
    position: relative; /* If not already set */
    z-index: 10; /* Higher priority than the divider */
}

/* Slogan Container Styling */
.slogan-container {
    display: inline-block; /* Ensures proper alignment with the page */
    padding: 20px;
    border: 5px solid #4682b4; /* Matches the page's Steel blue borders */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow */
    margin-top: 20px;
    background-color: #f9f9f9; /* Light background for contrast */
    text-align: center;
    animation: slideIn 1.5s ease-out; /* Animation to slide in */
}

/* Company Slogan Styling */
.company-slogan {
    font-size: 2rem; /* Slightly larger font size */
    color: #4682b4; /* Matches brand colors */
    font-weight: bold;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff; /* White outline for emphasis */
    letter-spacing: 2px; /* Adds a modern, spaced look */
}

/* Animation for Slogan */
@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tabs for Products Sections */
.product-tabs {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(2, 1fr); /* Create two equal columns */
    justify-content: center; /* Center grid items horizontally */
    gap: 10px; /* Reduce gap between grid items */
    margin: 20px 0;
    padding: 6px;
    border-bottom: 2px solid #4682b4; /* Steel Blue */
    background-color: #f9f9f9; /* Light background color */
    
}

.product-tabs .tab {
    padding: 3px 4px; /* Reduce padding around text */
    font-size: 1rem; /* Slightly smaller font size */
    font-weight: bold;
    color: #4682b4;
    text-decoration: none;
    border: 2px solid #4682b4;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center; /* Center align text */
    white-space: nowrap; /* Prevent wrapping inside the button */
}
.product-tabs .tab:hover {
    background-color: #4682b4;
    color: #fff;
}

/* Default behavior for larger screens */
@media screen and (min-width: 769px) {
    .product-tabs {
        display: flex; /* Switch to flex layout */
        flex-wrap: wrap; /* Allow wrapping */
        justify-content: center; /* Center align */
        gap: 15px; /* Increase spacing for larger screens */
    }

    .product-tabs .tab {
        flex: 1 1 calc(25% - 20px); /* Make each tab take up 25% of the width */
        box-sizing: border-box; /* Include padding and border in width calculation */
    }
}

/* Mobile-specific adjustments */
@media screen and (max-width: 600px) {
    .product-tabs {
        grid-template-columns: repeat(2, 2fr); /* Two columns for small screens */
        gap: 2px; /* Reduce gap for smaller screens */
    }

    .product-tabs .tab {
        padding: 3px 5px; /* Further reduce padding for smaller screens */
    }
}





/* Section Headers */
#lacrosse-protective-gear h2 {
    text-align: center;
    text-decoration: underline; /* Adds a simple underline */
    text-decoration-color: #4682b4; /* Optional: Sets underline color */
    text-decoration-thickness: 3px; /* Optional: Adjust underline thickness */
    text-underline-offset: 4px; /* Optional: Adds spacing between text and underline */
    font-size: 2.5rem; /* Match Lacrosse Products size */
    font-weight: bold;
    color: #4682b4; /* Steel Blue */
    margin: 20px 0;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff; /* White outline */
    display: inline-block;
    padding: 50px 20px;
    background-color: transparent; /* Remove background for consistency */
    border-bottom: none; /* Remove underline */
}

/* Section Headers for other sections */

#clothing-accessories h2 {
    text-align: center;
    text-decoration: underline; /* Adds a simple underline */
    text-decoration-color: #4682b4; /* Optional: Sets underline color */
    text-decoration-thickness: 3px; /* Optional: Adjust underline thickness */
    text-underline-offset: 4px; /* Optional: Adds spacing between text and underline */
    font-size: 2.5rem; /* Match Lacrosse Products size */
    font-weight: bold;
    color: #4682b4; /* Light Navy Blue */
    margin: 20px 0;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff; /* White outline */
    border-bottom: 3px solid #4682b4; /* Keep underline for these sections */
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent; /* Remove background for consistency */
}

/* Section Containers */
#lacrosse-protective-gear {
    text-align: center;
}

#clothing-accessories {
    margin: 30px auto;
    padding: 20px;
    border: none; /* Remove extra borders */
    background-color: transparent; /* Ensure it aligns with the "Lacrosse Products" styling */
    box-shadow: none; /* Remove shadows */
}

/* Uniforms & Apparel Section Header */
#uniforms-apparel h2 {
    text-align: center;
    text-decoration: underline; /* Adds a simple underline */
    text-decoration-color: #4682b4; /* Optional: Sets underline color */
    text-decoration-thickness: 3px; /* Optional: Adjust underline thickness */
    text-underline-offset: 4px; /* Optional: Adds spacing between text and underline */
    font-size: 2.5rem; /* Match Lacrosse Products size */
    font-weight: bold;
    color: #4682b4; /* Steel Blue */
    margin: 20px 0;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff; /* White outline */
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent; /* Consistent styling */
    border-bottom: none; /* No underline for this section */
}

/* Uniforms & Apparel Section Container */
#uniforms-apparel {
    text-align: center;
    margin: 30px auto;
    padding: 20px;
    border: none; /* Remove extra borders */
    background-color: transparent; /* Ensure alignment with other sections */
    box-shadow: none; /* Keep consistent styling */
}

/* Sticky navigation for product tabs */
#product-tabs {
    position: sticky;
    top: 0;
    z-index: 5; /* Ensure it appears above other content */
    background-color: #f9f9f9; /* Match background color */
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

/* Ensure the product tabs look consistent when sticky */
#product-tabs nav ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

#product-tabs nav ul li {
    list-style: none;
}

#product-tabs nav ul li a {
    color: #4682b4; /* Light Navy Blue */
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #4682b4; /* Add border for buttons */
    border-radius: 5px;
    background-color: #fff; /* White background for buttons */
    transition: background-color 0.3s ease, color 0.3s ease;
}

#product-tabs nav ul li a:hover {
    background-color: #4682b4;
    color: #fff;
}

/* Updated Nested Dropdown */
.nested-dropdown {
    position: relative;
}

.nested-content {
    display: none;
    position: absolute;
    left: 100%; /* Position to the right of parent */
    top: 0;
    background-color: #315f86; /* Darker steel blue for contrast */
    padding: 5px 0;
    min-width: 180px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border-radius: 6px;
    z-index: 2200;
}

.nested-content a {
    padding: 10px 16px;
    color: #fff;
    display: block;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.nested-content a:hover {
    background-color: #223e57; /* Even darker blue on hover */
}

.nested-dropdown:hover .nested-content {
    display: block;
}

/* Styling the Dropdown Arrow */
.nested-dropdown > a {
    padding-right: 20px;
    position: relative;
}

.nested-dropdown > a::after {
    content: "▶";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #ffc107; /* Match hover color */
}

/* Separator between leagues */
.dropdown-content .nested-dropdown {
    border-bottom: 1px solid #315f86; /* Subtle border between leagues */
}

.dropdown-content .nested-dropdown:last-child {
    border-bottom: none;
}

/* Add a subtle hover effect to the dropdown itself */
.dropdown > a {
    background-color: #4682b4;
    padding: 12px 16px;
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border-radius: 6px;
}

.dropdown > a:hover {
    background-color: #315f86;
}

/* Increase spacing between dropdown elements */
.dropdown-content a,
.nested-content a {
    padding: 12px 20px;
}

/* ===== Disabled Button Styling ===== */
button:disabled,
.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(80%);
  background-color: #ccc !important;
  color: #666 !important;
  border-color: #999 !important;
  box-shadow: none !important;
  pointer-events: none;
  text-decoration: line-through;
}

/* ================================
   TERMS & CONDITIONS PAGE STYLES
   ================================ */

/* Overall wrapper */
.terms-wrapper {
    max-width: 900px;
    margin: 20px auto 80px auto; /* Leaves space for sticky nav + footer */
    padding: 20px;
    background: #ffffffcc; /* Light transparent white background */
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Header */
.terms-header {
    text-align: center;
    margin-bottom: 40px;
}

.terms-header h1 {
    font-size: 2.6rem;
    color: #4682b4;
    text-shadow:
        -1px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff;
    margin-bottom: 10px;
}

.terms-subtitle {
    font-size: 1rem;
    color: #333;
    opacity: 0.8;
}

/* Table of contents container */
.terms-toc {
    max-width: 900px;
    margin: 110px auto 15px auto; /* sits nicely under nav */
    background: #f9f9f9;
    border: 1px solid #d0dce8;
    padding: 8px 12px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    z-index: 1;
}


.terms-toc-label {
    font-weight: bold;
    color: #4682b4;
    margin-right: 10px;
}

/* Table of contents links */
.terms-toc a {
    color: #4682b4;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 10px;
    border: 2px solid #4682b4;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.terms-toc a:hover {
    background-color: #ffffff;
    color: #ff8533;
}

/* Sections */
.terms-section {
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 2px solid #4682b4;
}

.terms-section h2 {
    font-size: 1.9rem;
    color: #4682b4;
    margin-bottom: 15px;
    text-shadow:
        -1px -1px 0 #fff,
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff;
}

.terms-section h3 {
    font-size: 1.3rem;
    color: #315f86;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* Paragraphs */
.terms-section p {
    line-height: 1.6;
    font-size: 1.05rem;
    color: #333;
    margin-bottom: 12px;
}

/* Lists */
.terms-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.terms-section ul li {
    font-size: 1.05rem;
    line-height: 1.5;
    padding: 3px 0;
    color: #333;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .terms-wrapper {
        margin-top: 150px; /* Extra space below sticky nav */
        padding: 15px;
    }

    .terms-header h1 {
        font-size: 1.9rem;
    }

    .terms-toc {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 12px;
    }

    .terms-toc a {
        width: 90%;
        text-align: center;
    }
}
@media (max-width: 600px) {

    /* Slightly reduce footer height on small screens */
    .site-footer {
        padding: 4px 8px;
    }

    /* Let items wrap and center overall */
    .footer-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    /* Trick: make the children of .footer-text behave like direct flex items */
    .footer-text {
        display: contents; /* removes the extra wrapper box */
    }

    /* First row: logo – links – logo */
    .footer-links-row {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    /* Left logo */
    .footer-inner > .footer-logo:first-of-type {
        order: 0;
        width: 22px;
    }

    /* Right logo */
    .footer-inner > .footer-logo:last-of-type {
        order: 2;
        width: 22px;
    }

    /* Second row: meta — LOCKED to one line + dynamic sizing */
    .footer-meta-row {
        order: 3;
        width: 100%;
        margin-top: 2px;

        display: flex;
        justify-content: center;
        gap: 4px;

        white-space: nowrap;                 /* 🔒 prevents wrapping */
        font-size: clamp(0.55rem, 2.6vw, 0.7rem); /* 📏 scales down on small screens */
        line-height: 1.1;                    /* 📉 reduces footer height */
        text-align: center;
    }

    .footer-meta-row span {
        flex: 0 0 auto;
    }
}

/* =========================
   Partnerships Section
   ========================= */

.partnerships-section {
    width: 100%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* reuse your existing bordered look, just tighten spacing */
.partnerships-title {
    margin-top: 0;
    margin-bottom: 18px;
}

/* Grid wrapper that keeps everything centered and consistent */
.partnerships-grid {
    width: min(900px, 95%);
    margin: 0 auto 10px auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3 across */
    gap: 18px; /* slightly more breathing room */
}


/* Each logo sits in a uniform "card" */
.partner-card {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 150px;
    padding: 14px;

    background-color: rgba(255, 255, 255, 0.92);
    border: 4px solid #4682b4;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);

    text-decoration: none; /* for <a> */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

/* The logo itself is forced into the same visual box every time */
.partner-logo {
    width: 100%;
    height: 115px;       /* bigger logo */
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.15));
}


/* Responsive layout */
@media (max-width: 1024px) {
    .partnerships-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .partnerships-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .partner-card {
        min-height: 110px;
    }

    .partner-logo {
        height: 75px;
    }
}

@media (max-width: 420px) {
    .partnerships-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 600px) {
    .modal-content {
        padding-bottom: 60px; /* space above fixed footer */
    }
}

nav ul li {
  position: relative;
}

nav ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  height: 18px;
  width: 1px;
  background: rgba(255,255,255,0.3);
}

























