/* Modern Fitness Website Styles - 2024 */

:root {
    /* Modern Fitness Color Palette */
    --primary-color: #0F172A;       /* Dark blue - primary brand color */
    --secondary-color: #22C55E;     /* Vibrant green - for CTAs and accents */
    --accent-color: #4F46E5;        /* Indigo - for highlights and accents */
    --light-accent: #C4B5FD;        /* Light purple - for subtle accents */
    --text-color: #0F172A;          /* Dark slate - main text color */
    --text-light: #475569;          /* Darker slate gray for better contrast - secondary text */
    --light-bg: #F8FAFC;            /* Almost white - background color */
    --white: #FFFFFF;               /* Pure white - for cards and elements */
    --dark-overlay: rgba(15, 23, 42, 0.8); /* Dark overlay for images - increased opacity for better contrast */
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0F172A, #1E293B);
    --gradient-secondary: linear-gradient(135deg, #16A34A, #22C55E);
    --gradient-accent: linear-gradient(135deg, #4338CA, #4F46E5);
    
    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.12);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    
    /* Border Radius */
    --radius-sm: 0.375rem;  /* 6px */
    --radius-md: 0.75rem;   /* 12px */
    --radius-lg: 1.5rem;    /* 24px */
    --radius-full: 9999px;  /* Full rounded */
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Font Weights */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: var(--font-bold);
    line-height: 1.2;
    color: var(--primary-color);
}

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

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--secondary-color);
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Modern Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    transition: all var(--transition-normal);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
    transition: transform var(--transition-fast);
}

.logo a:hover {
    transform: translateY(-2px);
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: var(--font-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: var(--font-medium);
    transition: all var(--transition-normal);
    position: relative;
    padding: 8px 0;
    font-size: 1.05rem;
    letter-spacing: 0.2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

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

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

/* Mobile Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: var(--font-medium);
    transition: all var(--transition-normal);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    line-height: 1;
    gap: 0.5rem;
}

.primary-button {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
    color: var(--white);
}

.secondary-button {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.secondary-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--secondary-color);
}

.cta-button {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: var(--font-medium);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
    color: var(--white);
}

.cta-button i {
    transition: transform var(--transition-normal);
}

.cta-button:hover i {
    transform: translateX(4px);
}

/* Navbar Contact Button */
.navbar .cta-button {
    padding: 0.7rem 1.4rem !important;
    margin-left: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.2);
    color: white !important;
    background: var(--gradient-secondary);
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.navbar .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    color: white !important;
}

/* Modern Hero Section */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 12rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(34, 197, 94, 0.15), transparent 40%);
    z-index: 0;
}

.header h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: var(--font-extrabold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: var(--white);
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin: 0 auto 2.5rem;
    max-width: 800px;
    color: white;
    font-weight: var(--font-medium);
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out 0.3s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

/* Features Section */
.features {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background-color: #FFFFFF;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #22C55E, #10B981);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #64748B;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-weight: 400;
    line-height: 1.6;
}

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

.feature-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.08));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

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

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #22C55E;
    background: linear-gradient(135deg, #22C55E, #15803D);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #0F172A;
    font-weight: 700;
}

.feature-card p {
    color: #64748B;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Enhanced animations for scroll reveal */
[data-animation] {
    opacity: 0;
    transition: all 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

[data-animation="fade-in-left"] {
    transform: translateX(-40px);
}

[data-animation="fade-in-right"] {
    transform: translateX(40px);
}

[data-animation="fade-in-up"] {
    transform: translateY(40px);
}

[data-animation="scale-in"] {
    transform: scale(0.9);
}

[data-animation].animated {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}

/* Smooth section transitions */
section {
    position: relative;
    padding: 5rem 0;
    transition: background-color 0.5s ease;
}

.section-divider {
    position: relative;
    height: 100px;
    margin-top: -50px;
    margin-bottom: -50px;
    z-index: 10;
}

.section-divider svg {
    width: 100%;
    height: 100%;
    fill: #f8fafc;
}

/* Programs preview section styling */
.programs-preview {
    background-color: #f8fafc;
    position: relative;
    padding: 8rem 0;
}

.subtle-pattern {
    position: relative;
}

.subtle-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2322c55e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

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

.program-card {
    height: 100%;
    perspective: 1000px;
    transition: all 0.5s ease;
}

.program-content {
    height: 100%;
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(229, 231, 235, 0.7);
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
    overflow: hidden;
}

.program-card:hover .program-content {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f97316, #f59e0b);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.25);
    z-index: 10;
}

.badge i {
    font-size: 0.8rem;
}

.program-content h3 {
    font-size: 1.8rem;
    color: #0F172A;
    margin-bottom: 1rem;
    font-weight: 700;
    padding-right: 5rem;
}

.program-content p {
    color: #64748B;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: #334155;
    font-size: 1rem;
}

.feature-list li i {
    color: #22C55E;
    font-size: 1.1rem;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #22C55E;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.learn-more i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    color: #15803D;
    text-decoration: none;
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid, .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .program-content {
        padding: 2rem;
    }
    
    .program-content h3 {
        font-size: 1.5rem;
    }
}

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

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Additional Design Elements */
.section-divider {
    height: 5rem;
    position: relative;
    z-index: 1;
    margin: -2.5rem 0;
}

.section-divider svg {
    position: absolute;
    width: 100%;
    height: 5rem;
    fill: var(--white);
}

.card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.03);
}

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

.overlay-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.overlay-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

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

.overlay-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(15, 23, 42, 0.8) 50%);
    color: var(--white);
    transition: all var(--transition-normal);
}

.overlay-card:hover .overlay-card-content {
    padding-bottom: 3rem;
}

/* Modern List Styles */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
}

.subtle-pattern {
    background-color: var(--white);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2322c55e' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Program Cards */
.program-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
}

.program-content {
    padding: 2rem;
}

.program-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.program-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Testimonial Cards */
.testimonial-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

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

/* Inner page headers */
.header.inner-page {
    padding: 10rem 0 5rem;
}

.header.inner-page h1 {
    font-size: 3.5rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.85)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #f0f0f0;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

.footer-info h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-info p {
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.2rem;
    transition: transform var(--transition-fast), background-color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
}

.social-links a:hover {
    color: white;
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

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

.footer-links a {
    color: #e2e8f0;
    transition: color var(--transition-fast), transform var(--transition-fast);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

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

.footer-bottom p {
    color: #e2e8f0;
    font-size: 0.9rem;
}

/* Contact Page Styling */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
}

.trainer-profile {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    height: 100%;
}

.trainer-profile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trainer-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.trainer-photo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
}

.trainer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-normal);
    display: block;
}

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

.trainer-info {
    padding: 2rem;
}

.trainer-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.trainer-info h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.trainer-title {
    color: var(--secondary-color);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.trainer-details p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form-container {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-form-container h2 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
}

.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: var(--font-medium);
    color: var(--primary-color);
    font-size: 0.95rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    background-color: var(--light-bg);
    color: var(--text-color);
    font-family: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--gradient-secondary);
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.25);
    margin-top: 1rem;
    font-size: 1rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

/* Messages styling */
.messages {
    list-style: none;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
    background-color: #f8f9fa;
    border-left: 4px solid var(--secondary-color);
}

.messages .success {
    color: var(--secondary-color);
    font-weight: var(--font-medium);
}

.messages .error {
    color: #e53e3e;
    font-weight: var(--font-medium);
}

@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .trainer-image {
        height: 250px;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
    }
    
    .submit-button {
        width: 100%;
    }
}

/* Authentication Buttons */
.auth-button {
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.auth-button i {
    margin-right: 5px;
}

.login-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.login-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.signup-button {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.signup-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: var(--secondary-color);
}

.signup-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
    z-index: -1;
}

.signup-button:hover::before {
    transform: translateX(0);
}

.logout-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.logout-button:hover {
    background-color: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .auth-button {
        width: 100%;
        margin: 5px 0;
    }
} 