:root {
  --primary: #e63946;
  --dark: #333;
  --light: #f2f2f2;
  --text: #222;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Roboto", sans-serif;
  background: var(--light);
  color: var(--text);
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-family: "Oswald", sans-serif;
  font-size: 1.8rem;
  color: var(--primary);
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}
.site-nav ul.show {
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 20px;
  background: var(--dark);
  padding: 12px;
  border-radius: 4px;
}
.site-nav a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

.hero-section {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active {
  opacity: 1;
}
.slide-overlay {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #fff;
  text-shadow: 1px1px6px#000;
}
.slide-overlay h1 {
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  margin-bottom: 8px;
}
.slide-overlay p {
  font-size: 1.2rem;
}
.slide-controls {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}
.slide-controls button {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.slide-controls button:hover {
  background: rgba(0, 0, 0, 0.8);
}

section {
  padding: 60px 0;
}
h2 {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.about-section {
  background: var(--light);
}
.about-section p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: var(--dark);
}

.trainer-section {
  background: #fff;
}
.trainer-content {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trainer-photo {
  flex: 1 1 300px;
  border-radius: 8px;
}
.trainer-info {
  flex: 1 1 300px;
}
.trainer-info h2 {
  margin-bottom: 12px;
}
.trainer-info p {
  color: var(--dark);
}

.courses-section {
  background: var(--light);
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  text-align: center;
}
.course-card {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.course-card:hover {
  transform: translateY(-5px);
}
.course-card h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.pricing-section {
  background: #fff;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: var(--light);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}
.pricing-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}
.pricing-card p {
  font-size: 1.2rem;
}

.testimonials-section {
  background: var(--light);
}
.testimonials-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
.testimonials-list blockquote {
  position: relative;
  padding-left: 20px;
  border-left: 4px solid var(--primary);
  color: var(--dark);
  font-style: italic;
}

.track-section {
  position: relative;
}
.track-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.track-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}
.track-overlay h2 {
  margin-bottom: 8px;
}

.contact-section {
  background: #fff;
  text-align: center;
}
.contact-section p {
  color: var(--dark);
}

.site-footer {
  background: var(--dark);
  padding: 24px 0;
  text-align: center;
}
.site-footer p {
  color: #aaa;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .site-nav ul {
    display: none;
  }
  .site-nav ul.show {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .trainer-content,
  .course-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .trainer-content {
    flex-direction: column;
  }
}

/* Footer Links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-links a {
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-links .bar {
  color: #888;
  margin: 0 4px;
}

.site-footer {
  background: var(--dark);
  padding: 24px 0;
  text-align: center;
}
.site-footer p {
  color: #aaa;
  font-size: 0.9rem;
  margin: 0;
}

.parallax-section {
  position: relative;
  height: 60vh;
  background-image: url("../assets/images/item6.jpeg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.parallax-overlay {
  background: rgba(51, 51, 51, 0.6);
  padding: 40px 60px;
  border-radius: 8px;
  text-align: center;
}

.parallax-overlay h2 {
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  color: #e63946;
  margin-bottom: 12px;
}

.parallax-overlay p {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  color: #f2f2f2;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .parallax-overlay {
    padding: 24px 32px;
  }
  .parallax-overlay h2 {
    font-size: 2rem;
  }
  .parallax-overlay p {
    font-size: 1rem;
  }
}

.beginners-section {
  background: #333;
  color: #f2f2f2;
  padding: 80px 0;
}
.beginners-section h2 {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 32px;
}
.beginners-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.beginners-text {
  flex: 1 1 320px;
}
.beginners-text h3 {
  font-size: 1.6rem;
  color: #e63946;
  margin-bottom: 16px;
}
.beginners-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.beginners-text ul {
  list-style: none;
  padding-left: 0;
}
.beginners-text li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}
.beginners-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
}
.beginners-image {
  flex: 1 1 320px;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .beginners-content {
    flex-direction: column;
  }
  .beginners-section h2 {
    font-size: 1.8rem;
  }
}

.rules-section {
  background: #222;
  color: #eee;
  padding: 80px 0;
}
.rules-section h2 {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 32px;
}

.rules-list {
  max-width: 700px;
  margin: 0 auto;
  padding-left: 0;
  list-style: none;
  counter-reset: rule-counter;
}

.rules-list li {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-left: 40px;
  position: relative;
}

.rules-list li::before {
  content: counter(li);
  counter-increment: li;
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
}

.rules-list {
  counter-reset: li;
}

@media (max-width: 768px) {
  .rules-section h2 {
    font-size: 1.8rem;
  }
  .rules-list li {
    padding-left: 32px;
    margin-bottom: 12px;
  }
  .rules-list li::before {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }
}

.course-profiles-section {
  background: #fff;
  padding: 80px 0;
}
.course-profiles-section h2 {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 40px;
}
.course-profile {
  max-width: 800px;
  margin: 0 auto 60px;
  padding: 24px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}
.course-profile.alt-bg {
  background: var(--light);
  border-radius: 8px;
}
.course-profile:nth-child(1) {
  animation-delay: 0.2s;
}
.course-profile:nth-child(2) {
  animation-delay: 0.4s;
}
.course-profile:nth-child(3) {
  animation-delay: 0.6s;
}
.course-profile h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
}
.course-profile p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .course-profile {
    margin-bottom: 40px;
    padding: 16px;
  }
  .course-profiles-section h2 {
    font-size: 1.8rem;
  }
}

.about-school-section {
  background: var(--light);
  padding: 80px 0;
}
.about-school-section h2 {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 40px;
}
.about-school-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.about-school-text {
  flex: 1 1 400px;
}
.about-school-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 24px;
}
.about-school-text ul {
  list-style: none;
  padding: 0;
}
.about-school-text li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--dark);
}
.about-school-image {
  flex: 1 1 400px;
  text-align: center;
}
.about-school-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .about-school-content {
    flex-direction: column;
  }
  .about-school-section h2 {
    font-size: 2rem;
  }
}

.mini-gallery-section {
  background: var(--dark);
  color: #fff;
  padding: 60px 0;
}
.mini-gallery-section h2 {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 40px;
}

.mini-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.mini-gallery-item {
  text-align: center;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}
.mini-gallery-item:nth-child(1) {
  animation-delay: 0.2s;
}
.mini-gallery-item:nth-child(2) {
  animation-delay: 0.4s;
}
.mini-gallery-item:nth-child(3) {
  animation-delay: 0.6s;
}
.mini-gallery-item:nth-child(4) {
  animation-delay: 0.8s;
}

.mini-gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
}

.mini-gallery-item figcaption {
  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  color: #ccc;
}

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

@media (max-width: 600px) {
  .mini-gallery-item img {
    height: 140px;
  }
}

.title_background {
  background: linear-gradient(90deg, #333, #444);
  padding: 60px 0;
}
.title_background .container {
  display: flex;
  justify-content: center;
}
.title_background .title {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0;
  animation: slideInDown 0.8s ease forwards;
}

.text_background {
  background: var(--light);
  padding: 40px 0;
}
.text_background .container {
  max-width: 800px;
  margin: 0 auto;
}
.text_background .text {
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  text-align: justify;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

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

@media (max-width: 768px) {
  .title_background .title {
    font-size: 1.6rem;
  }
  .text_background .text {
    font-size: 0.95rem;
  }
}

.advantages-section {
  background: #222;
  padding: 80px 0;
}
.advantages-section h2 {
  text-align: center;
  font-family: "Oswald", sans-serif;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 40px;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  align-items: start;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}
.advantage-item:nth-child(1) {
  animation-delay: 0.2s;
}
.advantage-item:nth-child(2) {
  animation-delay: 0.4s;
}
.advantage-item:nth-child(3) {
  animation-delay: 0.6s;
}
.advantage-item:nth-child(4) {
  animation-delay: 0.8s;
}
.advantage-item:nth-child(5) {
  animation-delay: 1s;
}

.advantage-item h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 500;
}
.advantage-item p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
}

.advantage-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0;
  transform: scale(0.5);
  animation: fadeInScale 0.8s ease-out forwards;
}
.advantage-item:nth-child(1) .advantage-icon {
  animation-delay: 0.2s;
}
.advantage-item:nth-child(2) .advantage-icon {
  animation-delay: 0.4s;
}
.advantage-item:nth-child(3) .advantage-icon {
  animation-delay: 0.6s;
}
.advantage-item:nth-child(4) .advantage-icon {
  animation-delay: 0.8s;
}
.advantage-item:nth-child(5) .advantage-icon {
  animation-delay: 1s;
}

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

@media (max-width: 600px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

.faq-section {
  padding: 80px 0;
  background: #f5f5f5;
}
.faq-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 40px;
}
.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 16px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: background 0.3s;
}
.faq-question:hover {
  background: rgba(0,0,0,0.03);
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 16px;
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.faq-question.active::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 16px;
}
.faq-answer p {
  margin: 16px 0;
  line-height: 1.6;
  color: var(--text-dark);
}

@media (max-width: 600px) {
  .faq-question {
    padding: 12px;
    font-size: 0.95rem;
  }
  .faq-question::after {
    right: 12px;
  }
  .faq-answer p {
    margin: 12px 0;
  }
}

.contact-offer-wrapper {
  background: var(--light-bg);
  padding: 80px 0;
}

.contact-section {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.contact-image {
  flex: 1 1 320px;
}
.contact-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.contact-details {
  flex: 1 1 320px;
  animation: fadeInRight 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}
.contact-details h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.contact-info {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.contact-info li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-dark);
}
.contact-info a {
  color: var(--accent);
}
.contact-cta {
  margin-top: 16px;
  font-size: 0.95rem;
}
.contact-cta .link {
  color: var(--primary);
  font-weight: 500;
}

.offer-section {
  background: linear-gradient(135deg, rgba(62,142,65,0.1), rgba(139,94,60,0.1));
  padding: 60px 20px;
  border-radius: 12px;
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.offer-content {
  max-width: 600px;
  margin: 0 auto;
}
.offer-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.offer-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.offer-details {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.offer-details li {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--text-dark);
  position: relative;
  padding-left: 24px;
}
.offer-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  transition: background 0.3s;
}
.offer-btn:hover {
  background: var(--primary);
}

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

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
  }
  .offer-content h2 {
    font-size: 1.8rem;
  }
}