/* Custom styles for PowerFit Premium Template */

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-element-animation {
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: both;
  animation-timing-function: ease-out;
  opacity: 0;
}

.animate-hero-button { animation-delay: 0.2s; }
.animate-hero-subheading { animation-delay: 0.4s; }
.animate-hero-description { animation-delay: 0.4s; }
.animate-hero-title { animation-delay: 0.5s; }

/* ===== HERO SECTION ===== */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 136, 204, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  position: relative;
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--color-primary);
}

.hero-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.text-highlight {
  position: relative;
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
}

.text-highlight:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  opacity: 0.2;
  z-index: -1;
}

.hero-background-shape {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23F8FAFC' fill-opacity='1' d='M0,256L60,266.7C120,277,240,299,360,277.3C480,256,600,192,720,165.3C840,139,960,149,1080,170.7C1200,192,1320,224,1380,240L1440,256L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* ===== ABOUT SECTION ===== */
.about-image-wrapper {
  position: relative;
  padding: 20px;
  z-index: 1;
}

.about-image {
  position: relative;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
}

.about-image img {
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image:before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80%;
  height: 80%;
  border: 4px solid var(--color-primary);
  z-index: -1;
  border-radius: 10px;
}

.about-image:after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 30%;
  height: 30%;
  background: var(--color-primary);
  z-index: -1;
  border-radius: 10px;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: 30px;
  background: var(--color-primary);
  color: white;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.section-title {
  position: relative;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title .highlight {
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.feature-box {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: default;
}

.feature-box:hover {
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.75rem;
  margin-right: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 136, 204, 0.2);
}

.feature-box:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ===== CLASSES SECTION ===== */
.class-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.class-image-container {
  position: relative;
  overflow: hidden;
  height: 250px; /* Fixed height for image containers */
}

.class-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.class-card:hover .class-image {
  transform: scale(1.1);
}

.class-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.class-card:hover .class-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.class-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 10;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.class-card:hover .class-content {
  transform: translateY(-10px);
}

.class-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.class-info {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.class-meta-item {
  display: flex;
  align-items: center;
}

.class-meta-icon {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.class-difficulty {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  z-index: 10;
}

.class-description {
  min-height: 100px;
  background: white;
  padding: 1.5rem;
}

/* ===== NAVIGATION & MOBILE MENU ===== */
#main-nav {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

#main-nav.scrolled {
  background: var(--color-dark);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-link {
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  display: inline-block;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary);
}

.mobile-menu {
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-menu.open {
  transform: translateX(0) !important;
}

.mobile-menu-button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  background-color: var(--color-primary);
  border-radius: 8px;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none !important;
  }
}

.mobile-menu-button:hover {
  background-color: var(--color-primary-dark);
}

.mobile-dropdown {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-dropdown.active {
  max-height: 200px;
  padding: 1rem 0;
}

/* Style dropdown menu */
.dropdown-menu {
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.group:hover .dropdown-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ===== HERO SECTION ===== */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 136, 204, 0.15) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  position: relative;
  display: inline-block;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.hero-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--color-primary);
}

.hero-text {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 500px;
}

.text-highlight {
  position: relative;
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
}

.text-highlight:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  opacity: 0.2;
  z-index: -1;
}

.hero-background-shape {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23F8FAFC' fill-opacity='1' d='M0,256L60,266.7C120,277,240,299,360,277.3C480,256,600,192,720,165.3C840,139,960,149,1080,170.7C1200,192,1320,224,1380,240L1440,256L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* ===== ABOUT SECTION ===== */
.about-image-wrapper {
  position: relative;
  padding: 20px;
  z-index: 1;
}

.about-image {
  position: relative;
  z-index: 2;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateZ(0);
}

.about-image img {
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image:before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80%;
  height: 80%;
  border: 4px solid var(--color-primary);
  z-index: -1;
  border-radius: 10px;
}

.about-image:after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 30%;
  height: 30%;
  background: var(--color-primary);
  z-index: -1;
  border-radius: 10px;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: 30px;
  background: var(--color-primary);
  color: white;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.section-title {
  position: relative;
  font-size: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title .highlight {
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  max-width: 600px;
}

.feature-box {
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: default;
}

.feature-box:hover {
  background: #fff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  font-size: 1.75rem;
  margin-right: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 136, 204, 0.2);
}

.feature-box:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ===== CLASSES SECTION ===== */
.class-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.class-image-container {
  position: relative;
  overflow: hidden;
  height: 250px; /* Fixed height for image containers */
}

.class-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.class-card:hover .class-image {
  transform: scale(1.1);
}

.class-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
  opacity: 0.8;
  transition: all 0.4s ease;
}

.class-card:hover .class-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.class-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  z-index: 10;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.class-card:hover .class-content {
  transform: translateY(-10px);
}

.class-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.class-info {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.class-meta-item {
  display: flex;
  align-items: center;
}

.class-meta-icon {
  color: var(--color-primary);
  margin-right: 0.5rem;
}

.class-difficulty {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  z-index: 10;
}

.class-description {
  min-height: 100px;
  background: white;
  padding: 1.5rem;
}

/* ===== NAVIGATION & MOBILE MENU ===== */
#main-nav {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

#main-nav.scrolled {
  background: var(--color-dark);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nav-link {
  position: relative;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  display: inline-block;
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-primary);
}

.mobile-menu {
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.mobile-menu.open {
  transform: translateX(0) !important;
}

.mobile-menu-button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  background-color: var(--color-primary);
  border-radius: 8px;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none !important;
  }
}

.mobile-menu-button:hover {
  background-color: var(--color-primary-dark);
}

.mobile-dropdown {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-dropdown.active {
  max-height: 200px;
  padding: 1rem 0;
}

/* Style dropdown menu */
.dropdown-menu {
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.group:hover .dropdown-menu {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  background-color: var(--color-dark);
  color: white;
}

.footer-title {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--color-primary);
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-right: 0.5rem;
}

.social-icon:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

/* Add styles for trainers section */
.trainer-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.trainer-image-container {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.trainer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trainer-card:hover .trainer-image {
    transform: scale(1.05);
}

.trainer-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: bottom 0.3s ease;
}

.trainer-card:hover .trainer-social {
    bottom: 0;
}

.trainer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.trainer-social-icon:hover {
    background-color: var(--color-primary);
    color: white;
}

.trainer-info {
    padding: 20px;
}

.trainer-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.trainer-role {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.trainer-desc {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Add styles for testimonials section */
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.testimonial-rating {
    color: var(--color-primary);
    margin-bottom: 15px;
    font-size: 1rem;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    color: white;
    margin-bottom: 3px;
}

.testimonial-status {
    font-size: 0.75rem;
    color: var(--color-primary);
}

/* Add styles for pricing section */
.pricing-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-featured {
    transform: scale(1.05);
    border: 2px solid var(--color-primary);
    z-index: 1;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 15px;
    border-bottom-left-radius: 8px;
}

.pricing-header {
    text-align: center;
    padding: 30px 20px;
    background-color: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: var(--color-primary);
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 5px;
}

.price-value {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
}

.price-duration {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 10px;
}

.pricing-features {
    padding: 30px 20px;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--color-text);
}

.pricing-feature.inactive {
    color: var(--color-text-light);
    text-decoration: line-through;
    opacity: 0.7;
}

.pricing-feature-icon {
    width: 20px;
    margin-right: 10px;
    color: var(--color-primary);
}

.pricing-feature.inactive .pricing-feature-icon {
    color: var(--color-text-light);
}

.pricing-action {
    padding: 0 20px 30px 20px;
}

.pricing-action .btn-primary,
.pricing-action .btn-outline {
    width: 100%;
}

/* Add styles for schedule section */
.schedule-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.schedule-nav::-webkit-scrollbar {
    display: none;
}

.schedule-nav-item {
    padding: 10px 20px;
    cursor: pointer;
    background-color: white;
    color: var(--color-text);
    font-weight: 600;
    border-radius: 6px;
    margin: 0 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.schedule-nav-item:first-child {
    margin-left: 0;
}

.schedule-nav-item:last-child {
    margin-right: 0;
}

.schedule-nav-item.active {
    background-color: var(--color-primary);
    color: white;
}

.schedule-pane {
    display: none;
}

.schedule-pane.active {
    display: block;
}

.schedule-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.schedule-table th {
    background-color: var(--color-primary);
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 15px 20px;
}

.schedule-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-time {
    font-weight: 700;
    color: var(--color-dark);
    white-space: nowrap;
}

.schedule-class h4 {
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.schedule-level {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Add styles for contact section */
.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-info-text h4 {
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 5px;
}

.contact-info-text p {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

.contact-form .form-control {
    width: 100%;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.2);
    outline: none;
}

.contact-form textarea.form-control {
    resize: vertical;
}

/* Add styles for gallery section */
.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 300px;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.gallery-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.gallery-zoom {
    align-self: flex-end;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-zoom {
    transform: translateY(0);
}

.gallery-zoom:hover {
    background-color: white;
    color: var(--color-primary);
}

/* Add styles for events section */
.event-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.event-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image {
    transform: scale(1.1);
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-primary);
    color: white;
    text-align: center;
    padding: 8px 15px;
    border-radius: 4px;
    z-index: 1;
}

.event-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.event-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.event-meta span {
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.event-meta i {
    color: var(--color-primary);
    margin-right: 5px;
}

.event-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.event-desc {
    color: var(--color-text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-info-item {
    display: flex;
    align-items: center;
}

.event-info-item i {
    color: var(--color-primary);
    margin-right: 10px;
    width: 16px;
}

.event-info-item span {
    font-size: 0.875rem;
    color: var(--color-text);
}

/* Navigation fixes for responsive layouts */
@media (max-width: 1024px) and (min-width: 768px) {
  /* Reduce padding in navigation items */
  #main-nav ul.md\:flex {
    gap: 0;
  }
  
  /* Make dropdown menu appear on hover properly */
  .relative.group .absolute {
    right: auto;
    left: 0;
  }
}

/* Handle navigation at mid-sized screens (prevent overflow) */
@media (max-width: 991px) and (min-width: 768px) {
  #main-nav ul.md\:flex {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  
  /* Ensure dropdown doesn't break layout */
  .relative.group {
    position: static;
  }
  
  .relative.group .absolute {
    left: auto;
    right: 0;
  }
  
  /* Add more space in header to accommodate wrapped nav */
  .pt-32 {
    padding-top: 9rem;
  }
}

/* Location section styling */
.location-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .location-container {
    grid-template-columns: 3fr 2fr;
  }
}

.location-map {
  width: 100%;
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.location-info {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.location-info-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 1px;
}

.location-info-item {
  display: flex;
  margin-bottom: 1.25rem;
}

.location-info-item:last-child {
  margin-bottom: 0;
}

.location-info-item i {
  color: var(--color-primary);
  margin-right: 1rem;
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.location-info-item div p {
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.location-info-item div p:last-child {
  margin-bottom: 0;
}