body {
  font-family: "Poppins", Arial, sans-serif;
  background-color: #caf0f8;
  color: #03045e;
  margin: 0;
  padding: 0;
}

/* Hero Section */
.hero {
  text-align: center;
  position: relative;
  padding: 120px 20px 80px 20px;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(135deg, #0096c7, #00b4d8, #90e0ef);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  animation: slideDown 1s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: #e0f7ff;
  animation: fadeIn 2s ease forwards;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 200px;
  background: rgba(255,255,255,0.2);
  border-radius: 43% 57% 63% 37% / 56% 40% 60% 44%;
  animation: wave 6s infinite linear;
  z-index: 0;
}

.hero h1,
.hero p {
  position: relative;
  z-index: 1;
}

/* Principal Section */
.principal {
  background: linear-gradient(120deg, #caf0f8, #ade8f4);
  padding: 80px 20px;
  animation: fadeIn 1.5s ease forwards;
}

.principal-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.principal-content img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0,180,216,0.25);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.principal-content img:hover {
  transform: scale(1.06) rotate(2deg);
  box-shadow: 0 12px 30px rgba(0,180,216,0.35);
}

.message h2 {
  color: #0077b6;
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
}

.message h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #00b4d8;
  margin-top: 5px;
  border-radius: 2px;
}

.message p {
  line-height: 1.6;
  margin-bottom: 10px;
  color: #03045e;
}

.message h4 {
  color: #0096c7;
  font-weight: 600;
}

/* Teachers Slider */
.teachers {
  padding: 80px 20px;
  background: linear-gradient(135deg, #e0fbff, #90e0ef);
  text-align: center;
  overflow: hidden;
}

.teachers h2 {
  color: #0077b6;
  margin-bottom: 40px;
  animation: slideUp 1s ease forwards;
}

.slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: 350px;
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.teacher-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s ease, transform 1s ease, box-shadow 1s ease;
  border-radius: 15px;
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 180, 216, 0.15);
}

.teacher-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 30px rgba(0, 180, 216, 0.6);
  z-index: 1;
  animation: pulse 2s infinite alternate;
}

.teacher-card img {
  width: 100%;
  height: 250px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.teacher-card img:hover {
  transform: scale(1.05);
}

.teacher-card h3 {
  color: #0077b6;
  margin: 15px 0 5px;
}

.teacher-card p {
  margin: 5px 0;
  color: #03045e;
}

.teacher-card .quote {
  font-style: italic;
  color: #0096c7;
  font-size: 0.95rem;
}

/* Slider Buttons */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 180, 216, 0.85);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.4);
  transition: all 0.3s ease;
  z-index: 2;
}

.prev:hover,
.next:hover {
  background-color: #0077b6;
  transform: translateY(-50%) scale(1.2);
}

.prev {
  left: -25px;
}

.next {
  right: -25px;
}

/* CTA Section */
.cta {
  text-align: center;
  position: relative;
  padding: 80px 20px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: #ffffff;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200px;
  background: rgba(255,255,255,0.2);
  border-radius: 43% 57% 63% 37% / 56% 40% 60% 44%;
  animation: wave 6s infinite linear reverse;
  z-index: 0;
}

.cta h2,
.cta p,
.cta .explore-btn {
  position: relative;
  z-index: 1;
}

/* Apply Button */
.explore-btn {
  display: inline-block;
  background-color: #ffffff;
  color: #0077b6;
  padding: 16px 40px;
  margin-top: 25px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,180,216,0.25);
  animation: floatBtn 3s ease-in-out infinite;
}

.explore-btn:hover {
  transform: scale(1.15);
  background-color: #e0fbff;
  box-shadow: 0 12px 35px rgba(0,180,216,0.35);
}

/* Keyframes */
@keyframes slideDown {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes wave {
  0% {
    transform: translateX(0) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 20px rgba(0,180,216,0.6);
  }
  100% {
    box-shadow: 0 0 35px rgba(0,180,216,0.8);
  }
}

@keyframes floatBtn {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .principal-content {
    flex-direction: column;
  }
  .principal-content img {
    width: 200px;
    height: 200px;
  }
  .teacher-card img {
    height: 200px;
  }
  .prev,
  .next {
    width: 40px;
    height: 40px;
    font-size: 16px;
    left: 5px;
    right: 5px;
  }
  .explore-btn {
    padding: 14px 28px;
    font-size: 1rem;
    margin-top: 20px;
  }
}
