/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Global styles */
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #ffffff;
}

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

ul {
  list-style-type: none;
}

/* Header and Navigation */
header {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  /* Match with rest of the page */
  color: #333;
  padding: 1rem;
}

/* Navigation Bar Styles */
/* Navigation Bar Styles */
/* Navigation Bar Styles */
#nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 1rem 2rem;
  position: relative;
}

#nav .nav-links {
  display: flex;
  gap: 1.5rem;
}

#nav a {
  color: #333;
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

#nav a:hover {
  color: #FF3C3C;
}

#nav a.active {
  color: #FF3C3C;
  font-weight: bold;
}

/* Add this to your existing styles */
#nav .nav-links a[href="#offer"] span.full-text {
  display: inline;
}

#nav .nav-links a[href="#offer"] span.short-text {
  display: none;
}

/* Responsive Design */

/* Replace the existing @media query with this updated version */

/* Tablet and Mobile Styles */
@media (max-width: 1024px) {

  /* Navigation */
  #nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem;
  }

  #nav .nav-links {
    gap: 1.2rem;
  }

  #nav .nav-links a {
    font-size: 1rem;
  }

  /* Home Section */
  .home-content h1 {
    font-size: 2rem;
  }

  /* Class Cards */
  .class-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1rem;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .thumbnail-container .slick-track {
    gap: 8px;
  }


}

/* Mobile Styles */
@media (max-width: 768px) {

  #nav .nav-links a[href="#offer"] span.full-text {
    display: none;
  }

  #nav .nav-links a[href="#offer"] span.short-text {
    display: inline;
  }

  /* Navigation */
  #nav .nav-links {
    gap: 0.8rem;
  }

  #nav .nav-links a {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  /* Home Section */
  .home-content h1 {
    font-size: 1.8rem;
  }

  /* Class Cards and Features */
  .class-cards,
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Schedule Image */
  .schedule-image {
    width: 100%;
    height: auto;
    margin: 1rem auto;
  }

  /* Section Titles */
  .section-title {
    font-size: 2rem;
  }

  /* Modal */
  .modal {
    width: 95%;
    padding: 1rem;
  }

  /* Contact Section */
  .contact-info {
    padding: 0 1.5rem;
  }

  .contact-info p {
    font-size: 1rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .benefit-card {
    max-width: 100%;
    margin: 0 auto;
  }

  .benefit-card h3 {
    font-size: 1.25rem;
  }

  .benefit-card p {
    font-size: 0.95rem;
  }

  .thumbnail-container {
    padding: 0 30px;
  }

  .thumbnail-container .slick-track {
    gap: 6px;
  }

  .thumbnail-container img {
    width: 60px;
    height: 45px;
  }

}

/* Small Mobile Devices */
@media (max-width: 480px) {

  #nav .nav-links a[href="#offer"] span.full-text {
    display: none;
  }

  #nav .nav-links a[href="#offer"] span.short-text {
    display: inline;
  }

  #nav {
    padding: 0.3rem;
  }

  #nav .nav-links {
    gap: 0.2rem;
    /* Reduce gap between nav items */
  }

  #nav .nav-links a {
    font-size: 0.75rem;
    /* Smaller font size */
    padding: 0.2rem;
    /* Smaller padding */
    white-space: nowrap;
    /* Prevent text wrapping */
  }

  /* Handle long nav items */
  #nav .nav-links a[href="#home"] {
    max-width: 50px;
    /* Limit width */
    overflow: hidden;
    /* Hide overflow */
    text-overflow: ellipsis;
    /* Show ellipsis for overflow */
  }

  #nav .nav-links a[href="#contact"] {
    max-width: 55px;
    /* Limit width */
    overflow: hidden;
    /* Hide overflow */
    text-overflow: ellipsis;
    /* Show ellipsis for overflow */
  }

  .thumbnail-container {
    padding: 0 25px;
  }

  .thumbnail-container .slick-track {
    gap: 4px;
  }

  .thumbnail-container img {
    width: 50px;
    height: 38px;
  }

  .benefits-section {
    padding: 2rem 1rem;
  }

  .benefits-grid {
    gap: 1rem;
  }

  .benefit-card {
    padding: 1.25rem;
    width: 90%;
    /* Add width constraint for mobile */
  }

  .contact-info {
    padding: 0 0.5rem;
  }

  .contact-info i {
    margin-right: 0.25rem;
    /* Further reduced for mobile */
  }

  .contact-info a {
    margin-left: 0.1rem;
    /* Minimal margin for mobile */
  }

  footer {
    padding: 1.5rem 0;
    margin-top: 1.5rem;
  }

  footer p {
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .closing-text {
    font-size: 1rem;
    margin: 1.5rem 0;
  }
}

/* Additional breakpoint for very small devices */
@media (max-width: 374px) {
  #nav .nav-links {
    gap: 0.2rem;
  }

  #nav .nav-links a {
    font-size: 0.7rem;
    padding: 0.2rem;
  }

  .contact-info {
    padding: 0 0.25rem;
  }

  .contact-info p {
    font-size: 0.95rem;
  }

  .contact-info i {
    width: 12px;
    margin-right: 0.2rem;
  }

  .contact-info a {
    margin-left: 0.1rem;
  }
}


/* Home Section */
#home {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  /* Align content to the top */
  align-items: flex-start;
  /* Align content to the top */
  text-align: center;
  color: #fff;
  padding-top: 2rem;
  /* Add padding to the top */
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.home-content h1 {
  font-size: 2.5rem;
  color: #ffffff;
}

.home-content .cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: #FF3C3C;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.home-content .cta:hover {
  background-color: #e32e2e;
}


.cta {
  display: inline-block;
  background-color: #FF3C3C;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: background-color 0.3s;
}

.cta:hover {
  background-color: #e55353;
}


/* About Container */
.about-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1.5rem;
  background: #ffffff;
}

.about-hero {
  max-width: 800px;
  text-align: center;
}

.about-hero .content-wrapper {
  background: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.about-hero h2 {
  font-size: 2.5rem;
  color: #FF3C3C;
  margin-bottom: 1rem;
}

.about-hero .decorative-line {
  width: 50px;
  height: 4px;
  background: #FF3C3C;
  margin: 0 auto 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

/* Mission Statement Section */
.mission-statement {
  padding: 4rem 1.5rem;
  background: #ffffff;
  text-align: center;
}

.mission-statement .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.mission-statement h2 {
  font-size: 2.5rem;
  color: #FF3C3C;
  margin-bottom: 1rem;
}

.mission-statement p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {

  .about-container,
  .mission-statement {
    padding: 2rem 1rem;
  }

  .about-hero h2,
  .mission-statement h2 {
    font-size: 2rem;
  }

  .about-hero p,
  .mission-statement p {
    font-size: 1rem;
  }
}

/* About Section */
/* ...existing code... */

/* Mission Statement Section */
/* .mission-statement {
  margin-top: 2rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.mission-statement h2 {
  font-size: 2.5rem;
  color: #FF3C3C;
  margin-bottom: 1rem;
}

.mission-statement p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
} */

/* About Section */
/* #about {
  padding: 6rem 2rem;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-hero {
  position: relative;
  padding: 6rem 3rem;
  background: linear-gradient(
    135deg, 
    rgba(255,255,255,0.95) 0%,
    rgba(249,250,251,0.98) 100%
  );
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.05),
    0 1px 3px rgba(0,0,0,0.05);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  margin: 2rem auto;
  max-width: 1200px;
}

.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, #ff3c3c 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.1;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-hero h2 {
  font-size: 3.5rem;
  color: #FF3C3C;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.2;
}

.decorative-line {
  width: 0;
  height: 4px;
  background: #FF3C3C;
  margin: 2rem auto;
  border-radius: 2px;
}

.lead-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
} */

[data-aos="width"] {
  width: 0;
  transition-property: width;
}

[data-aos="width"].aos-animate {
  width: 80px;
}

.classes-grid {
  margin: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #FF3C3C;
  margin-bottom: 3rem;
}

.class-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

/* .class-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
} */

.class-card:hover {
  animation: dance 0.5s ease-in-out infinite alternate;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.class-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 2.5rem 2rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 60, 60, 0.1);
  min-height: 200px;
}

.class-number {
  font-size: 3rem;
  color: rgba(255, 107, 107, 0.2);
  position: absolute;
  top: 10px;
  right: 20px;
  font-weight: 700;
  z-index: 1;
  opacity: 0.5;
}

.class-card h3 {
  color: #FF3C3C;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  padding-right: 3rem;
}

.class-card p {
  color: #333;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.features-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg,
      #FFFFFF 0%,
      #ffffff 50%,
      #ffffff 100%);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 1rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.04),
    0 1px 8px rgba(0, 0, 0, 0.02);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  color: #FF3C3C;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 1.5rem;
  }

  .about-hero h2 {
    font-size: 2.5rem;
  }

  .class-cards {
    grid-template-columns: 1fr;
  }

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

/* Classes Section */
#classes {
  padding: 4rem 2rem;
  background-color: #FFFFFF;
}

#classes h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  /* Match the font size */
  color: #FF3C3C;
  /* Match the color */
  margin-bottom: 2rem;
  /* Match the bottom margin */
}

.schedule-container {
  background-color: #ffffff;
  width: 100%;
  margin: 0;
  padding: 0;
}

.schedule-image {
  width: 100%;
  height: auto;
  display: block;
}

/* #classes h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#classes ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 1.5rem;
}

#classes li {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
} */

/* Gallery Section */
#gallery {
  padding: 4rem 1rem;
  background: #ffffff;
  text-align: center;
}

.gallery-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 3rem;
}

.gallery-container {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 20px;
}

.gallery-container img {
  width: 100%;
  height: auto;
  max-width: 800px;
  max-height: 600px;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

#gallery h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #FF3C3C;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  z-index: 100;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.gallery-nav i {
  font-size: 1rem;
}

/* Base Thumbnail styles */
.thumbnail-container {
  margin-top: 20px;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
}

.thumbnail-container .slick-track {
  display: flex;
  gap: 10px;
  /* This creates consistent spacing */
}

.thumbnail-container .slick-slide {
  width: 80px !important;
  /* Force width */
  margin: 0 5px;
  /* Fallback spacing */
}

.thumbnail-container img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.thumbnail-container .slick-current img {
  opacity: 1;
  border: 2px solid #FF3C3C;
}


/* Contact Section */
/* Contact Section Styles */
#contact {
  padding: 4rem 2rem;
  background: #ffffff;
  /* Changed to white to match other sections */
  text-align: left;
  /* Changed to left alignment */
  margin-top: 2rem;
}

#contact h2 {
  font-size: 2.5rem;
  color: #FF3C3C;
  text-align: center;
  margin-bottom: 1rem;
}

#contact p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.contact-info {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 0.5rem;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.contact-info i {
  display: inline-flex;
  /* Add this */
  justify-content: center;
  /* Add this */
  align-items: center;
  /* Add this */
  flex-shrink: 0;
  /* Prevent icon from shrinking */
  width: 15px;
  margin-top: 0;
  margin-right: 0.3rem;
  color: #FF3C3C;
}

.contact-info a {
  color: #FF3C3C;
  text-decoration: none;
  margin-left: 0.25rem;
  word-break: break-all;
  /* Force break for email */
  /* Add space after "Location:" and "Call us at:" */
}

.contact-info a:hover {
  text-decoration: underline;
  font-weight: bold;
  /* Highlight clickable text */
}

.social-media {
  margin-top: 2rem;
}

.social-media h3 {
  font-size: 1.5rem;
  text-align: center;
  color: #FF3C3C;
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icons a {
  font-size: 2rem;
  color: #FF3C3C;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #e32e2e;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.cta {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #FF3C3C;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: 2px solid #FF3C3C;
  opacity: 1;
  /* Ensure visibility */
}

.cta:hover {
  background-color: transparent;
  color: #FF3C3C;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}


/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 500px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  padding: 20px;
  max-height: 90vh;
  /* Ensure it fits within the viewport */
  overflow: hidden;
  /* Hide overflow for modal */
}

.modal-content {
  max-height: 100%;
  /* Ensure it fits within the modal */
  overflow-y: auto;
  /* Enable scrolling if content overflows */
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-content h2 {
  margin-top: 0;
  color: #000;
  /* Ensure heading text color is black */
  font-size: 1.8rem;
}

.modal-content .intro-text {
  margin-top: 10px;
  color: #555;
  /* Softer color for intro text */
  font-size: 1rem;
  line-height: 1.5;
}

.modal-content form {
  display: flex;
  flex-direction: column;
  max-height: 70vh;
  /* Ensure form fits within modal */
  overflow-y: auto;
  /* Enable scrolling for form */
}

.modal-content label {
  margin-top: 10px;
  font-weight: bold;
  color: #000;
  /* Ensure label text color is black */
}

.modal-content input {
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #000;
  /* Ensure input text color is black */
  background-color: #fff;
  /* Ensure input background color is white */
}

.modal-content button {
  margin-top: 20px;
  padding: 10px;
  background-color: #FF3C3C;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #e32e2e;
}




/* Benefits Section Styles */
.benefits-section {
  padding: 3rem 1rem;
  background: #ffffff;
  text-align: center;
}

.benefits-section h2 {
  font-size: 2rem;
  color: #FF3C3C;
  margin-bottom: 1.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.benefit-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  margin: 0 auto;
  max-width: 350px;
  width: 100%;
}

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

.benefit-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
}

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

.benefits-summary {
  margin-top: 3rem;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  margin-top: 2rem;
  background: #ffffff;
}

footer p {
  font-size: 1rem;
  color: #333;
  margin: 0;
  text-align: center;
  width: 100%;
  padding: 0 1rem;
}

.closing-text {
  text-align: center;
  width: 100%;
  font-size: 1.2rem;
  color: #333;
  margin: 2rem 0;
}