/*
Theme Name: Gym Coach
Description: A minimalistic Tailwind-powered theme for gym coaches and fitness trainers
Version: 1.0
Author: Tareq Osama
Author URI: https://www.tareqosama.com
*/

/* Font Configuration */
@import url('https://fonts.googleapis.com/css2?family=Zalando+Sans+SemiExpanded:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables - Design System */
:root {
  /* Border Radius */
  --radius: 0.5rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Spacing Scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Typography Scale */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* Light Theme Colors - Sportix Style */
  --background: 255 255 255;
  --foreground: 15 23 42;
  --card: 255 255 255;
  --card-foreground: 15 23 42;
  --popover: 255 255 255;
  --popover-foreground: 15 23 42;
  --primary: 34 77 34; /* Dark green like Sportix */
  --primary-foreground: 255 255 255;
  --secondary: 241 245 249;
  --secondary-foreground: 15 23 42;
  --muted: 241 245 249;
  --muted-foreground: 100 116 139;
  --accent: 34 77 34;
  --accent-foreground: 255 255 255;
  --destructive: 239 68 68;
  --destructive-foreground: 255 255 255;
  --border: 226 232 240;
  --input: 226 232 240;
  --ring: 34 77 34;
  
  /* Chart Colors */
  --chart-1: 59 130 246;
  --chart-2: 16 185 129;
  --chart-3: 245 158 11;
  --chart-4: 239 68 68;
  --chart-5: 139 92 246;
}

/* Dark Theme Colors - Will be overridden by WordPress admin settings */
html.dark {
  /* Default dark theme colors - these will be replaced by dynamic colors from admin settings */
  --background: 10 20 10; /* Default dark background */
  --foreground: 240 248 240; /* Default light foreground */
  --card: 20 35 20; /* Default dark card */
  --card-foreground: 240 248 240;
  --popover: 20 35 20;
  --popover-foreground: 240 248 240;
  --primary: 34 77 34; /* Default green primary */
  --primary-foreground: 255 255 255;
  --secondary: 40 60 40; /* Default secondary */
  --secondary-foreground: 240 248 240;
  --muted: 40 60 40;
  --muted-foreground: 160 180 160;
  --accent: 45 85 45; /* Default accent */
  --accent-foreground: 255 255 255;
  --destructive: 220 80 80;
  --destructive-foreground: 240 248 240;
  --border: 50 70 50;
  --input: 50 70 50;
  --ring: 34 77 34;
  
  /* Chart Colors for Dark Mode */
  --chart-1: 80 150 80;
  --chart-2: 120 180 120;
  --chart-3: 160 210 160;
  --chart-4: 200 120 120;
  --chart-5: 180 140 200;
}

/* Base Styles */
body {
    font-family: 'Zalando Sans SemiExpanded', sans-serif;
    margin: 0;
    padding: 0;
    line-height: var(--line-height-normal);
    color: rgb(var(--foreground));
    background-color: rgb(var(--background));
    transition: color var(--transition-normal), background-color var(--transition-normal);
}

/* CSS Variable Utility Classes */
.bg-background { background-color: rgb(var(--background)); }
.bg-foreground { background-color: rgb(var(--foreground)); }
.bg-card { background-color: rgb(var(--card)); }
.bg-card-foreground { background-color: rgb(var(--card-foreground)); }
.bg-popover { background-color: rgb(var(--popover)); }
.bg-popover-foreground { background-color: rgb(var(--popover-foreground)); }
.bg-primary { background-color: rgb(var(--primary)); }
.bg-primary-foreground { background-color: rgb(var(--primary-foreground)); }
.bg-secondary { background-color: rgb(var(--secondary)); }
.bg-secondary-foreground { background-color: rgb(var(--secondary-foreground)); }
.bg-muted { background-color: rgb(var(--muted)); }
.bg-muted-foreground { background-color: rgb(var(--muted-foreground)); }
.bg-accent { background-color: rgb(var(--accent)); }
.bg-accent-foreground { background-color: rgb(var(--accent-foreground)); }
.bg-destructive { background-color: rgb(var(--destructive)); }
.bg-destructive-foreground { background-color: rgb(var(--destructive-foreground)); }

.text-background { color: rgb(var(--background)); }
.text-foreground { color: rgb(var(--foreground)); }
.text-card { color: rgb(var(--card)); }
.text-card-foreground { color: rgb(var(--card-foreground)); }
.text-popover { color: rgb(var(--popover)); }
.text-popover-foreground { color: rgb(var(--popover-foreground)); }
.text-primary { color: rgb(var(--primary)); }
.text-primary-foreground { color: rgb(var(--primary-foreground)); }
.text-secondary { color: rgb(var(--secondary)); }
.text-secondary-foreground { color: rgb(var(--secondary-foreground)); }
.text-muted { color: rgb(var(--muted)); }
.text-muted-foreground { color: rgb(var(--muted-foreground)); }
.text-accent { color: rgb(var(--accent)); }
.text-accent-foreground { color: rgb(var(--accent-foreground)); }
.text-destructive { color: rgb(var(--destructive)); }
.text-destructive-foreground { color: rgb(var(--destructive-foreground)); }

.border-border { border-color: rgb(var(--border)); }
.border-input { border-color: rgb(var(--input)); }
.border-ring { border-color: rgb(var(--ring)); }

.ring-ring { --tw-ring-color: rgb(var(--ring)); }

/* Custom Spacing Utilities */
.p-xs { padding: var(--spacing-xs); }
.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }
.p-2xl { padding: var(--spacing-2xl); }
.p-3xl { padding: var(--spacing-3xl); }

.m-xs { margin: var(--spacing-xs); }
.m-sm { margin: var(--spacing-sm); }
.m-md { margin: var(--spacing-md); }
.m-lg { margin: var(--spacing-lg); }
.m-xl { margin: var(--spacing-xl); }
.m-2xl { margin: var(--spacing-2xl); }
.m-3xl { margin: var(--spacing-3xl); }

/* Custom Typography Utilities */
.text-xs-custom { font-size: var(--font-size-xs); }
.text-sm-custom { font-size: var(--font-size-sm); }
.text-base-custom { font-size: var(--font-size-base); }
.text-lg-custom { font-size: var(--font-size-lg); }
.text-xl-custom { font-size: var(--font-size-xl); }
.text-2xl-custom { font-size: var(--font-size-2xl); }
.text-3xl-custom { font-size: var(--font-size-3xl); }
.text-4xl-custom { font-size: var(--font-size-4xl); }
.text-5xl-custom { font-size: var(--font-size-5xl); }
.text-6xl-custom { font-size: var(--font-size-6xl); }

/* Custom Shadow Utilities */
.shadow-sm-custom { box-shadow: var(--shadow-sm); }
.shadow-md-custom { box-shadow: var(--shadow-md); }
.shadow-lg-custom { box-shadow: var(--shadow-lg); }
.shadow-xl-custom { box-shadow: var(--shadow-xl); }

/* Custom Border Radius Utilities */
.rounded-sm-custom { border-radius: var(--radius-sm); }
.rounded-md-custom { border-radius: var(--radius-md); }
.rounded-lg-custom { border-radius: var(--radius-lg); }
.rounded-xl-custom { border-radius: var(--radius-xl); }

/* Custom Transition Utilities */
.transition-fast { transition: all var(--transition-fast); }
.transition-normal { transition: all var(--transition-normal); }
.transition-slow { transition: all var(--transition-slow); }

/* Custom Components */
.btn-primary {
    display: inline-block;
    background-color: #000000;
    color: #ffffff;
    padding: 1rem 2rem;
    border: 2px solid #000000;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #000000;
}

.btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 1rem 2rem;
    border: 2px solid #000000;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #000000;
    color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgb(var(--foreground));
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 4rem;
    height: 2px;
    background-color: rgb(var(--foreground));
    margin: 1rem auto;
}

.card {
    background-color: rgb(var(--card));
    border: 2px solid rgb(var(--border));
    padding: 2rem;
    transition: all 0.3s ease;
}

/* Main Content */
main {
    padding-top: 80px; /* Reduced space above hero section for better visual separation */
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: rgb(var(--background));
    overflow: hidden;
    position: relative;
    margin-top: 20px; /* Additional space from navbar */
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
    max-width: 600px;
}

.hero-heading {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgb(var(--foreground));
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subheading {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgb(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    width: 100%;
    max-width: none;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--primary));
    color: rgb(var(--primary-foreground));
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    border-radius: 9999px;
    flex: 1;
    min-width: 150px;
}

.hero-cta:hover {
    background-color: rgb(var(--primary) / 0.9);
    transform: translateY(-1px);
}

.hero-buttons .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(var(--muted));
    color: rgb(var(--muted-foreground));
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    border-radius: 9999px;
    flex: 1;
    min-width: 150px;
}

.hero-buttons .btn-secondary:hover {
    background-color: rgb(var(--muted) / 0.8);
    transform: translateY(-1px);
}

.hero-image {
    position: relative;
    height: 100%;
    min-height: 500px;
}

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

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(var(--muted-foreground));
    font-size: 1.2rem;
    font-weight: 500;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.site-header.scrolled {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(15, 15, 15, 0.99) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2rem;
}

.site-logo h1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    margin: 0;
}

.site-logo a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-logo a:hover {
    color: #cccccc;
}

/* Navigation Styles */
.main-navigation {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #ffffff;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 0.75rem 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
}

.nav-link:hover {
    color: #cccccc;
    border-bottom-color: #ffffff;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
    font-weight: 700;
}

/* Mobile Menu Styles */
.mobile-menu-button {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    display: none; /* Hidden by default, shown on mobile */
    min-width: 44px; /* Touch-friendly minimum size */
    min-height: 44px;
    border-radius: 4px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-button:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.mobile-menu-button:hover {
    color: #cccccc;
}

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    padding-left: 2rem;
    padding-right: 2rem;
    border-top: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    max-height: 500px;
    margin-top: 1rem;
    padding-top: 1rem;
    padding-left: 2rem;
    padding-right: 2rem;
    border-top: 1px solid #333333;
}

.mobile-menu .nav-link {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #333333;
}

.mobile-menu .nav-link:last-child {
    border-bottom: none;
}

/* Newsletter Styles - Integrated Design */
.newsletter-container {
    border: 2px solid rgb(var(--border));
    border-radius: 9999px;
    background-color: rgb(var(--background));
    transition: all 0.3s ease;
    position: relative;
}

.newsletter-container:focus-within {
    border-color: rgb(var(--primary));
    box-shadow: 0 0 0 3px rgb(var(--primary) / 0.1);
}

.newsletter-form {
    position: relative;
}

.newsletter-field-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-input {
    border: none !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100%;
    padding-right: 6rem; /* Space for the button */
}

.newsletter-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    border-radius: 9999px;
}

.newsletter-button:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Mobile Newsletter Responsive */
@media (max-width: 640px) {
    .newsletter-container {
        width: 100%;
    }
    
    .newsletter-input {
        padding-right: 5.5rem; /* Adjust for smaller button on mobile */
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .newsletter-button {
        right: 0.375rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Footer Newsletter Specific Styles */
footer .newsletter-container {
    max-width: 100%;
}

footer .newsletter-input {
    background-color: rgb(var(--background));
}

footer .newsletter-container:focus-within {
    border-color: rgb(var(--primary));
    box-shadow: 0 0 0 3px rgb(var(--primary) / 0.1);
}

/* FAQ Styles */
.faq-question {
    background-color: #000000;
    color: #ffffff;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #374151;
}

.faq-answer {
    padding: 2rem;
    display: none;
    background-color: #ffffff;
    color: #6b7280;
    line-height: 1.8;
}

.faq-answer.active {
    display: block;
}

/* Package Styles */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.package-card {
    background-color: rgb(var(--card));
    border: 2px solid rgb(var(--border));
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    border-color: rgb(var(--foreground));
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.package-card.featured {
    border-color: rgb(var(--foreground));
    transform: scale(1.05);
}

.package-card.featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgb(var(--foreground));
    color: rgb(var(--background));
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
}

.package-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(var(--card-foreground));
}

.package-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgb(var(--card-foreground));
    margin-bottom: 2rem;
}

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

.package-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgb(var(--border));
    color: rgb(var(--muted-foreground));
}

.package-features li:last-child {
    border-bottom: none;
}

/* Testimonial Styles */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

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

.testimonial-card:hover {
    border-color: rgb(var(--foreground));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgb(var(--card-foreground));
    font-style: italic;
    margin: 0;
}

.testimonial-author h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgb(var(--card-foreground));
}

.testimonial-title {
    margin: 0;
    color: rgb(var(--muted-foreground));
    font-size: 0.9rem;
}

/* Transformation Styles */
.transformation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.transformation-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.transformation-card:hover {
    border-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.before-after-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.image-placeholder {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 500;
    border-radius: 8px;
}

.transformation-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
}

.transformation-time {
    margin: 0 0 1rem 0;
    color: #666666;
    font-weight: 500;
}

.transformation-story {
    margin: 0;
    line-height: 1.6;
    color: #666666;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem 2rem;
    background-color: #f8f8f8;
    border-radius: 12px;
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
}

.cta-section p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }
    
    .mobile-menu {
        padding-left: 1rem;
        padding-right: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        background-color: rgb(var(--background));
        border-top: 1px solid rgb(var(--border));
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-menu.active {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Mobile menu navigation items - force vertical layout */
    #mobile-menu {
        display: none !important;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
    }
    
    #mobile-menu.active {
        display: block !important;
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Force all navigation items to display vertically */
    #mobile-menu .space-y-4,
    #mobile-menu ul,
    #mobile-menu li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    
    #mobile-menu .space-y-4 {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    #mobile-menu li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    #mobile-menu a {
        display: block !important;
        width: 100% !important;
        padding: 1rem 1.5rem !important;
        text-decoration: none !important;
        color: rgb(var(--foreground)) !important;
        border-bottom: 1px solid rgb(var(--border)) !important;
        transition: all 0.2s ease !important;
        font-weight: 500 !important;
        text-align: left !important;
    }
    
    #mobile-menu a:hover {
        color: rgb(var(--primary)) !important;
        background-color: rgb(var(--muted) / 0.3) !important;
    }
    
    #mobile-menu li:last-child a {
        border-bottom: none !important;
    }
    
    /* Mobile menu bottom section styling */
    #mobile-menu .pt-4 {
        padding: 1rem 1.5rem !important;
        border-top: 1px solid rgb(var(--border)) !important;
        margin-top: 1rem !important;
    }
    
    #mobile-menu .pt-4 .space-y-4 {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    /* Join Now button styling - only target the button in bottom section */
    #mobile-menu .pt-4 a.bg-primary {
        display: inline-block !important;
        width: auto !important;
        max-width: fit-content !important;
        padding: 0.75rem 2rem !important;
        margin: 0 !important;
        text-align: center !important;
        background-color: rgb(var(--primary)) !important;
        color: rgb(var(--primary-foreground)) !important;
        border-radius: 9999px !important;
        border-bottom: none !important;
        font-weight: 600 !important;
        transition: all 0.2s ease !important;
    }
    
    #mobile-menu .pt-4 a.bg-primary:hover {
        background-color: rgb(var(--primary) / 0.9) !important;
        transform: translateY(-1px) !important;
    }
    
    /* Theme toggle button styling */
    #mobile-menu .pt-4 button {
        display: inline-block !important;
        width: auto !important;
        padding: 0.75rem 2rem !important;
        margin: 0 auto !important;
        text-align: center !important;
        background-color: rgb(var(--muted)) !important;
        color: rgb(var(--muted-foreground)) !important;
        border-radius: 9999px !important;
        border: none !important;
        font-weight: 500 !important;
        transition: all 0.2s ease !important;
    }
    
    #mobile-menu .pt-4 button:hover {
        background-color: rgb(var(--muted) / 0.8) !important;
        transform: translateY(-1px) !important;
    }
    
    .site-logo h1 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .main-navigation {
        display: none !important;
    }
    
    .mobile-menu-button {
        display: block !important;
        visibility: visible !important;
        position: relative;
        z-index: 1001;
        margin-left: auto;
        margin-right: 1rem;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.75rem;
        border-radius: 0.5rem;
        transition: all 0.2s ease;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-button:hover {
        background-color: rgb(var(--muted) / 0.5);
        transform: scale(1.05);
    }
    
    .mobile-menu-button:active {
        transform: scale(0.95);
    }
    
    .hero-section {
        margin-top: 10px; /* Reduced margin on mobile */
        min-height: auto;
        padding: 1rem 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-image {
        min-height: 300px;
        order: 2;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
        padding: 1rem 0.5rem;
        max-width: none;
    }
    
    .hero-heading {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.2;
    }
    
    .hero-subheading {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        max-width: none;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        max-width: none;
    }
    
    .hero-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        min-width: auto;
    }
    
    .hero-buttons .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        min-width: auto;
    }
    
    .section-title {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 769px) {
    .main-navigation {
        display: flex !important;
    }
    
    .mobile-menu-button {
        display: none !important;
        visibility: hidden !important;
    }
    
    .mobile-menu {
        display: none !important;
        max-height: 0 !important;
    }
    
    /* Desktop hero section height */
    .hero-section {
        height: 85svh;
    }
}

@media (min-width: 1200px) {
    .header-content {
        padding: 0 3rem;
    }
    
    .mobile-menu {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .mobile-menu.active {
        padding-left: 3rem;
        padding-right: 3rem;
    }
    
    .hero-container {
        padding: 0 4rem;
        gap: 8rem;
    }
    
    .site-logo h1 {
        font-size: 2rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 0;
    }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Section spacing and visual separation */
section {
  position: relative;
}

/* Navbar Scroll Animations */
#main-header {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scrolled state - more opaque background with backdrop filter */
#main-header.scrolled {
  background-color: rgb(var(--background) / 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgb(var(--border) / 0.5);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06);
}

/* Navbar hidden state */
#main-header.navbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* Navbar visible state */
#main-header.navbar-visible {
  transform: translateY(0);
  opacity: 1;
}

/* Logo animation on scroll */
#main-header.scrolled .site-logo h1 {
  transform: scale(0.95);
  transition: transform 0.3s ease-in-out;
}

/* Navigation links animation on scroll */
#main-header.scrolled .nav-link {
  transform: translateY(-1px);
  transition: transform 0.3s ease-in-out;
}

/* CTA button animation on scroll */
#main-header.scrolled .cta-button {
  transform: scale(0.98);
  transition: transform 0.3s ease-in-out;
}

/* Photo Slider Styles */
.photo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.photo-slide.active {
  opacity: 1;
}

.slider-dot.active {
  background-color: rgba(255, 255, 255, 0.8);
}

.slider-prev,
.slider-next {
  opacity: 0.8;
  transition: all 0.3s ease-in-out;
}

.photo-slide img {
  object-fit: cover;
  object-position: center;
}

/* Swiper Testimonials Styles */
.testimonials-swiper {
  position: relative;
  padding: 0 50px 60px 50px;
}

.testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.testimonials-swiper .swiper-slide > div {
  width: 100%;
  height: 100%;
}

/* Swiper Navigation Buttons */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgb(var(--primary));
  border-radius: 50%;
  color: rgb(var(--primary-foreground));
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
  background-color: rgb(var(--primary) / 0.9);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.testimonials-swiper .swiper-button-next:after,
.testimonials-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.testimonials-swiper .swiper-button-next {
  right: 0;
}

.testimonials-swiper .swiper-button-prev {
  left: 0;
}

/* Swiper Pagination */
.testimonials-swiper .swiper-pagination {
  position: relative;
  margin-top: 2rem;
  bottom: 0;
}

.testimonials-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgb(var(--muted-foreground) / 0.3);
  opacity: 1;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.testimonials-swiper .swiper-pagination-bullet-active {
  background-color: rgb(var(--primary));
  transform: scale(1.2);
}

.testimonials-swiper .swiper-pagination-bullet:hover {
  background-color: rgb(var(--primary) / 0.7);
  transform: scale(1.1);
}

/* Responsive Swiper Styles */
@media (max-width: 768px) {
  .testimonials-swiper {
    padding: 0 40px 50px 40px;
  }
  
  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .testimonials-swiper .swiper-button-next:after,
  .testimonials-swiper .swiper-button-prev:after {
    font-size: 14px;
  }
  
  .testimonials-swiper .swiper-pagination {
    margin-top: 1.5rem;
  }
  
  .testimonials-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

@media (max-width: 480px) {
  .testimonials-swiper {
    padding: 0 30px 40px 30px;
  }
  
  .testimonials-swiper .swiper-button-next,
  .testimonials-swiper .swiper-button-prev {
    width: 35px;
    height: 35px;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .testimonials-swiper .swiper-button-next:after,
  .testimonials-swiper .swiper-button-prev:after {
    font-size: 12px;
  }
}

/* Dark mode Swiper styles */
html.dark .testimonials-swiper .swiper-button-next,
html.dark .testimonials-swiper .swiper-button-prev {
  background-color: rgb(var(--primary));
  color: rgb(var(--primary-foreground));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

html.dark .testimonials-swiper .swiper-button-next:hover,
html.dark .testimonials-swiper .swiper-button-prev:hover {
  background-color: rgb(var(--primary) / 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

html.dark .testimonials-swiper .swiper-pagination-bullet {
  background-color: rgb(var(--muted-foreground) / 0.4);
}

html.dark .testimonials-swiper .swiper-pagination-bullet-active {
  background-color: rgb(var(--primary));
}

html.dark .testimonials-swiper .swiper-pagination-bullet:hover {
  background-color: rgb(var(--primary) / 0.7);
}

/* FAQ Collapsible Styles - Simple Max-Height Approach */
.faq-question {
  cursor: pointer;
  border: none !important;
  background: none;
  outline: none;
  position: relative;
  border-bottom: none !important;
}

.faq-question:hover .faq-icon {
  color: rgb(var(--primary) / 0.8);
}

.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
  padding: 0;
  background-color: rgb(var(--card));
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
}

.faq-answer.active {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-icon {
  flex-shrink: 0;
}

/* Remove any dividers or borders between FAQ question and answer */
.bg-card.rounded-xl.shadow-lg.overflow-hidden {
  border: none !important;
}

.bg-card.rounded-xl.shadow-lg.overflow-hidden > * {
  border: none !important;
}

/* Ensure no borders on FAQ containers */
.faq-question,
.faq-answer,
.faq-question + .faq-answer {
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* FAQ Focus States for Accessibility */
.faq-question:focus {
  outline: none;
}

.faq-question:focus-visible {
  outline: none;
}

/* Dark mode FAQ styles */
html.dark .faq-question:hover {
  background-color: rgb(var(--card) / 0.8) !important;
}

html.dark .faq-question:hover .faq-icon {
  color: rgb(var(--primary) / 0.8);
}

/* Staggered Rise Animation - Our Custom FAQ Animation */
@keyframes staggered-rise {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-staggered-rise {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-staggered-rise.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger the Staggered Rise animation for each FAQ item */
.animate-staggered-rise:nth-child(1) { transition-delay: 0.1s; }
.animate-staggered-rise:nth-child(2) { transition-delay: 0.2s; }
.animate-staggered-rise:nth-child(3) { transition-delay: 0.3s; }
.animate-staggered-rise:nth-child(4) { transition-delay: 0.4s; }
.animate-staggered-rise:nth-child(5) { transition-delay: 0.5s; }
.animate-staggered-rise:nth-child(6) { transition-delay: 0.6s; }


/* Footer Credits Icon Alignment */
footer .inline-flex img {
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 0;
}

/* Before & After Slider Styles */
.before-after-slider-container {
    position: relative;
}

.before-after-image-container {
    position: relative;
}

.before-after-image-container img {
    transition: opacity 0.3s ease-in-out;
    width: 100%;
    height: auto;
    display: block;
}

.before-after-content {
    padding-left: 2rem;
}

.before-after-content h3,
.before-after-content div {
    transition: opacity 0.3s ease-in-out;
}

/* Simple Lightbox Styles */
#lightbox {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Lightbox Loading Styles */
#lightbox-before-loading,
#lightbox-after-loading {
    z-index: 5;
    min-width: 300px;
    min-height: 200px;
}

#lightbox-before-image,
#lightbox-after-image {
    z-index: 1;
    min-width: 300px;
}

/* Loading spinner animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

#lightbox .relative.inline-block {
    max-width: 90vw;
    max-height: 90vh;
}

#lightbox .grid.grid-cols-2 {
    display: inline-grid;
    grid-template-columns: auto auto;
    gap: 1rem;
}

#lightbox .grid.grid-cols-2 img {
    display: block;
    max-width: none;
    width: auto;
    height: auto;
}

#lightbox .absolute.top-4.left-4 {
    z-index: 10;
}

#lightbox-prev,
#lightbox-next {
    z-index: 20;
}

#lightbox-navigation-squares > div {
    transition: all 0.3s ease-in-out;
}

#lightbox-navigation-squares > div:hover {
    transform: scale(1.05);
}

/* Lightbox responsive */
@media (max-width: 768px) {
    #lightbox .grid.grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    #lightbox .absolute.top-4.left-4 {
        top: 1rem;
        left: 1rem;
    }
    
    #lightbox-prev,
    #lightbox-next {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    #lightbox-prev svg,
    #lightbox-next svg {
        width: 1rem;
        height: 1rem;
    }
    
    #lightbox-navigation-squares > div {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    /* Mobile minimum widths */
    #lightbox-before-loading,
    #lightbox-after-loading,
    #lightbox-before-image,
    #lightbox-after-image {
        min-width: 250px;
    }
    
    #lightbox-before-loading,
    #lightbox-after-loading {
        min-height: 150px;
    }
}

/* Navigation Squares Styles */
#navigation-squares {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 0.5rem 0;
}

#navigation-squares > div {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
}

#navigation-squares > div:hover {
    transform: scale(1.05);
}

#navigation-squares > div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Active navigation square */
#navigation-squares > div.ring-2 {
    box-shadow: 0 0 0 2px rgb(var(--primary));
    transform: scale(1.1);
}

/* Inactive navigation squares */
#navigation-squares > div:not(.ring-2) {
    opacity: 0.7;
}

#navigation-squares > div:not(.ring-2):hover {
    opacity: 1;
}

/* Image hover effects */
.before-after-image-container .relative:hover .absolute.inset-0 {
    background-color: rgba(0, 0, 0, 0.1);
}

.before-after-image-container .relative:hover svg {
    opacity: 1;
}

/* Force AFTER tag to stay grey - target the second image container */
.before-after-image-container:nth-child(2) .absolute.top-4.left-4 {
    background-color: #6b7280 !important;
    color: #ffffff !important;
}

/* Alternative: target by grid position */
.grid.grid-cols-2 > div:nth-child(2) .absolute.top-4.left-4 {
    background-color: #6b7280 !important;
    color: #ffffff !important;
}

/* Override dark mode rule for AFTER tag */
html.dark .before-after-image-container:nth-child(2) .absolute.top-4.left-4 {
    background-color: #6b7280 !important;
    color: #ffffff !important;
}

html.dark .grid.grid-cols-2 > div:nth-child(2) .absolute.top-4.left-4 {
    background-color: #6b7280 !important;
    color: #ffffff !important;
}

/* Navigation arrows styling */
#prev-before-after,
#next-before-after,
#lightbox-prev,
#lightbox-next {
    z-index: 10;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#prev-before-after:hover,
#next-before-after:hover,
#lightbox-prev:hover,
#lightbox-next:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Responsive design for before/after slider */
@media (max-width: 1024px) {
    .before-after-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .before-after-slider-container .grid {
        grid-template-columns: 1fr;
    }
    
    .before-after-slider-container .lg\\:col-span-3,
    .before-after-slider-container .lg\\:col-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .before-after-slider-container .grid.grid-cols-2 {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    #prev-before-after,
    #next-before-after,
    #lightbox-prev,
    #lightbox-next {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    
    #prev-before-after svg,
    #next-before-after svg,
    #lightbox-prev svg,
    #lightbox-next svg {
        width: 1rem;
        height: 1rem;
    }
    
    /* Navigation squares responsive */
    #navigation-squares > div {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    #navigation-squares {
        gap: 0.375rem;
    }
}

@media (max-width: 480px) {
    /* Navigation squares mobile */
    #navigation-squares > div {
        width: 2rem;
        height: 2rem;
    }
    
    #navigation-squares {
        gap: 0.25rem;
    }
}

/* Kilograms lost stat styling */
.bg-primary.text-primary-foreground.rounded-xl {
    transition: all 0.3s ease-in-out;
}

/* Kilograms lost styling - primary color */
#before-after-kilograms {
    color: rgb(var(--primary)) !important;
}

/* Smooth transitions for all before/after elements */
.before-after-slider-container * {
    transition: opacity 0.3s ease-in-out;
}

/* Focus states for accessibility */
#prev-before-after:focus,
#next-before-after:focus {
    outline: 2px solid rgb(var(--primary));
    outline-offset: 2px;
}

/* Loading state */
.before-after-image-container img[src=""] {
    opacity: 0;
}

/* Ensure proper aspect ratios */
.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Dark mode adjustments */
html.dark .before-after-image-container .absolute.top-4.left-4 {
    background-color: rgb(var(--primary));
    color: rgb(var(--primary-foreground));
}

html.dark #prev-before-after,
html.dark #next-before-after {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgb(var(--foreground));
}

html.dark #prev-before-after:hover,
html.dark #next-before-after:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
