/* Reset and Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Roboto', sans-serif;
    background: #f0f4f0;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

/* Header */
header {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}
header h1 {
    color: #fff;
    font-size: 2rem;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

nav a:hover { color: #ffeb3b; }

/* Signup Form Styles */
#signup {
    padding: 4rem 2rem;
    background: #fff;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.signup-container {
    max-width: 600px;
    margin: 0 auto;
}

.signup-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #27ae60;
}

.submit-btn {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.form-errors {
    background: #fee;
    border: 2px solid #e74c3c;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.form-errors h4 {
    color: #c0392b;
    margin-bottom: 0.5rem;
}

.form-errors ul {
    list-style-position: inside;
    color: #c0392b;
}

/* Payment Page Styles */
#payment {
    padding: 4rem 2rem;
    min-height: 60vh;
}

.payment-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.registration-summary,
.payment-form-container {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.summary-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #27ae60;
    font-size: 1.2rem;
}

.payment-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem 0;
    color: #856404;
}

.contact-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.back-btn,
.home-btn {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #27ae60;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn {
    background: #fff;
    color: #27ae60;
}

.home-btn {
    background: #27ae60;
    color: #fff;
}

.back-btn:hover {
    background: #27ae60;
    color: #fff;
}

.home-btn:hover {
    background: #229954;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .payment-container {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

/* Admin Styles */
.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    padding: 2rem;
}

.admin-login-card {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.admin-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    border-radius: 50%;
}

.admin-login-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.admin-login-btn {
    width: 100%;
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.error-message {
    background: #fee;
    color: #c0392b;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    border: 1px solid #e74c3c;
}

.back-to-site {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.back-to-site a {
    color: #27ae60;
    text-decoration: none;
    font-weight: 500;
}

.back-to-site a:hover {
    text-decoration: underline;
}

/* Admin Dashboard */
.admin-container {
    min-height: 100vh;
    background: #f8f9fa;
}

.admin-header {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.home-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.home-btn:hover {
    background: #2980b9;
}

.logout-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.logout-btn:hover {
    background: #c0392b;
}

.admin-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-card h3 {
    margin-bottom: 1rem;
    color: #666;
    font-size: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #27ae60;
}

.dashboard-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chart-content {
    margin-top: 1rem;
}

.chart-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.chart-bar:last-child {
    border-bottom: none;
}

.bar-value {
    font-weight: bold;
    color: #27ae60;
}

.recent-registrations {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.recent-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-name {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.recent-details {
    color: #666;
    font-size: 0.9rem;
}

/* Registrations Table */
.registrations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.registration-actions {
    display: flex;
    gap: 1rem;
}

.export-btn,
.refresh-btn {
    background: #27ae60;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.export-btn:hover,
.refresh-btn:hover {
    background: #229954;
}

.registrations-table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.registrations-table {
    width: 100%;
    border-collapse: collapse;
}

.registrations-table th,
.registrations-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.registrations-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.registrations-table tr:hover {
    background: #f8f9fa;
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Mobile Responsiveness for Admin */
@media (max-width: 768px) {
    .admin-header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-charts {
        grid-template-columns: 1fr;
    }
    
    .registrations-header {
        flex-direction: column;
        gap: 1rem;
    }
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    header { padding: 0.5rem; }
    header h1 { font-size: 1.5rem; }
    .hamburger { display: block; font-size: 1.25rem; }
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background: #2ecc71;
        padding: 0.5rem 0;
    }
    nav.active { display: flex; }
    nav a { margin: 0.5rem 0; font-size: 1rem; padding: 0.5rem; }
}

/* Navigation Link States */
[aria-hidden="true"] {
    display: none !important;
}

[aria-hidden="false"] {
    display: block !important;
}

nav a[aria-hidden="false"] {
    display: inline !important;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}
section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    animation: fadeIn 0.5s ease-in;
}
h2 { color: #27ae60; font-size: 1.8rem; margin-bottom: 1rem; }
h3 { color: #27ae60; font-size: 1.5rem; margin-bottom: 1rem; }
p { margin-bottom: 1rem; }

/* Intro Video Section */
#intro {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: #000;
    margin-bottom: 0;
}
.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Home Section */
#home {
    position: relative;
    height: 80vh;
    overflow: hidden;
    margin-top: 0;
    background: #f0f4f0; /* Fallback color */
}
.background-carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.background-carousel .swiper-wrapper {
    height: 100%;
}
.background-carousel .swiper-slide {
    width: 100%;
    height: 100%;
}
.background-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    display: block;
}
.home-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    padding: 2rem;
    background: transparent; /* No background box */
    max-width: 600px;
    text-align: center;
}
.home-content h3 {
    color: #fff; /* Bright white */
    font-size: 2.5rem; /* Slightly larger for emphasis */
    font-weight: 700; /* Bold */
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Shadow for readability */
}
.home-content p {
    color: #fff; /* Bright white */
    font-size: 1.5rem; /* Larger for visibility */
    font-weight: 500; /* Semi-bold */
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Shadow for contrast */
}
.home-content a {
    color: #ffeb3b; /* Keep yellow for the link */
    text-decoration: underline;
    font-weight: 700; /* Bold link */
}
.home-content a:hover {
    color: #f1c40f; /* Hover color */
}

/* Coach Cards */
.coach-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.coach-card {
    text-align: center;
    padding: 1rem;
}
.coach-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    margin-bottom: 1rem;
}

/* Practice Schedule Clinic Photos */
.instructors-columns {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
}
.instructor-column {
    flex: 1;
    min-width: 300px;
    text-align: center;
}
.instructor-column img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 1rem 0;
    border-radius: 10px;
}

/* Sponsors Section */
#sponsors {
    background: #fff;
    padding: 2rem;
}
.sponsors-carousel {
    width: 100%;
    overflow: hidden;
    margin: 1rem auto;
}
.sponsors-carousel .carousel-slide {
    display: flex;
    width: 200%;
    animation: sponsor-scroll 15s linear infinite;
}
.sponsor-item {
    position: relative;
    flex-shrink: 0;
    width: 300px;
    height: 200px;
}
.sponsor-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.sponsor-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    background: rgba(39, 174, 96, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
@keyframes sponsor-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause on Hover */
.sponsors-carousel .carousel-slide:hover {
    animation-play-state: paused;
}

/* Forms */
form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}
label { font-weight: 500; }
input, select, textarea, button {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
button {
    background: #4285f4;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    max-width: 600px;
    margin: 1rem auto;
}
button:hover { background: #3267d6; }

/* Google Sign-In Button */
.gsi-material-button {
    background: #fff !important;
    color: #4285f4 !important;
    border: 2px solid #4285f4 !important;
    border-radius: 4px !important;
    margin-top: 0.5rem !important;
    position: relative !important;
    padding: 0.75rem 1.5rem !important;
    text-align: center !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.7rem !important;
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.08) !important;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s !important;
}

.gsi-material-button:hover {
    background: #e8f0fe !important;
    color: #174ea6 !important;
    border-color: #174ea6 !important;
    box-shadow: 0 4px 16px rgba(66, 133, 244, 0.15) !important;
}

.gsi-material-button-content-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.7rem !important;
}

.gsi-material-button-icon {
    width: 22px !important;
    height: 22px !important;
    display: inline-block !important;
}

/* Global Error Message Styling */
.error-message.global-error {
    background-color: #dc3545; /* Bootstrap danger red */
    color: white;
    padding: 1rem 1.5rem;
    margin: 0; /* Remove default margin if any from other .error-message styles */
    border-radius: 0; /* Full width, no radius for a banner feel */
    border-bottom: 2px solid #c82333; /* Darker red border */
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Full width */
    z-index: 2000; /* Ensure it's above other elements like sticky header */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-size: 1rem;
    font-weight: 500;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Clinic Table */
.clinic-table {
    width: 80%;
    max-width: 600px;
    margin: 1rem auto;
    border-collapse: collapse;
}
.clinic-table th, .clinic-table td {
    padding: 0.75rem;
    border: 1px solid #ddd;
    text-align: left;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 4px;
    border: 1px solid #ef9a9a;
    text-align: center;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.highlight-link {
    color: #27ae60;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.highlight-link:hover {
    color: #219653;
    text-decoration: underline;
}

/* Visibility Classes */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.visible-inline {
    display: inline !important;
}

.visible-flex {
    display: flex !important;
}

/* Navigation Link Transitions */
.nav-link {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-link.active {
    opacity: 1;
    visibility: visible;
}

/* Admin Tables */
.admin-table {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto 2rem auto;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    border-radius: 8px;
    overflow: hidden;
    font-size: 1rem;
}
.admin-table th, .admin-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}
.admin-table th {
    background: #27ae60;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.admin-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}
.admin-table tbody tr:hover {
    background: #e8f5e9;
    transition: background 0.2s;
}
.admin-table td {
    color: #333;
}
.admin-table input[type="checkbox"] {
    transform: scale(1.2);
    accent-color: #27ae60;
}

@media (max-width: 600px) {
    .admin-table, .admin-table th, .admin-table td {
        font-size: 0.92rem;
        padding: 0.5rem 0.4rem;
    }
}

/* Zeffy Payment Styles */
#zeffy-payment-container {
    margin: 2rem 0;
}

.zeffy-payment-form {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.payment-amount-display {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.payment-amount-display h4 {
    color: #27ae60;
    font-size: 1.5rem;
    margin: 0;
}

.zeffy-payment-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    min-width: 220px;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.zeffy-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #e55656 0%, #d63031 100%);
}

.zeffy-payment-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1.3rem;
}

.payment-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: left;
}

.payment-info p {
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}

.payment-info ol {
    margin: 0;
    padding-left: 1.5rem;
}

.payment-info li {
    margin-bottom: 0.5rem;
    color: #666;
}

.payment-methods {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.methods-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.zeffy-note {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.payment-icon {
    font-size: 1.5rem;
    opacity: 0.7;
}

.payment-result {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 5px;
    border: 1px solid;
}

.payment-result.success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.payment-result.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.payment-result.info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Scroll Animation Styles */
.animate-on-scroll {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll:not(.visible) {
    opacity: 0;
    transform: translateY(50px);
}

.animate-on-scroll.animate-fade-in:not(.visible) {
    opacity: 0;
    transform: none;
    transition: opacity 1s ease;
}

.animate-on-scroll.animate-slide-left:not(.visible) {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-slide-right:not(.visible) {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-scale:not(.visible) {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger animation delays for multiple items */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* Coach cards animation */
.coach-card.animate-on-scroll:not(.visible) {
    transform: translateY(30px) scale(0.95);
    opacity: 0;
}

.coach-card.animate-on-scroll.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Sponsors animation */
.sponsors-carousel.animate-on-scroll:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.sponsors-carousel.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Performance optimizations */
.animate-on-scroll {
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    will-change: auto;
}

/* Section-specific animations */
#practice-schedule.animate-on-scroll:not(.visible) {
    transform: translateX(-50px);
    opacity: 0;
}

#about.animate-on-scroll:not(.visible) {
    opacity: 0;
}

.goal.animate-on-scroll:not(.visible) {
    transform: translateX(50px);
    opacity: 0;
}

#sponsors.animate-on-scroll:not(.visible) {
    transform: scale(0.8);
    opacity: 0;
}

#signup.animate-on-scroll:not(.visible) {
    transform: translateX(-30px);
    opacity: 0;
}

/* Form groups animation */
.form-group.animate-on-scroll:not(.visible) {
    transform: translateY(20px);
    opacity: 0;
}

.instructor-column.animate-on-scroll:not(.visible) {
    transform: translateX(40px);
    opacity: 0;
}

/* Smooth reveal animation for text content */
.animate-on-scroll h2,
.animate-on-scroll h3,
.animate-on-scroll p {
    transition: opacity 0.6s ease 0.2s;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .animate-on-scroll * {
        transition: none !important;
    }
}

/* Merch Gallery Styles */
.merch-gallery {
    margin: 2rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.merch-iframe-container {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
    margin-bottom: 2rem;
}

.merch-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.95), rgba(39, 174, 96, 0.95));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.iframe-overlay:hover {
    opacity: 0.9;
}

.iframe-overlay-content {
    text-align: center;
    color: white;
    padding: 2rem;
}

.iframe-overlay-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.iframe-overlay-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.shop-btn {
    background: white;
    color: #27ae60;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #219653;
}

/* Merch Info Section */
.merch-info {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-top: 2rem;
}

.merch-info p {
    margin-bottom: 1rem;
}

.merch-info .highlight-link {
    color: #27ae60;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.merch-info .highlight-link:hover {
    color: #219653;
    text-decoration: underline;
}

.store-link {
    margin-top: 1.5rem;
}

.full-store-btn {
    background: linear-gradient(to right, #2ecc71, #27ae60);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.full-store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
    background: linear-gradient(to right, #27ae60, #219653);
}

/* Interactive Iframe */
.merch-iframe-container:hover .iframe-overlay {
    opacity: 0;
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .merch-iframe-container {
        height: 500px;
        margin-bottom: 1.5rem;
    }
    
    .iframe-overlay-content h3 {
        font-size: 1.5rem;
    }
    
    .iframe-overlay-content p {
        font-size: 1rem;
    }
    
    .shop-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .merch-info {
        padding: 1.5rem;
        margin: 1rem;
    }
}

/* Payment Modal Styles */
.payment-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
}

.payment-modal.modal-visible {
    display: flex; /* Show the modal */
}

.payment-modal .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.payment-modal .close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.payment-modal .close-modal:hover,
.payment-modal .close-modal:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.payment-modal .modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.payment-modal .cancel-btn,
.payment-modal .confirm-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: white;
}

.payment-modal .cancel-btn {
    background-color: #6c757d;
}

.payment-modal .confirm-btn {
    background-color: #28a745;
}