* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Open Sans,sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}


.header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  position: relative;
}

.logo {
  position: absolute;
  left: 0;
}

.logo-img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #0369a1;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 0;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #374151;
  margin: 3px 0;
  transition: 0.3s;
}


.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 24px;
  border-radius: 6px;
}

.hero-text h1 {
  color: #0369a1;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 4px;
}

.hero-text p {
  color: #0369a1;
  font-size: 20px;
}


.about {
  background: #0369a1;
  color: white;
  padding: 24px 0;
}

.about-content {
  display: flex;
  flex-direction: row;
  gap: 24px;
}

.about-image {
  flex: 1;
  max-width: 300px;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.about-text {
  flex: 2;
}

.about-text h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
}


.recommend {
  padding: 32px 0;
  background: white;
}

.recommend-content {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
}

.recommend-text {
  flex: 1;
  max-width: 50%;
}

.recommend-text h2 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.recommend-text p {
  font-size: 14px;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  background: #0369a1;
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background: #1e40af;
}

.testimonial-video {
  flex: 1;
}

.recommend-video iframe {
  width: 560px;
  height: 315px;
  border-radius: 6px;
}


.programs {
  padding: 32px 0;
  background: #f3f4f6;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.program-card {
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-image {
  height: 192px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-footer {
  background: #0369a1;
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: inherit;
}

.card-footer:hover {
  background: #1e40af;
}

.card-footer:active {
  background: #1e3a8a;
}

.card-footer h3 {
  font-weight: bold;
  font-size: 16px;
  color: white;
}

.arrow {
  font-size: 20px;
  color: white;
}


.footer {
  background: #0369a1;
  color: white;
  padding: 32px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-column h5 {
  font-weight: bold;
  font-size: 14px;
  margin-top: 16px;
  margin-bottom: 4px;
}

.footer-column p {
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-group {
  margin-bottom: 16px;
}

.contact-group h5 {
  margin-top: 0;
}


@media (max-width: 1024px) {
  .recommend-video iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
  }
}

@media (max-width: 767px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    height: 300px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-image {
    max-width: 100%;
  }

  .recommend-content {
    flex-direction: column;
  }

  .recommend-text {
    max-width: 100%;
  }

  .recommend-video iframe {
    width: 100%;
    height: 250px;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}
