/* Modern CSS Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Properties */
:root {
  --primary: #0B0F1A;
  --secondary: #5B9BFF;
  --accent: #3B82F6;
  --text: #E5E7EB;
  --dark: #070B13;
  --divider-color: rgba(91,155,255,0.1);

  --gradient-primary: linear-gradient(135deg, #5B9BFF 0%, #3B82F6 100%);
  --gradient-dark: linear-gradient(to bottom, rgba(7,11,19,0.95), rgba(11,15,26,0.98));
  --gradient-glow: linear-gradient(45deg, 
    rgba(91,155,255,0.5), 
    rgba(59,130,246,0.5)
  );
  --gradient-blue: linear-gradient(135deg,
    rgba(91,155,255,0.1) 0%,
    rgba(59,130,246,0.1) 100%
  );

  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.05);
  --blur: 15px;
  --glow: rgba(91,155,255, 0.5);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--glow);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, var(--dark) 0%, #111 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.2;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px var(--glow));
}

/* Container */
.container {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(7,11,19,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--glow));
  transition: var(--transition-normal);
}
.logo a:hover {
  filter: drop-shadow(0 0 20px var(--glow));
  transform: scale(1.05);
}

/* Навигация */
.nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
  margin-right: -2rem; /* Подвинем еще правее */
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-normal);
}
.nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
}
.nav a:hover {
  color: var(--secondary);
}
.nav a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Кнопка "Back to Top" */
.btn-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  padding: 0.8rem 1.2rem;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: none; 
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  animation: fadeInScale 0.3s ease-out;
}
.btn-top:hover {
  transform: translateY(-3px);
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  background: var(--dark);
  padding: 80px 0;
  margin: 0;
  overflow: hidden;
}
.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: flex-start;
  position: relative;
}
.hero-text {
  max-width: 550px;
  padding-top: 60px;
  padding-right: 50px;
  position: relative;
  z-index: 2;
}
.hero-text h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}
.hero-text p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 2.5rem;
}
.hero-image {
  position: absolute;
  top: 45%;
  right: -5%;
  width: 60%;
  height: 90%;
  transform: translateY(-50%);
  border-radius: 24px 0 0 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 95%;
  height: 95%;
  object-fit: cover;
  object-position: center 10%;
  opacity: 0.8;
  border-radius: 20px;
}

/* Section */
.section {
  position: relative;
  padding: 35px 0;
  background: var(--dark);
  margin: 0;
  border-bottom: 1.5px solid rgba(91,155,255,0.1);
}

.section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px var(--glow));
  margin: 0 0 2rem 0;
  text-align: center;
  position: relative;
  letter-spacing: 0.5px;
}

/* Our Trainers (#trainers) */
#trainers {
  width: 100%;
  padding: 80px 0;
  background: transparent;
  position: relative;
  isolation: isolate;
}

#trainers::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  z-index: -1;
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.trainer-banner {
  position: relative;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  background: var(--dark);
  border: 1px solid rgba(91,155,255,0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.trainer-banner:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: 0 15px 30px rgba(91,155,255,0.15);
}

.trainer-banner-image {
  width: 100%;
  height: 100%;
  position: relative;
}

.trainer-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.trainer-banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(
    to top,
    rgba(7,11,19,0.95) 0%,
    rgba(7,11,19,0.8) 50%,
    transparent 100%
  );
  transform: translateY(calc(100% - 80px));
  transition: transform 0.3s ease;
}

.trainer-banner:hover .trainer-banner-content {
  transform: translateY(0);
}

.trainer-banner h3 {
  color: white;
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.trainer-specialty {
  display: block;
  color: var(--secondary);
  font-size: 0.85rem;
  margin-top: 5px;
}

.trainer-details {
  margin-top: 15px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease 0.1s;
}

.trainer-banner:hover .trainer-details {
  opacity: 1;
  transform: translateY(0);
}

.trainer-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.trainer-stats span {
  background: rgba(91,155,255,0.1);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--secondary);
}

.trainer-short-bio {
  font-size: 0.85rem;
  color: var(--text);
  margin: 10px 0;
  line-height: 1.4;
}

.trainer-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.trainer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(91,155,255,0.3);
}

.trainer-btn:active {
  transform: translateY(0);
}

/* Gallery (старый) */
.gallery {
  position: relative;
  padding: 6rem 0;
  background: var(--gradient-blue);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16/9;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: var(--transition-normal);
}
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(7,11,19,0.8)
  );
  opacity: 0;
  transition: var(--transition-normal);
}
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.gallery-item:hover::before {
  opacity: 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Decorative Circles (если нужны) */
.decorative-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  filter: blur(100px);
  opacity: 0.1;
  z-index: 1;
}
.circle-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -200px;
}
.circle-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -150px;
}

/* Improved Contact Section */
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.glow-card {
  background: rgba(91,155,255,0.05);
  border: 1px solid rgba(91,155,255,0.1);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.glow-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(91,155,255,0.1);
}

.glow-card i {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 20px;
  display: block;
}

.contact-details h4 {
  color: var(--secondary);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.contact-details p {
  line-height: 1.6;
  color: var(--text);
}

.copy-number {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: rgba(91,155,255,0.05);
  border: 1px solid rgba(91,155,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  text-decoration: none !important;
}

.copy-notice {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  color: var(--secondary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-number:hover .copy-notice {
  opacity: 1;
}

/* Enhanced Form Styles */
.form-header {
  text-align: center;
  margin-bottom: 40px;
}

.form-header h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.form-header p {
  color: rgba(255,255,255,0.8);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.form-group {
  position: relative;
  margin-bottom: 10px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(91,155,255,0.3);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

.form-group label {
  position: absolute;
  left: 0;
  top: 15px;
  color: rgba(255,255,255,0.6);
  pointer-events: none;
  transition: all 0.3s ease;
}

.form-group .underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.form-group input:focus ~ .underline,
.form-group textarea:focus ~ .underline,
.form-group input:not(:placeholder-shown) ~ .underline,
.form-group textarea:not(:placeholder-shown) ~ .underline {
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
  border-bottom-color: transparent;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -15px;
  font-size: 0.8rem;
  color: var(--secondary);
}

.btn i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero-slider {
    width: 90%;
    height: 300px;
    margin: 20px auto;
  }
  
  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .glow-card {
    padding: 15px;
    text-align: center;
  }
  
  .glow-card i {
    margin: 0 auto 15px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  
  .form-group {
    margin-bottom: 35px;
  }
  
  .form-header h3 {
    font-size: 1.5rem;
  }
  
  .copy-notice {
    display: none;
  }

  .nav ul {
    margin-right: 1rem;
  }

  /* Adjust container */
  .container {
    width: 95%;
    padding: 0 0.5rem;
  }
  /* Smaller header */
  .header {
    padding: 0.5rem 0;
  }
  /* Reduce hero text size */
  .hero-text h1 {
    font-size: 2.5rem;
  }
  /* Stack nav links vertically */
  .nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  /* Adjust Back-to-top button */
  .btn-top {
    bottom: 20px;
    right: 20px;
  }
  /* Ensure hero slider images fill container */
  .hero-slider img {
    object-fit: cover;
    width: 100%;
  }
  /* Optionally reduce extra spacing in sections */
  .section {
    padding: 30px 0;
    margin: 0;
  }
  
  /* Убираем дополнительные отступы */
  .section + .section {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 280px;
    width: 95%;
  }
  
  .section h2 {
    font-size: 1.4rem;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }

  .hero-text p {
    font-size: 0.9rem;
  }

  .contact-details p {
    font-size: 0.9rem;
  }
  
  .form-group input,
  .form-group textarea {
    font-size: 0.9rem;
  }
}

.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 15px 30px;
  border-radius: 30px;
  background: var(--dark);
  color: white;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1000;
}

.notification.success {
  background: #4CAF50;
}

.notification.error {
  background: #f44336;
}

.submit-btn {
  position: relative;
  overflow: hidden;
}

.submit-btn.submitting {
  background: #4CAF50;
  pointer-events: none;
}

.submit-btn.success {
  background: #4CAF50;
}

@keyframes slideIn {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.form-header p {
  color: rgba(255,255,255,0.8);
}

/* Footer */
.footer {
  position: relative;
  padding: 2rem 0;
  background: var(--dark);
  margin: 0;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(91,155,255,0.2),
    transparent
  );
}
.footer p {
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  letter-spacing: 1px;
}
.footer strong {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Обновляем стили разделителя секций */
.section-divider {
  position: absolute;
  top: -22.5px;
  left: 50%;
  transform: translateX(-70%); /* Увеличиваем смещение влево */
  width: 180px;
  height: 45px;
  background: var(--dark);
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
  margin: 0;
}

.divider-content {
  width: 100%;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.divider-line {
  width: 100px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--secondary),
    transparent
  );
}

.divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 10px var(--glow);
}

.divider-icon {
  color: var(--secondary);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 10px var(--glow));
  margin-left: 0;
}

/* Добавляем стили для разных иконок в разделителях */
.divider-icon.about {
  color: var(--secondary);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 10px var(--glow));
}

.divider-icon.category {
  color: var(--secondary);
  font-size: 1.2rem;
  filter: drop-shadow(0 0 10px var(--glow));
}

/* Для мобильной версии */
@media (max-width: 768px) {
  .section-divider {
    transform: translateX(-50%);
  }
  .divider-content {
    justify-content: center;
    padding: 0.6rem 1rem;
  }
}

/* Personal Goals List */
.call-to-action {
  margin-top: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Анимации при появлении */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.section > * {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Адаптив Hero */
@media (max-width: 1024px) {
  .hero-content {
    padding: 100px 2rem;
    flex-direction: column;
    align-items: center;
  }
  .hero-text {
    text-align: center;
    margin-bottom: 2rem;
  }
  .hero-image {
    position: relative;
    width: 100%;
    height: 450px;
    right: 0;
    top: 50%;
    transform: none;
    border-radius: 24px;
    margin-top: 2rem;
  }
  .section {
    margin-top: 0;
    padding: 60px 0 100px;
  }
  .hero-image img {
    width: 95%;
    height: 95%;
    object-position: center 25%;
  }
  .container {
    width: 95%;
  }
  .trainers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-slider {
    width: 90%;
    height: 500px;
    margin: 40px auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  .hero-content {
    padding: 40px 0 80px;
  }
  .hero-text {
    max-width: 100%;
  }
  .hero-image {
    max-width: 450px;
    height: 400px;
    top: 40%;
  }
  .trainers-grid {
    gap: 2rem;
    margin: 3rem 0;
  }
  .trainer-image {
    height: 300px;
  }
  .trainer-info {
    padding: 1.5rem;
  }
  .trainer-info h3 {
    font-size: 1.5rem;
  }
  .section {
    margin-top: 0;
    padding: 40px 0 80px;
  }
  .section h2 {
    font-size: 1.6rem;
    margin-top: 1.5rem;
    text-align: center;
  }
  .section-divider {
    transform: translateX(-50%);
  }
  .divider-content {
    justify-content: center;
    padding: 0.6rem 1rem;
  }
  .divider-line {
    width: 30px;
  }
  .divider-icon {
    margin-left: 0;
  }
  .hero-image img {
    width: 95%;
    height: 95%;
    object-position: center 20%;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--dark);
    padding: 20px;
    transition: 0.3s;
  }
  .nav.active {
    left: 0;
  }
  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0;
  }
  .nav a {
    font-size: 1.2rem;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-slider {
    height: 400px;
    margin: 30px auto;
  }
  .trainers-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-cards {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
  }

  .hero-slider {
    height: 280px;
    width: 95%;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .about-box,
  .advantage-box,
  .goal-box {
    padding: 15px;
    margin-bottom: 15px;
  }
  .hero-slider {
    height: 280px;
    width: 95%;
    margin: 20px auto;
  }
  
  .hero-slide img {
    object-position: center 35%;
  }
}

/* Мобильное меню */
.menu-toggle {
  display: none;
  position: relative;
  width: 30px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 100;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
}
.menu-toggle span {
  top: 50%;
  transform: translateY(-50%);
}
.menu-toggle span::before {
  top: -8px;
}
.menu-toggle span::after {
  bottom: -8px;
}

/* Прелоадер */
.preloader {
  display: none !important;
}

/* Стили для текста */
.call-to-action,
.consultation-text {
  font-style: italic;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin: 1rem 0;
}

.personal-training {
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
}

/* Обновленные стили для телефонного номера */
.phone-number {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text) !important;
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.copy-number::before {
  content: 'Copied!';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 100%);
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s ease;
}

.copy-number.copied::before {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.copy-number.copied .phone-number {
  opacity: 0;
}

.copy-number:hover {
  background: rgba(91,155,255,0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(91,155,255,0.15);
}

.copy-number:active {
  transform: translateY(0);
}

/* Анимация пульсации при копировании */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(91,155,255,0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(91,155,255,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(91,155,255,0);
  }
}

.copy-number.copied {
  animation: pulse 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Медиа запрос для мобильных устройств */
@media (max-width: 768px) {
  .copy-number {
    padding: 10px 15px;
  }
  
  .phone-number {
    font-size: 1.1rem;
  }
}

/* Стили для секции About Us */
#about.section {
  padding: 35px 0;
  margin: 0;
  border-bottom: 1.5px solid rgba(91,155,255,0.1);
}

#about .content {
  max-width: 800px;
  margin: 0 20px; /* Изменяем отступы */
  padding: 0 20px 0 0; /* Убираем верхний и нижний padding */
}

#about p {
  margin-bottom: 1rem;
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--text);
  position: relative;
  padding-left: 15px;
  border-left: 3px solid var(--secondary);
}

#about p:last-child {
  margin-bottom: 0; /* Убираем отступ у последнего параграфа */
}

/* Убираем отступы у заголовка секции */
#about h2 {
  margin-bottom: 2rem; /* Уменьшаем отступ снизу */
  margin-top: 0; /* Убираем отступ сверху */
}

/* Общие стили для списков в секциях */
.section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section ul li {
  margin-bottom: 1rem;
  padding-left: 12px;
  position: relative;
  border-left: 2px solid var(--secondary);
  line-height: 1.5;
  font-size: 0.95rem;
  color: var(--text);
}

/* Специфичные стили для разных секций */
#advantages ul li,
#goals ul li {
  margin-left: 15px;
  padding-left: 12px;
  transition: all 0.3s ease;
}

#advantages ul li:hover,
#goals ul li:hover {
  transform: translateX(5px);
  border-left-color: var(--accent);
}

/* Для мобильных устройств */
@media (max-width: 768px) {
  .section ul li {
    font-size: 0.9rem;
    padding-left: 10px;
    margin-bottom: 0.8rem;
  }

  #advantages ul li,
  #goals ul li {
    margin-left: 12px;
  }
}

/* Обновляем стили для hero-slider */
.hero-slider {
  width: 65%;
  height: 600px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 20px;
  box-shadow: var(--shadow-lg);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  border-radius: 20px;
  transition: transform 0.5s ease;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--secondary);
  transform: scale(1.2);
}

/* Стили для сертификатов */
.certifications-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.certification-item {
  display: flex;
  gap: 25px;
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
}

.cert-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(91,155,255,0.15);
  line-height: 1;
  min-width: 100px;
  text-align: center;
}

.cert-content {
  flex: 1;
  position: relative;
}

.cert-content h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 10px;
  padding-right: 100px;
}

.cert-tag {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  background: rgba(91,155,255,0.1);
  padding: 4px 12px;
  border-radius: 20px;
}

.cert-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--secondary), transparent);
  margin: 15px 0;
}

.cert-content p {
  font-size: 0.9rem;
  color: var(--text);
  opacity: 0.8;
  line-height: 1.6;
}

.certification-item:hover {
  transform: translateX(10px);
}

.certification-item:hover .cert-number {
  color: rgba(91,155,255,0.3);
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
  .certifications-list {
    padding: 10px;
    gap: 30px;
  }

  .certification-item {
    padding: 15px;
    gap: 15px;
  }

  .cert-number {
    font-size: 2.5rem;
    min-width: 70px;
  }

  .cert-content h3 {
    font-size: 1.1rem;
    padding-right: 80px;
  }

  .cert-tag {
    font-size: 0.8rem;
    padding: 3px 10px;
  }
}

/* Общие мобильные стили */
@media (max-width: 768px) {
  /* Шапка */
  .header {
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--dark);
  }

  .nav-container {
    padding: 0 15px;
  }

  .logo {
    font-size: 1.2rem;
  }

  /* Мобильное меню */
  .nav {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background: var(--dark);
    padding: 20px;
    transition: 0.3s;
  }

  .nav.active {
    left: 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .nav a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.1rem;
  }

  /* Hero секция */
  .hero {
    padding-top: 80px;
  }

  .hero-content {
    flex-direction: column;
    padding: 20px 0;
    gap: 20px;
  }

  .hero-text {
    text-align: center;
    padding: 0;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-slider {
    width: 100%;
    height: 250px;
    right: 0;
    margin: 20px auto 0;
  }

  /* Секции */
  .section {
    padding: 40px 0 20px;
    margin-top: 30px;
  }

  .section h2 {
    font-size: 1.6rem;
    margin: 0 0 30px;
    text-align: center;
    position: relative;
  }

  /* About, Advantages, Goals */
  .about-box,
  .advantage-box,
  .goal-box {
    padding: 20px;
    margin: 0 15px;
  }

  .about-header,
  .advantage-header,
  .goal-header {
    text-align: left;
    margin-bottom: 15px;
  }

  .about-number,
  .advantage-number,
  .goal-number {
    font-size: 2rem;
  }

  .about-header h3,
  .advantage-header h3,
  .goal-header h3 {
    font-size: 1.4rem;
  }

  .about-details,
  .advantage-details,
  .goal-details {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .about-stats,
  .advantage-stats,
  .goal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(91,155,255,0.1);
  }

  .stat {
    padding: 10px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Контакты */
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 10px;
  }

  .contact-card {
    padding: 20px;
    text-align: center;
    margin-bottom: 15px;
  }
}

/* Дополнительные стили для маленьких экранов */
@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
  }

  .hero-slider {
    width: 85%;
    height: 180px;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .about-box,
  .advantage-box,
  .goal-box {
    padding: 15px;
    margin-bottom: 15px;
  }
}

/* Фикс для ландшафтной ориентации */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

  .section {
    padding: 30px 0;
  }
}

/* Десктопные стили и анимации */
.about-box,
.advantage-box,
.goal-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(91,155,255, 0.1);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-box:hover,
.advantage-box:hover,
.goal-box:hover {
  transform: translateX(10px);
  border-color: var(--secondary);
}

.about-box::before,
.advantage-box::before,
.goal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(91,155,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.about-box:hover::before,
.advantage-box:hover::before,
.goal-box:hover::before {
  opacity: 1;
}

.about-number,
.advantage-number,
.goal-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.about-box:hover .about-number,
.advantage-box:hover .advantage-number,
.goal-box:hover .goal-number {
  opacity: 0.8;
}

/* Остальные десктопные стили... */

/* Мобильные стили (оставляем как есть) */
@media (max-width: 768px) {
  /* Ваши текущие мобильные стили... */
}

/* Стили для кнопки Start Now и Send Application */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 2.5rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(91,155,255,0.3);
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(91,155,255,0.4);
}

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

.btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* Кнопка "Start Now" */
.hero .btn {
  margin-top: 2rem;
  font-size: 1rem;
  padding: 1rem 2.5rem;
}

/* Кнопка "Send Application" */
.submit-btn {
  font-size: 0.8rem;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
}

.submit-btn.submitting {
  background: #4CAF50;
  transform: scale(0.95);
  animation: pulse 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-btn.submitting .button-text {
  color: white;
}

/* Сообщение скролла */
.scroll-message {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.scroll-message.show {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .hero-slider {
    height: 250px;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section h2 {
    font-size: 1.5rem;
  }
  
  .certification-item {
    flex-direction: column;
    text-align: center;
  }
  
  .cert-number {
    margin-bottom: 10px;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Стили для мобильных устройств */
@media (max-width: 768px) {
  .hero-slider {
    width: 90%;
    height: 300px;
    margin: 20px auto;
  }

  .hero-slide img {
    height: 100%;
    object-fit: cover;
    object-position: 60% 30%;
  }
}

/* Для еще меньших экранов */
@media (max-width: 480px) {
  .hero-slider {
    height: 280px;
    width: 95%;
  }

  .hero-slide img {
    object-position: 60% 35%;
  }
}

@media (max-width: 1024px) {
  .hero-image {
    top: 50%;
  }
}

@media (max-width: 768px) {
  .hero-image {
    top: 40%;
  }
}