/* Root Variables */
:root {
  --primary-color: #0e3b7e; /* Deep Blue */
  --secondary-color: #cc0000; /* Vibrant Red */
  --accent-color: #ffd700; /* Gold */
  --light-color: #f9f9f9;
  --dark-color: #1a1a1a;
  --bg-light: #ffffff;
  --border-color: #eaeaea;
  --font-primary: "Oswald", sans-serif;
  --font-secondary: "Montserrat", sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
}

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--light-color);
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(204, 0, 0, 0.2);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(204, 0, 0, 0.3);
}

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

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s;
}

.btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn i {
  margin-left: 8px;
}

/* Back Button Styling */
.back-button {
    margin: 20px;
}

.back-button .btn {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition);
}

.back-button .btn i {
    margin-right: 8px;
}

.back-button .btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Top Bar */
.top-bar {
  background-color: var(--bg-light);
  padding: 10px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.top-bar-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 65px;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.top-nav ul {
  display: flex;
}

.top-nav ul li {
  margin: 0 15px;
}

.top-nav ul li a {
  color: var(--dark-color);
  font-family: var(--font-primary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 10px 5px;
  position: relative;
  transition: var(--transition);
}

.top-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s;
}

.top-nav ul li a:hover,
.top-nav ul li a.active {
  color: var(--secondary-color);
}

.top-nav ul li a:hover::after,
.top-nav ul li a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.contact-info {
  display: flex;
  align-items: center;
}

.contact-info a {
  margin-left: 15px;
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--dark-color);
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--secondary-color);
}

.contact-info a i {
  margin-right: 5px;
  color: var(--primary-color);
}

.example-2 {
  margin-left: 15px;
  display: flex;
  gap: 8px;
}

.icon-content {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.icon-content a {
  position: relative;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.2rem;
  border-radius: 50%;
  transition: 0.8s ease;
  transform: translateY(0);
  margin: 0 !important;
}

.icon-content:hover a {
  transform: translateY(-14px);
}

.filled {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transform: scale(0);
  transition: 0.5s;
  z-index: 3;
}

.icon-content:hover .filled {
  transform: scale(1);
}

[data-social="facebook"] {
  background-color: rgba(24, 119, 242, 0.1);
  color: rgb(24, 119, 242);
}

[data-social="facebook"] + .filled {
  background-color: rgb(24, 119, 242);
}

[data-social="instagram"] {
  background-color: rgba(193, 53, 132, 0.1);
  color: rgb(193, 53, 132);
}

[data-social="instagram"] + .filled {
  background-color: rgb(193, 53, 132);
}

[data-social="whatsapp"] {
  background-color: rgba(37, 211, 102, 0.1);
  color: rgb(37, 211, 102);
}

[data-social="whatsapp"] + .filled {
  background-color: rgb(37, 211, 102);
}

.icon-content:hover [data-social] {
  color: white;
}

.tooltip {
  position: absolute;
  top: 0;
  transform: translateY(-60px);
  background-color: #333;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
}

.tooltip::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 15px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #333;
}

.icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-45px);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 10px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
}

.loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  color: var(--primary-color);
  z-index: 10;
}

.loader.hide {
  display: none;
}

/* Only updating the carousel styles */

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
  transform: scale(1.01);
  transition: transform 15s ease-out, filter 0.6s;
  will-change: transform;
}

.carousel-item.active img {
  transform: scale(1.3);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 5;
  transition: background-color 0.3s;
}

.carousel-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

@media (max-width: 768px) {
  /* ...existing mobile styles... */

  .carousel-btn {
    top: 45%; 
    width: 40px; 
    height: 40px; 
    font-size: 1rem;
  }

  .hero-content {
    top: 45%;
  }
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 3;
  width: 90%;
  max-width: 800px;
}

.hero-content h1 {
  font-family: var(--font-primary);
  font-size: 4rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
  display: inline-block;
  color: var(--secondary-color);
  position: relative;
}

.hero-content h1 span::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--secondary-color);
  z-index: -1;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-content .btn {
  font-size: 1.1rem;
  padding: 15px 30px;
}

/* About Us Section */
.about-us {
  padding: 100px 0;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 25px;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* About Us Section - List Styling */
.about-text ul {
  margin: 0 0 25px 0;
  padding: 0;
  list-style: none;
}

.about-text ul li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.about-text ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(204, 0, 0, 0.2);
}

.about-text ul li:after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 9px;
  color: white;
  font-size: 10px;
}

.about-text ul li:hover {
  transform: translateX(5px);
  color: var(--primary-color);
}

.about-image,
.about-image-home {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.about-image::after,
.about-image-home::after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: -1;
  opacity: 0.5;
  transform: translate(15px, 15px);
  transition: transform 0.5s;
}

.about-image:hover::after,
.about-image-home:hover::after {
  transform: translate(0);
}

.about-image img {
  width: 100%;
  display: block;
  transform: scale(0.95);
  transition: transform 0.5s;
}

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

.about-image-home img {
  width: 100%;
  display: block;
  transform: scale(0.75);
  transition: transform 0.5s;
}

.about-image-home:hover img {
  transform: scale(1);
}

/* Schedule Section */
.schedule {
  background-color: var(--light-color);
  padding: 100px 0;
  position: relative;
}

.schedule::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/img_3.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  z-index: 0;
}

.schedule .container {
  position: relative;
  z-index: 1;
}

.schedule-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-card {
  background-color: var(--bg-light);
  padding: 25px 15px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.schedule-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
}

.schedule-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.schedule-card h3 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.schedule-card h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.schedule-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
}

.schedule-card p strong {
  color: var(--secondary-color);
  font-weight: 600;
}

.schedule-card.highlight {
  background-color: rgba(14, 59, 126, 0.04);
  border: 1px solid rgba(14, 59, 126, 0.2);
}

.schedule-card.highlight::before {
  background-color: var(--secondary-color);
  height: 5px;
}

.schedule-card.highlight h3 {
  color: var(--secondary-color);
}

.schedule-card.rest-day {
  background-color: #f9f9f9;
  border: 1px dashed #ddd;
}

.schedule-card.rest-day::before {
  background-color: #aaa;
  height: 2px;
}

.schedule-card.rest-day h3 {
  color: #777;
}

/* Coaches Section */
.coaches {
  padding: 100px 0;
  background-color: var(--light-color);
  position: relative;
}

.coaches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/img_2.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  z-index: 0;
}

.coaches .container {
  position: relative;
  z-index: 1;
}

.coaches-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.coach-card {
  display: flex;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.coach-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.coach-image {
  flex: 0 0 250px;
  position: relative;
  overflow: hidden;
}

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

.coach-card:hover .coach-image img {
  transform: scale(1.05);
}

.coach-info {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.coach-info h3 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.coach-title {
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.coach-description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.coach-details {
  margin-top: auto;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.coach-details p {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #666;
}

.coach-details i {
  margin-right: 10px;
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .coach-card {
    flex-direction: column;
  }

  .coach-image {
    height: 250px;
  }
}

/* Sponsors Section */
.sponsors {
  padding: 80px 0;
  background-color: white;
}

.sponsors-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 40px 0;
}

.sponsor-item {
  flex: 0 0 200px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  background-color: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  filter: grayscale(100%);
  opacity: 0.7;
}

.sponsor-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.sponsor-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsor-message {
  text-align: center;
  margin-top: 30px;
}

.sponsor-message p {
  font-size: 1.1rem;
  color: #555;
}

.btn-sm {
  font-size: 0.9rem;
  padding: 8px 15px;
  display: inline-block;
  margin-left: 10px;
}

/* Programs Section */
.programs {
  padding: 100px 0;
}

.program-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card:hover::before {
  height: 10px;
}

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

.card h3 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.card p {
  color: #666;
}

/* Gallery Section */
.gallery {
  background-color: var(--light-color);
  padding: 100px 0;
  position: relative;
}

.gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/img_1.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.02;
  z-index: 0;
  filter: blur(5px);
}

.gallery .container {
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  grid-auto-rows: 280px;
  gap: 25px;
  margin-bottom: 50px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  border: 3px solid white;
  transform: rotate(0deg) scale(1);
  cursor: pointer;
}

.gallery-item:nth-child(odd) {
  transform: rotate(-1deg) scale(1);
}

.gallery-item:nth-child(even) {
  transform: rotate(1deg) scale(1);
}

.gallery-item:hover {
  transform: rotate(0) scale(1.03);
  box-shadow: var(--shadow-lg);
  z-index: 5;
  border-color: rgba(204, 0, 0, 0.5);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
  filter: saturate(0.9);
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1.1rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gallery-overlay span {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 400;
  margin-top: 5px;
  font-family: var(--font-secondary);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery a.btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-size: 1.1rem;
  padding: 14px 28px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.gallery-fullpage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-fullpage.active {
  display: flex;
  opacity: 1;
}

.gallery-fullpage img {
  max-width: 90%;
  max-height: 90vh;
  border: 5px solid white;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}

.gallery-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 220px;
    gap: 15px;
  }
}

/* Contact Section */
.contact {
  padding: 100px 0;
  position: relative;
  background-color: var(--light-color);
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/images/img_5.jpeg");
  background-size: cover;
  background-position: center;
  opacity: 0.03;
  z-index: 0;
}

.contact .container {
  position: relative;
  z-index: 1;
}

form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

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

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--primary-color);
  transition: var(--transition);
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(14, 59, 126, 0.1);
}

input:hover,
select:hover,
textarea:hover {
  border-color: #bbb;
}

input.error,
select.error,
textarea.error {
  border-color: var(--secondary-color);
  background-color: rgba(255, 240, 240, 0.5);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.1);
}

.error-message {
  color: var(--secondary-color);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.error + .error-message {
  display: block;
  animation: fadeIn 0.3s ease;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  margin-top: 2px;
  accent-color: var(--primary-color);
}

.form-checkbox label {
  font-size: 0.9rem;
  margin-bottom: 0;
  cursor: pointer;
}

.form-checkbox a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: var(--transition);
}

.form-checkbox a:hover {
  color: var(--secondary-color);
}

.form-checkbox .error-message {
  position: absolute;
  left: 28px;
  top: 100%;
}

form .btn {
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
  border: none;
  padding: 16px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(204, 0, 0, 0.3);
}

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

#form-message {
  text-align: center;
  margin-top: 25px;
  font-weight: 500;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

#form-message.success {
  color: #2e7d32;
  background-color: rgba(46, 125, 50, 0.1);
  border-left: 3px solid #2e7d32;
}

#form-message.error {
  color: var(--secondary-color);
  background-color: rgba(204, 0, 0, 0.1);
  border-left: 3px solid var(--secondary-color);
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

.shake {
  animation: shake 0.6s ease;
}

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

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0 20px;
  position: relative;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 80px;
  margin-bottom: 15px;
}

.footer-section p {
  line-height: 1.8;
}

.footer-section h4 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-section p i {
  margin-right: 10px;
  color: var(--accent-color);
}

.footer-section a {
  color: white;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

.footer-separator {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-separator-logo {
  height: 40px;
  opacity: 0.5;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Mobile Contact Bar */
.mobile-contact {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 15px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s, transform 0.6s;
}

.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }

  .about-container {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    width: 100%;
  }

  .schedule-container {
    grid-template-columns: repeat(4, 1fr);
  }

  .sports-container {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on medium screens */
  }

  /* Adjust contact info for medium screens */
  .contact-info .phone {
    display: none; /* Hide phone number on medium screens */
  }

  .contact-info {
    flex-shrink: 0;
  }

  .top-nav ul li {
    margin: 0 10px; /* Reduce horizontal margins between nav items */
  }
}

/* New intermediate breakpoint */
@media (max-width: 900px) {
  .top-bar {
    padding: 10px 15px; /* Reduce horizontal padding */
  }

  .top-nav ul li {
    margin: 0 6px; /* Further reduce margins between nav items */
  }

  .top-nav ul li a {
    font-size: 0.9rem; /* Slightly smaller font for nav items */
    letter-spacing: 0.5px; /* Reduce letter spacing */
  }

  .contact-info .email {
    font-size: 0.9rem; /* Smaller font for email */
  }

  .contact-info .email i {
    margin-right: 4px; /* Reduced spacing between icon and text */
  }

  .logo {
    height: 55px; /* Slightly smaller logo */
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .top-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s;
  }

  .top-nav.active {
    transform: translateY(0);
  }

  .top-nav ul {
    flex-direction: column;
  }

  .top-nav ul li {
    margin: 10px 0;
  }

  .contact-info {
    display: none;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .program-cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
  }

  .schedule-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-contact {
    display: block;
  }

  .sports-container {
    grid-template-columns: 1fr; /* 1 card per row on small screens */
  }

  .top-bar {
    padding: 10px 20px; /* Reset padding for mobile */
  }

  .mobile-toggle {
    display: flex;
  }

  /* Reset styles that were modified in intermediate breakpoints */
  .logo {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 3rem;
	margin-bottom: 200px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .schedule-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  form {
    padding: 30px 20px;
  }

  .form-checkbox label {
    font-size: 0.85rem;
  }
}

/* Keyframes and Special Effects */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.text-pulse {
  animation: pulse 2s infinite;
}

.zecar-link {
  color: var(--accent-color);
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
  padding: 2px 0;  /* Reduced padding to remove horizontal spacing */
  text-decoration: none;
  border-bottom: 1px solid var(--accent-color);
}

.zecar-link:hover {
  color: white;
  /* Removed background-color and border-radius */
}

.zecar-link:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.zecar-link:hover:after {
  width: 100%;
}

/* Sports Section Styles */
.sports {
  padding: 100px 0;
  background-color: var(--light-color);
}

.sports-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Change back to 4 columns for large screens */
  gap: 30px;
  margin-top: 50px;
  max-width: 1200px; /* Increased from 800px to fit all cards properly */
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1200px) {
  .sports-container {
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row on medium screens */
    max-width: 800px; /* Constrain width for 2x2 layout */
  }
}

@media (max-width: 768px) {
  .sports-container {
    grid-template-columns: 1fr; /* 1 card per row on small screens */
    max-width: 400px; /* Constrain width for single card layout */
  }
}

.sport-card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.sport-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.sport-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.sport-card:hover .sport-image img {
  transform: scale(1.1);
}

.sport-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sport-card:hover .sport-overlay {
  opacity: 1;
}

.sport-info {
  padding: 25px;
}

.sport-info h3 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.sport-info p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.sport-link {
  display: inline-flex;
  align-items: center;
  color: var(--secondary-color);
  font-weight: 600;
  transition: var(--transition);
}

.sport-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.sport-link:hover {
  color: var(--primary-color);
}

.sport-link:hover i {
  transform: translateX(5px);
}

/* Dance Section Styles */
.dance {
  padding: 100px 0;
  background-color: white;
}

/* Rules Section Styles */
section.section-padding .rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

section.section-padding .rule-card {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

section.section-padding .rule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

section.section-padding .rule-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

section.section-padding .rule-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

section.section-padding .rule-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sports-container {
    grid-template-columns: 1fr;
  }
}

