* {
  margin: 0;
  padding: 0;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  font-family: 'Arial', sans-serif;
}
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background-color: #F1F3F5;
  color: #000;
  min-height: 100vh;
}
.hero-text {
  max-width: 50%;
  padding-right: 40px;
}
.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
}
.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
  opacity: 0.9;
}
.hero-text p:first-of-type {
  font-size: 1.5rem;
  font-weight: 500;
  color: #000;
}
.hero-image {
  min-height: 375px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.hero-image img {
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.feature-icons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}
.feature-icons div {
  text-align: center;
  padding: 20px 15px;
  border: 2px solid hsla(0, 17%, 6%, 0.2);
  border-radius: 12px;
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  background: hsla(0, 0%, 100%, 0.1);
}
.feature-icons div:hover {
  transform: translateY(-5px);
  border-color: hsla(0, 0%, 100%, 0.5);
  background: hsla(0, 0%, 100%, 0.2);
}
.feature-icons i {
  font-size: 28px;
  margin-bottom: 12px;
  color: #4dabf7;
}
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --accent-color: #ffc107;
}
.training-section {
  padding: 80px 0;
}
.section-title {
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.section-title:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 4px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 0;
}
.training-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}
.training-image-container {
  height: 250px;
  overflow: hidden;
  position: relative;
}
.training-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.training-content {
  padding: 1.5rem;
}
.keypoint {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 10px;
}
.feature-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
}
.feature-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-right: 12px;
  margin-top: 3px;
}
.bg-light-gradient {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
.new-section {
  min-height: 110vh;
  width: 100%;
  background-color: #2c3e50;
  display: flex;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  padding: 20px 0;
  box-sizing: border-box;
}
.swiper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.swiper-wrapper {
  display: flex;
  align-items: center;
  padding: 20px 0;
}
.swiper-slide {
  height: auto;
  width: auto;
  transition: transform 0.3s;
  display: flex;
  justify-content: center;
}
.card {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  min-height: 500px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.card-img-top {
  aspect-ratio: 4 / 3;
  height: 350px;
  object-fit: cover;
  width: 100%;
}
.location-card {
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}
.map-container {
  aspect-ratio: 16 / 9;
  height: 200px;
  width: 100%;
}
.location-details {
  padding: 1.5rem;
}
.location-name {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.location-address {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.location-hours,
.location-description {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.action-buttons {
  display: flex;
  gap: 0.5rem;
}
.card-container {
  padding: 10px;
}
.page-title {
  margin: 2rem 0;
  text-align: center;
}
.btn-sm-custom {
  font-size: 0.85rem;
  padding: 0.25rem 0.5rem;
}
.teacher-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
  color: #000;
}
.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fade-in.visible {
  opacity: 1;
}
.input-focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.is-invalid {
  border-color: #dc3545;
}
.is-valid {
  border-color: #198754;
}

@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 3rem;
  }
}
@media (max-width: 992px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-text {
    padding-right: 20px;
  }
}
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 20px 30px;
    height: auto;
    min-height: 80vh;
  }
  .hero-text {
    max-width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .feature-icons {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-image {
    width: 100%;
    padding: 0;
  }
  .hero-image img {
    max-width: 400px;
  }
  .training-section {
    padding: 40px 0;
  }
  .training-card {
    margin-bottom: 2rem;
  }
  .new-section {
    height: auto;
    padding: 60px 0;
  }
  .swiper-slide {
    width: 300px;
  }
}
@media (max-width: 576px) {
  .hero-section {
    padding: 30px 15px;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .hero-text p:first-of-type {
    font-size: 1.2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  .feature-icons div {
    width: 120px;
    padding: 15px 10px;
  }
  .feature-icons i {
    font-size: 24px;
  }
  .new-section {
    min-height: auto;
    height: auto;
    padding: 60px 0 40px;
    overflow: hidden;
  }
  .swiper {
    max-height: 350px;
  }
  .swiper-slide {
    width: 260px;
  }
  .card {
    max-width: 340px;
  }
  .card-img-top {
    height: 180px;
  }
}


/* parnership */
.partners-section {
  padding: 4rem 0;
  background-color: var(--background-color);
}

.section-header {
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 600;
}

.tagline {
  text-align: center;
  color: #666;
  margin-bottom: 3.5rem;
  font-style: italic;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.logo-placeholder {
  width: 100%;
  max-width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #555;
  font-size: 1.1rem;
  background-color: #f8f9fa;
  border-radius: 4px;
}

/* Responsive styles */
@media (max-width: 767.98px) {
  .partners-section {
    padding: 2.5rem 0;
  }
  .logo-placeholder {
    max-width: 160px;
    height: 90px;
  }
}

@media (max-width: 575.98px) {
  .partners-section {
    padding: 2rem 0;
  }
  .section-header {
    font-size: 1.8rem;
  }
  .tagline {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
  .logo-placeholder {
    max-width: 140px;
    height: 80px;
  }
}