/* DHSK College Gym - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    /* ── FRONTEND DARK THEME ── */
    --gym-bg: #0f172a;
    --gym-surface: #1e293b;
    --gym-surface-hover: #334155;
    --gym-primary: #fb923c; /* Neon Orange */
    --gym-primary-glow: rgba(251, 146, 60, 0.3);
    --gym-secondary: #facc15; /* Neon Yellow */
    --gym-accent: #38bdf8; /* Sky Blue */
    --gym-text: #f8fafc;
    --gym-text-muted: #94a3b8;
    --gym-border: rgba(255, 255, 255, 0.1);
    --gym-glass: rgba(30, 41, 59, 0.7);
    --gym-glass-blur: blur(12px);
    
    /* ── ADMIN THEME (Existing) ── */
    --admin-primary: #6366f1;
    --admin-secondary: #4f46e5;
    --admin-bg: #f8fafc;
    --admin-card-bg: #ffffff;
    --admin-border: #e2e8f0;
    --admin-text: #1e293b;
    --admin-text-muted: #64748b;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--gym-text);
    background-color: var(--gym-bg);
    padding-top: 80px;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Admin body overrides - no top padding, handled by layout */
body.admin-body {
    padding-top: 0;
    background: #f0f4ff;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: #1e293b; /* Dark blue-gray for visibility */
}

body.admin-body h1, 
body.admin-body h2, 
body.admin-body h3, 
body.admin-body h4, 
body.admin-body h5, 
body.admin-body h6 {
    color: #1e293b !important;
}

body.admin-body p, 
body.admin-body span, 
body.admin-body label, 
body.admin-body td, 
body.admin-body th {
    color: #1e293b;
}

body.admin-body .text-muted {
    color: #64748b !important;
}

/* Specific fix for white-on-white headings in some admin sections */
.admin-card h1, .admin-card h2, .admin-card h3 {
    color: #1e293b !important;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}

[class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .col-md-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    .col-md-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
}

@media (min-width: 992px) {
    .col-lg {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
    }
}

.section {
    padding: 8rem 0;
    position: relative;
}

/* Header Styles */
.header {
    background: var(--gym-glass);
    backdrop-filter: var(--gym-glass-blur);
    -webkit-backdrop-filter: var(--gym-glass-blur);
    color: white;
    padding: 0.75rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--gym-border);
    transition: all 0.3s ease;
}

/* ── RESPONSIVE OVERRIDES ── */
@media (max-width: 991px) {
    .header .container {
        padding: 0 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--gym-primary);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.2rem;
        padding: 10px 0;
    }

    .nav-menu a:hover, .nav-menu a.active {
        color: #ffffff !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
        transform: scale(1.1);
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-header {
        display: flex !important;
        width: 100%;
        justify-content: flex-end;
        padding: 0 20px;
        margin-bottom: 2rem;
    }

    .mobile-close-btn {
        background: transparent;
        border: none;
        color: white;
        font-size: 2rem;
        cursor: pointer;
    }

    .mobile-user-item {
        display: block !important;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .promo-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* User Section Styles */
.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.welcome-text {
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    opacity: 0.9;
}

.mobile-user-section {
    display: none; /* Hide mobile user section on desktop */
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.5px;
}

.logo i {
    color: var(--gym-primary);
    filter: drop-shadow(0 0 8px var(--gym-primary-glow));
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--gym-text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--gym-primary);
    text-shadow: 0 0 10px var(--gym-primary-glow);
}

/* Membership Card */
.membership-card {
    background: var(--gym-surface);
    border: 1px solid var(--gym-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.membership-card.featured {
    border: 2px solid var(--gym-primary);
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 0 30px var(--gym-primary-glow);
}

.membership-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gym-primary);
    margin-bottom: 0.5rem;
}

.plan-duration {
    color: var(--gym-text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
    text-align: left;
}

.plan-features li {
    margin-bottom: 1rem;
    color: var(--gym-text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plan-features li i {
    color: var(--gym-secondary);
}

.login-btn, .user-btn {
    background: linear-gradient(135deg, var(--gym-primary) 0%, #f97316 100%);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--gym-primary-glow);
    text-decoration: none !important;
}

.login-btn:hover, .user-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gym-primary-glow);
    filter: brightness(1.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gym-primary) 0%, #f97316 100%);
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--gym-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gym-primary-glow);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--gym-primary);
    color: var(--gym-primary);
}

.btn-secondary:hover {
    background: var(--gym-primary);
    color: white;
}

/* Glass Card */
.glass-card {
    background: var(--gym-glass);
    backdrop-filter: var(--gym-glass-blur);
    -webkit-backdrop-filter: var(--gym-glass-blur);
    border: 1px solid var(--gym-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.3s ease;
    margin-bottom: 2rem; /* Add spacing between vertical cards */
    width: 100%;
}

.glass-card:hover {
    background: var(--gym-surface-hover);
    transform: translateY(-5px);
    border-color: var(--gym-primary);
}

/* ── HOME PAGE SECTIONS ── */

/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-content h1 span {
    color: var(--gym-primary);
    -webkit-text-stroke: 1px var(--gym-primary);
    text-shadow: 0 0 20px var(--gym-primary-glow);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gym-text-muted);
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--gym-surface);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--gym-border);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gym-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gym-text-muted);
}

/* Promo Card */
.promo-card {
    background: linear-gradient(135deg, var(--gym-surface) 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: center;
    border: 1px solid var(--gym-border);
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--gym-primary);
    filter: blur(100px);
    opacity: 0.1;
}

.promo-content h2 {
    color: var(--gym-secondary);
    margin-bottom: 1rem;
}

.promo-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.schedule-table th {
    padding: 1rem;
    text-align: left;
    color: var(--gym-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.schedule-table td {
    padding: 1.25rem 1rem;
    background: var(--gym-surface);
}

.schedule-table tr td:first-child {
    border-radius: 10px 0 0 10px;
    font-weight: 700;
    color: var(--gym-primary);
}

.schedule-table tr td:last-child {
    border-radius: 0 10px 10px 0;
}

/* Ensure row centering */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    justify-content: center;
}

.col-md-4, .col-md-5, .col-md-6, .col-md-7 {
    padding-left: 15px;
    padding-right: 15px;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gym-primary);
    border-radius: 2px;
}

/* Footer Styles */
.footer {
    background: #070b14;
    color: var(--gym-text);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--gym-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: var(--gym-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gym-surface);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--gym-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--gym-primary-glow);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul a {
    color: var(--gym-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul a:hover {
    color: var(--gym-primary);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    background: var(--gym-surface);
    border: 1px solid var(--gym-border);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: white;
    outline: none;
}

.newsletter-form button {
    background: var(--gym-primary);
    color: white;
    border: none;
    padding: 0 1.25rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #f97316;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gym-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--gym-text-muted);
    font-size: 0.85rem;
}
.user-menu {
    position: relative;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-btn i {
    font-size: 1.1rem;
}

.user-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1000;
    border: 1px solid #e9ecef;
    overflow: hidden;
    top: 100%;
    margin-top: 0.5rem;
}

.user-dropdown-content.show {
    display: block;
}

.user-dropdown-content a {
    color: #2c3e50;
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f8f9fa;
}

.user-dropdown-content a:last-child {
    border-bottom: none;
}

.user-dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #667eea;
}

.user-dropdown-content hr {
    margin: 0;
    border: none;
    border-top: 1px solid #e9ecef;
}

.logout-link {
    color: #e74c3c !important;
}

.logout-link:hover {
    background-color: #f8d7da !important;
    color: #721c24 !important;
}

/* Mobile Responsive for User Dropdown */
@media (max-width: 768px) {
    .user-name {
        display: none;
    }
    
    .user-btn {
        padding: 0.5rem;
    }
    
    .user-dropdown-content {
        min-width: 180px;
        right: -10px;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Legacy Frontend Styles Removed to prevent theme conflicts */


/* ====================================================
   ADMIN PANEL - PREMIUM THEME
   ==================================================== */

:root {
    --admin-primary:    #4361ee;
    --admin-secondary:  #3a0ca3;
    --admin-accent:     #f72585;
    --admin-success:    #06d6a0;
    --admin-warning:    #ffd166;
    --admin-danger:     #ef233c;
    --admin-sidebar-bg: #0f172a;
    --admin-sidebar-w:  240px;
    --admin-header-h:   64px;
    --admin-text-muted: #94a3b8;
    --admin-border:     #e2e8f0;
    --admin-bg:         #f0f4ff;
    --admin-card-bg:    #ffffff;
    --shadow-sm:        0 1px 3px rgba(0,0,0,0.08);
    --shadow-md:        0 4px 16px rgba(67,97,238,0.10);
    --shadow-lg:        0 8px 32px rgba(67,97,238,0.15);
    --radius-sm:        8px;
    --radius-md:        14px;
    --radius-lg:        20px;
}

/* ── GLOBAL ADMIN WRAPPERS ── */
.container-fluid {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

/* Standard Card Overrides */
.card {
    background: var(--admin-card-bg);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--admin-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 0;
}

.card-header {
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--admin-border);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #1e293b;
    letter-spacing: -0.3px;
}

/* Form Layouts */
.form-group {
    margin-bottom: 1.5rem;
}

.form-text {
    font-size: 0.75rem;
    margin-top: 0.4rem;
    color: var(--admin-text-muted);
}

/* ── HEADER ── */
.admin-header {
    position: fixed;
    top: 0;
    left: var(--admin-sidebar-w);
    right: 0;
    height: var(--admin-header-h);
    background: #ffffff;
    border-bottom: 1px solid var(--admin-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 1100;
    gap: 1rem;
}

.admin-header .header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-header .brand-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.admin-header .brand-title i {
    -webkit-text-fill-color: var(--admin-primary);
    font-size: 1.3rem;
}

.admin-header .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-user-info span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}

.admin-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--admin-primary) 0%, var(--admin-secondary) 100%);
    color: white;
    text-decoration: none;
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(67,97,238,0.3);
}

.btn-logout:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(67,97,238,0.4);
    color: white;
}

.mobile-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: #475569;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease;
}

.mobile-sidebar-toggle:hover {
    background: #f1f5f9;
}

/* Flash messages container */
.flash-messages-container {
    position: fixed;
    top: calc(var(--admin-header-h) + 1rem);
    right: 1.5rem;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 380px;
    width: 100%;
}

.flash-messages-container .alert {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 0.85rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    animation: slideInRight 0.35s ease;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── SIDEBAR ── */
.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: var(--admin-sidebar-w);
    height: 100vh;
    background: var(--admin-sidebar-bg);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1050;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    scrollbar-width: thin;
    scrollbar-color: #1e293b transparent;
    padding-bottom: 2rem;
}

.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 2px; }

/* Sidebar branding */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0 1.25rem;
    height: var(--admin-header-h);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    position: sticky;
    top: 0;
    background: var(--admin-sidebar-bg);
    z-index: 100;
}

.brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(67,97,238,0.4);
}

.brand-text {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: -0.2px;
}

/* Sidebar nav */
.sidebar-nav {
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
}

.sidebar-nav .nav-label {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: rgba(255, 255, 255, 0.4) !important;
    text-transform: uppercase;
    user-select: none;
    font-family: 'Inter', sans-serif;
}

.sidebar-nav li {
    padding: 0 0.75rem;
    margin-bottom: 2px;
}

.sidebar-nav li.nav-label {
    padding: 1.2rem 1.5rem 0.4rem;
    margin-bottom: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1.25rem;
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.2px;
}

.sidebar-nav a span {
    color: inherit !important;
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    flex-shrink: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff !important;
    transform: translateX(4px);
}

.sidebar-nav a:hover i {
    opacity: 1;
    color: #818cf8;
}

.sidebar-nav a.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(79, 70, 229, 0.1));
    color: #ffffff !important;
    font-weight: 600;
    border-left: 3px solid var(--admin-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sidebar-nav a.active i {
    color: #818cf8 !important;
    opacity: 1;
}

.sidebar-nav .view-website-link {
    color: #38bdf8;
}

.sidebar-nav .view-website-link:hover {
    background: rgba(56,189,248,0.1);
    color: #7dd3fc;
}

/* Sidebar overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* ── CONTENT WRAPPER ── */
.content-wrapper {
    margin-left: var(--admin-sidebar-w);
    margin-top: var(--admin-header-h);
    min-height: calc(100vh - var(--admin-header-h));
    background: var(--admin-bg);
    padding: 1.75rem;
}

/* ── ADMIN CONTENT CARD ── */
.admin-content {
    background: var(--admin-card-bg);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--admin-border);
}

/* ── PAGE HEADER (inside content) ── */
.admin-content .page-header {
    background: linear-gradient(135deg, var(--admin-primary) 0%, var(--admin-secondary) 100%);
    color: white;
    padding: 1.25rem 1.75rem;
    margin: -1.75rem -1.75rem 1.75rem;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    position: relative;
    overflow: hidden;
}

.admin-content .page-header::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -5%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    pointer-events: none;
}

.admin-content .page-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 0.3rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.admin-content .page-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0;
    font-weight: 500;
}

/* ── ADMIN CARD ── */
.admin-card {
    background: var(--admin-card-bg);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--admin-border);
    transition: box-shadow 0.25s ease;
}

.admin-card:hover {
    box-shadow: var(--shadow-md);
}

.admin-card h2 {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-card h2 i {
    color: var(--admin-primary);
}

/* ── TABLES ── */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.admin-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 2px solid var(--admin-border);
}

.admin-table th.text-right, .admin-table td.text-right {
    text-align: right;
}

.admin-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

.admin-table tbody tr {
    transition: background 0.15s ease;
}

.admin-table tbody tr:hover {
    background: #f8faff;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--admin-primary), var(--admin-secondary));
    color: white !important;
    box-shadow: 0 4px 12px rgba(67,97,238,0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(67,97,238,0.4);
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569 !important;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
}

.btn-danger {
    background: linear-gradient(135deg, #ef233c, #c1121f);
    color: white;
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.25s ease;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(239,35,60,0.3);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, #06d6a0, #028a5b);
    color: white;
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.25s ease;
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(6,214,160,0.3);
    color: white;
}

.btn-edit {
    background: linear-gradient(135deg, #ffd166, #f9a825);
    color: #1a1a1a;
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.25s ease;
}

.btn-edit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255,209,102,0.4);
    color: #1a1a1a;
}

/* ── FORMS ── */
.form-control {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid var(--admin-border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fafbff;
    color: #1e293b;
}

.form-control:focus {
    outline: none;
    border-color: var(--admin-primary);
    box-shadow: 0 0 0 3px rgba(67,97,238,0.12);
    background: white;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

/* ── ADDITIONAL UTILITIES ── */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 0.75rem;
}

/* ── GALLERY STYLES ── */
.gallery-card {
    padding: 0;
    overflow: hidden;
}

.gallery-card .image-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.gallery-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover .image-wrapper img {
    transform: scale(1.08);
}

.gallery-card .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .image-overlay {
    opacity: 1;
}

.gallery-card .card-details {
    padding: 1rem;
}

.gallery-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    color: #1e293b;
}

.gallery-card p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.gallery-card .date {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* ── TRAINER STYLES ── */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.user-id {
    font-size: 0.7rem;
    color: #94a3b8;
}

.contact-info, .expertise-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item {
    font-size: 0.8rem;
    color: #64748b;
}

.info-item i {
    width: 14px;
    margin-right: 0.25rem;
}

.specialization {
    font-weight: 600;
    font-size: 0.85rem;
    color: #475569;
}

.experience {
    font-size: 0.75rem;
    color: #94a3b8;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 8px;
}

/* ── EMPTY STATE ── */
.empty-state, .empty-table-state {
    padding: 4rem 2rem;
    text-align: center;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 2px dashed #e2e8f0;
}

.empty-state i, .empty-table-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

/* ── BADGES / STATUS ── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #dbeafe; color: #1e40af; }
.badge-muted   { background: #f1f5f9; color: #475569; }

/* ── MOBILE SIDEBAR TOGGLE ── */
.mobile-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    color: #475569;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: var(--radius-sm);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .admin-header {
        left: 0;
    }
    .admin-sidebar {
        transform: translateX(calc(-1 * var(--admin-sidebar-w)));
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .sidebar-overlay.active {
        display: block;
    }

    .content-wrapper {
        margin-left: 0;
    }

    .mobile-sidebar-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        padding: 1rem;
    }

    .admin-content {
        padding: 1.25rem;
    }

    .admin-content .page-header {
        padding: 1rem 1.25rem;
        margin: -1.25rem -1.25rem 1.25rem;
    }

    .admin-header .admin-user-info span {
        display: none;
    }
}

@media (max-width: 480px) {
    .admin-header {
        padding: 0 1rem;
    }

    .brand-title {
        display: none;
    }
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu.active + .mobile-user-section {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .user-section {
        display: none; /* Hide desktop user section on mobile */
    }
    
    .welcome-text {
        font-size: 0.8rem;
        display: none; /* Hide welcome text on mobile to save space */
    }
    
    .user-section .login-btn,
    .user-section .logout-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .mobile-user-section {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(255,255,255,0.2);
        margin-top: 1rem;
        background: #667eea;
    }
    
    .mobile-user-section .welcome-text {
        display: block !important;
        color: white;
        font-weight: 500;
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }



    .card-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* Flash Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}



/* Contact Page Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info-card, .contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.contact-info-card h3, .contact-form-card h3 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-info-card h3 i, .contact-form-card h3 i {
    color: #667eea;
    margin-right: 0.75rem;
    font-size: 1.3rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item i {
    color: #667eea;
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    width: 20px;
}

.contact-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.social-links h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.social-link.facebook {
    background: #3b5998;
    color: white;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.twitter {
    background: #1da1f2;
    color: white;
}

.social-link.youtube {
    background: #ff0000;
    color: white;
}

.social-link:hover {
    transform: translateY(-3px);
    text-decoration: none;
}

.contact-form {
    margin-top: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.bg-light {
    background-color: #f8f9fa;
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.map-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.map-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Contact Page Mobile Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-info-card, .contact-form-card {
        padding: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .map-content h3 {
        font-size: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ecf0f1;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

.footer-section h3 i {
    margin-right: 0.5rem;
    color: #3498db;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.contact-info i {
    margin-right: 0.5rem;
    width: 16px;
    color: #3498db;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    background: #34495e;
    color: white;
}

.newsletter-form input::placeholder {
    color: #bdc3c7;
}

.newsletter-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #2980b9;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom i {
    color: #e74c3c;
}

/* Footer Social Links */
.footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    background: #34495e;
    color: white;
}

.footer .social-link:hover {
    transform: translateY(-3px);
    background: #3498db;
}

/* Trainers Page Styles */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.trainer-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.trainer-image-container {
    position: relative;
    overflow: hidden;
}

.trainer-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.trainer-card:hover .trainer-image {
    transform: scale(1.1);
}

.trainer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trainer-card:hover .trainer-overlay {
    opacity: 1;
}

.trainer-social {
    display: flex;
    gap: 1rem;
}

.trainer-info {
    padding: 2rem;
}

.trainer-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.trainer-specialization {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.trainer-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: #6c757d;
}

.detail-item i {
    color: #667eea;
    margin-right: 0.75rem;
    width: 16px;
    font-size: 0.9rem;
}

.trainer-bio {
    margin-bottom: 1.5rem;
}

.trainer-bio p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.trainer-actions {
    text-align: center;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: #2c3e50;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.service-price {
    color: #667eea;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Trainers Page Mobile Responsive */
@media (max-width: 768px) {
    .trainers-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .trainer-info {
        padding: 1.5rem;
    }
    
    .trainer-image {
        height: 250px;
    }
}

/* Hero Section Improvements */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item i {
    font-size: 2rem;
    color: #ffd700;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Registration Promotion Section */
.registration-promo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.promo-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-content h2 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.promo-content h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.promo-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.promo-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.promo-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.promo-feature i {
    color: #27ae60;
    font-size: 1.2rem;
}

.promo-actions {
    text-align: center;
}

.promo-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.promo-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .promo-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .promo-content h2 {
        font-size: 1.5rem;
    }
    
    .promo-content h3 {
        font-size: 1.2rem;
    }
    
    .promo-icon {
        font-size: 4rem;
    }
}
