* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}




/* .header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(42, 32, 32, 0.7), rgba(4, 9, 30, 0.7)), url(images/90907-629483627_small.mp4);
    background-position: center;
    background-size: cover;
    position: relative;
} */
nav {
  display: flex;
  padding: 1%;
  margin-right: 2%;
  margin-left: 2%;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: 100px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: #FFFFF0;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}

.nav-links ul li::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #FFD700;
  display: block;
  margin: auto;
  transition: 0.4s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.text-box {
  width: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}

.text-box h1 span {
  font-size: 62px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  color: #FFD700;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 1);
}

.text-box h1 {
  font-size: 62px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  color: #FFFFF0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
}

.text-box p {
  margin: 10px 0 40px;
  color: #FFFFF0;
  font-size: 14px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);

}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #FFD700;
  border: 1px solid #FFD700;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 1);
  border-radius: 10px;
}

.hero-btn:hover {
  border: 1px solid #FFD700;
  background: #FFD700;
  color: #000;
  transition: 0.3s;
}

nav .fa {
  display: none;
}

@media(max-width:700px) {
  .text-box h1 {
    font-size: 20px;
  }

  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: fixed;
    background: #f44336;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;

  }

  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links ul {
    padding: 30px;
  }

}

/* course */
.course {
  padding: 90px 8%;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  text-align: center;
  color: #fff;
}

.course h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  color: #f5d76e;
  margin-bottom: 12px;
}

.course .subtitle {
  font-size: 16px;
  color: #ddd;
  max-width: 820px;
  margin: auto;
}

/* ===== GRID ===== */
.course-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* ===== CARD ===== */
.course-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 215, 110, 0.35);
  padding: 35px 25px;
  border-radius: 18px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(120deg, transparent, rgba(245, 215, 110, 0.25), transparent);
  transition: 0.5s;
}

.course-card:hover::before {
  left: 100%;
}

.course-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

.course-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  color: #f5d76e;
  margin-bottom: 10px;
}

.course-card p {
  font-size: 14px;
  color: #e6e6e6;
  line-height: 1.7;
}

/* ================== RESPONSIVE ================== */

/* Tablet */
@media (max-width: 992px) {
  .course {
    padding: 70px 6%;
  }

  .course h1 {
    font-size: 38px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .course {
    padding: 60px 5%;
  }

  .course h1 {
    font-size: 30px;
  }

  .course .subtitle {
    font-size: 14px;
  }

  .course-grid {
    gap: 22px;
  }

  .course-card {
    padding: 28px 20px;
  }

  .course-card h3 {
    font-size: 18px;
  }

  .course-card p {
    font-size: 13px;
  }
}

/* ===== CAMPUS SECTION ===== */
.campus {
  padding: 90px 8%;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  text-align: center;
  color: #fff;
}

.campus h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  color: #f5d76e;
  margin-bottom: 12px;
}

.campus .subtitle {
  font-size: 16px;
  color: #ddd;
  max-width: 820px;
  margin: auto;
}

/* ===== GRID ===== */
.campus-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* DESKTOP = 3 */
  gap: 30px;
}

/* ===== CARD ===== */
.campus-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(245, 215, 110, 0.35);
}

.campus-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.6s ease;
}

.campus-card:hover img {
  transform: scale(1.12);
}

/* Overlay */
.campus-layer {
  position: absolute;
  inset: 0;
  background: rgba(15, 32, 39, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #f5d76e;
  letter-spacing: 2px;
  opacity: 0;
  transition: 0.4s;
}

.campus-card:hover .campus-layer {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media(max-width:992px) {
  .campus-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 per row */
  }

  .campus h1 {
    font-size: 36px;
  }
}

/* Mobile */
@media(max-width:576px) {
  .campus {
    padding: 60px 5%;
  }

  .campus-grid {
    grid-template-columns: 1fr;
    /* 1 per row */
  }

  .campus h1 {
    font-size: 30px;
  }

  .campus .subtitle {
    font-size: 14px;
  }

  .campus-layer {
    font-size: 22px;
  }
}

.campus-layer {
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 20, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: 0.4s;
}

.campus-card:hover .campus-layer {
  opacity: 1;
}

.campus-layer h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #f3d37c;
  margin-bottom: 8px;
}

.campus-layer p {
  font-size: 14px;
  color: #e0e0e0;
  line-height: 1.6;
}


/* ===== FACILITIES SECTION ===== */
.facilities {
  padding: 90px 8%;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  text-align: center;
  color: #fff;
}

.facilities h1 {
  font-family: 'Playfair Display', serif;
  font-size: 46px;
  color: #f5d76e;
  margin-bottom: 12px;
}

.facilities .subtitle {
  font-size: 16px;
  color: #ddd;
  max-width: 820px;
  margin: auto;
}

/* ===== GRID ===== */
.facilities-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ===== CARD ===== */
.facilities-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 215, 110, 0.35);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.4s;
}

.facilities-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.facilities-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);
}

.facilities-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: #f5d76e;
  margin: 18px 15px 8px;
}

.facilities-card p {
  font-size: 14px;
  color: #e6e6e6;
  line-height: 1.7;
  padding: 0 15px 22px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:992px) {
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:576px) {
  .facilities {
    padding: 60px 5%;
  }

  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .facilities h1 {
    font-size: 30px;
  }
}

/* testimonials */
.comments {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;
}

.comment-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: #fff3f3;
  padding: 25px;
  cursor: pointer;
  display: flex;
}

.comment-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.comment-col p {
  padding: 0;
}

.comment-col h3 {
  margin-top: 15px;
  text-align: left;
}

.comment-col .fa {
  color: #f44336;
}

@media(max-width:700px) {
  .comment-col img {
    margin-left: 0px;
    margin-right: 15px;
  }

}

/* call to action */
.cta {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/banner2.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}

.cta h1 {
  color: #fff;
  margin-bottom: 40px;
  padding: 0%;
}

@media(max-width: 700px) {
  .cta h1 {
    font-size: 24px;
  }
}

/* about us page  */

/* ---------- HEADER SECTION ---------- */
.sub-header {
  height: 50vh;
  width: 100%;
  background-image:
    linear-gradient(rgba(4, 9, 30, 0.09), rgba(4, 9, 30, 0.123)),
    url(images/background.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
  position: relative;

}

.sub-header h1 {
  margin-top: 20px;
  font-size: 48px;
  color: #E6E6FA;
  /* light royal lavender */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

/* ---------- NAVBAR ---------- */


nav img {
  width: 140px;
}

/* ---------- ABOUT US SECTION ---------- */
.about-us {
  width: 100%;
  padding: 80px 0;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-left: 4%;
  margin-right: 4%;
}

.about-col {
  flex-basis: 48%;
}

.about-col h1 {
  font-size: 32px;
  color: #f5d76e;
  /* royal navy */
  margin-bottom: 20px;
}

.about-col p {
  color: #fff;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ---------- IMAGE ---------- */
.about-col img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ---------- FOOTER ---------- */
.footer {
  /* width: 100%; */
  text-align: center;
  padding: 40px 20px;
  background: #111;
  color: #ccc;
}

.footer h4 {
  margin-bottom: 15px;
  font-size: 22px;
  color: #FFD700;
}

.footer p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 800px;
  margin: auto;
}

.icons {
  margin: 20px 0;
}

.icons .fab{
  color: #FFD700;
  margin: 0 10px;
  cursor: pointer;
  font-size: 18px;
}

.footer .fa-heart {
  color: red;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .sub-header h1 {
    font-size: 32px;
  }

  nav .fa {
    display: block;
  }

  .nav-links {
    position: fixed;
    background: #111;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 0.5s;
  }

  .nav-links ul {
    padding: 30px;
  }
}


/* blog content */
.blog-content {
  width:100%;
  margin: auto;
  padding: 60px 0;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);

}

.blog-left {
  flex-basis: 65%;
}

.blog-left img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.blog-left h2 {
  color: #222;
  font-weight: 600;
  margin: 30px 0;
}

.blog-left p {
  color: #999;
  padding: 0;
}

.blog-right {
  flex-basis: 32%;
}

.blog-right h3 {
  background: #f44336;
  color: #fff;
  padding: 7px;
  font: size 16px;
  margin-bottom: 20px;
}

.blog-right div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ccc;
  padding: 8px;
  box-sizing: border-box;
}

.comment-box {
  border: 1px solid #ccc;
  margin: 50px 0;
  padding: 10px 20px;
}

.comment-box h3 {
  text-align: left;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin: 15px 0;
  box-sizing: border-box;
  border: none;
  outline: none;
  background: #f0f0f0;
}

.comment-form button {
  margin: 10px 0;

}

@media(max-width:700px) {
  .sub-header h1 {
    font-size: 24px;
  }
}

/* contect us page  */

.mainContact-us{
  /* width: 100%; */
  height: 1300px;
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);

}
.location {
  width: 80%;
  margin: auto;
  padding: 80px 0;

}

.location iframe {
  width: 100%;
}

.contact-us {
  width: 80%;
  margin: auto;

}

.contact-col {
  flex-basis: 48%;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;

}

.contact-col div {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.contact-col div .fa {
  font-size: 20px;
  color: #f44336;
  margin: 10px;
  margin-right: 30px;

}

.contact-col div p {
  padding: 0;
  color: #929191;

}

.contact-col div h5 {
  font-size: 20px;
  margin-bottom: 5px;
  color: #fff;
  font-weight: 400;
}

.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
  box-sizing: border-box;
  background: #ccc;
}