/* Windsor Essex Swim Team - Main Stylesheet */
/* Color Scheme: Black (#000000) and Red (#fd0000) - Updated to include light mode blues */

:root {
    --primary-red: #fd0000;
    --primary-black: #000000;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #343a40;
    --white: #ffffff;
    --light-blue: #D0EFFF;
    --medium-blue: #A6BFCC;
    --dark-blue: #7D8F99;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.6);
    --shadow-red: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-red-hover: 0 8px 30px rgba(0, 0, 0, 0.6);
    --glass-background: rgba(0, 0, 0, 0.4);
    --glass-background-scrolled: rgba(0, 0, 0, 0.45);
    --glass-blur: 8px;
    --glass-blur-scrolled: 20px;
    --glass-border: rgba(253, 0, 0, 0.3);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #D0EFFF;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #000000;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333333;
}

/* Navigation - Global Glass Effect */
.navbar {
    background: rgba(0, 0, 0, 0.95) !important; /* Solid background initially */
    padding: 1rem 0 !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border-bottom: 1px solid rgba(253, 0, 0, 0.3) !important;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.45) !important; /* Semi-transparent when scrolled */
    padding: 0.5rem 0 !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
    border-bottom: 1px solid rgba(253, 0, 0, 0.4) !important;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fd0000 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand:hover {
    color: #ff3333 !important;
    transform: scale(1.05);
}

.navbar-brand img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

/* Make nav links pop against glass background */
.nav-link {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.5rem 1rem !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    margin: 0 0.3rem !important;
    border-radius: 20px !important;
    font-size: 0.9rem !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-red);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-red) !important;
    background-color: rgba(253, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Mobile Navigation */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    color: #ffffff;
}

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

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(
        135deg, 
        #D0EFFF 0%, 
        #D0EFFF 25%, 
        #A6BFCC 50%, 
        #A6BFCC 75%, 
        #7D8F99 100%
    );
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 20px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(253, 0, 0, 0.15) 0%, rgba(208, 239, 255, 0) 30%),
        radial-gradient(circle at 80% 70%, rgba(253, 0, 0, 0.1) 0%, rgba(208, 239, 255, 0) 20%);
    z-index: 1;
    opacity: 0.9;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(208, 239, 255,1) 0%, rgba(208, 239, 255,0) 100%);
    z-index: 1;
}

/* Add a subtle animated wave pattern - flipped 180 degrees */
@keyframes wave {
    0% { transform: translateX(0) translateZ(0) scaleY(-1); }
    50% { transform: translateX(-25%) translateZ(0) scaleY(-0.8); }
    100% { transform: translateX(-50%) translateZ(0) scaleY(-1); }
}

.hero-section .wave {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 200%;
    height: 80px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity="0.6" fill="%237D8F99" /></svg>') repeat-x;
    z-index: 2;
    opacity: 0.6;
    animation: wave 5s infinite linear;
    transform: scaleY(-1);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #000000;
    text-align: left;
    animation: fadeInUp 1s ease-out;
    padding: 2rem 0;
}

/* Hero Title Animation */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.0);
    }
    50% {
        background-position: 100% 50%;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        background-position: 0% 50%;
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #000000, #444444, #000000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 6s ease-in-out infinite;
    position: relative;
    z-index: 1;
    display: inline-block;
}

@keyframes heroGradient { 
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #333333;
    font-weight: 500;
    max-width: 600px;
    line-height: 1.6;
}

/* Buttons */
.btn-primary, 
.btn-primary:focus {
    background: linear-gradient(45deg, var(--primary-red), #ff3333);
    border: none;
    color: var(--white);
    font-weight: 700;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: var(--shadow-red);
    position: relative;
    z-index: 1;
    outline: none;
}

.btn-primary:hover,
.button:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(253, 0, 0, 0.2);
    color: var(--light-color);
}

.btn-outline-light {
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    font-weight: 700;
    padding: 0.75rem 1.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    background: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: var(--shadow-red);
}

.btn-outline-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    color: #fd0000;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(253, 0, 0, 0.2);
}

/* Cards */
.card {
    border: none;
    border-radius: 10px;
    background-color: #A6BFCC;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    background-color: #7D8F99;
    color: #ffffff;
    font-weight: 700;
}

.card-body {
    padding: 1.5rem;
}

/* Coach Cards */
.coach-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #A6BFCC;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.coach-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

/* Coach card images */
.coach-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.coach-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.coach-card:hover .card-overlay {
    opacity: 1;
}

.coach-info {
    text-align: center;
    color: white;
}

.coach-info h5 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.coach-info p {
    font-size: 1rem;
    opacity: 0.9;
}

.coach-card .card-body {
    padding: 1.5rem;
    position: relative;
}

.coach-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000000;
}

.coach-card .card-text {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.coach-credentials {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.coach-credentials .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

.coach-credentials .bg-primary {
    background: linear-gradient(45deg, #fd0000, #ff3333) !important;
}

.coach-credentials .bg-secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #cccccc;
}

/* Program Cards */
.program-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    background-color: #A6BFCC;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.program-card:hover::before {
    opacity: 1;
}

.program-card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
}

/* Sections */
.section {
    padding: 5rem 0;
    background-color: #D0EFFF;
}

/* Special padding for mission section to reduce gap with wave */
#mission.section {
    padding-top: 2rem;
}

/* .section-dark {
    background: linear-gradient(135deg, #7D8F99, #A6BFCC);
    color: #ffffff;
} */

.section-light {
    background: #D0EFFF;
}

.section-alt {
    background: linear-gradient(135deg, #A6BFCC, #D0EFFF);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: inherit;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #fd0000, #ff3333);
    border-radius: 2px;
}

/* Alternating section styles */
section.section:nth-of-type(odd) {
    background-color: #D0EFFF !important;
    color: #000000;
}

section.section:nth-of-type(even) {
    background: linear-gradient(135deg, #A6BFCC, #D0EFFF) !important;
    color: #ffffff;
}

/* Special sections that need custom handling */
.hero-section {
    background: transparent;
}

/* Override for sponsors section */
#sponsors h2 {
    color: #000000 !important;
    font-weight: 600;
}

#sponsors {
    /* background: #D0EFFF !important; */
    color: #000000 !important;
    /* padding: 0 !important; */
    border: none !important;
    box-shadow: none !important;
    margin-top: 50px !important;
}

#sponsors .sponsor-row {
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Override for awards section to match sponsors styling */
#awards {
    background: #D0EFFF !important;
    color: #000000 !important;
}
#awards h1,
#awards h2,
#awards h3,
#awards h4,
#awards h5,
#awards h6,
#awards p,
#awards span,
#awards a,
#awards li,
#awards div {
    color: #000000 !important;
}

/* Ensure all text elements in sponsors section are black */
#sponsors p,
#sponsors span,
#sponsors h1,
#sponsors h2,
#sponsors h3,
#sponsors h4,
#sponsors h5,
#sponsors h6,
#sponsors a,
#sponsors li,
#sponsors div {
    color: #000000 !important;
}

/* Footer */
.footer {
    background-color: #0a0a0a !important;
    color: #ffffff;
    padding: 60px 0 20px;
    border-top: 3px solid #fd0000;
}

.footer h5 {
    color: #fd0000;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: #cccccc;
    transition: all 0.3s ease;
}

.footer ul li a:hover {
    color: #fd0000;
    padding-left: 5px;
}

.footer .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .social-icons a:hover {
    background-color: #fd0000;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    color: #999999;
}

/* Mobile footer social icons centering */
@media (max-width: 768px) {
    .footer .social-icons {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }
    
    .footer .social-icons a {
        margin: 5px !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(45deg, #fd0000, #ff3333);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(253, 0, 0, 0.3);
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(253, 0, 0, 0.5);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-body {
        max-height: 70vh;
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-outline-light {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #D0EFFF;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-transition.active {
    opacity: 1;
    visibility: visible;
}

.page-transition .loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(253, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-red);
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility Classes */
.text-red {
    color: var(--primary-red) !important;
}

.bg-dark-custom {
    background-color: #A6BFCC !important;
}

.border-red {
    border-color: var(--primary-red) !important;
}

.shadow-red {
    box-shadow: 0 5px 15px rgba(253, 0, 0, 0.3) !important;
}

/* Value Cards for About Page */
.value-card {
    background-color: #D0EFFF;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(253, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-red);
    font-size: 2rem;
    transition: var(--transition);
}

.value-card h4 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.value-card p {
    color: #333333;
    margin-bottom: 0;
    font-size: 1rem;
}

/* Facility Cards for About Page */
.facility-card {
    background-color: #D0EFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.facility-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red);
}

.facility-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.facility-content {
    padding: 2rem;
    background-color: #D0EFFF;
}

.facility-content h4 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.facility-content p {
    color: #333333;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Stats Row for About Page */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 3rem 0;
    background-color: #A6BFCC;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 1rem;
    flex: 1 1 200px;
    max-width: 250px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section Specific */
.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid rgba(253, 0, 0, 0.5);
    border-radius: 10px;
    pointer-events: none;
}

.about-content {
    padding: 2rem;
    color: #333333;
    background-color: #D0EFFF;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-padding {
    padding: 100px 0;
}

.bg-dark-secondary {
    background-color: #A6BFCC;
}

.section-subtitle {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    display: block;
}

/* Call to Action Section */
.cta-section {
    background: linear-gradient(135deg, #A6BFCC, #7D8F99);
    color: #ffffff;
    text-align: center;
    padding: 4rem 0;
    border-radius: 10px;
}

/* Contact Page Styles */
.contact-info-card {
    background-color: #D0EFFF;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(253, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-red);
    font-size: 1.5rem;
    transition: var(--transition);
}

.contact-info-card h4 {
    color: #000000;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-info-card p {
    color: #333333;
    margin-bottom: 0;
}

.map-container {
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-container {
    background-color: #D0EFFF;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-label {
    color: #000000;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control, .form-select {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 0.75rem;
    color: #333333;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(253, 0, 0, 0.25);
    outline: none;
}

.form-control::placeholder {
    color: #777777;
}

.form-check-input {
    border-color: rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
}

.form-check-input:checked {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.form-check-label {
    color: #333333;
    font-size: 0.9rem;
}

/* Social Media Links */
.social-media-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.social-media-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    color: #333333;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.social-media-link:hover {
    background-color: var(--primary-red);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(253, 0, 0, 0.3);
}

.social-media-link i {
    font-size: 1.2rem;
}

/* FAQ Accordion */
.accordion {
    --bs-accordion-bg: #D0EFFF;
    --bs-accordion-color: #333333;
}

.accordion-item {
    background-color: #D0EFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item:first-of-type {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.accordion-item:last-of-type {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.accordion-button {
    background-color: #D0EFFF;
    color: #000000;
    font-weight: 600;
    padding: 1.25rem;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: #A6BFCC;
    color: #000000;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(253, 0, 0, 0.25);
}

.accordion-button::after {
    background-size: 1.25rem;
}

.accordion-body {
    background-color: #D0EFFF;
    color: #333333;
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Modal Styling */
.modal-content {
    background-color: #D0EFFF;
    border-radius: 10px;
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    background-color: #A6BFCC;
}

.modal-title {
    color: #000000;
    font-weight: 700;
}

.modal-body {
    padding: 1.5rem;
    color: #333333;
    max-height: 80vh;
    overflow-y: auto;
    background-color: #D0EFFF;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    background-color: #D0EFFF;
}

.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-open {
    padding-right: 0 !important;
    overflow: auto;
}

.modal .btn-close {
    color: #000000;
    opacity: 0.8;
}

.modal .btn-close:hover {
    opacity: 1;
}

.dropdown-menu {
    background-color: #D0EFFF;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 200px;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    color: #333333;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.dropdown-item:hover, 
.dropdown-item:focus,
.dropdown-item.active {
    background-color: #A6BFCC;
    color: #000000;
}

.dropdown-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0.5rem 0;
}

/* Base Styles */
:root {
    --primary-color: #fd0000;
    --accent-color: #fd0000;
    --dark-color: #7D8F99;
    --light-color: #ffffff;
    --gray-color: #f2f2f2;
    --text-color: #000000;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Sen', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #D0EFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    color: #000000;
}

a {
    text-decoration: none;
    color: #000000;
    transition: var(--transition);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation */
.navbar {
    background-color: var(--dark-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
    top: 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-nav {
    display: flex;
}

.nav-link {
    color: var(--light-color);
    padding: 10px 20px;
    font-weight: 600;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link.active {
    color: var(--accent-color);
}

.navbar-toggler {
    display: none;
}

/* Add media query for screens below 1050px */
@media (max-width: 1050px) {
    .navbar-toggler {
        display: block;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .navbar-collapse {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 250px !important;
        height: 0 !important;
        background-color: rgba(0, 0, 0, 0.95) !important;
        overflow-y: auto !important;
        transition: all 0.3s ease !important;
        z-index: 1000 !important;
        padding: 80px 0 0 !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    .navbar-collapse.show {
        height: 100vh !important;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3) !important;
    }
    
    .navbar-nav {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    .nav-item {
        width: 100% !important;
    }
    
    .nav-link {
        padding: 12px 20px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }
    
    .nav-link:hover {
        background-color: rgba(253, 0, 0, 0.1);
    }
    
    /* Dropdown styling */
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        background-color: rgba(0, 0, 0, 0.5) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease !important;
    }
    
    .dropdown-menu.show {
        max-height: 500px !important;
    }
    
    .dropdown-item {
        padding: 10px 35px !important;
        color: rgba(255,255,255,0.8) !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: rgba(253, 0, 0, 0.2) !important;
        color: #ffffff !important;
    }
    
    .navbar-toggler {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 1001 !important;
        border: none !important;
        background: transparent !important;
        padding: 10px !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: none !important;
        outline: none !important;
    }
    
    .dropdown-toggle::after {
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    /* Fix for Bootstrap modal conflicts */
    body.modal-open .navbar-collapse.show {
        padding-right: 0 !important;
    }
}

/* Hero Section */
.support-section {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 120px 0 80px;
    overflow: hidden;
}

.w-layout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.support-top-heading {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.2;
}

.paragraph {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-primary, 
.button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--accent-color);
    color: var(--light-color);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-primary:hover,
.button:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(253, 0, 0, 0.2);
    color: var(--light-color);
}

.btn-outline-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: transparent;
    color: #fd0000;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(253, 0, 0, 0.2);
}

/* Mission Statement */
.section-light {
    padding: 80px 0;
    background-color: #D0EFFF;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
    color: #000000;
}

.support-top-details-text {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.lead {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    color: #333333;
    opacity: 0.9;
}

/* Program Cards */
.section {
    padding: 80px 0;
    background-color: #D0EFFF;
}

.program-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.program-card:hover {
    transform: translateY(-10px);
}

.program-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.program-card-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    color: var(--light-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.program-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.program-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.program-card p {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Achievements Section */
.section-dark {
    padding: 80px 0;
    background-color: #A6BFCC;
}

.card {
    background-color: #D0EFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

/* News Cards */
.news-card {
    background-color: #D0EFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-red);
}

.news-card-body {
    padding: 1.5rem;
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #000000;
}

.news-card-text {
    color: #000000 !important;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Achievement List */
.achievement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.achievement-list li {
    margin-bottom: 1rem;
    padding: 0.75rem 1.25rem;
    background-color: #D0EFFF;
    border-radius: 8px;
    border-left: 3px solid var(--primary-red);
    font-weight: 500;
    transition: var(--transition);
    color: #333333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.achievement-list li:hover {
    background-color: #A6BFCC;
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Navigation Cards */
.nav-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #A6BFCC;
    height: 300px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    margin-bottom: 30px;
}

.nav-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-red);
}

.nav-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
    transition: var(--transition);
}

.nav-card:hover .nav-card-img {
    opacity: 0.4;
    transform: scale(1.1);
}

.nav-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.nav-card-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.nav-card:hover .nav-card-title {
    color: var(--primary-red);
}

.nav-card-description {
    color: #ffffff;
    font-size: 0.85rem;
    line-height: 1.3;
    height: auto;
    opacity: 1;
    overflow: visible;
    margin-bottom: 10px;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-card:hover .nav-card-description {
    line-clamp: 5;
    -webkit-line-clamp: 5;
}

.nav-card-link {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 600;
    margin-top: 10px;
    text-decoration: none;
    position: relative;
    padding-right: 25px;
}

.nav-card-link::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.nav-card:hover .nav-card-link::after {
    right: -5px;
}

/* Instagram embed centering styles */
.instagram-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.instagram-embed-wrapper {
    margin: 0 auto;
    max-width: 540px;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Remove side navigation completely */
.side-nav {
    display: none !important;
}

.side-nav-item {
    display: none !important;
}

/* Sponsor Row */
.sponsor-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    padding: 2rem 0;
    background-color: rgba(208, 239, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    width: clamp(180px, 22vw, 300px);
    height: clamp(100px, 12vw, 160px);
}

.sponsor-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.sponsor-logo img {
    max-width: 100%;
    max-height: 80%;
    object-fit: contain;
}

/* Awards Row (dedicated styling to avoid conflicts with Sponsors) */
.awards-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.award-card {
    width: clamp(220px, 30vw, 360px);
    aspect-ratio: 1 / 1;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.award-card img {
    width: 90% !important;
    height: 90% !important;
    object-fit: contain;
}

@media (max-width: 576px) {
    .sponsor-row {
        gap: 1rem;
        padding: 1.25rem 0;
    }
}

/* Hero image styles */
.hero-image-container {
    position: relative;
    z-index: 3;
    border-radius: 10px;
    overflow: hidden;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.1) 100%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 4;
    border-radius: 10px;
    pointer-events: none;
}

.hero-image {
    position: relative;
    z-index: 3;
    border-radius: 10px;
    max-height: 500px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
}

.hero-image-container:hover .hero-image {
    transform: scale(1.03);
}

/* Carousel styling improvements */
.carousel-caption {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    padding: 15px;
    bottom: 20px;
}

.carousel-caption h3,
.carousel-caption h5 {
    color: #fd0000;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.carousel-caption p {
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Enhanced carousel controls for better visibility */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    border-radius: 50%;
    padding: 15px;
    width: 3rem;
    height: 3rem;
}

.carousel-indicators [data-bs-target] {
    background-color: #fd0000;
}

/* Text color fixes */
.text-muted {
    color: #333333 !important;
}

.section-title .text-muted {
    color: #000000 !important;
    font-weight: 500;
}

/* Lead text in sections */
.lead {
    color: #000000;
}

/* Card text color standardization */
.card-text {
    color: #000000;
}

/* Fix for news and card section transitions */
.section .news-card {
    background-color: #D0EFFF;
}

.section-dark .news-card {
    background-color: #7D8F99;
}

.section-dark .card {
    background-color: #7D8F99;
    }

.section-dark .lead {
    color: #ffffff;
}

/* Additional color fixes */
.section-dark p {
    color: #ffffff;
}

/* Sponsor Modal Overrides */
#sponsorsModal .modal-content {
    background-color: #D0EFFF !important;
    border: none !important;
    box-shadow: none !important;
}

#sponsorsModal .modal-header {
    background-color: #D0EFFF !important;
    border: none !important;
    padding: 20px 30px 0 30px !important;
}

#sponsorsModal .modal-body {
    background-color: #D0EFFF !important;
    padding: 20px 30px !important;
}

#sponsorsModal .sponsor-row {
    background-color: transparent !important;
    box-shadow: none !important;
    gap: 20px !important;
    padding: 10px 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
}

#sponsorsModal .sponsor-logo {
    background-color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
    border-radius: 10px !important;
    width: 200px !important;
    height: 200px !important;
    margin: 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem !important;
    transition: var(--transition) !important;
}

#sponsorsModal .sponsor-logo:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

#sponsorsModal .sponsor-logo img {
    max-width: 100% !important;
    max-height: 70px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

#sponsorsModal .sponsor-logo p {
    width: 100% !important;
    text-align: center !important;
    margin-top: 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

#sponsorsModal .modal-title,
#sponsorsModal h3,
#sponsorsModal p,
#sponsorsModal span,
#sponsorsModal div {
    color: #000000 !important;
}

#sponsorsModal .modal-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    margin-bottom: 0 !important;
}

#sponsorsModal .custom-modal-close {
    color: #000000 !important;
    opacity: 1 !important;
    font-size: 20px !important;
}

/* Consistent Image Sizing Throughout */
.card-img-top,
.card img,
.news-card img,
.program-card img,
.facility-card .facility-image img,
.about-image img,
.coach-card img,
.nav-card-img,
.team-card img,
.record-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
    width: 100%;
    height: auto;
}

.section img,
.nav-card-img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: top;
    width: 100%;
    /* height: 100%; */
}

/* Special handling for sponsor logos to maintain aspect ratio */
.sponsor-logo img,
#sponsorsModal .sponsor-logo img {
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    max-height: 70px !important;
    width: auto !important;
    max-width: 100% !important;
}

/* Maintain square aspect ratio for profile-type images */
.coach-card img,
.team-card img {
    aspect-ratio: 1 / 1;
    object-position: top;
}

/* Program Page Hero Button Styling */
#programs-hero .program-nav-btn {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
    border-radius: 30px;
    font-weight: 700;
    transition: var(--transition);
}

#programs-hero .program-nav-btn:hover {
    background-color: #fd0000;
    color: #ffffff;
    border-color: #fd0000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(253, 0, 0, 0.3);
}

/* Coaches page specific styles */
#coaches .row img {
    width: 100%;
    height: 500px !important; 
    object-fit: cover;
    object-position: top;
    aspect-ratio: auto !important;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

#coaches .d-flex img {
    max-width: 400px !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin: 10px;
    transition: transform 0.3s ease;
}

#coaches .d-flex img:hover {
    transform: scale(1.05);
}
