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

body, html {
  height: 100%;
  font-family: Arial, sans-serif;
  color: #023e8a;
  background-color: #f0efeb;
  scroll-behavior: smooth;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/* Buttons */
.btn-cta {
  color: #fff;
  background: #31d097;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
}

.btn-cta:hover {
  background: #023e8a;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

.btn-cta.small {
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 20px;
}

/* Navbar */
#main-header {
  background-color: black;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999;
}

#main-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main-header .logo img {
  height: 40px;
}

#main-header nav a {
  color: #fff;
  margin-left: 1.5rem;
  font-size: 1rem;
  transition: color 0.3s ease;
}

#main-header nav a:hover {
  color: #90e0ef;
}

.hamburger {
  font-size: 1.8rem;
  cursor: pointer;
  display: none;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #023e8a;
  text-align: center;
}

.mobile-nav a {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-nav.show {
    display: flex;
  }
}

/* Hero */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  padding: 0 1rem;
}

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

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

/* Categories */
#categories {
  background: #023e8a;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

#categories h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

#categories p {
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.category-card {
  background: #fff;
  color: #023e8a;
  width: 250px;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
}

.category-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* Featured Lessons */
#featured-lessons {
  background: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

#featured-lessons h2 {
  font-size: 2.5rem;
  color: #0077b6;
}

#featured-lessons p {
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.featured-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #f0efeb;
  width: 350px;
  text-align: left;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.feature-card img {
  width: 100%;
}

.feature-content {
  padding: 1rem;
}

.feature-content h3 {
  color: #0077b6;
  margin-bottom: 0.5rem;
}

.feature-content p {
  margin-bottom: 1rem;
}

.price-book {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  color: #f77f00;
  font-weight: bold;
}

/* Trust Parallax */
#trust-parallax {
  position: relative;
  background-image: url('../images/trust-bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
  padding: 15rem 1rem;
}

.trust-container {
  background: rgba(0, 0, 0, 0.4);
  display: inline-block;
  padding: 2rem;
  border-radius: 8px;
}

.trust-badge {
  width: 150px;
  margin-bottom: 1rem;
}

.trust-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.trust-text p {
  font-size: 1rem;
  color: #ddd;
}

/* Testimonials */
#testimonials-grid {
  background: #f0efeb;
  text-align: center;
  padding: 4rem 1rem;
}

#testimonials-grid h2 {
  color: #0077b6;
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-card span {
  display: block;
  margin-top: 1rem;
  font-style: italic;
  color: #555;
}

.review-icon {
  height: 16px;
  margin-left: 4px;
  vertical-align: middle;
}

/* Parallax Break */
#parallax-break {
  position: relative;
  background-image: url('../images/parallax-ocean.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #fff;
  padding: 15rem 1rem;
}

.parallax-content {
  background: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 2rem;
  border-radius: 8px;
}

.parallax-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.parallax-content p {
  max-width: 600px;
  margin: 0 auto;
}

/* Booking Form */
#booking-form {
  background: #f0efeb;
  text-align: center;
  padding: 4rem 1rem;
}

#booking-form h2 {
  color: #0077b6;
  margin-bottom: 0.5rem;
}

#booking-form p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.booking-container {
  max-width: 700px;
  margin: 0 auto;
}

.booking-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.form-group {
  flex: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

footer nav {
  margin-bottom: 1rem;
}

footer nav a {
  color: #fff;
  margin: 0 1rem;
  font-size: 1rem;
  transition: color 0.3s ease;
}

footer nav a:hover {
  color: #90e0ef;
}

.footer-icons {
  margin-bottom: 1rem;
}

.footer-icons a {
  display: inline-block;
  margin: 0 0.5rem;
}

.footer-icons img {
  height: 24px;
  width: 24px;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-icons img:hover {
  transform: scale(1.2);
  filter: brightness(120%);
}

footer .copyright {
  font-size: 0.8rem;
  color: #ccc;
  margin-top: 1rem;
}
