
/* ===================================== hero ========================================== */
.hero {
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
  color: var(--white-color);
  
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  padding: 20px;
  text-align: right;
}

.hero-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .hero-img img {
  max-width: 150%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  margin-top: 8rem;
} */

.hero-img img {
  max-width: 150%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  margin-top: 8rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    text-align: center;
    margin-top: 10rem;
  }

  .hero-img img {
    margin-top: 2px;
  }

  .hero-btns {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 700px;
  }

  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-btns .btn {
    width: auto;
  }
}

@media (max-width: 576px) {
  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
  }
}

/* ===================================== about-us ========================================== */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}


.about-img {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
 

}


.about-img img {
  width: 100%;
  height: auto;
  display: block;
  
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-text p {
  margin-bottom: 30px;
  color: var(--gray-color);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature i {
  width: 50px;
  height: 50px;
  background-color: rgba(255, 71, 87, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature span {
  font-weight: 500;
}

/* video */
.video-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 25px;
  border-radius: 50px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  margin-top: 20px;
  font-size: 1rem;
}

.video-trigger-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-trigger-btn i {
  margin-left: 5px;
}

.video-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.video-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-popup-box {
  position: relative;
  width: 90%;
  max-width: 600px;
  background: var(--white-color);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.close-video-btn {
  position: absolute;
  top: -40px;
  right: -5px;
  color: var(--white-color);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  z-index: 10;
}

.close-video-btn:hover {
  color: var(--primary-color);
}

.video-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-popup-overlay.active {
  display: flex;
}

.video-popup-box {
  background: #000;
  border-radius: 10px;
  max-width: 700px;
  width: 90%;
  position: relative;
  padding: 10px;
}

.close-video-btn {
  position: absolute;
  top: -30px;
  right: -30px;
  font-size: 2rem;
  color: var(--white-color);
  cursor: pointer;
  user-select: none;
}

video {
  width: 100%;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .video-popup-box {
    width: 95%;
    padding: 10px;
  }

  .close-video-btn {
    top: -30px;
    right: -5px;
    font-size: 1.5rem;
  }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }

  .contact-content {
    flex-direction: column;
  }
}

/* ===================================== services ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}



.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(255, 71, 87, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-icon {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.service-card p {
  color: var(--gray-color);
}

/* ===================================== coaches ========================================== */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.trainer-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
  transform: translateY(30px);
}

.trainer-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.trainer-card:hover {
  transform: translateY(-10px);
}

.trainer-img {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.trainer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.trainer-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trainer-card:hover .trainer-overlay {
  opacity: 1;
}

.trainer-social {
  display: flex;
  gap: 15px;
}

.trainer-social a {
  width: 50px;
  height: 50px;
  background-color: var(--white-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.trainer-social a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-5px);
}

.trainer-info {
  padding: 25px;
  text-align: center;
}

.trainer-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.trainer-info>span {
  color: var(--primary-color);
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.trainer-info p {
  color: var(--gray-color);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.trainer-skills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background-color: rgba(255, 71, 87, 0.1);
  color: var(--primary-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===================================== rates ========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pricing-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.popular {
  border: 2px solid var(--primary-color);
}

.popular-tag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 5px 20px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.9rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
}

.pricing-header h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.price {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.price span:first-child {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price span:last-child {
  color: var(--gray-color);
  margin-top: 10px;
}

.pricing-features {
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: var(--gray-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li.not-available {
  text-decoration: line-through;
  opacity: 0.5;
}

/* ===================================== testimonial  ========================================== */
.testimonials-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}

.swiper-slide {
  background: var(--white-color);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.swiper-slide:hover {
  transform: translateY(-10px);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 3px solid var(--primary-color);
}

.testimonial-text {
  color: var(--text-color);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-role {
  color: #777;
  font-size: 14px;
}

.swiper-button-next,
.swiper-button-prev {
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white-color);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.1);
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

@media (max-width: 768px) {
  .swiper-slide {
    padding: 20px;
  }
}
 /* استایل دکمه ثبت نظر */
        .add-testimonial-btn {
            background:  var(--primary-gradient);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 0 auto 40px;
        }
        
        .add-testimonial-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        /* استایل مودال */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            padding: 20px;
        }
        
        .modal-overlay.active {
            display: flex;
        }
        
        .testimonial-modal {
            background: white;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            overflow: hidden;
            width: 100%;
            max-width: 600px;
            max-height: 90vh;
            overflow-y: auto;
            animation: modalAppear 0.3s ease-out;
        }
        
        @keyframes modalAppear {
            from {
                opacity: 0;
                transform: translateY(-50px) scale(0.9);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }
          /* استایل بولت‌های ناوبری */
        .testimonial-bullets {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin: 30px 0;
        }
        
        .bullet {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .bullet.active {
            background: #3498db;
            transform: scale(1.2);
        }
        .modal-header {
            background:  var(--primary-gradient);
            color: white;
            padding: 25px;
            text-align: center;
            position: relative;
        }
        
        .modal-header h2 {
            font-size: 1.8rem;
            margin-bottom: 10px;
        }
          
        .modal-header p {
          
            color: var(--white-color);
        }
        
        
        .close-modal {
            position: absolute;
            top: 15px;
            left: 20px;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s;
        }
        
        .close-modal:hover {
            background: rgba(255, 255, 255, 0.2);
        }
        
        .modal-content {
            padding: 30px;
        }
        
        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .form-group {
            flex: 1;
            margin-bottom: 25px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 1rem;
            transition: border 0.3s;
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #3498db;
            outline: none;
        }
        
        .form-group textarea {
            height: 150px;
            resize: vertical;
        }
        
        .rating-group {
            display: flex;
            gap: 10px;
            direction: ltr;
            margin-top: 10px;
            justify-content: center;
        }
        
        .rating-star {
            font-size: 2.5rem;
            cursor: pointer;
            color: #ddd;
            transition: all 0.2s;
        }
        
        .rating-star:hover,
        .rating-star.active {
            color: #f39c12;
            transform: scale(1.1);
        }
        
        .rating-label {
            display: flex;
            justify-content: space-between;
            margin-top: 5px;
            font-size: 0.9rem;
            color: #7f8c8d;
        }
        
        .submit-btn {
            background: var(--primary-gradient);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            width: 100%;
            transition: transform 0.3s, box-shadow 0.3s;
            margin-top: 10px;
        }
        
        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }
        
        .form-note {
            text-align: center;
            margin-top: 20px;
            color: #7f8c8d;
            font-size: 0.9rem;
        }

/* ===================================== blog ========================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-img {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-icon {
  font-size: 3rem;
  color: var(--white-color);
  opacity: 0.8;
}

.blog-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  line-height: 1.2;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.blog-date span:first-child {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.blog-date span:last-child {
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
  line-height: 1.4;
}

.blog-content p {
  color: var(--gray-color);
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease, gap 0.3s ease;
  font-size: 0.95rem;
  text-decoration: none;
}

.read-more:hover {
  gap: 12px;
  color: var(--secondary-color);
}

.read-more i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(-5px);
}

.blog-btn {
  text-align: center;
  margin-top: 20px;
}

/* رسپانسیو */
@media (max-width: 768px) {
  .blog {
    padding: 60px 0;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-img {
    height: 150px;
  }

  .blog-icon {
    font-size: 2.5rem;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-content h3 {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }
}

/* ===================================== contact-us ========================================== */
.contact-content {
  display: flex;
  gap: 50px;
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 1;
}

.info-box {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 71, 87, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.info-text p {
  color: var(--gray-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--gray-light-color-1);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: right;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-group textarea {
  height: 150px;
  resize: none;
}
