/* SRMS Cricket Academy - Professional Sports Academy CSS */
/* Color Theme: Red (#800000), White (#FFFFFF), Dark Shades (#1a1a1a, #2d2d2d) */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow-y: auto;
}

:root {
    --primary-red: #800000; /* Maroon from logo */
    --dark-red: #660000;
    --light-red: #CC0000;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --text-dark: #212529;
    --text-muted: #6C757D;
    --success: #28A745;
    --warning: #FFC107;
    --error: #DC3545;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--light-red);
    text-decoration: underline;
}

/* Header & Navigation */
header:not(.fees-hero-new):not(.fees-hero) {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--primary-red);
    position: relative;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 40px;
    margin-right: 12px;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(128,0,0,0.15));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    transition: var(--transition);
    z-index: -1;
    border-radius: 25px;
}

.nav-links a:hover {
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-links a:hover::before {
    left: 0;
}

.nav-links a.active {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(128,0,0,0.2);
}

.login-btn {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(128,0,0,0.2);
    font-weight: 600;
}

.login-btn:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(128,0,0,0.3);
}

/* Mobile Responsive Navigation */
@media (max-width: 768px) {
    header:not(.fees-hero-new):not(.fees-hero) {
        width: 100%;
        max-width: 100vw;
        overflow: visible !important;
        z-index: 1000;
        position: relative !important;
    }
    
    nav {
        position: relative;
        padding: 1rem 1rem !important;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: visible !important;
        z-index: inherit;
    }
    
    .logo {
        font-size: 1.2rem;
        flex: 1;
        min-width: 0;
    }
    
    .logo img {
        height: 35px;
        margin-right: 8px;
        max-width: 100%;
    }
    
    .logo span {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 1002;
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--primary-red);
        margin: 2px 0;
        transition: var(--transition);
        border-radius: 1px;
        transform-origin: center;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }
    
    /* Mobile Menu - Full Screen Overlay */
    nav .nav-links {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: none !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
        border-top: 2px solid var(--primary-red) !important;
        max-height: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0s linear 0.4s !important;
        opacity: 0 !important;
        z-index: 9999 !important;
        visibility: hidden !important;
        list-style: none !important;
        gap: 0 !important;
        transform: none !important;
    }
    
    nav .nav-links.active {
        max-height: calc(100vh - 70px) !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow-y: auto !important;
        transition: max-height 0.4s ease, opacity 0.3s ease 0.1s, visibility 0s linear 0s !important;
        padding: 0.5rem 0 !important;
    }
    
    nav .nav-links li {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        display: block !important;
        opacity: 1 !important;
    }
    
    nav .nav-links.active li {
        display: block !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
        visibility: visible !important;
    }
    
    nav .nav-links.active a {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    nav .nav-links a {
        color: var(--text-dark) !important;
        padding: 1rem 1.5rem !important;
        border-bottom: 1px solid rgba(0,0,0,0.05) !important;
        text-align: center !important;
        font-weight: 500 !important;
        font-size: 0.95rem !important;
        transition: all 0.3s ease !important;
        transform: translateX(0) !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        -webkit-tap-highlight-color: rgba(128, 0, 0, 0.1) !important;
        text-decoration: none !important;
        border-radius: 0 !important;
        position: relative !important;
        overflow: visible !important;
        text-transform: none !important;
        letter-spacing: normal !important;
    }
    
    nav .nav-links a::before {
        display: none !important;
    }
    
    nav .nav-links a:hover,
    nav .nav-links a:active,
    nav .nav-links a:focus {
        background: var(--primary-red) !important;
        color: var(--white) !important;
        transform: translateX(3px) !important;
        text-decoration: none !important;
        outline: none !important;
    }
    
    nav .nav-links a.active,
    nav .nav-links a.login-btn.active {
        background: var(--primary-red) !important;
        color: var(--white) !important;
    }
    
    .login-btn {
        margin-top: 0;
        border-bottom: none !important;
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
        color: var(--white);
        box-shadow: 0 2px 10px rgba(128,0,0,0.2);
    }
    
    .login-btn:hover {
        transform: translateX(3px) scale(1.01);
        box-shadow: 0 4px 15px rgba(128,0,0,0.3);
    }
}

/* Hero Section */
.hero {
    background: url('../images/srmsfront.jpg') center/cover no-repeat;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    margin-top: 70px;
    position: relative;
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    color: var(--white);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--white);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.4);
    background: linear-gradient(135deg, var(--dark-red) 0%, var(--primary-red) 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3);
}

.btn-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Sections */
section {
    padding: 4rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.card-body {
    color: var(--text-dark);
    line-height: 1.6;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 2px solid #E9ECEF;
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.w-100 {
    width: 100%;
}

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

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Fix container padding on mobile */
    .container,
    .container[style] {
        padding: 0 1rem !important;
        max-width: 100%;
    }
    
    /* Fix main content margin */
    main {
        margin-top: 70px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 250px;
        justify-content: center;
        font-size: 1rem;
        padding: 12px 20px;
    }
    
    section {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    /* Fix any element that might overflow */
    * {
        max-width: 100%;
    }
    
    img, video, iframe {
        max-width: 100%;
        height: auto;
    }
    
    /* Footer Mobile Styles */
    footer {
        padding: 2rem 1rem 1rem !important;
        margin-top: 2rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 0;
    }
    
    .footer-section {
        padding: 0;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-logo {
        font-size: 1.3rem !important;
    }
}

/* Footer */
footer {
    background: #5a0000; /* Dark maroon background */
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: #FF8C00; /* Orange/gold color for headings */
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-logo {
    color: #FF8C00 !important; /* Orange/gold color */
    font-size: 1.5rem !important;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--white);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

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

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

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: block;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 0.95rem;
}

.contact-item .icon {
    margin-right: 0.8rem;
    font-size: 1rem;
    opacity: 0.8;
    flex-shrink: 0;
}

.contact-item span:not(.icon) {
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #660000; /* Dark red background for social icons */
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-transform: lowercase;
}

.social-icon:hover {
    background: #FF8C00;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--white);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #FF8C00;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--light-gray);
    border-radius: 50%;
    border-top-color: var(--primary-red);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--error);
    color: var(--error);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

/* Fees Page Hero Section - New Design */
.fees-hero-new {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #4a0000 0%, #800000 100%);
    position: relative !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0 !important;
    width: 100%;
    overflow: visible !important;
    z-index: 1 !important;
    border-bottom: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.fees-hero-overlay {
    display: none;
}

.fees-hero-content-new {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.fees-tagline {
    color: #D4AF37; /* Gold color */
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.fees-hero-content-new h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.fees-sub-heading {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    opacity: 0.95;
}

/* Old Fees Hero (keeping for backward compatibility) */
.fees-hero {
    background: #5a0000; /* Dark maroon background */
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.fees-hero::before,
.fees-hero::after {
    content: '🏏';
    position: absolute;
    font-size: 4rem;
    opacity: 0.3;
    top: 50%;
    transform: translateY(-50%);
}

.fees-hero::before {
    left: 5%;
}

.fees-hero::after {
    right: 5%;
}

.fees-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.fees-hero-title {
    color: #FF8C00; /* Gold/orange color */
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.fees-hero-subtitle {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.fees-hero-description {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
}

/* Section Title */
.section {
    padding: 4rem 0;
}

.section-title-new {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
}

.section-title-new span {
    color: #FF8C00;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.price-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    border: 2px solid transparent;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.price-card.featured {
    border: 2px solid #FF8C00;
    transform: scale(1.05);
}

.price-card.featured:hover {
    transform: scale(1.08) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF8C00;
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Montserrat', sans-serif;
}

.price-card h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.price {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    font-family: 'Montserrat', sans-serif;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.price-card ul li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-family: 'Poppins', sans-serif;
}

.price-card ul li:last-child {
    border-bottom: none;
}

.price-card ul li i {
    color: #28A745;
    margin-right: 0.8rem;
    font-size: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    width: 100%;
}

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: #FF8C00;
    color: var(--white);
    width: 100%;
    border: 2px solid #FF8C00;
}

.btn-gold:hover {
    background: #FF7A00;
    border-color: #FF7A00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-white:hover {
    background: var(--primary-red);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
}

.btn-whatsapp:hover {
    background: #20BA5A;
    border-color: #20BA5A;
}

/* Specialized Coaching Grid */
.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.special-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary-red);
}

.special-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.special-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.special-card h4 {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.special-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.cost {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF8C00;
    font-family: 'Montserrat', sans-serif;
}

/* Booking Table */
.booking-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.booking-table thead {
    background: var(--primary-red);
}

.booking-table thead th {
    color: var(--white);
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.booking-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.booking-table tbody tr:hover {
    background: #F8F9FA;
}

.booking-table tbody tr:last-child {
    border-bottom: none;
}

.booking-table tbody td {
    padding: 1.2rem 1.5rem;
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

.booking-table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-red);
}

.note {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 1rem;
    font-family: 'Poppins', sans-serif;
}

/* Offers Bar */
.offers-bar {
    background: linear-gradient(135deg, var(--primary-red) 0%, #5a0000 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.offer-item {
    text-align: center;
    color: var(--white);
}

.offer-item i {
    font-size: 2.5rem;
    color: #FF8C00;
    margin-bottom: 1rem;
    display: block;
}

.offer-item p {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--light-gray);
    border-radius: 16px;
    margin: 4rem 0;
}

.cta-section h2 {
    color: var(--primary-red);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
}

.cta-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btns .btn {
    width: auto;
    min-width: 200px;
}

.cta-btns .btn i {
    margin-right: 0.5rem;
}

/* Fees Table Styling */
.table-container {
    margin: 2rem 0;
    overflow-x: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 1rem;
}

.fees-table thead {
    background: #5a0000; /* Dark maroon header */
}

.fees-table thead th {
    color: var(--white);
    padding: 1.2rem 1rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.fees-table tbody tr {
    background: #F5F5DC; /* Light beige background */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.fees-table tbody tr:hover {
    background: #F0F0E0;
    transform: scale(1.01);
}

.fees-table tbody tr:last-child {
    border-bottom: none;
}

.fees-table tbody td {
    padding: 1.2rem 1rem;
    color: var(--text-dark);
    font-weight: 500;
}

.fees-table tbody td:first-child {
    font-weight: 600;
    color: var(--primary-red);
}

/* Additional Information Card */
.additional-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
}

.additional-info-card h3 {
    color: var(--primary-red);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.additional-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.additional-info-card ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.additional-info-card ul li:last-child {
    border-bottom: none;
}

.additional-info-card ul li strong {
    color: var(--primary-red);
    font-weight: 600;
}

/* Responsive Fees Page */
@media (max-width: 768px) {
    .fees-hero-new {
        height: 50vh !important;
        min-height: 300px !important;
        position: relative !important;
        margin-top: 0 !important;
        width: 100% !important;
        overflow: visible !important;
    }
    
    .fees-hero-content-new {
        padding: 1.5rem 1rem !important;
    }
    
    .fees-hero-content-new h1 {
        font-size: 2.2rem !important;
    }
    
    .fees-sub-heading {
        font-size: 1rem !important;
    }
    
    .fees-hero-title {
        font-size: 1.5rem;
    }
    
    .fees-hero-subtitle {
        font-size: 2rem;
    }
    
    .fees-hero-description {
        font-size: 1rem;
    }
    
    .fees-hero::before,
    .fees-hero::after {
        font-size: 2rem;
        opacity: 0.2;
    }
    
    .section-title-new {
        font-size: 2rem !important;
    }
    
    .section {
        padding: 2rem 0 !important;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    .price-card {
        padding: 2rem 1.5rem !important;
    }
    
    .price-card.featured {
        transform: scale(1) !important;
    }
    
    .special-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }
    
    .offers-bar {
        grid-template-columns: 1fr !important;
        padding: 2rem 1rem !important;
        margin: 2rem 0 !important;
    }
    
    .cta-section {
        padding: 3rem 1rem !important;
        margin: 2rem 0 !important;
    }
    
    .cta-btns {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .cta-btns .btn {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .booking-table {
        font-size: 0.9rem !important;
    }
    
    .booking-table thead th,
    .booking-table tbody td {
        padding: 1rem 0.8rem !important;
    }
    
    .price-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .special-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-bar {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btns .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .fees-table {
        font-size: 0.9rem;
    }
    
    .fees-table thead th,
    .fees-table tbody td {
        padding: 0.8rem 0.5rem;
    }
    
    .booking-table {
        font-size: 0.9rem;
    }
    
    .booking-table thead th,
    .booking-table tbody td {
        padding: 1rem;
    }
    
    .additional-info-card {
        padding: 1.5rem;
    }
}

/* Matches Page Styles */
:root {
    --maroon: #800000;
    --dark-maroon: #4a0000;
    --gold: #D4AF37;
    --green: #28a745;
}

.match-hero {
    height: 70vh;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(128,0,0,0.4), rgba(102,0,0,0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero-content h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 1rem;
}

.badge-gold {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.scroll-indicator {
    margin-top: 2rem;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Filter Bar */
.filter-bar {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    padding: 15px 0;
    position: sticky;
    top: 70px;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.2);
}

.filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.filter-btn:hover {
    background: rgba(255,255,255,0.1);
}

.filter-btn.active {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.live-btn span {
    color: var(--green);
    animation: blink 1s infinite;
}

.filter-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    margin: 0 5px;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

/* Match Sections */
.match-section {
    padding: 3rem 0;
}

.section-heading {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    margin: 50px 0 30px;
    border-left: 8px solid var(--maroon);
    padding-left: 15px;
    color: var(--primary-red);
}

.section-heading span {
    color: var(--gold);
}

/* Live Match Card */
.live-match-card {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(128,0,0,0.3);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.live-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.live-tag {
    background: var(--green);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-anim 1s infinite;
}

@keyframes pulse-anim {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.match-meta {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.live-score-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin: 30px 0;
}

.team {
    flex: 1;
}

.team img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 10px;
    border: 3px solid var(--gold);
}

.team h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
}

.score-display {
    flex: 1;
    text-align: center;
}

.score-display .runs {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 5px;
}

.score-display .overs {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.live-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    flex-wrap: wrap;
    gap: 15px;
}

.live-footer p {
    margin: 0;
    color: rgba(255,255,255,0.9);
}

/* Match Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 2rem;
}

.match-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    transition: var(--transition);
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.match-date {
    background: var(--maroon);
    color: var(--white);
    width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.card-body {
    padding: 25px;
    flex: 1;
}

.card-body .category {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.card-body h4 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.match-details {
    display: flex;
    gap: 20px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.match-details span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.match-details i {
    margin-right: 5px;
    color: var(--primary-red);
}

.countdown {
    margin: 15px 0;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--maroon);
}

/* Spotlight Section */
.spotlight-section {
    margin: 4rem 0;
}

.spotlight-card {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    border-radius: 25px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(128,0,0,0.3);
}

.spotlight-img {
    flex-shrink: 0;
}

.spotlight-img img {
    width: 300px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.spotlight-info {
    padding: 50px;
    flex: 1;
}

.gold-text {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.spotlight-info h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin: 10px 0;
    font-family: 'Bebas Neue', sans-serif;
}

.role {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat span {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
}

.stat strong {
    font-size: 1.5rem;
    color: var(--gold);
    display: block;
}

.desc {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-top: 20px;
}

/* Results Table */
.results-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.results-table th {
    text-align: left;
    padding: 15px;
    background: rgba(128, 0, 0, 0.1);
    font-weight: 700;
    color: var(--primary-red);
    font-family: 'Montserrat', sans-serif;
}

.results-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    color: var(--text-dark);
}

.results-table tbody tr:hover {
    background: #f9f9f9;
}

.result-row {
    transition: var(--transition);
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--primary-red);
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    padding: 5px;
}

.btn-text:hover {
    color: var(--dark-red);
}

/* Coach Review */
.coach-review {
    background: rgba(128, 0, 0, 0.05);
    padding: 40px;
    border-radius: 15px;
    border-left: 10px solid var(--maroon);
    margin: 50px 0;
    position: relative;
}

.coach-review i {
    font-size: 2rem;
    color: rgba(128, 0, 0, 0.2);
    position: absolute;
    top: 20px;
    left: 20px;
}

.coach-review h3 {
    color: var(--primary-red);
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.coach-review p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
    font-style: italic;
}

.coach-name {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    text-align: right;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    padding: 60px 20px;
    text-align: center;
    color: var(--white);
    margin-top: 4rem;
}

.final-cta h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: var(--white);
}

.final-cta .cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Match Page Buttons */
.btn-maroon-outline {
    border: 2px solid var(--maroon);
    color: var(--maroon);
    background: transparent;
    width: 100%;
}

.btn-maroon-outline:hover {
    background: var(--maroon);
    color: var(--white);
}

.btn-gold-sm {
    background: var(--gold);
    color: #000;
    font-size: 0.8rem;
    border-radius: 20px;
    padding: 8px 20px;
}

.btn-gold-sm:hover {
    background: #b8962d;
}

/* Modal for Registration */
.modal {
    display: none;
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 0, 0, 0.85);
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-red);
}

.modal-content h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

.modal-content form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.modal-content form input:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Stats & Video Section Styling */
.stats-video-section {
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin: 50px 0;
}

.section-heading-sm {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--primary-red);
    border-left: 6px solid var(--maroon);
    padding-left: 15px;
}

.section-heading-sm span {
    color: var(--gold);
}

/* Leaderboard */
.leaderboard-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.top-player-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.player-stat-box {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid var(--maroon);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.player-stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.player-stat-box img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 20px;
    border: 2px solid var(--gold);
    object-fit: cover;
}

.p-info {
    flex: 1;
}

.p-info h4 {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.p-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.orange-cap {
    background: linear-gradient(to right, #ffffff, #fff3e0);
}

.purple-cap {
    background: linear-gradient(to right, #ffffff, #f3e5f5);
}

.cap-icon {
    position: absolute;
    right: -10px;
    top: -10px;
    font-size: 4rem;
    color: rgba(0,0,0,0.05);
    z-index: 0;
}

.label {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.orange-cap .label {
    background: #ff9800;
}

.purple-cap .label {
    background: #9c27b0;
}

/* Video Highlights */
.video-highlights-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.video-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.video-item {
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-3px);
}

.video-thumbnail {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--maroon);
    color: var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
    text-decoration: none;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-item:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--gold);
    color: var(--maroon);
}

.video-info {
    margin-top: 10px;
}

.video-info p {
    font-weight: 600;
    margin-top: 10px;
    color: var(--dark-maroon);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
}

.video-info span {
    font-size: 0.8rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 5px;
}

.video-info i {
    color: var(--primary-red);
}

/* Responsive Matches Page */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .spotlight-card {
        flex-direction: column;
    }
    
    .spotlight-img img {
        width: 100%;
        height: 250px;
    }
    
    .spotlight-info {
        padding: 30px;
    }
    
    .live-score-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .score-display .runs {
        font-size: 2.5rem;
    }
    
    .live-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .match-card {
        flex-direction: column;
    }
    
    .match-date {
        width: 100%;
        writing-mode: horizontal-tb;
        padding: 10px;
    }
    
    .filter-container {
        justify-content: flex-start;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .section-heading-sm {
        font-size: 1.8rem;
    }
    
    .player-stat-box {
        flex-direction: column;
        text-align: center;
    }
    
    .player-stat-box img {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .video-thumbnail {
        height: 200px;
    }
}

/* About Page Styles */
.about-hero {
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(135deg, #4a0000 0%, #800000 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.about-hero-overlay {
    display: none;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.about-hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: fadeInDown 1s ease;
}

.about-hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.2s both;
}

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

/* Our Story Section */
.about-section {
    padding: 4rem 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text h2 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.story-text p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.story-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.story-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.section-heading-about {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

/* Vision & Mission Section */
.vision-mission-section {
    padding: 4rem 0;
    background: var(--light-gray);
}

.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.vm-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary-red);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vm-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.vm-card h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.vm-card p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mission-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 1.5rem;
}

.mission-list li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-list li i {
    color: var(--primary-red);
    font-size: 0.9rem;
}

/* Achievements Stats Section */
.achievements-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #4a0000 0%, #800000 100%);
    border-radius: 20px;
    margin: 4rem 0;
}

.achievements-section h2 {
    color: var(--white);
    text-align: center;
}

.stats-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card-about {
    text-align: center;
    color: var(--white);
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card-about:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin: 1rem 0;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Infrastructure Section */
.infrastructure-section {
    padding: 4rem 0;
}

.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.infra-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.infra-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(128, 0, 0, 0.3);
    transition: var(--transition);
}

.infra-card:hover .infra-icon {
    transform: scale(1.1) rotate(5deg);
}

.infra-card h4 {
    font-size: 1.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.infra-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible,
.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive About Page */
@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        order: -1;
    }
    
    .vm-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-about {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-hero-content p {
        font-size: 1.2rem;
    }
    
    .section-heading-about {
        font-size: 2rem;
    }
    
    .infra-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

/* Programs Page Styles - Premium Design */
.programs-hero {
    background: linear-gradient(135deg, #4a0000 0%, #800000 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.programs-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

.programs-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

/* Programs Section */
.programs-section {
    padding: 4rem 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.program-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
    transition: all 0.7s ease-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15);
}

.program-header {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    padding: 2rem;
    text-align: center;
}

.program-header h3 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.program-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-meta {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(128, 0, 0, 0.1);
}

.meta-item {
    color: #800000;
    font-size: 0.95rem;
}

.meta-item strong {
    color: #800000;
    font-weight: 600;
}

.program-desc {
    color: #4a0000;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    flex: 1;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.program-features li {
    padding: 0.7rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #4a0000;
    font-size: 0.95rem;
    line-height: 1.6;
}

.program-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #800000;
    font-weight: 700;
    font-size: 1.1rem;
}

.program-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(128, 0, 0, 0.1);
}

.program-fee {
    text-align: center;
    margin-bottom: 1.5rem;
}

.fee-label {
    display: block;
    color: #800000;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.fee-amount {
    display: block;
    color: #800000;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.btn-program {
    display: block;
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: all 0.5s ease-out;
    border: 2px solid transparent;
}

.btn-program:hover {
    background: var(--white);
    color: #800000;
    border-color: #800000;
    transform: scale(1.02);
}

/* Section Divider */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(128, 0, 0, 0.2) 50%, transparent 100%);
    margin: 4rem 0;
}

/* Clinics Section */
.clinics-section {
    padding: 3rem 0 4rem;
}

.section-heading-programs {
    font-size: 2.5rem;
    color: #800000;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.clinic-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
    transition: all 0.7s ease-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.clinic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15);
}

.clinic-header {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    padding: 1.8rem;
    text-align: center;
}

.clinic-header h3 {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.clinic-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* CTA Section */
.programs-cta {
    background: linear-gradient(135deg, #800000 0%, #4a0000 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.3;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.5s ease-out;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-cta-primary {
    background: var(--white);
    color: #800000;
    border-color: var(--white);
}

.btn-cta-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: scale(1.05);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-cta-secondary:hover {
    background: var(--white);
    color: #800000;
    transform: scale(1.05);
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Programs Page */
@media (max-width: 992px) {
    .clinics-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .programs-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .programs-hero-content p {
        font-size: 1.1rem;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .section-heading-programs {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
    
    .program-card,
    .clinic-card {
        margin-bottom: 2rem;
    }
}

/* Gallery Page Styles - Premium Design */
.gallery-hero {
    background: linear-gradient(135deg, #4a0000 0%, #800000 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.gallery-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

.gallery-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

/* Gallery Filter Section */
.gallery-filter-section {
    padding: 3rem 0 2rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--white);
    color: #800000;
    border: 2px solid rgba(128, 0, 0, 0.2);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.5s ease-out;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover {
    background: rgba(128, 0, 0, 0.05);
    border-color: #800000;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    border-color: #800000;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

/* Gallery Section */
.gallery-section {
    padding: 2rem 0 4rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s ease-out;
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    display: none;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: rgba(128, 0, 0, 0.05);
}

.gallery-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-out;
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(128, 0, 0, 0.85) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.5s ease-out;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.gallery-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease-out;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-out;
    z-index: 2001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-image {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.5s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-caption {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    background: rgba(128, 0, 0, 0.8);
    padding: 1rem 2rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.lightbox-caption h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* Gallery CTA Section */
.gallery-cta {
    background: linear-gradient(135deg, #800000 0%, #4a0000 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
}

.gallery-cta h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gallery-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--white);
    color: #800000;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.5s ease-out;
    border: 2px solid var(--white);
}

.btn-gallery-cta:hover {
    background: transparent;
    color: var(--white);
    transform: scale(1.05);
}

/* Responsive Gallery */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .gallery-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .gallery-hero-content p {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-buttons {
        gap: 0.8rem;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .gallery-cta h2 {
        font-size: 1.8rem;
    }
    
    .lightbox-image {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
        width: 40px;
        height: 40px;
    }
}

/* Contact Page Styles - Premium Design */
.contact-hero {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

.contact-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

/* Contact Information Cards */
.contact-info-section {
    padding: 4rem 0;
}

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

.contact-info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
    transition: all 0.7s ease-out;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.5s ease-out;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-info-card h3 {
    color: #800000;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.contact-info-card p {
    color: #4a0000;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.contact-info-card a {
    color: #800000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-out;
}

.contact-info-card a:hover {
    color: #660000;
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    padding: 3rem 0 4rem;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
}

.form-title {
    color: #800000;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-subtitle {
    color: #4a0000;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(128, 0, 0, 0.1);
    border-left: 4px solid #800000;
    color: #800000;
}

.alert-error {
    background: rgba(128, 0, 0, 0.1);
    border-left: 4px solid #800000;
    color: #800000;
}

.contact-form-main {
    margin-top: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #800000;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(128, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    color: #4a0000;
    transition: all 0.5s ease-out;
    font-family: 'Poppins', sans-serif;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: #800000;
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

.form-input::placeholder {
    color: rgba(128, 0, 0, 0.4);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    font-family: 'Poppins', sans-serif;
}

.btn-submit {
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    margin-top: 1rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.3);
    background: linear-gradient(135deg, #660000 0%, #800000 100%);
}

/* Map Section */
.map-section {
    padding: 3rem 0 4rem;
}

.map-container {
    text-align: center;
}

.map-title {
    color: #800000;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-subtitle {
    color: #4a0000;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.15);
}

/* Quick Contact CTA */
.quick-contact-cta {
    background: linear-gradient(135deg, #800000 0%, #4a0000 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
}

.quick-contact-cta h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.5s ease-out;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
}

.btn-cta-call {
    background: var(--white);
    color: #800000;
    border-color: var(--white);
}

.btn-cta-call:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: scale(1.05);
}

.btn-cta-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-cta-whatsapp:hover {
    background: #20BA5A;
    border-color: #20BA5A;
    transform: scale(1.05);
}

/* Responsive Contact Page */
@media (max-width: 992px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Contact Hero Section */
    .contact-hero {
        padding: 3rem 0 !important;
    }
    
    .contact-hero-content h1 {
        font-size: 2rem !important;
        padding: 0 1rem;
        line-height: 1.2;
    }
    
    .contact-hero-content p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    /* Contact Info Cards */
    .contact-info-section {
        padding: 2rem 0 !important;
    }
    
    .contact-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem !important;
        margin: 0;
    }
    
    /* Contact Form */
    .contact-form-section {
        padding: 2rem 0 !important;
    }
    
    .form-wrapper {
        padding: 2rem 1rem !important;
        margin: 0;
    }
    
    .form-title {
        font-size: 1.8rem !important;
    }
    
    /* Map Section */
    .map-section {
        padding: 2rem 0 !important;
    }
    
    .map-title {
        font-size: 1.8rem !important;
        padding: 0 1rem;
    }
    
    .map-subtitle {
        padding: 0 1rem;
    }
    
    .map-wrapper {
        margin: 0;
        padding: 0 1rem;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }
    
    .map-wrapper iframe {
        height: 300px !important;
        width: 100% !important;
        max-width: 100%;
        border-radius: 10px;
    }
    
    /* Quick Contact CTA */
    .quick-contact-cta {
        padding: 2.5rem 1rem !important;
        margin: 2rem 1rem !important;
        border-radius: 15px;
    }
    
    .quick-contact-cta h2 {
        font-size: 1.5rem !important;
        padding: 0 0.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .btn-cta {
        width: 100% !important;
        max-width: 300px;
        justify-content: center;
    }
}

/* Join Academy Page Styles - Premium Design */
.join-hero {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.join-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
}

.join-hero-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
}

/* Why Join Section */
.why-join-section {
    padding: 4rem 0;
}

.section-title-join {
    color: #800000;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
    transition: all 0.7s ease-out;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.5s ease-out;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    color: #800000;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.benefit-card p {
    color: #4a0000;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Admission Form Section */
.admission-form-section {
    padding: 3rem 0 4rem;
}

.form-container-join {
    max-width: 1000px;
    margin: 0 auto;
}

.form-wrapper-join {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
}

.form-title-join {
    color: #800000;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-subtitle-join {
    color: #4a0000;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.alert-success-join,
.alert-error-join {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.alert-success-join {
    background: rgba(128, 0, 0, 0.1);
    border-left: 4px solid #800000;
    color: #800000;
}

.alert-error-join {
    background: rgba(128, 0, 0, 0.1);
    border-left: 4px solid #800000;
    color: #800000;
}

.admission-form-main {
    margin-top: 2rem;
}

.form-section-title {
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(128, 0, 0, 0.2);
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-section-title h3 {
    color: #800000;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-row-join {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group-join {
    margin-bottom: 1.5rem;
}

.form-group-join label {
    display: block;
    margin-bottom: 0.5rem;
    color: #800000;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

.form-input-join {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(128, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    color: #4a0000;
    transition: all 0.5s ease-out;
    font-family: 'Poppins', sans-serif;
    background: var(--white);
}

.form-input-join:focus {
    outline: none;
    border-color: #800000;
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

.form-input-join::placeholder {
    color: rgba(128, 0, 0, 0.4);
}

.form-textarea-join {
    resize: vertical;
    min-height: 120px;
    font-family: 'Poppins', sans-serif;
}

.btn-submit-join {
    width: 100%;
    padding: 18px 28px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    margin-top: 2rem;
}

.btn-submit-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.3);
    background: linear-gradient(135deg, #660000 0%, #800000 100%);
}

/* Admission Process Section */
.admission-process-section {
    padding: 4rem 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
    transition: all 0.7s ease-out;
    position: relative;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(128, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1.5rem;
    color: #800000;
    font-size: 2rem;
    transition: all 0.5s ease-out;
}

.process-step:hover .step-icon {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    transform: scale(1.1);
}

.process-step h3 {
    color: #800000;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.process-step p {
    color: #4a0000;
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* Quick Contact CTA */
.quick-contact-join {
    background: linear-gradient(135deg, #800000 0%, #4a0000 100%);
    padding: 4rem 2rem;
    border-radius: 20px;
    margin: 4rem 0;
    text-align: center;
}

.quick-contact-join h2 {
    color: var(--white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-buttons-join {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-join {
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.5s ease-out;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: 2px solid transparent;
    font-family: 'Montserrat', sans-serif;
}

.btn-cta-call-join {
    background: var(--white);
    color: #800000;
    border-color: var(--white);
}

.btn-cta-call-join:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: scale(1.05);
}

.btn-cta-whatsapp-join {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-cta-whatsapp-join:hover {
    background: #20BA5A;
    border-color: #20BA5A;
    transform: scale(1.05);
}

/* Responsive Join Page */
@media (max-width: 992px) {
    .form-row-join {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .join-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .join-hero-content p {
        font-size: 1.1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper-join {
        padding: 2rem 1.5rem;
    }
    
    .form-title-join {
        font-size: 2rem;
    }
    
    .section-title-join {
        font-size: 2rem;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .quick-contact-join h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons-join {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-join {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Login/Register Page Styles - Premium Design */
.login-page-main {
    min-height: calc(100vh - 70px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.02) 0%, rgba(102, 0, 0, 0.01) 100%);
    margin-top: 70px;
}

.login-container {
    width: 100%;
    max-width: 480px;
}

.login-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(128, 0, 0, 0.1);
    transition: all 0.7s ease-out;
}

/* Academy Branding */
.login-branding {
    text-align: center;
    margin-bottom: 2rem;
}

.brand-logo {
    margin-bottom: 1rem;
}

.brand-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.brand-name {
    color: #800000;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Mode Selector (Login/Register Toggle) */
.mode-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(128, 0, 0, 0.05);
    padding: 0.5rem;
    border-radius: 12px;
}

.mode-btn {
    padding: 14px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #4a0000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.mode-btn i {
    font-size: 1.1rem;
}

.mode-btn:hover {
    background: rgba(128, 0, 0, 0.1);
    color: #800000;
}

.mode-btn.active {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    border-color: #800000;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.2);
}

/* Page Title & Subtitle */
.login-title {
    color: #800000;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.page-subtitle {
    color: #4a0000;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* User Type Selector */
.user-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(128, 0, 0, 0.05);
    padding: 0.5rem;
    border-radius: 12px;
}

.user-type-btn {
    padding: 14px 20px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #4a0000;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.6s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.user-type-btn i {
    font-size: 1.1rem;
}

.user-type-btn:hover {
    background: rgba(128, 0, 0, 0.1);
    color: #800000;
}

.user-type-btn.active {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    border-color: #800000;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.2);
}

/* Alerts */
.alert-error-login,
.alert-success-login {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.alert-error-login {
    background: rgba(128, 0, 0, 0.1);
    border-left: 4px solid #800000;
    color: #800000;
}

.alert-success-login {
    background: rgba(128, 0, 0, 0.1);
    border-left: 4px solid #800000;
    color: #800000;
}

/* Login Form */
.login-form {
    margin-top: 1rem;
}

.form-group-login {
    margin-bottom: 1.5rem;
}

.form-group-login label {
    display: block;
    margin-bottom: 0.5rem;
    color: #800000;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
}

.input-wrapper {
    position: relative;
}

.form-input-login {
    width: 100%;
    padding: 14px 50px 14px 18px;
    border: 2px solid rgba(128, 0, 0, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    color: #4a0000;
    transition: all 0.6s ease-out;
    font-family: 'Poppins', sans-serif;
    background: var(--white);
}

.form-input-login:focus {
    outline: none;
    border-color: #800000;
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

.form-input-login::placeholder {
    color: rgba(128, 0, 0, 0.4);
}

.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(128, 0, 0, 0.4);
    pointer-events: none;
}

.password-toggle {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(128, 0, 0, 0.5);
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease-out;
    z-index: 1;
}

.password-toggle:hover {
    color: #800000;
}

.password-toggle i {
    font-size: 1rem;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #4a0000;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #800000;
}

.forgot-password {
    color: #800000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-out;
}

.forgot-password:hover {
    color: #660000;
    text-decoration: underline;
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 16px 28px;
    background: var(--white);
    color: #800000;
    border: 2px solid #800000;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.6s ease-out;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.1);
}

.btn-login:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.2);
    background: #800000;
    color: var(--white);
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: none;
}

/* Quick Login Section (Future Ready) */
.quick-login-section {
    margin-top: 2rem;
}

.divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(128, 0, 0, 0.2);
}

.divider span {
    background: var(--white);
    padding: 0 1rem;
    color: rgba(128, 0, 0, 0.5);
    position: relative;
    font-size: 0.9rem;
}

.quick-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-quick-login {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid rgba(128, 0, 0, 0.2);
    border-radius: 10px;
    background: var(--white);
    color: #800000;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.btn-quick-login:hover:not(:disabled) {
    border-color: #800000;
    background: rgba(128, 0, 0, 0.05);
}

.btn-quick-login:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Register Form Styles */
.register-form {
    margin-top: 1rem;
}

.form-section-title {
    margin: 2rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(128, 0, 0, 0.2);
}

.form-section-title:first-child {
    margin-top: 0;
}

.form-section-title h3 {
    color: #800000;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.form-row-register {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    color: #4a0000;
    font-size: 0.95rem;
    line-height: 1.6;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #800000;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-checkbox span {
    color: #4a0000;
}

/* Toggle Section */
.toggle-section {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
}

.toggle-text {
    color: #4a0000;
    font-size: 1rem;
    margin: 0;
}

.toggle-text a {
    color: #800000;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease-out;
}

.toggle-text a:hover {
    color: #660000;
    text-decoration: underline;
}

/* Responsive Login/Register Page */
@media (max-width: 768px) {
    .login-page-main {
        padding: 2rem 1rem;
    }
    
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .mode-btn,
    .user-type-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .form-row-register {
        grid-template-columns: 1fr;
    }
    
    .toggle-section {
        padding: 1.5rem;
    }
}

/* Home Page Styles - Premium Design */
.home-hero {
    height: 90vh;
    min-height: 600px;
    background: url('../images/hero-bg.jpeg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-overlay-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.hero-content-home {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero-content-home h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    color: var(--white);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.2);
}

.hero-content-home p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.6;
    color: #800000;
    text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.85) 100%);
    padding: 1rem 2rem;
    border-radius: 10px;
    display: inline-block;
}

.hero-buttons-home {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 16px 40px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.7s ease-out;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.4);
    background: linear-gradient(135deg, #660000 0%, #800000 100%);
}

.btn-hero-secondary {
    padding: 16px 40px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.7s ease-out;
    font-family: 'Montserrat', sans-serif;
}

.btn-hero-secondary:hover {
    background: var(--white);
    color: #800000;
    transform: translateY(-3px);
}

/* About Snapshot Section */
.about-snapshot {
    padding: 5rem 0;
    background: var(--white);
}

.about-snapshot-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-snapshot-content h2 {
    color: #800000;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-snapshot-content p {
    color: #4a0000;
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0;
}

/* Programs Preview Section */
.programs-preview {
    padding: 5rem 0;
    background: rgba(128, 0, 0, 0.02);
}

.section-title-home {
    color: #800000;
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle-home {
    color: #4a0000;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.programs-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.program-card-home {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.08);
    transition: all 0.7s ease-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15);
}

.program-icon-home {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.5s ease-out;
}

.program-card-home:hover .program-icon-home {
    transform: scale(1.1);
}

.program-card-home h3 {
    color: #800000;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.program-desc-home {
    color: #4a0000;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.program-details-home {
    margin-bottom: 1.5rem;
    color: #4a0000;
}

.program-details-home p {
    margin: 0.5rem 0;
}

.btn-program-home {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    transition: all 0.5s ease-out;
    font-family: 'Montserrat', sans-serif;
}

.btn-program-home:hover {
    background: linear-gradient(135deg, #660000 0%, #800000 100%);
    transform: translateY(-2px);
}

.btn-view-all {
    display: inline-block;
    padding: 14px 32px;
    background: var(--white);
    color: #800000;
    text-decoration: none;
    border: 2px solid #800000;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.5s ease-out;
    font-family: 'Montserrat', sans-serif;
}

.btn-view-all:hover {
    background: #800000;
    color: var(--white);
    transform: translateY(-2px);
}

/* Stats Section */
.stats-section-home {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(128, 0, 0, 0.05) 0%, rgba(102, 0, 0, 0.03) 100%);
}

.stats-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item-home {
    text-align: center;
}

.stat-number-home {
    font-size: 4rem;
    font-weight: 800;
    color: #800000;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.stat-label-home {
    font-size: 1.2rem;
    color: #4a0000;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

/* Why Choose Section */
.why-choose-section {
    padding: 5rem 0;
    background: var(--white);
}

.features-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-item-home {
    text-align: center;
    padding: 2rem;
}

.feature-icon-home {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.5s ease-out;
}

.feature-item-home:hover .feature-icon-home {
    transform: scale(1.1) rotate(5deg);
}

.feature-item-home h3 {
    color: #800000;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

.feature-item-home p {
    color: #4a0000;
    line-height: 1.7;
    margin: 0;
}

/* Gallery Preview */
.gallery-preview-home {
    padding: 5rem 0;
    background: rgba(128, 0, 0, 0.02);
}

.gallery-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gallery-item-preview {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.7s ease-out;
}

.gallery-item-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease-out;
}

.gallery-item-preview:hover img {
    transform: scale(1.1);
}

.gallery-overlay-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(128, 0, 0, 0.85) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.gallery-item-preview:hover .gallery-overlay-preview {
    opacity: 1;
}

.gallery-overlay-preview span {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

/* CTA Section */
.cta-section-home {
    padding: 5rem 0;
    background: linear-gradient(135deg, #800000 0%, #4a0000 100%);
}

.cta-content-home {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content-home h2 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-content-home p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
}

.cta-buttons-home {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-home {
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    transition: all 0.7s ease-out;
    font-family: 'Montserrat', sans-serif;
}

.btn-cta-primary-home {
    background: var(--white);
    color: #800000;
    border: 2px solid var(--white);
}

.btn-cta-primary-home:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-cta-secondary-home {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-cta-secondary-home:hover {
    background: var(--white);
    color: #800000;
    transform: translateY(-3px);
}

/* Responsive Home Page */
@media (max-width: 992px) {
    .programs-grid-home,
    .features-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid-preview {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content-home h1 {
        font-size: 2.5rem;
    }
    
    .hero-content-home p {
        font-size: 1.1rem;
    }
    
    .about-snapshot-content h2 {
        font-size: 2rem;
    }
    
    .about-snapshot-content p {
        font-size: 1rem;
    }
    
    .section-title-home {
        font-size: 2rem;
    }
    
    .programs-grid-home,
    .features-grid-home,
    .gallery-grid-preview {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-home {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number-home {
        font-size: 3rem;
    }
    
    .cta-content-home h2 {
        font-size: 2rem;
    }
    
    .cta-content-home p {
        font-size: 1.1rem;
    }
    
    .cta-buttons-home {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-home {
        width: 100%;
        max-width: 300px;
    }
}

/* Admin Dashboard Styles - Premium Design */
.admin-body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background: rgba(128, 0, 0, 0.02);
    overflow-x: hidden;
    overflow-y: visible;
    height: auto;
    min-height: 100vh;
    position: relative;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Left Sidebar */
/* Sidebar overlay - Hidden on desktop by default */
.sidebar-overlay {
    display: none !important;
}

.admin-sidebar {
    width: 280px;
    background: linear-gradient(135deg, #800000 0%, #4a0000 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease-out;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.admin-sidebar.collapsed {
    width: 80px;
}

.admin-sidebar.collapsed .nav-text,
.admin-sidebar.collapsed .logo-text {
    display: none;
}

.admin-sidebar.collapsed .nav-item {
    justify-content: center;
}

.sidebar-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
}

.sidebar-toggle {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease-out;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease-out;
    cursor: pointer;
    font-weight: 400;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-left: 4px solid var(--white);
    font-weight: 500;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

.nav-group {
    margin: 0.5rem 0;
}

.nav-group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.nav-group-header:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.nav-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s ease-out;
}

.nav-group.expanded .nav-arrow {
    transform: rotate(180deg);
}

.nav-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.nav-group.expanded .nav-submenu {
    max-height: 500px;
}

.nav-submenu .nav-item {
    padding-left: 3.5rem;
    font-size: 0.9rem;
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logout-item {
    color: rgba(255, 255, 255, 0.9);
}

.logout-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Main Content Area */
.admin-main {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.5s ease-out;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 100vh;
    height: auto;
    width: calc(100% - 280px);
}

.admin-sidebar.collapsed ~ .admin-main {
    margin-left: 80px;
}

/* Top Bar */
.admin-topbar {
    background: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(128, 0, 0, 0.1);
    width: 100%;
}

.admin-header {
    background: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(128, 0, 0, 0.1);
    width: 100%;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #800000;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Mobile Menu Toggle Button (for topbar) */
.mobile-menu-toggle-admin {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle-admin span {
    display: block;
    width: 24px;
    height: 3px;
    background: #800000;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle-admin.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle-admin.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-menu-toggle-admin.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.notification-btn {
    position: relative;
    background: transparent;
    border: none;
    color: #800000;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease-out;
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #800000;
    color: var(--white);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.profile-name {
    font-weight: 500;
    color: #800000;
}

/* Admin Content */
.admin-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: calc(100vh - 80px);
    width: 100%;
    max-height: none; /* Changed: Remove height constraint to prevent clipping */
}

.content-page {
    display: none;
    overflow: visible;
}

.content-page.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
    overflow: visible;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.card-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(128, 0, 0, 0.1);
}

.card-header-admin h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #800000;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Stats Grid */
.stats-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    overflow: visible;
}

.stat-card-admin {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem !important; /* Consistent padding all around */
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.08);
    display: flex !important;
    align-items: flex-start !important;
    gap: 1.5rem;
    transition: all 0.5s ease-out;
    overflow: visible !important;
    min-height: 150px !important; /* Increased height for more space */
    position: relative;
}

.stat-card-admin:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(128, 0, 0, 0.15);
}

.stat-icon-admin {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    flex-shrink: 0 !important;
    margin-top: 0.5rem !important;
    flex-grow: 0 !important;
}

.stat-info-admin {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    flex: 1;
    min-width: 0;
    overflow: visible !important;
    padding: 0.5rem 0 !important; /* Top and bottom padding */
}

.stat-value-admin {
    font-size: 2.5rem !important;
    font-weight: 600;
    color: #800000;
    margin: 0 !important;
    padding: 0.5rem 0 0.5rem 0 !important; /* Top and bottom padding for space */
    font-family: 'Poppins', sans-serif;
    line-height: 1.2 !important; /* Normal line-height */
    overflow: visible !important;
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    text-overflow: clip !important;
    white-space: normal !important;
    transform: translateY(0) !important; /* Reset any transforms */
}

.stat-label-admin {
    font-size: 1rem;
    color: #4a0000;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    display: block;
}

/* Buttons */
.btn-admin-primary {
    padding: 12px 24px;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.5s ease-out;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.btn-admin-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.3);
    background: linear-gradient(135deg, #660000 0%, #800000 100%);
}

.btn-admin-secondary {
    padding: 12px 24px;
    background: var(--white);
    color: #800000;
    border: 2px solid #800000;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.5s ease-out;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.btn-admin-secondary:hover {
    background: #800000;
    color: var(--white);
    transform: translateY(-2px);
}

/* Forms */
.form-group-admin {
    margin-bottom: 1.5rem;
}

.form-group-admin label {
    display: block;
    margin-bottom: 0.5rem;
    color: #800000;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-input-admin {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(128, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    color: #4a0000;
    transition: all 0.3s ease-out;
    font-family: 'Poppins', sans-serif;
}

.form-input-admin:focus {
    outline: none;
    border-color: #800000;
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.1);
}

/* Tables */
.table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    min-width: 800px; /* Ensure table doesn't shrink too much */
}

/* Mobile responsive tables */
@media (max-width: 768px) {
    .table-container {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    .admin-table {
        font-size: 0.85rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem 0.4rem;
        white-space: nowrap;
    }
    
    .admin-table th:first-child,
    .admin-table td:first-child {
        position: sticky;
        left: 0;
        background: white;
        z-index: 1;
    }
}

.admin-table thead {
    background: rgba(128, 0, 0, 0.1);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #800000;
    font-size: 0.95rem;
    border-bottom: 2px solid rgba(128, 0, 0, 0.2);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(128, 0, 0, 0.1);
    color: #4a0000;
}

.admin-table tbody tr:hover {
    background: rgba(128, 0, 0, 0.05);
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.active {
    background: rgba(128, 0, 0, 0.1);
    color: #800000;
}

.status-badge.new {
    background: rgba(128, 0, 0, 0.15);
    color: #800000;
}

.action-btn {
    background: transparent;
    border: none;
    color: #800000;
    cursor: pointer;
    padding: 8px;
    margin: 0 3px;
    border-radius: 5px;
    transition: all 0.3s ease-out;
}

.action-btn:hover {
    background: rgba(128, 0, 0, 0.1);
}

.action-btn.delete-btn:hover {
    background: rgba(128, 0, 0, 0.2);
    color: #660000;
}

/* Image Preview */
.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: rgba(128, 0, 0, 0.05);
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(128, 0, 0, 0.8);
    color: var(--white);
    padding: 0.3rem;
    font-size: 0.75rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.gallery-empty-state {
    text-align: center;
    padding: 3rem;
    color: #4a0000;
}

/* Gallery Management */
.filter-bar-admin {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn-admin {
    padding: 10px 20px;
    background: var(--white);
    color: #800000;
    border: 2px solid rgba(128, 0, 0, 0.2);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease-out;
    font-family: 'Poppins', sans-serif;
}

.filter-btn-admin:hover {
    border-color: #800000;
    background: rgba(128, 0, 0, 0.05);
}

.filter-btn-admin.active {
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    border-color: #800000;
}

.gallery-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.gallery-item-admin {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    background: rgba(128, 0, 0, 0.05);
}

.gallery-item-admin img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay-admin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(128, 0, 0, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.gallery-item-admin:hover .gallery-overlay-admin {
    opacity: 1;
}

.category-select {
    width: 100%;
    padding: 8px;
    border: none;
    border-radius: 5px;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
}

.gallery-actions {
    display: flex;
    gap: 0.5rem;
}

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(128, 0, 0, 0.3);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #800000;
    background: rgba(128, 0, 0, 0.02);
}

.upload-area i {
    font-size: 3rem;
    color: #800000;
    margin-bottom: 1rem;
}

.upload-area p {
    color: #4a0000;
    margin-bottom: 1rem;
}

/* Modal */
.modal-admin {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content-admin {
    background: var(--white);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(128, 0, 0, 0.3);
}

.modal-header-admin {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid rgba(128, 0, 0, 0.1);
}

.modal-header-admin h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #800000;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #800000;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
}

.modal-close:hover {
    background: rgba(128, 0, 0, 0.1);
    border-radius: 50%;
}

.modal-body-admin {
    padding: 1.5rem;
}

/* Content Forms */
.content-form {
    margin-top: 1rem;
}

.stats-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(128, 0, 0, 0.6);
}

/* Success Notification */
.success-notification {
    position: relative;
    top: 100px;
    right: 2rem;
    background: linear-gradient(135deg, #800000 0%, #660000 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 3000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.5s ease-out;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.success-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.success-notification i {
    font-size: 1.2rem;
}

/* Responsive Admin */
@media (max-width: 992px) {
    /* Only apply transform on desktop/tablet, not mobile */
    .admin-sidebar:not(.mobile-open) {
        transform: translateX(-100%);
    }
    
    .admin-sidebar.active:not(.mobile-open) {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .stats-grid-admin {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-input-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Toggle Button - Show on mobile */
    .mobile-menu-toggle-admin {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 0 !important;
        gap: 5px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .mobile-menu-toggle-admin span {
        display: block !important;
        width: 24px !important;
        height: 3px !important;
        background: #800000 !important;
        border-radius: 2px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Hide sidebar toggle button inside sidebar on mobile */
    .sidebar-toggle {
        display: none !important;
    }
    
    /* Admin Sidebar Mobile - Hide by default, show as overlay */
    .admin-sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.3s ease-out;
        z-index: 10000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }
    
    .admin-sidebar.mobile-open {
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    .admin-sidebar.collapsed {
        left: -80px;
    }
    
    /* Admin Main - Full width on mobile */
    .admin-main {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    /* Sidebar overlay backdrop */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    /* Topbar adjustments */
    .admin-topbar {
        padding: 1rem 1.5rem;
        position: sticky !important; /* Override header:not() rule */
        top: 0;
        z-index: 10001; /* Above sidebar */
    }
    
    .topbar-left {
        gap: 1rem;
    }
    
    .page-title {
        font-size: 1.4rem;
    }
    
    /* Content adjustments */
    .admin-content {
        padding: 1rem;
    }
    
    .stats-grid-admin {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-grid-admin {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Cards and forms */
    .content-card {
        padding: 1rem;
    }
    
    .card-header-admin {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .card-header-admin h2 {
        font-size: 1.3rem;
    }
    
    /* Match cards */
    .matches-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Modals */
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 1rem auto;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    /* Tables - horizontal scroll */
    .table-container {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
    
    /* Buttons - larger touch targets */
    .btn-admin-primary,
    .btn-admin-secondary {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Form inputs */
    .form-input-admin {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Notification position */
    .admin-notification {
        right: 10px;
        left: 10px;
        max-width: calc(100% - 20px);
    }
}

/* Print Styles */
@media print {
    header {
        position: relative;
    }
    
    .hero {
        height: auto;
        min-height: 400px;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #E9ECEF;
    }
}
