* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #cee1f4;
  /* color: #2c3e50; */
  line-height: 1.6;
}

/* Header */
.sub-header {
  height: 50vh;
  background-image: linear-gradient(rgba(44,62,80,0.7), rgba(44,62,80,0.7)),
    url('./images/intermediate.jpg');
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: aqua;
  text-align: center;
}

.sub-headers {
  height: 50vh;
  background-image: linear-gradient(rgba(44,62,80,0.7), rgba(44,62,80,0.7)),
    url('./images/master.jpg');
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: aquamarine;
  text-align: center;
}

.sub-header h1 {
  font-size: 48px; 
  font-weight: bold;
  margin-top: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.2s;
  text-shadow: 0 0 10px rgba(7, 7, 7, 0.7), 0 0 20px rgba(6, 5, 5, 0.5);
}
.sub-headers h1 {
  font-size: 48px; 
  font-weight: bold;
  margin-top: 60px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s ease-out forwards;
  animation-delay: 0.2s;
  text-shadow: 0 0 10px rgba(7, 7, 7, 0.7), 0 0 20px rgba(6, 5, 5, 0.5);
}


@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive  */
@media (max-width: 1024px) {
  .sub-header h1 {
    font-size: 40px;
    margin-top: 50px;
  }
}

@media (max-width: 768px) {
  .sub-header h1 {
    font-size: 32px;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .sub-header h1 {
    font-size: 24px;
    margin-top: 30px;
  }
}

.sub-header p {
  font-size: 18px;
  margin-top: 10px;
  color: aquamarine;
}
.sub-headers p {
  font-size: 20px;
  margin-top: 10px;
  color: aquamarine;
}

/* Highlights */
.highlights {
  width: 80%;
  margin: auto;
  padding: 60px 0;
  text-align: center;
}

.highlights h2 {
  font-size: 30px;
  margin-bottom: 30px;
  color: #2c3e50;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.highlight {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-left: 4px solid goldenrod;
  font-weight: 500;
}

/* Programs */
.programs {
  /* background: #eef2f7; */
  text-align: center;
  padding: 70px 0;
}

.programs h2 {
  font-size: 30px;
  margin-bottom: 25px;
  color: #2c3e50;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  width: 80%;
  margin: auto;
}

.program-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  border-top: 5px solid goldenrod;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.program-card h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 20px;
}

/* Program Structure / Curriculum */
.curriculum {
  width: 80%;
  margin: auto;
  padding: 80px 0;
  background-color: #f9f9f;
}

.curriculum h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #2c3e50;
}

.curriculum h2::after {
  content: "";
  width: 90px;
  height: 3px;
  background:red;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

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

.term {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  border-left: 5px solid #ff4081;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.term:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.term h3 {
  color: #2c3e50;
  font-size: 20px;
  margin-bottom: 12px;
}

.term ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

/* Contact */
.contact {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.contact h2 {
  color: #ff4081;
  font-size: 28px;
  margin-bottom: 15px;
}

.contact a {
  color: #ff4081;
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #34495e;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-size: 15px;
}
