/* Google Fonts - Now loaded via link tag in HTML for better performance (removed @import) */

/* CSS Variables - Cyan/Turquoise Fitness Theme with Advanced Animations */
:root {
    --primary: #4A9EFF;      /* soft blue */
    --primary-dark: #3A8EEF; /* darker blue */
    --primary-light: #8FC5FF; /* light blue */
    --accent: #6BB6FF;       /* soft blue accent */
    --bg-body: #0a1a1f;      /* dark cyan-tinted black background */
    --bg-card: #0d2329;      /* dark cyan-gray for cards */
    --bg-navbar: #001a1a;    /* dark cyan navbar */
    --text-main: #ffffff;    /* white text */
    --text-muted: #a0d4d9;   /* light cyan-gray for muted text */
    --border-soft: rgba(74, 158, 255, 0.2); /* soft blue border */
    --button-text: #000000;  /* black text on cyan buttons */
    --cyan-glow: 0 0 10px rgba(74, 158, 255, 0.2), 0 0 20px rgba(74, 158, 255, 0.15), 0 0 30px rgba(74, 158, 255, 0.1);
    --cyan-glow-strong: 0 0 20px rgba(74, 158, 255, 0.3), 0 0 40px rgba(74, 158, 255, 0.2), 0 0 60px rgba(74, 158, 255, 0.15);
    --cyan-glow-intense: 0 0 15px rgba(74, 158, 255, 0.4), 0 0 30px rgba(74, 158, 255, 0.3), 0 0 45px rgba(74, 158, 255, 0.2);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
    --shadow-md: 0 8px 16px rgba(0,0,0,0.7);
    --shadow-lg: 0 16px 32px rgba(0,0,0,0.9);
    
    /* Admin Dashboard Specific Colors */
    --admin-bg: #0f172a;     /* dark navy */
    --admin-card-bg: rgba(30, 41, 59, 0.6); /* dark slate with transparency */
    --admin-text-primary: #f1f5f9; /* light gray */
    --admin-text-secondary: #94a3b8; /* medium gray */
    --admin-border: rgba(74, 158, 255, 0.1); /* subtle blue border */
    
    /* Background Images URLs */
    --bg-image-1: url('https://totalfusion.com.au/wp-content/uploads/elementor/thumbs/2023_02_08_SF_GymFloor-860-1024x683-1-qep3pa1r6s1f1ajydt3vni5ytgt0pju0tyjufoufzk.jpg');
    --bg-image-2: url('https://plus.unsplash.com/premium_photo-1661580282598-6883482b4c8e?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MXx8cGVyc29uYWwlMjB0cmFpbmVyfGVufDB8fDB8fHww');
    --bg-image-3: url('https://t3.ftcdn.net/jpg/03/17/91/76/360_F_317917629_HjBCyRlH1Hpwwg2HfEbExTdkbyWiGFuN.jpg');
}

/* CSS Variables - Dark Theme (same as default for cyan theme) */
body.theme-dark {
    --bg-body: #0a1a1f;
    --bg-card: #0d2329;
    --bg-navbar: #001a1a;
    --primary: #4A9EFF;
    --primary-dark: #3A8EEF;
    --primary-light: #8FC5FF;
    --accent: #6BB6FF;
    --text-main: #ffffff;
    --text-muted: #a0d4d9;
    --border-soft: rgba(74, 158, 255, 0.2);
    --button-text: #000000;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Hide all scrollbars globally - keep functionality */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Global: Unified scroll ONLY on html/body */
html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    width: 100%;
    height: auto;
    min-height: 100vh;
    position: relative;
    scroll-behavior: auto;
    touch-action: pan-y !important;
    overscroll-behavior-x: none !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* Prevent any element from causing horizontal scroll */
*, *::before, *::after {
    max-width: 100%;
}

/* Ensure form elements don't cause horizontal overflow */
input, select, textarea, button {
    max-width: 100%;
    box-sizing: border-box;
}

/* ============================================
   FORCE UNIFIED SCROLL - NO SEPARATE SCROLL CONTAINERS
   ============================================ */

/* CRITICAL: Ensure NO element creates separate scroll except html/body */
section,
main,
article,
div:not(.training-types-dropdown):not(.accessibility-menu):not(.training-types-container):not(.training-types-list):not(.accordion-content),
.container,
.page-container,
.main-container,
.form-container,
.hero,
.hero-content,
.hero-visual,
.cards,
.features-grid,
.stats-container,
.trainers-grid,
.testimonials-grid {
    overflow: visible !important;
    overflow-x: hidden;
    /* NO overflow-y: auto or overflow-y: scroll */
    /* NO max-height with overflow-y */
}


*::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
    width: 0;
    height: 0;
}

body {
    background: var(--bg-body);
    /* Fast loading - gradients only (images loaded async via JS) */
    background-image: 
        /* Dark overlay gradient - ensures text readability */
        linear-gradient(
            to bottom,
            rgba(10, 26, 31, 0.85) 0%,
            rgba(10, 26, 31, 0.75) 30%,
            rgba(10, 26, 31, 0.80) 70%,
            rgba(10, 26, 31, 0.85) 100%
        ),
        /* Gradient overlay with cyan tint */
        linear-gradient(
            135deg,
            rgba(10, 26, 31, 0.9) 0%,
            rgba(0, 26, 26, 0.8) 50%,
            rgba(10, 26, 31, 0.9) 100%
        );
    
    /* Background sizing and positioning for gradients only initially */
    background-size: cover, cover;
    background-position: center center, center center;
    background-blend-mode: normal, multiply;
    
    background-repeat: no-repeat;
    background-attachment: scroll;
    transition: background-image 0.5s ease-in-out;
    
    color: var(--text-main);
    font-family: "Inter", "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    direction: rtl;
    text-align: right;
    margin: 0;
    min-height: 100vh;
    line-height: 1.7;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    font-size: 16px;
    width: 100%;
}

/* Enhanced background for larger screens (applied after async load) */
@media (min-width: 1200px) {
    body.bg-images-loaded {
        background-size: 
            cover,
            cover,
            1000px 750px,    /* larger trainer image 3 */
            1400px 1050px,   /* larger trainer image 2 */
            cover;
    }
}

/* Images and videos - responsive */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

img {
    display: block;
}

video {
    width: 100%;
    height: auto;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

strong, b {
    font-weight: 600;
    color: var(--text-main);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.35rem;
    }
    
    body {
        font-size: 15px;
        /* Mobile: gradient only for fast loading */
        background-image: 
            linear-gradient(
                to bottom,
                rgba(10, 26, 31, 0.92) 0%,
                rgba(10, 26, 31, 0.88) 50%,
                rgba(10, 26, 31, 0.92) 100%
            );
        
        background-size: cover;
        background-position: center center;
        background-blend-mode: normal;
    }
}

/* Even more simplified for small mobile devices */
@media (max-width: 480px) {
    body {
        /* Mobile: gradient only for fast loading */
        background-image: 
            linear-gradient(
                to bottom,
                rgba(10, 26, 31, 0.95) 0%,
                rgba(10, 26, 31, 0.90) 100%
            );
        
        background-size: cover;
        background-blend-mode: normal;
    }
}

/* Smooth page transitions */
* {
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Link hover animations */
a:not(.btn):not(.nav-links a) {
    position: relative;
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s ease;
}

a:not(.btn):not(.nav-links a)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

a:not(.btn):not(.nav-links a):hover::after {
    width: 100%;
}

a:not(.btn):not(.nav-links a):hover {
    color: var(--primary-dark);
}

/* Global Container */
/* Responsive Container & Typography */
.page-container,
.main-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.25rem 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.25rem 2rem;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
    overflow-x: hidden;
}

h1, .hero-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
}

h2, .section-title {
    font-size: clamp(1.1rem, 2.6vw, 1.5rem);
}

/* Site Header & Navbar - Neon Green Theme */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(74, 158, 255, 0.2);
    color: var(--text-main);
}

/* Navbar for Admin Dashboard */
.admin-dashboard-body .site-header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0.5rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.7rem 1.5rem;
}

.nav-logo {
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.nav-logo:hover i {
    transform: rotate(15deg) scale(1.1);
}

.nav-logo .logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-text {
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-links a {
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(74, 158, 255, 0.1);
}

.nav-links a:hover::after {
    width: 80%;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Legacy nav-toggle - keep for compatibility */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--text-main);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

/* Navigation Link Items */
.nav-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
}

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

.nav-link-item:hover {
    background: rgba(74, 158, 255, 0.1);
    color: var(--primary);
}

/* Legacy nav-links a - keep for compatibility */
.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-btn {
    border: 1px solid rgba(74, 158, 255, 0.3);
    background: transparent;
    color: var(--text-main);
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.nav-btn:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}

/* User Status Badge (Desktop) */
.nav-user-status {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 20px;
    margin-left: auto;
    margin-right: 1rem;
}

.nav-user-avatar-small,
.nav-user-avatar-small-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

.nav-user-email {
    font-size: 0.8rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* Mobile User Section */
.nav-user-section-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(74, 158, 255, 0.2);
    margin-top: 0.5rem;
}

.nav-user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-user-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.nav-user-email-mobile {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.nav-btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #ef4444;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.nav-btn-logout:hover {
    background: rgba(220, 38, 38, 0.2);
    border-color: #ef4444;
}

.nav-btn-logout i {
    font-size: 0.9rem;
}

/* Responsive Navbar - Mobile Menu */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex !important; /* Show hamburger on mobile */
    }

    .nav-toggle {
        display: block;
        font-size: 1.5rem;
        padding: 0.5rem;
        z-index: 101;
    }

    .nav-inner {
        position: relative;
        padding: 0.5rem 0.75rem; /* קטן מ-0.75rem 1rem */
        gap: 0.5rem; /* קטן מ-1rem */
        min-height: 50px; /* גובה מינימלי */
    }

    .nav-logo {
        font-size: 0.75rem; /* קטן מ-0.85rem */
        z-index: 101;
        flex-shrink: 1; /* מאפשר כיווץ */
    }

    .nav-logo i {
        font-size: 1.1rem !important; /* קטן מ-1.5rem */
    }

    .nav-logo .logo-text {
        font-size: 0.9rem !important; /* קטן מ-1.1rem */
        letter-spacing: 0.05em; /* קטן יותר */
    }

    .nav-links {
        position: fixed;
        top: 50px; /* קטן מ-60px */
        right: 0;
        left: 0;
        bottom: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        padding: 2rem 1.5rem;
        gap: 0.5rem;
        display: none;
        overflow-y: auto;
        z-index: 99;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    }

    .nav-links.nav-open {
        display: flex !important;
    }

    .nav-link-item {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        border-bottom: 1px solid rgba(74, 158, 255, 0.1);
        text-align: right;
    }

    .nav-link-item:last-of-type {
        border-bottom: none;
    }

    .nav-links a,
    .nav-links button,
    .nav-links form {
        width: 100%;
        text-align: right;
        padding: 0.75rem 0;
        font-size: 0.95rem;
        font-weight: 500;
        display: block;
        color: var(--text-main) !important;
    }

    .nav-links a:hover {
        color: var(--primary) !important;
        background: rgba(74, 158, 255, 0.1);
        padding-right: 1rem;
    }

    .nav-links > div {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        padding: 0.5rem 0;
        border-top: 1px solid rgba(74, 158, 255, 0.2);
        margin-top: 0.5rem;
    }

    .nav-links > div > span {
        font-size: 0.9rem;
        color: var(--text-main);
        padding: 0.5rem 0;
    }
    
    .nav-user-status {
        display: none; /* Hidden on mobile */
    }

    .nav-btn {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hamburger-menu {
        width: 22px; /* קטן מ-24px */
        height: 18px; /* קטן מ-20px */
        flex-shrink: 0; /* לא מתכווץ */
    }
    
    .hamburger-line {
        height: 2px; /* קטן מ-2.5px */
    }

    .nav-inner {
        padding: 0.4rem 0.5rem; /* עוד יותר קטן */
        gap: 0.4rem; /* עוד יותר קטן */
        min-height: 48px;
    }

    .nav-logo {
        font-size: 0.7rem;
    }

    .nav-logo i {
        font-size: 1rem !important;
    }

    .nav-logo .logo-text {
        font-size: 0.85rem !important; /* קטן מ-1rem */
        letter-spacing: 0.03em;
    }

    .nav-links {
        top: 48px; /* קטן מ-50px */
        padding: 1.5rem 1rem;
        gap: 0.5rem;
    }

    .nav-link-item {
        padding: 0.875rem;
        font-size: 0.95rem;
    }

    .nav-links a,
    .nav-links button,
    .nav-links form {
        font-size: 0.9rem;
        padding: 0.65rem 0;
    }
    
    .nav-user-email {
        max-width: 150px;
    }

    .language-selector {
        margin-right: 0.35rem; /* קטן מ-0.5rem */
        flex-shrink: 0;
    }

    .language-btn {
        padding: 0.3rem 0.5rem; /* קטן מ-0.35rem 0.6rem */
        font-size: 0.7rem; /* קטן מ-0.75rem */
    }

    .language-btn i {
        font-size: 0.8rem; /* קטן יותר */
    }
}

/* Buttons - Cyan Theme with Advanced Animations */
.btn,
button[type="submit"],
.btn-primary {
    background: var(--primary);
    color: var(--button-text);
    border: 2px solid var(--primary);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover,
button[type="submit"]:hover,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
    background: var(--primary);
    color: var(--button-text);
}

.btn:active {
    transform: translateY(-1px);
}

.btn:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

.btn-outline {
    background: transparent;
    border-radius: 8px;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-outline:hover::before {
    left: 100%;
}

.btn-outline:hover {
    transform: translateY(-3px);
    background: rgba(74, 158, 255, 0.1);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
    color: var(--primary);
    border-color: var(--accent);
}

.btn-danger {
    background: var(--primary);
    color: var(--button-text);
    border: 2px solid var(--primary);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.btn-success {
    background: var(--primary);
    color: var(--button-text);
    border: 2px solid var(--primary);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-muted);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(100,116,139,0.6);
}

.btn-danger {
    background-color: var(--accent);
}

.btn-danger:hover {
    background-color: #e11d48;
}

.secondary-button {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background-color: var(--text-muted);
    color: var(--button-text);
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s;
    width: 100%;
    text-align: center;
}

.secondary-button:hover {
    background-color: var(--text-main);
    color: var(--button-text);
    text-decoration: none;
}

/* Hero Section - Dark Premium Theme */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: center;
    padding: 3rem 2rem;
    margin: 2rem 0;
    position: relative;
}

.hero-content {
    text-align: right;
    z-index: 1;
}

.hero h1,
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #00FFFF 0%, #00D9FF 50%, #7FFFD4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
    animation: gradientShift 5s ease infinite, textReveal 1.2s ease-out;
    background-size: 200% 200%;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.35; }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Cards - Fitness Theme */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Glassmorphism Cards */
.card,
.hero-card,
.trainer-card,
.admin-card,
.form-card,
.admin-trainer-card,
.admin-container,
.form-container,
.profile-header-card,
.review-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.card {
    padding: 2rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
    border-color: var(--primary);
}

.card h3 {
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card h3::before {
    content: '💪';
    font-size: 1.8rem;
}

.card:nth-child(2) h3::before {
    content: '📝';
}

.card:nth-child(3) h3::before {
    content: '✅';
}

.card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Page Title - Fitness Theme */
.page-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 2rem;
    margin: 2rem 0;
    font-weight: 700;
}

/* Filters Bar */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
    margin-bottom: 1rem;
    background: var(--bg-card);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-soft);
}

.filters-bar label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.filters-bar select,
.filters-bar input[type="text"],
.filters-bar input[type="number"] {
    padding: 0.35rem 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
    color: var(--text-main);
    min-width: 130px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.filters-bar select:focus,
.filters-bar input:focus {
    outline: none;
    border-color: var(--primary);
}

.filters {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(15, 23, 42, 0.05);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: flex-end;
    border: 1px solid var(--border-soft);
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border-soft);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    background: var(--bg-card);
    color: var(--text-main);
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-group input[type="text"],
.filter-group input[type="number"] {
    cursor: text;
}

.filter-group select:hover,
.filter-group input:hover {
    border-color: var(--primary);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Trainers Grid - Fitness Theme */
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Trainer Cards Slider - HORIZONTAL */
.trainers-slider-container {
    width: 100%;
    position: relative;
    margin-top: 1.5rem;
}

.trainers-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 200ms ease-out;
}

.trainers-slider-track.dragging {
    transition: none;
    cursor: grabbing;
}

.trainers-slider-track.dragging * {
    -webkit-user-select: none;
    user-select: none;
}

.trainers-slider-track.dragging .trainer-card a,
.trainers-slider-track.dragging .trainer-card button {
    pointer-events: none;
}

.trainers-slider-container .trainer-card {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .trainers-slider-container {
        overflow-x: visible;
    }
    .trainers-slider-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        transform: none !important;
        gap: 1.5rem;
    }
    .trainers-slider-container .trainer-card {
        flex: none;
        min-width: auto;
        width: auto;
    }
}

@media (max-width: 767px) {
    .trainers-slider-container {
        overflow-x: hidden;
        touch-action: pan-y;
        overscroll-behavior-x: none;
    }
}

.trainer-card {
    background: var(--bg-card);
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow: hidden;
}

.trainer-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.trainer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(58, 142, 239, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 18px;
    pointer-events: none;
}

.trainer-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(74, 158, 255, 0.2), 0 0 30px rgba(74, 158, 255, 0.1);
}

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

.trainer-card:hover .trainer-card-image {
    transform: scale(1.05);
}

.trainer-card:hover .trainer-name {
    color: var(--primary);
}

.trainer-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.trainer-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 1; /* Above the image */
}

.trainer-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    z-index: 0;
}

/* תמונת פרופיל במאמן - כרטיס קטן */
.trainer-avatar-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    z-index: 0;
    display: block;
}

.trainer-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.trainer-avatar-small {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.trainer-info {
    flex: 1;
}

.trainer-name {
    font-weight: 600;
    transition: color 0.3s ease;
    margin-bottom: 0.15rem;
    color: var(--text-main);
    font-size: 1.1rem;
}

.trainer-city {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.trainer-card h3 {
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    margin-top: 0;
    font-weight: 600;
}

.trainer-info {
    margin: 0.5rem 0;
    color: var(--text-muted);
}

.trainer-info p {
    margin: 0.4rem 0;
    font-size: 0.9rem;
}

.trainer-info strong {
    color: var(--text-main);
}

.trainer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.tag-badge {
    background: rgba(74, 158, 255, 0.08);
    color: var(--primary);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.trainer-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.5rem 0;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.badge-online {
    background-color: rgba(74, 158, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(74, 158, 255, 0.3);
}

.badge-teens {
    background-color: rgba(251, 191, 36, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.badge-women {
    background-color: rgba(244, 63, 94, 0.15);
    color: var(--accent);
    border: 1px solid rgba(244, 63, 94, 0.3);
}

.trainer-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.trainer-actions .btn-primary,
.trainer-actions .btn-outline,
.trainer-actions .btn {
    width: 100%;
    text-align: center;
}

.trainer-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

.trainer-card-actions .btn {
    flex: 1;
    text-align: center;
    transition: all 0.3s ease;
}

.trainer-card-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.2);
}

.verified-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.price {
    font-size: 1.6rem;
    color: var(--secondary);
    font-weight: 700;
    margin: 0.75rem 0;
}

/* Form Styles - Fitness Theme */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.5rem;
    padding-bottom: 0;
    overflow: visible;
    overflow-x: hidden;
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}


/* Make all form cards not clip children by default */
.form-card {
    position: relative;
    overflow: visible;
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
}

/* Training types card should be on top of other cards */
.training-types-card {
    position: relative;
    z-index: 100; /* Increased to ensure dropdown appears above pricing section */
    overflow: visible;
    margin-bottom: 1.5rem; /* Same as other sections, uniform spacing */
}

/* Also add padding-bottom to accordion content in training types */
.training-types-card .accordion-content {
    padding-bottom: 1.5rem !important;
}

/* Pricing card should sit below it */
.pricing-card {
    position: relative;
    z-index: 1;
    overflow: visible !important; /* Force visible - no scroll containers */
    margin-bottom: 1.5rem; /* Same as other sections, uniform spacing */
}

/* ============================================
   REGISTRATION PROGRESS INDICATOR
   ============================================ */

.registration-progress {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    padding: 1.5rem;
    margin-bottom: 2rem;
    overflow: visible;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 1rem;
}

#progressPercentage {
    color: var(--primary);
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.progress-section-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex: 1;
    min-width: 120px;
}

.progress-section-item .section-status-icon {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.progress-section-item.completed .section-status-icon {
    color: #28a745;
    content: "✓";
}

.progress-section-item.in-progress .section-status-icon {
    color: var(--primary);
}

.progress-section-item.not-started .section-status-icon {
    color: var(--text-muted);
}

/* ============================================
   ACCORDION SECTIONS
   ============================================ */

.accordion-section {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    margin-bottom: 1.5rem; /* Uniform spacing - same for all sections */
    overflow: visible;
    position: relative;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
    overflow: visible;
}

.accordion-header:hover {
    background: rgba(74, 158, 255, 0.05);
}

.accordion-header:focus {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
    border-radius: 12px;
}

.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.accordion-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    padding: 0;
}

.accordion-section .section-status-icon {
    font-size: 1.2rem;
    transition: all 0.3s ease;
    color: var(--text-muted);
    min-width: 1.2rem;
    text-align: center;
}

.accordion-section.active .section-status-icon,
.accordion-section.completed .section-status-icon {
    color: var(--primary);
}

.accordion-chevron {
    font-size: 1.5rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    line-height: 1;
}

.accordion-section.active .accordion-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Make sure accordion content is hidden by default */
.accordion-content {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.75rem !important;
}

/* Only show content when section has active class */
.accordion-section.active .accordion-content {
    max-height: 3000px !important;
    padding: 0 1.75rem 1.5rem 1.75rem !important;
    overflow: visible;
}

/* Ensure training types card also starts closed */
.training-types-card .accordion-content {
    max-height: 0 !important;
    padding: 0 1.75rem !important;
    overflow: hidden !important;
}

.training-types-card.active .accordion-content {
    max-height: 3000px !important;
    padding: 0 1.75rem 1.5rem 1.75rem !important;
    overflow: visible !important;
}

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

.accordion-content .form-section-subtitle {
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Sticky Submit Button */
.sticky-submit {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto 1rem auto; /* Top margin for separation, centered */
    position: relative; /* Change from sticky to relative for better control */
    z-index: 10; /* Lower z-index since it's not overlapping */
}

/* ============================================
   RESPONSIVE STYLES - ACCORDION & PROGRESS
   ============================================ */

@media (max-width: 768px) {
    .registration-progress {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .progress-text {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .progress-sections {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .progress-section-item {
        min-width: auto;
        font-size: 0.85rem;
    }
    
    .accordion-header {
        padding: 1.25rem 1.5rem;
    }
    
    .accordion-title {
        font-size: 1.25rem;
    }
    
    .accordion-content {
        padding: 0 1.5rem;
    }
    
    .accordion-section.active .accordion-content {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    
    .sticky-submit {
        bottom: 0.5rem;
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .registration-progress {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .progress-text {
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .progress-bar-container {
        height: 6px;
    }
    
    .progress-sections {
        gap: 0.5rem;
    }
    
    .progress-section-item {
        font-size: 0.8rem;
    }
    
    .progress-section-item .section-status-icon {
        font-size: 1rem;
    }
    
    .accordion-header {
        padding: 1rem 1.25rem;
    }
    
    .accordion-header-left {
        gap: 0.5rem;
    }
    
    .accordion-title {
        font-size: 1.1rem;
    }
    
    .accordion-section .section-status-icon {
        font-size: 1rem;
    }
    
    .accordion-chevron {
        font-size: 1.25rem;
    }
    
    .accordion-content {
        padding: 0 1.25rem;
    }
    
    .accordion-section.active .accordion-content {
        padding: 0 1.25rem 1rem 1.25rem;
    }
    
    /* Uniform spacing for all sections on mobile */
    .accordion-section {
        margin-bottom: 1.25rem; /* Uniform spacing */
    }
    
    .training-types-card {
        margin-bottom: 1.25rem !important; /* Same as others */
    }
    
    .pricing-card {
        margin-bottom: 1.25rem !important; /* Same as others */
    }
    
    /* Submit button separate with spacing */
    .form-container {
        margin-bottom: 2rem !important;
        padding-bottom: 1rem !important;
    }
    
    .sticky-submit {
        margin-top: 0 !important;
        margin-bottom: 1rem !important;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        width: 100%;
        position: relative;
        z-index: 10;
    }
    
    /* תיקון שדות טקסט - מותאם לממוצע */
    .form-group input,
    .form-group select,
    .form-group textarea,
    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px !important; /* Critical: prevents iOS zoom */
        padding: 0.7rem 0.85rem;
        min-height: 44px; /* מינימום למגע */
    }
    
    .form-group {
        margin-bottom: 1.15rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    /* הגדלת accordion header - touch target טוב */
    .accordion-header {
        min-height: 48px;
        padding: 0.9rem 1rem;
    }
    
    .accordion-title {
        font-size: 1.05rem;
    }
    
    /* שיפור Progress Indicator */
    .progress-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .section-name {
        font-size: 0.75rem;
    }
    
    /* הגדלת checkboxes - מתון */
    .training-type-option input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    
    /* כפתור העלאת תמונה */
    .file-upload-btn {
        padding: 1.25rem 0.85rem;
        min-height: 90px;
    }
    
    .file-upload-btn i {
        font-size: 1.75rem;
    }
    
    .file-upload-btn span {
        font-size: 0.9rem;
    }
    
    /* הוספת padding לתחתית */
    .form-container {
        padding-bottom: 1.5rem;
    }
    
}

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

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

.form-group input,
.form-group select,
.form-group textarea,
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #4b5563;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    background-color: #0b1120;
    color: var(--text-main);
    transition: all 0.2s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.45);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="file"] {
    padding: 0.5rem;
    cursor: pointer;
}

.file-upload-btn {
    transition: all 0.2s ease;
}

.file-upload-btn:hover {
    border-color: var(--primary) !important;
    background: rgba(220, 38, 38, 0.05) !important;
}

#imagePreview {
    margin-top: 0.75rem;
}

#previewImg {
    max-width: 200px;
    max-height: 200px;
    border-radius: 0.5rem;
    border: 2px solid var(--border-soft);
    object-fit: cover;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.success-message {
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--accent);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    text-align: center;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.1);
    color: var(--accent);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.auth-links {
    text-align: center;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.auth-links a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-links a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Auth Tabs - Unified Login/Register */
.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-soft);
    padding-bottom: 0;
}

.auth-tab-button {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
}

.auth-tab-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.auth-tab-button:hover {
    color: var(--text-main);
    background: rgba(220, 38, 38, 0.05);
}

.auth-tab-button.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-tab-button.active::after {
    transform: scaleX(1);
}

.auth-tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.auth-tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

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


/* Auth Divider */
.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
    color: var(--text-muted);
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--border-soft);
}

.auth-divider span {
    position: relative;
    padding: 0 15px;
    background: var(--bg-body);
    font-size: 0.9rem;
}

/* Google Auth Button Enhancement */
.google-auth-button {
    transition: all 0.3s ease;
}

.google-auth-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(66, 133, 244, 0.3);
}

/* Form Error Styling */
.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
    animation: slideDown 0.3s ease;
}

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

/* Enhanced Form Input Focus States */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
    outline: none;
}

/* Responsive Auth Tabs */
@media (max-width: 768px) {
    .auth-tabs {
        gap: 0.25rem;
    }

    .auth-tab-button {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }

    .auth-tab-content {
        padding: 0;
    }
}

/* Admin Panel */
/* Admin Container - Dark Premium Theme */
/* ============================================
   PROFESSIONAL ADMIN DASHBOARD STYLES
   ============================================ */

/* Admin Dashboard Body */
.admin-dashboard-body {
    background: #0f172a; /* Dark navy */
    min-height: 100vh;
}

.admin-dashboard-wrapper {
    min-height: 100vh;
    padding-top: 80px; /* Account for navbar */
}

/* Admin Top Bar */
.admin-top-bar {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-top-bar-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.admin-breadcrumb-item {
    color: var(--text-muted);
}

.admin-breadcrumb-item.active {
    color: var(--text-main);
    font-weight: 600;
}

.admin-breadcrumb-separator {
    color: var(--text-muted);
    opacity: 0.5;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-user-name {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.admin-user-badge {
    background: rgba(74, 158, 255, 0.15);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

/* Admin Main Content */
.admin-dashboard-main {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
}

/* Admin Notifications */
.admin-notification {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    border: 1px solid;
}

.admin-notification-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.3);
}

.admin-notification-error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.3);
}

/* Admin Sections */
.admin-section {
    margin-bottom: 3rem;
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.admin-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.admin-section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 400;
}

.admin-section-badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.admin-section-badge-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.admin-section-badge-success {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

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

.admin-stat-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.admin-stat-card:hover {
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.admin-stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.admin-stat-content {
    flex: 1;
}

.admin-stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.admin-stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.admin-stat-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.admin-stat-trend i {
    font-size: 0.75rem;
}

/* Trainer Cards - Professional Design */
.admin-trainer-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(74, 158, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.admin-trainer-card:hover {
    border-color: rgba(74, 158, 255, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.admin-trainer-card-pending {
    border-left: 4px solid #ffc107;
}

.admin-trainer-card-approved {
    border-left: 4px solid #28a745;
}

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

.admin-trainer-identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.admin-trainer-avatar {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 2px solid rgba(74, 158, 255, 0.2);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.admin-trainer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    position: relative;
    z-index: 1;
}

.admin-trainer-avatar-small {
    width: 48px;
    height: 48px;
}

.admin-trainer-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--button-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 12px;
}

.admin-trainer-avatar-small .admin-trainer-avatar-placeholder {
    font-size: 1.2rem;
}

.admin-trainer-identity-info {
    flex: 1;
}

.admin-trainer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.admin-trainer-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-trainer-location,
.admin-trainer-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.admin-trainer-location i,
.admin-trainer-date i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.admin-trainer-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.admin-trainer-status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.admin-trainer-status-approved {
    background: rgba(40, 167, 69, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

/* Trainer Card Body */
.admin-trainer-card-body {
    padding: 1.5rem;
}

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

.admin-trainer-info-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-trainer-info-group-full {
    grid-column: 1 / -1;
}

.admin-info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.admin-info-label i {
    font-size: 0.9rem;
}

.admin-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(74, 158, 255, 0.05);
}

.admin-info-item:last-child {
    border-bottom: none;
}

.admin-info-key {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    min-width: 120px;
}

.admin-info-value {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
    text-align: left;
    flex: 1;
}

.admin-info-value-highlight {
    color: var(--primary);
    font-weight: 700;
}

.admin-link {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Training Types */
.admin-training-types {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-training-type-badge {
    background: rgba(74, 158, 255, 0.1);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

/* Trainer Bio */
.admin-trainer-bio {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border-right: 3px solid var(--primary);
}

/* Quick Info (for approved trainers) */
.admin-trainer-quick-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.admin-quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.admin-quick-info-item i {
    color: var(--primary);
    width: 20px;
    text-align: center;
}

/* Trainer Card Footer */
.admin-trainer-card-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(74, 158, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.admin-trainer-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Admin Buttons */
.admin-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.admin-btn-primary {
    background: var(--primary);
    color: var(--button-text);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.admin-btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 16px rgba(74, 158, 255, 0.2);
    transform: translateY(-1px);
}

.admin-btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(74, 158, 255, 0.3);
}

.admin-btn-secondary:hover {
    background: rgba(74, 158, 255, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.admin-btn-danger {
    background: transparent;
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.admin-btn-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
}

/* Approved Trainers Grid */
.admin-approved-trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Empty State */
.admin-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: 16px;
    border: 1px dashed rgba(74, 158, 255, 0.2);
}

.admin-empty-icon {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.admin-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.admin-empty-description {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Delete Confirmation Modal */
.admin-delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-delete-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.admin-delete-modal-content {
    position: relative;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(74, 158, 255, 0.2);
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.admin-delete-modal-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(74, 158, 255, 0.1);
}

.admin-delete-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: rgba(220, 53, 69, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #dc3545;
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.admin-delete-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.admin-delete-modal-body {
    padding: 2rem;
}

.admin-delete-modal-question {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.admin-delete-modal-trainer-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(74, 158, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(74, 158, 255, 0.2);
}

.admin-delete-modal-warning {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
}

.admin-delete-modal-warning-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #dc3545;
    margin-bottom: 1rem;
}

.admin-delete-modal-warning-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.admin-delete-modal-warning-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-right: 1.5rem;
    position: relative;
}

.admin-delete-modal-warning-list li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: #dc3545;
    font-weight: bold;
}

.admin-delete-modal-warning-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(220, 53, 69, 0.2);
}

.admin-delete-modal-footer {
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(74, 158, 255, 0.1);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .admin-dashboard-main {
        padding: 1.5rem;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .admin-trainer-info-grid {
        grid-template-columns: 1fr;
    }

    .admin-delete-modal {
        padding: 1rem;
    }

    .admin-delete-modal-content {
        max-width: 100%;
    }

    .admin-delete-modal-header,
    .admin-delete-modal-body,
    .admin-delete-modal-footer {
        padding: 1.5rem;
    }

    .admin-delete-modal-footer {
        flex-direction: column;
    }

    .admin-delete-modal-footer .admin-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .admin-top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .admin-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-approved-trainers-grid {
        grid-template-columns: 1fr;
    }

    .admin-trainer-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-trainer-actions {
        flex-direction: column;
    }

    .admin-trainer-actions .admin-btn {
        width: 100%;
        justify-content: center;
    }
}

.admin-container {
    padding: 2rem;
}

.no-trainers {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 2px dashed var(--border-soft);
}

.trainer-request {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.trainer-request:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.2);
    border-color: rgba(0,0,0,0.5);
}

.trainer-request h3 {
    color: var(--text-main);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.trainer-request p {
    margin: 0.5rem 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trainer-request strong {
    color: var(--text-main);
}

.request-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.request-actions button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Trainer Profile Page */
.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.trainer-profile {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-top: 1.25rem;
    border: 1px solid var(--border-soft);
    position: relative;
    overflow: hidden;
}

.trainer-profile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.profile-card {
    background: var(--bg-card);
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    border: 1px solid var(--border-soft);
}

.trainer-profile-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(220, 38, 38, 0.2);
    position: relative;
}

.profile-header-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.trainer-profile-image-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    border: 4px solid var(--primary);
    box-shadow: 0 8px 32px rgba(220, 38, 38, 0.4), 0 0 0 4px rgba(220, 38, 38, 0.1);
    transition: all 0.3s ease;
}

.trainer-profile-image-container:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.5), 0 0 0 6px rgba(220, 38, 38, 0.15);
}

.profile-avatar-large {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin-bottom: 0.75rem;
}

.trainer-profile-large-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-avatar-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    font-size: 4.5rem;
    font-weight: bold;
}

/* תמונת פרופיל במאמן - עמוד פרופיל */
.trainer-profile-image-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.trainer-profile-info {
    flex: 1;
    min-width: 250px;
}

.trainer-profile-info h1 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trainer-location,
.trainer-experience,
.trainer-specialization {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0.5rem 0;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.trainer-profile-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
}

.trainer-profile-details {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-soft);
}

.price-large {
    font-size: 2.5rem;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 1.25rem;
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: rgba(127, 29, 29, 0.1);
    border-radius: 16px;
    border: 2px solid var(--secondary);
}

.training-types,
.social-links {
    margin: 1rem 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.social-link {
    color: var(--primary);
    text-decoration: none;
    margin: 0 0.5rem;
    font-weight: 600;
    transition: color 0.2s;
}

.social-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.trainer-bio {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.05) 0%, rgba(127, 29, 29, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    position: relative;
}

.trainer-bio h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trainer-bio h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}

.trainer-bio p {
    color: var(--text-muted);
    line-height: 1.8;
    white-space: pre-wrap;
    font-size: 1.05rem;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

/* Rating Section Styles */
.rating-section {
    margin-top: 1rem;
    border-top: 1px solid var(--border-soft);
    padding-top: 0.75rem;
}

.rating-section h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-main);
}

.star-row {
    display: flex;
    gap: 0.2rem;
    cursor: pointer;
    direction: rtl;
}

.star-row-small {
    display: flex;
    gap: 0.15rem;
    direction: rtl;
}

.star {
    font-size: 1.3rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: color 0.2s, transform 0.1s;
    user-select: none;
}

.star:hover {
    transform: scale(1.1);
}

.star.filled {
    color: #facc15; /* yellow-400 */
}

.star-row-small .star {
    font-size: 0.9rem;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.trainer-rating {
    margin-bottom: 0.5rem;
}

/* Admin Trainer Cards - Fitness Theme */
.admin-trainer-card {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.admin-card {
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}

.admin-trainer-card.approved {
    border-right: 4px solid var(--secondary);
}

.admin-card-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
}

.admin-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-soft);
}

.admin-trainer-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.admin-trainer-city {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.admin-trainer-details {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.admin-trainer-details > div {
    margin-bottom: 0.5rem;
}

.admin-trainer-bio {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-soft);
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.admin-trainer-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-soft);
    flex-wrap: wrap;
}

.admin-trainer-actions .btn {
    flex: 1;
    min-width: 120px;
}

.admin-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn.danger {
    background-color: var(--accent);
    color: white;
    border-color: var(--accent);
    border-radius: 12px;
}

.btn.danger:hover {
    background-color: #e11d48;
    border-color: #e11d48;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.contact-buttons .btn {
    flex: 1;
    min-width: 200px;
}

/* How It Works Section */
.how-it-works {
    margin: 3rem 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.how-it-works h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Form Fieldset & Legend - Fitness Theme */
fieldset {
    border: 2px solid var(--border-soft);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: rgba(220, 38, 38, 0.02);
    transition: all 0.3s ease;
    overflow: visible;
    position: relative;
}

fieldset:hover {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.04);
}

fieldset legend {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
    padding: 0 1rem;
    margin-bottom: 1rem;
}

/* Form Section Titles */
.form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f9fafb;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(148,163,184,0.3);
    position: relative;
}

.form-section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 1px;
}

        max-width: 100%;
        box-sizing: border-box;
    }
    
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .filters,
    .filters-bar {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .navbar-links {
        width: 100%;
        justify-content: center;
    }
    
    .profile-layout {
        grid-template-columns: 1fr;
    }
    
    .trainer-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .trainer-profile-image-container {
        width: 150px;
        height: 150px;
    }
    
    .contact-buttons .btn {
        width: 100%;
    }
    
    .trainer-actions {
        flex-direction: column;
    }
    
    .trainer-actions .btn-primary,
    .trainer-actions .btn-outline,
    .trainer-actions .btn {
        width: 100%;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .profile-actions .btn-primary,
    .profile-actions .btn-outline,
    .profile-actions .btn {
        width: 100%;
    }
}

/* Training Types Styles - Dark Theme */
.training-types-select {
    position: relative;
    max-width: 420px;
    margin-top: 0.4rem;
}

.training-types-toggle {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 999px;
    border: 1px solid #4b5563;
    padding: 0.35rem 0.9rem;
    background: #0b1120;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
    color: var(--text-main);
}

.training-types-toggle:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.training-types-chevron {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* Exception: Dropdown needs internal scroll */
.training-types-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.98), rgba(26,0,0,0.95));
    border-radius: 1rem;
    border: 1px solid rgba(148,163,184,0.5);
    box-shadow: 0 18px 40px rgba(0,0,0,0.95);
    padding: 0.5rem 0.75rem 0.5rem;
    z-index: 10001; /* Higher than sticky-submit z-index: 100 */
    display: none;
    backdrop-filter: blur(18px);
    max-height: 280px; /* הגבלת גובה מקסימלי - קומפקטי ולא מתנגש עם הכפתור */
    overflow-y: auto; /* OK - dropdown needs internal scroll */
    overflow-x: hidden; /* מונע scroll אופקי */
}

.training-types-dropdown.open {
    display: block;
}

.training-types-search {
    width: 100%;
    margin-bottom: 0.5rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid #4b5563;
    font-size: 0.8rem;
    outline: none;
    background-color: #0b1120;
    color: var(--text-main);
}

.training-types-search:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.45);
}

.training-types-options {
    list-style: none;
    margin: 0;
    padding: 0.15rem 0 0;
}

.training-type-item {
    margin: 0;
    padding: 0;
}

.training-type-option {
    display: flex;
    flex-direction: row-reverse; /* RTL: text right, checkbox left */
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    padding: 0.3rem 0.3rem;
    width: 100%;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--text-main);
}

.training-type-option .option-label {
    flex: 1;
    text-align: right;
    white-space: nowrap;
}

.training-type-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #dc2626;
}

.training-type-option:hover {
    background-color: rgba(0,0,0,0.1);
    border-radius: 0.5rem;
}

.trainer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.35rem;
}

.badge.badge-type {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(0,0,0,0.16);
    color: #fecaca;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.badge.badge-type:hover {
    background: rgba(0,0,0,0.24);
    transform: translateY(-1px);
}

.filters {
    margin-bottom: 1rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-soft);
}

.filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

/* Trainers Filters - Fitness Theme */
.trainers-filters {
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-soft);
}

.filters-row-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: flex-end;
}

.filter-block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.85rem;
}

.filter-block label {
    font-weight: 600;
    color: var(--text-main);
}

.filter-block input,
.filter-block select {
    min-width: 140px;
    max-width: 100%;
    width: 100%;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    border: 1px solid #4b5563;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    background-color: #0b1120;
    color: var(--text-main);
    box-sizing: border-box;
}

.filter-block input:focus,
.filter-block select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.price-range {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.price-range input {
    flex: 1;
    min-width: 80px;
    max-width: 100%;
    box-sizing: border-box;
}

.price-range span {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Glow Pill */
.glow-pill {
    position: relative;
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    background: rgba(127,29,29,0.1);
    display: inline-block;
}

.glow-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(127,29,29,0.35), transparent 60%);
    opacity: 0.9;
    pointer-events: none;
}

/* Trainer Meta with Icons */
.trainer-meta {
    list-style: none;
    padding: 0;
    margin: 0.35rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trainer-meta li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Profile Cover Image */
.profile-cover {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 200px;
    margin-bottom: -64px;
    z-index: 1;
}

.profile-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.2) contrast(1.1) brightness(0.95);
}

.profile-header-card {
    position: relative;
    margin-top: 0;
    padding-top: 4.5rem;
}

.profile-avatar-large {
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    width: 84px;
    height: 84px;
    border-radius: 999px;
    border: 3px solid #000000;
    box-shadow: 0 14px 30px rgba(0,0,0,0.7);
    object-fit: cover;
    z-index: 2;
}

/* Trainer Avatar Placeholder */
.trainer-avatar {
    width: 70px;
    height: 70px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(0,0,0,0.7);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.8);
}

/* Floating Orbs Animation */
.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(40px);
    opacity: 0.4;
    pointer-events: none;
    animation: orbFloat 24s ease-in-out infinite alternate;
}

.orb-1 {
    width: 180px;
    height: 180px;
    background: rgba(74, 158, 255, 0.15);
    top: 8%;
    right: 5%;
    box-shadow: 0 0 80px rgba(74, 158, 255, 0.4), 0 0 120px rgba(107, 182, 255, 0.2);
    animation: cyanPulse 4s ease-in-out infinite, float 6s ease-in-out infinite;
}

.orb-2 {
    width: 220px;
    height: 220px;
    background: rgba(107, 182, 255, 0.12);
    bottom: 12%;
    left: 6%;
    box-shadow: 0 0 100px rgba(74, 158, 255, 0.3), 0 0 150px rgba(107, 182, 255, 0.15);
    animation: cyanPulse 5s ease-in-out infinite, float 8s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(10px); }
    100% { transform: translateY(18px); }
}

/* Floating Particles */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.particle-1 {
    width: 4px;
    height: 4px;
    background: rgba(74, 158, 255, 0.6);
    top: 20%;
    right: 15%;
    animation: particleFloat 15s linear infinite;
    box-shadow: 0 0 10px rgba(74, 158, 255, 0.8);
}

.particle-2 {
    width: 6px;
    height: 6px;
    background: rgba(107, 182, 255, 0.5);
    top: 60%;
    right: 80%;
    animation: particleFloat 20s linear infinite;
    animation-delay: -5s;
    box-shadow: 0 0 15px rgba(107, 182, 255, 0.6);
}

.particle-3 {
    width: 3px;
    height: 3px;
    background: rgba(127, 255, 212, 0.7);
    top: 40%;
    right: 50%;
    animation: particleFloat 18s linear infinite;
    animation-delay: -10s;
    box-shadow: 0 0 8px rgba(127, 255, 212, 0.7);
}

/* Wave Animations */
.wave {
    position: absolute;
    width: 100%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(74, 158, 255, 0.1), transparent);
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.wave-top {
    top: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(74, 158, 255, 0.15) 25%, 
        rgba(107, 182, 255, 0.2) 50%, 
        rgba(74, 158, 255, 0.15) 75%, 
        transparent 100%);
}

/* Trainers Filters - Dark Sporty Theme */
.trainers-filters {
    background: linear-gradient(135deg, rgba(0,0,0,0.96), rgba(26,0,0,0.88));
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 18px 40px rgba(0,0,0,0.9);
    backdrop-filter: blur(18px);
}

/* Form Section Title */
.form-section-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.form-section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* Responsive Styles - Tablet and Mobile */
@media (max-width: 768px) {
    .filters-row-main {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filter-block {
        width: 100%;
        max-width: 100%;
    }

    .filter-block input,
    .filter-block select {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .price-range {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .price-range input {
        flex: 1;
        min-width: 100px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-visual {
        order: -1;
        margin-bottom: 1rem;
    }

    .form-card {
        padding: 1rem 1rem;
    }

    .form-group {
        margin-bottom: 0.6rem;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    form {
        max-width: 100%;
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="tel"],
    textarea,
    select {
        width: 100%;
    }

    .admin-container {
        padding: 1.5rem;
    }

    .trainers-filters {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .form-container {
        padding: 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure all form elements are responsive */
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Flex rows should wrap on mobile */
    .filters-row,
    .filters-row-main {
        flex-wrap: wrap !important;
    }

    /* Increase form section title size on tablet/mobile */
    .form-section-title {
        font-size: 1.25rem;
    }
}

/* Responsive Styles - Mobile (640px and below) */
@media (max-width: 640px) {
    .trainers-grid {
        grid-template-columns: 1fr;
    }

    .trainer-card {
        padding: 0.9rem;
    }

    .trainer-card-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .profile-header-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .admin-card-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-card-actions .btn {
        width: 100%;
        text-align: center;
    }

    .admin-card {
        padding: 0.9rem 1rem;
    }

    .admin-trainer-actions {
        flex-direction: column;
    }

    .admin-trainer-actions .btn {
        width: 100%;
        min-width: auto;
    }

    .trainer-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .trainer-profile-image-container {
        width: 160px;
        height: 160px;
    }
}

/* Responsive Styles - Small Mobile (480px and below) */
@media (max-width: 480px) {
    .page-container,
    .main-container,
    .nav-inner {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .hero-image-container {
        max-width: 100%;
        height: 300px;
        margin: 0 auto;
    }

    /* Increase form section title size on small mobile */
    .form-section-title {
        font-size: 1.4rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .trainer-profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .trainer-profile-image-container {
        width: 150px;
        height: 150px;
    }

    .price-large {
        font-size: 1.8rem;
        padding: 0.5rem 1rem;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-buttons .btn {
        width: 100%;
    }
}

/* Review System Styles */
.profile-section {
    margin-top: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: center;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.review-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    padding: 1rem;
    transition: all 0.2s ease;
}

.review-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-author {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
}

.review-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.review-stars {
    color: #facc15;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.review-text {
    color: var(--text-main);
    line-height: 1.6;
    font-size: 0.9rem;
    white-space: pre-wrap;
}

.review-form {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0,0,0,0.96), rgba(26,0,0,0.88));
    border-radius: 12px;
    border: 1px solid rgba(148,163,184,0.35);
    margin-top: 2rem;
}

.review-form h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.review-form .form-group {
    margin-bottom: 1rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    margin: 0;
    border-radius: 10px;
    padding: 0.4rem 0.6rem;
    border: 1px solid #4b5563;
    background-color: #0b1120;
    color: var(--text-main);
    font-size: 0.85rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 1px rgba(0,0,0,0.45);
}

.review-form textarea {
    resize: vertical;
    min-height: 80px;
}

#reviewMessage {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--secondary);
    min-height: 1.2rem;
}

#reviews-summary {
    color: var(--text-main);
}

/* Footer Styles */
.site-footer {
    background: #000000;
    border-top: 2px solid var(--primary);
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

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

.footer-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(74, 158, 255, 0.6);
}

.footer-title i {
    font-size: 1.8rem;
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid var(--border-soft);
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--button-text);
    transform: translateY(-3px);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: var(--text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--primary);
    padding-right: 0.5rem;
}

.footer-links li a i {
    width: 18px;
    font-size: 0.85rem;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-contact li i {
    color: var(--primary);
    width: 20px;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright,
.footer-made-with {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-made-with {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-main);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
    border-color: var(--primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--button-text);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: #000000;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: floatUp 0.8s ease-out forwards;
    opacity: 0;
}

.stat-card.visible {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
    border-color: var(--primary);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6BB6FF 0%, #4A9EFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* How It Works Improvements */
.how-it-works {
    padding: 4rem 0;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--button-text);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: var(--bg-card);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Slider Indicators (Dots) */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--border-soft);
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.slider-dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

@media (min-width: 768px) {
    .slider-indicators {
        display: none;
    }
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Admin Stats Slider */
.admin-stats-slider-container {
    width: 100%;
    position: relative;
}

.admin-stats-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 200ms ease-out;
}

.admin-stats-slider-track.dragging {
    transition: none;
    cursor: grabbing;
}

.admin-stats-slider-track.dragging * {
    -webkit-user-select: none;
    user-select: none;
    pointer-events: none;
}

.admin-stats-slider-container .admin-stat-card {
    flex: 0 0 100%;
    min-height: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .admin-stats-slider-container {
        overflow-x: visible;
    }
    .admin-stats-slider-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        transform: none !important;
        gap: 1.5rem;
    }
    .admin-stats-slider-container .admin-stat-card {
        flex: none;
        min-width: auto;
        width: auto;
    }
}

@media (max-width: 767px) {
    .admin-stats-slider-container {
        overflow-x: hidden;
        touch-action: pan-y;
        overscroll-behavior-x: none;
    }
}

/* Admin Pending Trainers Slider - HORIZONTAL */
.admin-pending-slider-container {
    width: 100%;
    position: relative;
}

.admin-pending-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 200ms ease-out;
    flex-direction: column;
}

.admin-pending-slider-track.dragging {
    transition: none;
    cursor: grabbing;
}

.admin-pending-slider-track.dragging * {
    -webkit-user-select: none;
    user-select: none;
}

.admin-pending-slider-container .admin-trainer-card {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .admin-pending-slider-container {
        overflow-x: visible;
    }
    .admin-pending-slider-track {
        display: block;
        transform: none !important;
        flex-direction: column;
    }
    .admin-pending-slider-container .admin-trainer-card {
        flex: none;
        min-width: auto;
        width: auto;
    }
}

@media (max-width: 767px) {
    .admin-pending-slider-container {
        overflow-x: hidden;
        touch-action: pan-y;
        overscroll-behavior-x: none;
    }
}

/* Admin Active Trainers Slider - HORIZONTAL */
.admin-active-slider-container {
    width: 100%;
    position: relative;
}

.admin-active-slider-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 200ms ease-out;
}

.admin-active-slider-track.dragging {
    transition: none;
    cursor: grabbing;
}

.admin-active-slider-track.dragging * {
    -webkit-user-select: none;
    user-select: none;
}

.admin-active-slider-container .admin-trainer-card {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .admin-active-slider-container {
        overflow-x: visible;
    }
    .admin-active-slider-track {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        transform: none !important;
        gap: 1.5rem;
    }
    .admin-active-slider-container .admin-trainer-card {
        flex: none;
        min-width: auto;
        width: auto;
    }
}

@media (max-width: 767px) {
    .admin-active-slider-container {
        overflow-x: hidden;
        touch-action: pan-y;
        overscroll-behavior-x: none;
    }
}

/* FAQ Slider */
.faq-slider-container {
    width: 100%;
    position: relative;
}

.faq-slider-track {
    display: flex;
    gap: 1rem;
    transition: transform 200ms ease-out;
    flex-direction: column;
}

.faq-slider-track.dragging {
    transition: none;
    cursor: grabbing;
}

.faq-slider-track.dragging * {
    -webkit-user-select: none;
    user-select: none;
}

.faq-slider-container .faq-item {
    flex: 0 0 100%;
    min-width: 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .faq-slider-container {
        overflow-x: visible;
    }
    .faq-slider-track {
        display: block;
        transform: none !important;
        flex-direction: column;
    }
    .faq-slider-container .faq-item {
        flex: none;
        min-width: auto;
        width: auto;
    }
}

@media (max-width: 767px) {
    .faq-slider-container {
        overflow-x: hidden;
        touch-action: pan-y;
        overscroll-behavior-x: none;
    }
}
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
    border-color: var(--primary);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.testimonial-info h4 {
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: #000000;
    text-align: center;
    margin-top: 4rem;
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.btn-outline-white:hover {
    background: rgba(74, 158, 255, 0.1);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(74, 158, 255, 0.2);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 3px rgba(74, 158, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 8px rgba(74, 158, 255, 0.3), 0 0 12px rgba(74, 158, 255, 0.2);
    }
}

/* Advanced Cyan Animations */
@keyframes cyanPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(74, 158, 255, 0.2), 0 0 10px rgba(74, 158, 255, 0.15);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 10px rgba(74, 158, 255, 0.3), 0 0 20px rgba(74, 158, 255, 0.2);
        transform: scale(1.01);
    }
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}


@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(20px);
        clip-path: inset(0 100% 0 0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

.cyan-pulse {
    animation: cyanPulse 3s ease-in-out infinite;
}

.float-up {
    animation: floatUp 0.8s ease-out forwards;
}

.text-reveal {
    animation: textReveal 1s ease-out forwards;
}

/* Shimmer effect for buttons */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .stats-container,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .review-form {
        padding: 1rem;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .why-choose-us,
    .stats-section,
    .how-it-works,
    .testimonials-section {
        padding: 3rem 0;
    }
    
    .feature-card,
    .stat-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-section {
        padding: 3rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .page-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .feature-card h3,
    .testimonial-info h4 {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .nav-logo .logo-text {
        font-size: 1.1rem;
    }
    
    .nav-logo i {
        font-size: 1.2rem;
    }
}

/* Decorative Elements */
.page-container {
    position: relative;
}

.page-container::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.page-container::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(127, 29, 29, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Training Types Container - Exception from global overflow rule */
.training-types-container {
    width: 100%;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    box-sizing: border-box;
    transform: none !important;
}

.training-types-search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Training Types List - Exception from global overflow rule */
.training-types-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.training-type-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    background: var(--bg-card);
    cursor: pointer;
    min-height: 48px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.training-type-checkbox:active {
    border-color: var(--primary);
    background: rgba(74, 158, 255, 0.05);
}

.training-type-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.training-type-checkbox span {
    font-size: 0.95rem;
    color: var(--text-main);
    user-select: none;
}

.training-type-checkbox input[type="checkbox"]:checked + span {
    font-weight: 600;
    color: var(--primary);
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-input-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    opacity: 0;
    pointer-events: none;
}

.file-upload-btn {
    display: block;
    padding: 2rem 1.5rem;
    border: 2px dashed var(--border-soft);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    background: var(--bg-card);
    min-height: 120px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 1;
}

.file-upload-btn:hover,
.file-upload-btn:focus {
    border-color: var(--primary);
    background: rgba(74, 158, 255, 0.05);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.file-upload-btn:active {
    border-color: var(--primary);
    background: rgba(74, 158, 255, 0.1);
    transform: scale(0.98);
}

.file-upload-btn i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.file-upload-btn span {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1rem;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .training-types-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .training-types-list {
        overflow-x: hidden !important;
        width: 100%;
        box-sizing: border-box;
    }

    .training-types-container {
        overflow-x: hidden !important;
        width: 100%;
        box-sizing: border-box;
    }

    .training-type-checkbox {
        min-height: 44px;
        padding: 0.625rem;
        width: 100%;
        box-sizing: border-box;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important;
        padding: 0.75rem;
        min-height: 44px;
        width: 100%;
        box-sizing: border-box;
    }

    .form-group {
        margin-bottom: 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, transparent 100%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(127, 29, 29, 0.08) 0%, transparent 100%);
    border-radius: 50%;
    filter: blur(30px);
    pointer-events: none;
    z-index: 0;
}

/* Decorative dots pattern */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(220, 38, 38, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    pointer-events: none;
}

.stats-section {
    position: relative;
}

/* Decorative lines */
.why-choose-us::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    margin-top: 2rem;
}

.why-choose-us {
    position: relative;
}

/* Gradient overlays */
.trainer-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Decorative corner accent */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, transparent 70%);
    border-radius: 0 16px 0 0;
    opacity: 0.1;
    pointer-events: none;
}

.feature-card {
    position: relative;
}

/* Animated background shapes */
@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: floatShape 6s ease-in-out infinite;
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: floatShape 8s ease-in-out infinite reverse;
    pointer-events: none;
}

.cta-section {
    position: relative;
    overflow: hidden;
}

/* Decorative border accent */
.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    border-radius: 0 0 0 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.testimonial-card {
    position: relative;
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */

.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-btn {
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: var(--text-main);
    padding: 0.4rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.language-btn:hover {
    background: rgba(74, 158, 255, 0.2);
    border-color: var(--primary);
}

.language-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.language-btn i {
    font-size: 0.9rem;
}

.current-lang {
    font-size: 0.75rem;
    font-weight: 700;
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: var(--bg-card, #0d2329);
    border: 1px solid var(--border-soft, rgba(74, 158, 255, 0.2));
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 140px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.language-menu.active {
    display: block;
    animation: slideDown 0.2s ease;
}

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

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
}

.language-option:last-child {
    margin-bottom: 0;
}

.language-option:hover {
    background: rgba(74, 158, 255, 0.1);
    color: var(--primary);
}

.language-option.active {
    background: rgba(74, 158, 255, 0.2);
    color: var(--primary);
    font-weight: 600;
}

.lang-flag {
    font-size: 1.2rem;
}

/* ============================================
   MOBILE NAVBAR IMPROVEMENTS
   ============================================ */

.nav-auth-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(74, 158, 255, 0.2);
}

.nav-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
}

.nav-login-btn {
    background: rgba(74, 158, 255, 0.1);
    border: 1px solid rgba(74, 158, 255, 0.3);
    color: var(--text-main);
}

.nav-login-btn:hover {
    background: rgba(74, 158, 255, 0.2);
    border-color: var(--primary);
    color: var(--primary);
}

.nav-register-btn {
    background: var(--primary);
    border: 1px solid var(--primary);
    color: white;
}

.nav-register-btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 158, 255, 0.3);
}

.nav-user-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(74, 158, 255, 0.2);
    margin-top: 0.5rem;
}

.nav-avatar,
.nav-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.nav-avatar-placeholder {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
}

.nav-user-name {
    color: var(--text-main);
    font-size: 0.9rem;
    flex: 1;
}

.nav-logout-form {
    width: 100%;
    margin-top: 0.5rem;
}

/* Desktop - Language selector next to logo */
@media (min-width: 769px) {
    .hamburger-menu {
        display: none !important; /* Hidden on desktop */
    }
    
    .nav-user-status {
        display: flex; /* Show user status on desktop */
    }
    
    .nav-links {
        display: flex;
        position: static;
        background: transparent;
        flex-direction: row;
        padding: 0;
        overflow: visible;
    }
    
    .nav-link-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        border-bottom: none;
    }
    
    .nav-link-item::after {
        content: '';
        position: absolute;
        bottom: -4px;
        right: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }
    
    .nav-link-item:hover::after {
        width: 100%;
    }
    
    .nav-user-section-mobile {
        display: none; /* Hidden on desktop, use nav-user-status instead */
    }
    
    .language-selector {
        margin-left: auto;
        margin-right: 1rem;
    }
}

/* Mobile - Language selector */
@media (max-width: 768px) {
    .language-selector {
        margin-left: auto;
        margin-right: 0.4rem; /* קטן מ-0.5rem */
        flex-shrink: 0; /* לא מתכווץ */
    }
    
    .language-btn {
        padding: 0.3rem 0.55rem; /* קטן מ-0.35rem 0.6rem */
        font-size: 0.7rem; /* קטן מ-0.75rem */
    }
    
    .language-btn i {
        font-size: 0.85rem; /* קטן מ-0.9rem */
    }
    
    .current-lang {
        display: none;
    }
    
    .language-menu {
        left: auto;
        right: 0;
    }
    
    .nav-auth-section {
        margin-top: 1rem;
    }
}

/* RTL/LTR Support */
[dir="ltr"] .language-menu {
    left: 0;
    right: auto;
}

[dir="ltr"] .language-selector {
    margin-left: 1rem;
    margin-right: auto;
}

@media (max-width: 768px) {
    [dir="ltr"] .language-menu {
        left: 0;
        right: auto;
    }
    
    [dir="ltr"] .language-selector {
        margin-left: auto;
        margin-right: 0.5rem;
    }
}

/* Glass Morphism Effect for Cards - Desktop Only */
@media (min-width: 769px) {
    .feature-card,
    .stat-card,
    .trainer-card {
        background: rgba(13, 35, 41, 0.85); /* Slightly transparent to show background */
        backdrop-filter: blur(10px); /* Blur effect for glass morphism */
    }
}

/* Glass Morphism Effect for Cards - Desktop Only */
@media (min-width: 769px) {
    .feature-card,
    .stat-card,
    .trainer-card {
        background: rgba(13, 35, 41, 0.85); /* Slightly transparent to show background */
        backdrop-filter: blur(10px); /* Blur effect for glass morphism */
    }
}