* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

body {
  background: #f7fafd;
  color: #222;
}

.header {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(rgba(10, 30, 60, 0.7), rgba(10, 30, 60, 0.7)),
    url("images/img-8.jpg");
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 4px 24px rgba(25, 118, 210, 0.08);
  border-radius: 0 0 18px 18px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  min-height: 72px;
  transition: background 0.3s, box-shadow 0.3s;
}
nav:hover {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 8px 32px rgba(25, 118, 210, 0.12);
}
nav img {
  width: 110px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.nav-link {
  flex: 1;
  text-align: right;
}
.nav-link ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 22px;
  position: relative;
  transition: transform 0.2s;
}
.nav-link ul li:hover {
  transform: scale(1.08);
}
.nav-link ul li a {
  color: #1a237e;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 4px;
  border-bottom: 2.5px solid transparent;
}
.nav-link ul li a:hover, .nav-link ul li a:focus {
  color: #1976d2;
  border-bottom: 2.5px solid #1976d2;
  background: rgba(25, 118, 210, 0.07);
  border-radius: 2px;
}
.nav-link ul li::after {
  content: "";
  width: 0;
  height: 2.5px;
  background: #1976d2;
  display: block;
  margin: auto;
  border-radius: 2px;
  transition: width 0.3s;
}
.nav-link ul li:hover::after {
  width: 100%;
}
.nav-link ul li a:hover {
  color: #1976d2;
}
.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(25, 118, 210, 0.15);
  border-radius: 18px;
  padding: 40px 20px;
  box-shadow: 0 4px 32px rgba(25, 118, 210, 0.08);
}
.text-box h1 {
  font-size: 56px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.text-box p {
  margin: 18px 0 32px 0;
  font-size: 22px;
  color: #e3eafc;
  font-weight: 400;
}
.btn1 {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: none;
  padding: 14px 48px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
  border-radius: 30px;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.12);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}
.btn1:hover {
  background: linear-gradient(90deg, #42a5f5 0%, #1976d2 100%);
  color: #fff;
  box-shadow: 0 4px 24px rgba(25, 118, 210, 0.18);
}
nav .fa {
  display: none;
}
@media (max-width: 700px) {
  .text-box h1 {
    font-size: 32px;
  }
  .text-box p {
    font-size: 16px;
  }
  .nav-link ul li a {
    display: block;
    color: #1976d2;
    font-size: 16px;
  }
  .nav-link {
    position: absolute;
    background: #fff;
    height: 100vh;
    width: 180px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  }
  nav img {
    width: 60px;
  }
  nav .fa {
    display: block;
    color: #1976d2;
    margin: 10px;
    font-size: 24px;
    cursor: pointer;
  }
  .nav-link ul {
    padding: 10px;
  }
}

/* Course Section */
.course {
  width: 80%;
  margin: 60px auto;
  padding: 60px 0 30px 0;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(25, 118, 210, 0.06);
}
h1 {
  font-size: 44px;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 18px;
}
p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  padding: 8px 0;
}
.row {
  margin-top: 4%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.course-col {
  flex-basis: 30%;
  background: #e3eafc;
  border-radius: 16px;
  margin-bottom: 4%;
  padding: 24px 18px;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
h3 {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin: 12px 0 18px 0;
  color: #1976d2;
}
.course-col:hover {
  box-shadow: 0 6px 32px 0px #1976d2cc;
  transform: translateY(-6px) scale(1.03);
}
@media (max-width: 700px) {
  .row {
    flex-direction: column;
    gap: 18px;
  }
  .course-col {
    flex-basis: 100%;
    margin-bottom: 18px;
    padding: 18px 10px;
  }
  .course-col p {
    font-size: 14px;
  }
}

/* Campus Section */
.campus {
  width: 90%;
  text-align: center;
  margin: 60px auto;
  padding: 50px 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(25, 118, 210, 0.06);
}
.campus-col {
  flex-basis: 44%;
  border-radius: 16px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.campus-col img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  transition: filter 0.3s;
}
.campus-col:hover {
  box-shadow: 0 6px 32px 0px #1976d2cc;
  transform: translateY(-6px) scale(1.03);
}
.layer {
  background: rgba(25, 118, 210, 0.0);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.layer h3 {
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s;
}
.campus-col:hover .layer {
  background: rgba(25, 118, 210, 0.65);
}
.campus-col:hover .layer h3 {
  opacity: 1;
}

/* Facilities Section */
.facilities {
  width: 90%;
  margin: 60px auto;
  text-align: center;
  padding: 60px 0 30px 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(25, 118, 210, 0.06);
}
.facilities-col {
  flex-basis: 31%;
  border-radius: 16px;
  margin-bottom: 4%;
  text-align: left;
  background: #e3eafc;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  padding: 18px 14px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.facilities-col img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.facilities-col p {
  padding: 0;
  font-size: 15px;
  color: #444;
}
.facilities-col h3 {
  margin-top: 12px;
  margin-bottom: 10px;
  text-align: left;
  color: #1976d2;
}
.facilities-col:hover {
  box-shadow: 0 6px 32px 0px #1976d2cc;
  transform: translateY(-6px) scale(1.03);
}

/* Reviews Section */
.reviews {
  width: 90%;
  margin: 60px auto;
  text-align: center;
  padding: 60px 0 30px 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(25, 118, 210, 0.06);
}
.review-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.review-col {
  flex: 1;
  border-radius: 16px;
  margin: 2%;
  text-align: left;
  background: #e3eafc;
  padding: 28px 22px;
  cursor: pointer;
  display: flex;
  box-shadow: 0 2px 12px rgba(25, 118, 210, 0.08);
  transition: box-shadow 0.3s, transform 0.3s;
}
.review-col img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 30px;
  object-fit: cover;
  border: 3px solid #1976d2;
}
.review-content {
  flex: 1;
}
.review-content h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: left;
  color: #1976d2;
  font-size: 20px;
}
.rating, .fa-star, .fa-star-o, .fa-star-half-o {
  color: #ffb300;
  font-size: 18px;
}
.review-col:hover {
  box-shadow: 0 6px 32px 0px #1976d2cc;
  transform: translateY(-6px) scale(1.03);
}
@media (max-width: 700px) {
  .review-row {
    flex-direction: column;
    gap: 18px;
  }
  .review-col img {
    margin-right: 15px;
    width: 60px;
    height: 60px;
  }
  .review-content h3 {
    font-size: 18px;
  }
  .review-content p {
    font-size: 14px;
  }
  .reviews h1 {
    font-size: 28px;
  }
}

/* CTA Section */
.cta {
  margin: 80px auto;
  width: 90%;
  background: linear-gradient(rgba(25, 118, 210, 0.85), rgba(66, 165, 245, 0.85)),
    url("images/img-8.jpg");
  background-position: center;
  background-size: cover;
  border-radius: 18px;
  text-align: center;
  padding: 80px 0px;
  box-shadow: 0 2px 16px rgba(25, 118, 210, 0.10);
}
.cta h1 {
  color: #fff;
  margin-bottom: 32px;
  padding: 0;
  font-size: 36px;
  font-weight: 700;
}
@media (max-width: 700px) {
  .cta h1 {
    font-size: 22px;
  }
}

/* Footer */
.footer {
  padding: 40px 0 20px 0;
  width: 100%;
  text-align: center;
  background: #1976d2;
  color: #fff;
  border-radius: 18px 18px 0 0;
  margin-top: 60px;
}
.footer h4 {
  margin-bottom: 18px;
  margin-top: 0;
  font-weight: 700;
  font-size: 22px;
  color: #fff;
}
.footer p {
  color: #e3eafc;
  font-size: 16px;
  margin-bottom: 18px;
}
.icon .fa {
  color: #fff;
  margin: 0 13px;
  cursor: pointer;
  padding: 12px 0;
  font-size: 22px;
  transition: color 0.3s;
}
.icon .fa:hover {
  color: #ffb300;
}
