/* === RESET AND BASE === */
h1,
h2,
h3,
h4,
h5,
h6 {
  position: relative;
  font-family: "Raleway", sans-serif;
  font-weight: normal;
  margin: 0;
  background: none;
  color: #000000;
}

p {
  position: relative;
  line-height: 30px;
}

body {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1.6em;
  font-weight: 400;
  background: #fff;
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: #ffffff;
  transition: all 0.5s ease 0s;
}

a:hover,
a:focus,
a:visited {
  text-decoration: none;
  outline: none;
}

textarea {
  resize: none;
}

textarea:focus,
input:focus,
select:focus,
a:focus,
button:focus {
  outline: none;
}

.row {
  margin-right: 0;
  margin-left: 0;
}

/* === UTILITIES === */
.title {
  text-transform: uppercase;
  font-size: 40px;
  font-weight: lighter;
}

.aftertitle {
  font-size: 18px;
  font-weight: 500;
}

.page_loader {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-loader svg {
  animation: rotate 2s linear infinite;
}

.loader-circle {
  transform-origin: center;
  animation: dash 2s ease-in-out infinite;
}

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

@keyframes dash {
  0% {
    stroke-dashoffset: 220;
    opacity: 1;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
  100% {
    stroke-dashoffset: -220;
    opacity: 1;
  }
}

.page-wrapper {
  position: relative;
  margin: 0 auto;
  width: 100%;
  min-width: 300px;
  min-height: 400px;
  overflow: hidden;
}

/* === HEADER AND FIXED NAVIGATION === */
.logo img {
  width: 300px;
}

.main-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background: #000;
  backdrop-filter: blur(10px);
  z-index: 999;
}

.main-header.header-fixed {
  background: #000;
  backdrop-filter: blur(10px);
}

.main-header .header-lower {
  position: relative;
  background: transparent;
  min-height: 80px;
  padding: 13px 0;
}

.navbar .navbar-toggler {
  border: 1px solid #8dbe3e;
  padding: 8px;
}

.navbar .navbar-toggler .icon-bar {
  background: #8dbe3e;
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
}

.navbar .navbar-toggler .icon-bar + .icon-bar {
  margin-top: 4px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 20px;
}

.main-menu .nav li a {
  padding-bottom: 0px;
  position: relative;
  display: block;
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  text-transform: uppercase;
  opacity: 1;
  z-index: 2;
  transition: all 500ms ease;
  border-bottom: 2px solid transparent;
}

.main-menu .nav li a:hover,
.main-menu .nav li.current a {
  border-bottom: 2px solid #8dbe3e;
  background-color: transparent;
  color: #fff;
}

/* === HERO SECTION === */
.main-section {
  padding-top: 80px;
  height: 100vh;
  box-sizing: border-box;
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url(./background.jpeg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 100vh;
}

.hero-background-overlay {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(141, 190, 62, 0.1) 100%
  );
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(141, 190, 62, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(141, 190, 62, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 60%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    );
  animation: particlesFloat 20s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes particlesFloat {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(1deg);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 700px;
  animation: heroContentSlideIn 1.2s ease-out;
  padding: 20px 0;
}

@keyframes heroContentSlideIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  margin-bottom: 30px;
}

.hero-brand {
  display: block;
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 15px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero-location {
  display: block;
  font-size: 1.4rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

.hero-description {
  margin-bottom: 40px;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.4;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.hero-feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-feature:hover {
  background: rgba(141, 190, 62, 0.2);
  transform: translateY(-3px);
}

.hero-feature-icon {
  margin-right: 12px;
  font-size: 20px;
}

.hero-feature span:last-child {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.hero-actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.btn-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 18px 35px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  overflow: hidden;
  text-decoration: none;
  min-width: 200px;
  justify-content: center;
}

.btn-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero.btn-primary {
  background: linear-gradient(135deg, #8dbe3e 0%, #7aa034 100%);
  color: #fff;
  border-color: #8dbe3e;
  box-shadow: 0 8px 25px rgba(141, 190, 62, 0.3);
}

.btn-hero.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(141, 190, 62, 0.4);
  color: #fff;
}

.btn-hero.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.btn-hero.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
  color: #fff;
}

.btn-text {
  margin-right: 10px;
}

.btn-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-hero:hover .btn-icon {
  transform: translateX(5px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.hero-stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #8dbe3e;
  line-height: 1;
  margin-bottom: 8px;
}

.hero-stat-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === CONTENT SECTIONS === */
.course_sec {
  padding: 70px 0 150px;
  background: url(./course_bg.png) no-repeat;
  background-size: cover;
  background-position: center top;
  position: relative;
}

.course_sec2 {
  padding: 70px 0 150px;
  background: url(./bg1.jpg) no-repeat;
  background-size: cover;
  background-position: center top;
  position: relative;
}

.course_sec .title,
.course_sec .title span,
.course_sec2 .title,
.course_sec2 .title span {
  color: #fff;
}

h2.title {
  margin-bottom: 103px;
  font-size: 40px;
  font-weight: lighter;
  text-align: left;
  display: inline-block;
  vertical-align: top;
  font-weight: 400;
}

.Trainer_sec h2.title {
  margin-bottom: 30px;
  font-weight: 400;
}

h2.title span {
  color: #fff;
  display: block;
  font-size: 90px;
  font-weight: 800;
  line-height: 110%;
  margin-bottom: 0;
  position: relative;
  text-transform: uppercase;
}

div h2.title span {
  color: #000;
}

.abt_right p {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 30px;
  margin-top: 20px;
  color: #fff;
}

.abt_left {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 20px 0;
}

.inner_trainer {
  margin-bottom: 20px;
}

/* === PROGRAMS SECTION === */
.programs_sec {
  padding: 60px 0;
  background-color: #f9f9f9;
  position: relative;
}

.programs_sec .title {
  margin-bottom: 20px;
  text-align: center;
}

.programs_sec .aftertitle {
  text-align: center;
  margin-bottom: 20px;
  font-size: 18px;
  color: #666;
}

.programs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.program-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #8dbe3e;
}

.program-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(141, 190, 62, 0.2);
}

.program-item strong {
  color: #333;
}

.program-item small {
  color: #666;
}

.programs-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.programs-step-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.programs-step-number {
  background: #8dbe3e;
  color: white;
  min-width: 30px;
  min-height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: bold;
}

.programs-content-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.programs-section-title {
  color: #8dbe3e;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
}

.programs-text-highlight {
  margin-bottom: 20px;
}

.programs-text-highlight strong {
  color: #333;
}

.programs-section-margin {
  margin-top: 50px;
}

.programs-last-item {
  padding: 15px;
  background: #e8f5e8;
  border-radius: 8px;
  border-left: 4px solid #8dbe3e;
  margin-top: 15px;
}

.programs-last-item strong {
  color: #333;
}

.programs-last-item small {
  color: #666;
}

.programs-access-card {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 50px;
  border: 1px solid rgba(141, 190, 62, 0.2);
  transition: all 0.3s ease;
}

.programs-access-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(141, 190, 62, 0.15);
}

.access-icon {
  font-size: 32px;
  margin-right: 20px;
  min-width: 50px;
  text-align: center;
}

.access-content strong {
  display: block;
  color: #333;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.access-content p {
  margin: 0;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

.btn-programs-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8dbe3e 0%, #7aa034 100%);
  color: #fff;
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 6px 20px rgba(141, 190, 62, 0.3);
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 20px;
}

.btn-programs-access::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn-programs-access:hover::before {
  left: 100%;
}

.btn-programs-access:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(141, 190, 62, 0.4);
  color: #fff;
  text-decoration: none;
}

.btn-programs-access .btn-text {
  margin-right: 12px;
}

.btn-programs-access .btn-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-programs-access:hover .btn-icon {
  transform: translateX(5px);
}

/* Responsive for Programs Section */
@media (max-width: 767px) {
  .programs-access-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
    margin-bottom: 0;
  }

  .access-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .btn-programs-access {
    padding: 12px 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .programs-access-section {
    margin-bottom: 30px;
  }

  .access-content strong {
    font-size: 16px;
  }

  .access-content p {
    font-size: 14px;
  }
}

/* === EQUIPMENT SECTION === */
.course_combo_sec {
  padding: 60px 0;
  background: #f9f9f9;
  position: relative;
  overflow: hidden;
}

.course_combo_sec .title {
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.course_combo_sec .aftertitle {
  text-align: center;
  margin-bottom: 60px;
  font-size: 18px;
  color: #555;
  position: relative;
  z-index: 2;
}

/* Main section with image and text */
.equipment-main-section {
  margin-bottom: 60px;
}

.equipment-text-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(141, 190, 62, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.equipment-text-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #8dbe3e, #7aa034);
  transition: width 0.4s ease;
}

.equipment-text-card:hover::before {
  width: 8px;
}

.equipment-text-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.equipment-image-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.4s ease;
}

.equipment-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.equipment-main-image {
  border-radius: 10px;
  transition: all 0.4s ease;
  filter: brightness(1.02) contrast(1.05);
}

.equipment-main-image:hover {
  transform: scale(1.02);
}

.equipment-highlight {
  background: linear-gradient(135deg, #8dbe3e, #7aa034);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.equipment-highlight::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(200%) rotate(45deg);
  }
}

.equipment-brand {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.equipment-subtitle {
  font-size: 16px;
  margin: 5px 0 0 0;
  opacity: 0.9;
  font-weight: 300;
  font-style: italic;
}

/* Equipment grid */
.equipment-grid-section {
  margin-bottom: 40px;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.equipment-item {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(141, 190, 62, 0.15);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.equipment-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #8dbe3e, #7aa034);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.equipment-item:hover::before {
  transform: scaleX(1);
}

.equipment-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(141, 190, 62, 0.2);
  border-color: rgba(141, 190, 62, 0.25);
}

.equipment-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  filter: grayscale(1);
  transition: all 0.4s ease;
}

.equipment-item:hover .equipment-icon {
  filter: grayscale(0);
  transform: scale(1.1);
}

.equipment-item h4 {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.equipment-item:hover h4 {
  color: #8dbe3e;
}

.equipment-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* === GALLERY === */
.photo-gallery-container {
  position: relative;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background: #fff;
}

.photo-gallery-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3/4; 
}

.photo-gallery-track {
  display: flex;
  width: 700%; 
  height: 100%;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}

.photo-gallery-slide {
  width: 14.285714%; 
  height: 100%;
  flex-shrink: 0;
  position: relative;
}

.photo-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.photo-gallery-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.gallery-nav-btn {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  font-size: 24px;
  font-weight: bold;
  margin: 0 15px;
}

.gallery-nav-btn:hover {
  background: rgba(141, 190, 62, 0.8);
  transform: scale(1.1);
}

.gallery-nav-btn:active {
  transform: scale(0.95);
}

.gallery-nav-btn span {
  line-height: 1;
  margin-top: -2px;
}

.gallery-prev span {
  margin-left: -2px;
}

.gallery-next span {
  margin-right: -2px;
}

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

.gallery-indicator {
  min-width: 12px;
  min-height: 15px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gallery-indicator.active {
  background: #8dbe3e;
  border-color: #8dbe3e;
  transform: scale(1.2);
}

.gallery-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.photo-gallery-wrapper {
  touch-action: pan-y;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.photo-gallery-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    transparent 20%,
    transparent 80%,
    rgba(0, 0, 0, 0.1) 100%
  );
  pointer-events: none;
  z-index: 5;
}

/* Responsive */
@media (max-width: 991px) {
  .photo-gallery-container {
    max-width: 400px;
  }
  
  .gallery-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 20px;
    margin: 0 10px;
  }
}

@media (max-width: 767px) {
  .photo-gallery-container {
    max-width: 100%;
    border-radius: 10px;
  }
  
  .gallery-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin: 0 8px;
  }
  
  .photo-gallery-indicators {
    bottom: 15px;
    gap: 8px;
  }
  
  .gallery-indicator {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .gallery-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
    margin: 0 5px;
  }
  
  .photo-gallery-indicators {
    bottom: 10px;
    gap: 6px;
  }
  
  .gallery-indicator {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 767px) {
  /* Afficher la galerie sur mobile aussi */
  .course_sec .col-xl-6.col-lg-7.col-md-5.d-none.d-md-block {
    display: block !important;
    margin-bottom: 30px;

  }
  
  .abt_left {
    padding: 10px 0;
  }
  
  .photo-gallery-container {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .photo-gallery-container {
    max-width: 350px;
  }
}

/* === FORMS === */
.combo-booking-form {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.booking-note {
  color: #666;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* === CONTACT AND MAP === */
.contact-map-outer {
  background-color: #1e1e1e;
  position: relative;
}

.map_iframe_wrapper iframe {
  display: block;
  width: 100%;
  height: 550px;
  border: 0;
}

.contact-details-wrapper {
  background-color: #222222;
  color: #ffffff;
  padding: 50px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-details-wrapper h2 {
  color: #ffffff;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.contact-details-wrapper p {
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 16px;
}

.contact-details-wrapper .contact-info {
  padding-bottom: 0;
  color: #e0e0e0;
}

.contact-details-wrapper .contact-info b {
  color: #8dbe3e;
  font-weight: 700;
}

.contact-details-wrapper .contact-info i {
  color: #cccccc;
}

.contact-details-wrapper .contact-info a {
  color: #8dbe3e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details-wrapper .contact-info a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* === FOOTER === */
.main-footer {
  margin-top: 0;
}

.footer-logo-img {
  width: 300px;
  max-width: 100%;
  height: auto;
}

.footer {
  background-color: #000;
  background-size: cover;
  background-position: center top;
  position: relative;
  text-align: center;
  padding: 60px 0;
}

.footer .container {
  position: relative;
}

.copyright-text p {
  margin-bottom: 10px;
  line-height: normal;
}

.copyright-text p,
.copyright-text span,
.copyright-text span a {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-margin-top {
  margin-top: 20px;
}

/* === SUBSCRIPTION SECTION === */
.subscription-highlight {
  background: linear-gradient(135deg, #8dbe3e, #7aa034);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.subscription-highlight::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

.subscription-brand {
  font-size: 28px;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.subscription-subtitle {
  font-size: 16px;
  margin: 5px 0 0 0;
  opacity: 0.9;
  font-weight: 300;
  font-style: italic;
}

.subscription-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.feature-item {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 35px 25px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(141, 190, 62, 0.15);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #8dbe3e, #7aa034);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(141, 190, 62, 0.2);
  border-color: rgba(141, 190, 62, 0.25);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
  filter: grayscale(1);
  transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
  filter: grayscale(0);
  transform: scale(1.1);
}

.feature-content {
  text-align: center;
}

.feature-content strong {
  display: block;
  color: #333;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.feature-item:hover .feature-content strong {
  color: #8dbe3e;
}

.feature-content p {
  margin: 0;
  color: #666;
  line-height: 1.6;
  font-size: 16px;
}

.subscription-form-section {
  border: none;
  padding: 0;
  margin: 0;
}

.subscription-form-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(141, 190, 62, 0.2);
  position: relative;
}

.subscription-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #8dbe3e, #7aa034);
}

.subscription-form-title {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.subscription-form-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #8dbe3e, #7aa034);
  border-radius: 2px;
}

.subscription-note {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
  border-radius: 10px;
  margin-top: 25px;
  border: 1px solid rgba(141, 190, 62, 0.2);
}

.note-icon {
  font-size: 24px;
  margin-right: 15px;
  min-width: 35px;
}

.note-content strong {
  display: block;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.note-content p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

/* === MODAL PASSWORD === */
.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background: linear-gradient(135deg, #8dbe3e 0%, #7aa034 100%);
  color: white;
  border-radius: 15px 15px 0 0;
  border-bottom: none;
}

.modal-title {
  font-weight: 700;
  font-size: 1.25rem;
}

.btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px;
}

.password-form .form-label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.password-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.password-form .form-control:focus {
  border-color: #8dbe3e;
  box-shadow: 0 0 0 0.2rem rgba(141, 190, 62, 0.25);
}

.password-form .form-text {
  color: #666;
  font-size: 14px;
  margin-top: 5px;
}

.modal-footer {
  border-top: none;
  padding: 0 30px 30px;
  justify-content: space-between;
}

.modal-footer .btn {
  border-radius: 25px;
  padding: 12px 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.modal-footer .btn-primary {
  background: linear-gradient(135deg, #8dbe3e 0%, #7aa034 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(141, 190, 62, 0.3);
}

.modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(141, 190, 62, 0.4);
}

.modal-footer .btn-secondary {
  background: transparent;
  border: 2px solid #ddd;
  color: #666;
}

.modal-footer .btn-secondary:hover {
  background: #f8f9fa;
  border-color: #8dbe3e;
  color: #8dbe3e;
}

#passwordError {
  margin-top: 15px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
}

.modal.fade .modal-dialog {
  transform: translate(0, -50px);
  transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
  transform: translate(0, 0);
}

@media (max-width: 576px) {
  .modal-body {
    padding: 20px;
  }

  .modal-footer {
    padding: 0 20px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .modal-footer .btn {
    width: 100%;
  }
}

/* === RESPONSIVE HERO === */
@media (max-width: 1399px) {
  .hero-brand {
    font-size: 4rem;
  }

  .hero-location {
    font-size: 1.2rem;
  }
}

@media (max-width: 1199px) {
  .hero-brand {
    font-size: 3.5rem;
  }

  .hero-stats {
    gap: 30px;
  }
}

@media (max-width: 991px) {
  .hero-brand {
    font-size: 3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-hero {
    min-width: auto;
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    justify-content: center;
    gap: 25px;
  }

  .main-header .header-lower {
    min-height: 70px;
    padding: 10px 0;
  }

  .main-section {
    padding-top: 70px;
  }
}

@media (max-width: 767px) {
  .hero-content {
    max-width: 100%;
    padding: 0 15px;
    text-align: left;
  }

  .hero-brand {
    font-size: 2.8rem;
    letter-spacing: -1px;
    margin-bottom: 10px;
  }

  .hero-location {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 15px;
  }

  .hero-feature {
    padding: 12px 16px;
  }

  .hero-feature span:last-child {
    font-size: 13px;
  }

  .hero-actions {
    margin-bottom: 30px;
  }

  .btn-hero {
    padding: 15px 25px;
    font-size: 14px;
  }

  .hero-stats {
    gap: 25px;
    padding-top: 20px;
  }

  .hero-stat-number {
    font-size: 1.8rem;
  }

  .hero-stat-label {
    font-size: 12px;
  }

  .main-header .header-lower {
    min-height: 65px;
    padding: 8px 0;
  }

  .main-section {
    padding-top: 65px;
    min-height: calc(100vh - 65px);
  }
}

@media (max-width: 480px) {
  .hero-brand {
    font-size: 2.2rem;
  }

  .hero-location {
    font-size: 0.9rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-features {
    gap: 10px;
  }

  .hero-feature {
    padding: 10px 14px;
  }

  .hero-feature span:last-child {
    font-size: 12px;
  }

  .btn-hero {
    padding: 12px 20px;
    font-size: 13px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-number {
    font-size: 1.6rem;
  }

  .hero-stat-label {
    font-size: 11px;
  }

  .main-section {
    padding-top: 60px;
    min-height: calc(100vh - 60px);
  }

  .main-header .header-lower {
    min-height: 60px;
    padding: 5px 0;
  }

  .hero-content {
    padding: 15px 0;
  }

  .hero-actions {
    margin-bottom: 30px;
  }

  .hero-stats {
    padding-top: 15px;
  }
}

/* Responsive for subscription section */
@media (max-width: 767px) {
  .subscription-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .feature-item {
    padding: 25px 20px;
  }

  .feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .feature-content strong {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .feature-content p {
    font-size: 14px;
  }

  .subscription-form-title {
    font-size: 20px;
  }

  .subscription-note {
    padding: 15px;
  }
}

/* === GENERAL RESPONSIVE === */

@media (min-width: 1024px) and (max-width: 1280px) {
  h2.title {
    font-size: 30px;
  }
  .title span {
    font-size: 70px;
  }
}

@media (max-width: 991px) {
  .title span {
    font-size: 50px;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 0;
  }
  .navbar-nav {
    margin-top: 15px;
  }
  .main-menu .nav li a {
    padding-bottom: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .main-menu .nav li {
    padding-right: 0;
    padding-left: 25px;
  }
  .conatct-us {
    right: 25px;
    bottom: 630px;
  }
}

@media (max-width: 767px) {
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .programs_sec {
    padding: 20px 0;
  }

  .course_combo_sec {
    padding: 40px 0 20px;
  }

  .course_sec {
    padding: 20px 0 20px;
  }

  .course_sec2 {
    padding: 20px 0 20px;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .equipment-item {
    padding: 25px 20px;
  }

  .logo img {
    width: 200px;
  }

  .combo-booking-form {
    padding: 20px;
  }

  .combo-booking-form.subscription-form {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .conatct-us {
    position: relative;
    width: auto;
    right: auto;
    bottom: auto;
    margin-top: 20px;
    padding: 30px 20px;
  }

  h2.title span {
    font-size: 40px;
  }

  h2.title {
    margin-bottom: 40px;
  }

  .equipment-main-section {
    margin-bottom: 20px;
  }

  .programs-section-margin {
    margin-top: 30px;
  }
}

@media (max-width: 480px) {
  h2.title span {
    font-size: 30px;
  }
}

@media (min-width: 320px) and (max-width: 480px) {
  .main-menu .nav li {
    padding-left: 0px;
  }

  h2.title {
    font-size: 15px;
    font-weight: 600;
  }

  .abt_right p {
    font-size: 17px;
    margin-top: 0px;
    margin-bottom: 10px;
  }

  .course_sec {
    padding: 50px 0 10px;
  }

  .aftertitle {
    font-size: 16px;
  }

  .footer {
    padding-bottom: 30px;
    padding-top: 40px;
  }

  .conatct-us {
    right: 0px;
    position: relative;
    margin-top: 0;
    bottom: 0;
    width: 100%;
    padding: 20px;
  }

  h2.title {
    margin-bottom: 50px;
  }

  .inner_trainer {
    margin-top: -40px;
  }

  .combo-booking-form {
    margin-bottom: 20px;
  }
}

@media (max-width: 991px) {
  .map_iframe_wrapper iframe {
    height: 400px;
  }

  .contact-details-wrapper {
    padding: 40px 30px;
    text-align: center;
  }
  .contact-details-wrapper h2 {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .map_iframe_wrapper iframe {
    height: 300px;
  }

  .contact-details-wrapper {
    text-align: left;
    padding: 30px 20px;
  }
  .contact-details-wrapper h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .contact-details-wrapper p {
    font-size: 15px;
  }

  .footer-logo-img {
    width: 220px;
  }
  .footer {
    padding: 50px 0 25px;
  }
  .copyright-text p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .contact-details-wrapper h2 {
    font-size: 24px;
  }
  .footer-logo-img {
    width: 180px;
  }
}
