/* Elite Fitness - Premium Gym Website Styles */

:root {
    --primary-black: #000000;
    --luxury-gold: #D4AF37;
    --pure-white: #FFFFFF;
    --dark-gold: #B8941F;
    --light-gold: #F4E4BC;
    --charcoal: #1A1A1A;
    --soft-gray: #F8F8F8;
    --text-gray: #666666;
    
    --primary-font: 'Playfair Display', serif;
    --secondary-font: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --shadow-subtle: 0 2px 20px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 5px 25px rgba(212, 175, 55, 0.3);

     --serif: "Cinzel", "Times New Roman", serif;
}

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

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

body {
    font-family: var(--secondary-font);
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-black);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--primary-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.darkgold-text {
    color: var(--dark-gold);
}

.gold-text {
    color: var(--luxury-gold);
    position: relative;
    display: inline-block;
}

.gold-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--luxury-gold), var(--dark-gold));
    transform: scaleX(0);
    animation: goldUnderline 1.5s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes goldUnderline {
    to { transform: scaleX(1); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    height: 100px;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: var(--shadow-subtle);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
     height: 100px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-logo h2 {
    font-family: var(--serif);
    color: var(--pure-white);
    font-size: 1.8rem;
    letter-spacing: 2px;
    margin: 0;
    position: relative;
}

.nav-logo img {
    max-height: 100%;
    max-width: 250px; 
    width: auto;      
    object-fit: contain;
    display: block;
}
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3); /* light border */
    border-top-color: #000000; /* visible border color */
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px; /* space between text and spinner */
    vertical-align: middle;
    }

    @keyframes spin {
    to { transform: rotate(360deg); }
    }

@media (max-width: 768px) {
    .nav-logo img {
        max-height: 80px;
    }
}

.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--luxury-gold), transparent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--luxury-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--luxury-gold);
}

.nav-link:hover::before {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--pure-white);
    margin: 3px 0;
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(26, 26, 26, 0.8)), 
                url("public/images/Newbg.webp") center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(26, 26, 26, 0.6));
}

.hero-content {
    text-align: center;
    color: var(--pure-white);
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
    animation: heroFadeIn 1.5s ease-out;
}

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

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: 2.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.8;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--luxury-gold);
    border-bottom: 2px solid var(--luxury-gold);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 50%, 100% { transform: rotate(45deg) translateY(0); }
    25% { transform: rotate(45deg) translateY(-10px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--luxury-gold), var(--dark-gold));
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

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

.btn-secondary:hover {
    background: var(--pure-white);
    color: var(--primary-black);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--luxury-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--luxury-gold), var(--dark-gold));
    margin: 1rem auto 2rem;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 4px;
    background: var(--luxury-gold);
    transform: translateY(-50%);
}

.section-divider::before { left: -30px; }
.section-divider::after { right: -30px; }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* About Section */
.about {
    background: var(--soft-gray);
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-black);
}

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

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--luxury-gold);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

/* Image Carousel */

.about-image-carousel {
    position: relative;
    width: 100%;
    max-width: 900px; /* adjust as needed */
    margin: auto;
    border-radius: 20px; /* keep rounded corners */
    overflow: hidden;
    box-shadow: var(--shadow-strong, 0 8px 20px rgba(0,0,0,0.6)); /* reused shadow */
    background: #000; /* black background */
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px; /* consistent height */
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    overflow: hidden; /* keeps image zoom effect inside */
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth, transform 0.5s ease);
    display: block;
}

/* Hover zoom effect (applies per slide) */
.carousel-slide:hover img {
    transform: scale(1.05);
}

/* Pagination dots */
.carousel-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--luxury-gold, #d4af37);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dot.active {
    background: var(--luxury-gold, #d4af37);
    transform: scale(1.2);
}


/* Services Section */
.services {
    background: var(--primary-black);
    color: var(--pure-white);
}

.services .section-title,
.services .section-subtitle {
    color: var(--pure-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);;
    gap: 20px; 
    max-width: 600px; 
    margin: 0 auto;  
}

.service-card {
    background: linear-gradient(135deg, var(--charcoal), rgba(26, 26, 26, 0.9));
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-gold);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.service-card h3 {
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.dev-card {
    display: flex;
    flex-direction: column;
    align-items: center; /* centers content horizontally */
    justify-content: center; /* centers content vertically */
    text-align: center;
}

/* Facilities Section */
.facilities {
  background: var(--soft-gray);
  padding: 4rem 2rem;
  text-align: center;
}

.facilities-title {
  font-size: 2.2rem;
  color: var(--primary-black);
  margin-bottom: 3rem;
}

/* Carousel Layout */
.facilities-carousel {
  position: relative;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
}

.facilities-track-container {
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
}

.facilities-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.8s ease-in-out;
  margin: 0 auto;
}

.facility-card {
  min-width: 31%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  transform: scale(0.9);
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.facility-card.active {
  transform: scale(1.1);
  opacity: 1;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
}

.facility-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition-smooth);
  /* Improve image quality on mobile */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: optimize-contrast;
}

.facility-card:hover img {
  transform: scale(1.05); /* reuse About zoom */
  filter: brightness(1.1);
}

/* Mobile Responsive Improvements for Facilities */
@media (max-width: 768px) {
  .facilities {
    padding: 3rem 1rem;
  }
  
  .facilities-carousel {
    max-width: 100%;
    margin: 10px;
  }
  

  
  .facility-card {
    min-width: 85%;
    transform: scale(0.95);
    opacity: 0.7;
  }
  
  .facility-card.active {
    transform: scale(1);
    opacity: 1;
    min-width: 85%;
  }
  
  .facility-card img {
    height: 250px;
    /* Better image quality on mobile */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: optimize-contrast;
    /* Prevent image compression artifacts */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  .facilities-btn {
    font-size: 1.5rem;
    padding: 0.3rem 0.8rem;
  }
  
  .facilities-btn.left {
    left: 5px;
  }
  
  .facilities-btn.right {
    right: 5px;
  }
  
  .facility-info {
    font-size: 1.2rem;
    padding: 0.5rem 1.5rem;
    margin-top: 1.5rem;
  }
}

@media (max-width: 480px) {
  .facilities {
    padding: 2rem 0.5rem;
  }
  
  .facility-card {
    min-width: 100%;
    transform: scale(0.98);
  }
  
  .facility-card.active {
    min-width: 100%; 
    transform: scale(1);
  }
  
  .facility-card img {
    height: 200px;
  }
  
  .facilities-btn {
    font-size: 1.2rem;
    padding: 0.2rem 0.6rem;
  }
  
  .facility-info {
    font-size: 1rem;
    padding: 0.4rem 1rem;
  }
}

/* Navigation Buttons */
.facilities-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: var(--luxury-gold);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 0.5rem 1rem;
  transition: var(--transition-smooth);
  z-index: 5;
}

.facilities-btn:hover {
  background: var(--luxury-gold);
  color: #fff;
}

.facilities-btn.left {
  left: 15px;
}

.facilities-btn.right {
  right: 15px;
}

/* Facility Info (Text Holder) */
.facility-info {
  position: relative;
  display: inline-block;
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff; /* fallback */
  padding: 0.6rem 2rem;
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

/* Background gradient shimmer (holder effect) */
.facility-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    #b8860b,
    #ffd700,
    #daa520,
    #ffcc00,
    #b8860b
  );
  background-size: 200% 200%;
  animation: bg-shimmer 4s linear infinite;
  z-index: -1; /* keeps it behind text */
}

/* When active (text shows) */
.facility-info.show {
  opacity: 1;
  transform: translateY(0);
  color: #fff;
  animation: text-fade 1s ease forwards;
}

/* Animate the background gradient shimmer */
@keyframes bg-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Subtle text animation */
@keyframes text-fade {
  0% {
    letter-spacing: -2px;
    opacity: 0.2;
  }
  100% {
    letter-spacing: 1px;
    opacity: 1;
  }
}

/* Branches Section */
.branches {
    background: var(--pure-white);
}

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

.trainer-card {
    background: var(--pure-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.trainer-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #F4E4BC; /* optional: fills background when aspect ratio doesn’t match */
    display: flex;
    justify-content: center;
    align-items: center;
}

.trainer-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* shows full image */
    transition: var(--transition-smooth);
}

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

.trainer-info {
    padding: 2rem;
}

.trainer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.trainer-title {
    color: var(--luxury-gold);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.trainer-bio {
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

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

.trainer-certifications span {
    background: var(--soft-gray);
    color: var(--primary-black);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    background: var(--primary-black);
    color: var(--pure-white);
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--pure-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--luxury-gold);
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--luxury-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-form {
    background: rgba(26, 26, 26, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--pure-white);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--luxury-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group select option {
    background: #1a1a1a; 
    color: var(--pure-white); 
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.form-group select option:checked,
.form-group select option:hover {
    background: var(--luxury-gold); 
    color: #000; 
}

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

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

.footer-section h3 {
    font-family: var(--serif);
    color: var(--luxury-gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.pure-white{
    color: var(--pure-white);
}

.footer-section h4 {
    color: var(--luxury-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-section ul li a:hover {
    color: var(--luxury-gold);
}

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

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    color: var(--pure-white);
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: var(--luxury-gold);
    color: var(--primary-black);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 3rem;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .stats {
        justify-content: space-around;
        gap: 1rem;
    }
    
    .membership-card.featured {
        transform: none;
    }
    
    .services-grid,
    .trainers-grid,
    .membership-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 0, 0, 0.3); /* light border */
    border-top-color: #000000; /* visible border color */
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 8px; /* space between text and spinner */
    vertical-align: middle;
    }

    @keyframes spin {
    to { transform: rotate(360deg); }
    }

}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card,
    .membership-card {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
