* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

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

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-container {
  text-align: center;
}

.loader-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.loader-text {
  font-size: 1.1rem;
  color: #0077d7;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: #0077d7;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.site-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.site-nav ul li a.active,
.site-nav ul li a:hover {
  color: #0077d7;
}

.hero-section {
  position: relative;
  height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(0, 119, 215, 0.5),
      rgba(0, 119, 215, 0.5)
    ),
    url('../assets/images/hero.jpeg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-hero {
  display: inline-block;
  background: linear-gradient(90deg, #0077d7, #00c6ff);
  color: #ffffff;
  padding: 14px 32px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px;
  transition: opacity 0.3s ease;
}

.btn-hero:hover {
  opacity: 0.8;
}

.about-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
}

.about-section h2 {
  font-size: 2rem;
  color: #0077d7;
  margin-bottom: 20px;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto 20px;
  color: #555;
  font-size: 1rem;
}

.services-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.services-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #0077d7;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.4rem;
  color: #0077d7;
  margin-bottom: 15px;
}

.service-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.service-price {
  font-size: 1.2rem;
  color: #333;
  font-weight: 700;
  margin-top: 20px;
}

.benefits-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.benefits-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #0077d7;
  margin-bottom: 40px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: linear-gradient(90deg, #00c6ff, #0077d7);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.benefit-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.benefit-card p {
  font-size: 1rem;
  line-height: 1.4;
}

.testimonials-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #0077d7;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author strong {
  color: #0077d7;
  font-size: 1rem;
}

.stars {
  color: #ffc107;
  font-size: 1rem;
}

.gallery-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.gallery-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #0077d7;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 0.9rem;
  padding: 10px;
  text-align: center;
}

.contact-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #0077d7;
  margin-bottom: 20px;
}

.contact-section p {
  text-align: center;
  color: #555;
  margin-bottom: 10px;
}

.contact-extra {
  text-align: center;
  margin-top: 20px;
}

.contact-extra a {
  color: #0077d7;
  text-decoration: none;
}

.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  z-index: 100;
}

.cookies-banner p {
  color: #555;
  margin-right: 20px;
  font-size: 0.9rem;
}

.cookies-button {
  background: linear-gradient(90deg, #0077d7, #00c6ff);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  margin-left: 10px;
  border-radius: 50px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.cookies-button:hover {
  opacity: 0.8;
}

.site-footer {
  background-color: #222222;
  padding: 20px 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.footer-links a {
  color: #0072ff;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .bar {
  color: #ffffff;
  margin: 0 5px;
}

.site-footer p {
  font-size: 0.9rem;
  color: #bbbbbb;
  margin: 0;
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(90deg, #0077d7, #00c6ff);
  color: #ffffff;
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .site-nav ul {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    width: 200px;
    display: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
  }

  .site-nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav ul li {
    margin: 0;
  }

  .site-nav ul li a {
    padding: 15px 20px;
    display: block;
  }

  .services-grid,
  .benefits-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.swim-benefits-section {
  padding: 80px 0;
  background-color: #eef6fc;
}

.swim-benefits-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #005f99;
  margin-bottom: 40px;
}

.swim-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.swim-benefit-card {
  background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  color: #ffffff;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.swim-benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.swim-benefit-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

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

@media (max-width: 768px) {
  .swim-benefits-grid {
    grid-template-columns: 1fr;
  }
}

.schedule-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #e0f7fa, #e0f2f1);
}

.schedule-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #006064;
  margin-bottom: 40px;
}

.schedule-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.tab-button {
  background: none;
  border: none;
  font-size: 1rem;
  padding: 10px 20px;
  cursor: pointer;
  color: #006064;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.tab-button.active {
  color: #00acc1;
  border-bottom: 2px solid #00acc1;
}

.schedule-content {
  position: relative;
  min-height: 300px;
}

.day-content {
  display: none;
}

.day-content.active {
  display: block;
}

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

.fade-in {
  animation: fadeIn 0.5s ease;
}

.swim-benefits-section + .schedule-section .container {
  max-width: 800px;
}

.schedule-item {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: #ffffff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease;
}

.schedule-item:hover {
  transform: scale(1.02);
}

.time {
  font-weight: 600;
}

.class {
  font-weight: 500;
}

@media (max-width: 768px) {
  .schedule-tabs {
    gap: 10px;
  }

  .schedule-item {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

.title_background {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  padding: 60px 0;
}

.title_background .container {
  display: flex;
  justify-content: center;
}

.title_background .title {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.text_background {
  background-color: #f0faff;
  padding: 40px 0;
}

.text_background .container {
  max-width: 800px;
  margin: 0 auto;
}

.text_background .text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #003c5a;
  text-align: justify;
}