
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f3f3f3;
  color: #333;
}

h2,h1 { font-family: 'Abril Fatface'; }

a {
  text-decoration: none;
  cursor: pointer;
}

/* ── BUTTON BOUNCE ANIMATION ── */
@keyframes bounce {
  0%   { transform: translateY(0) scale(1); }
  30%  { transform: translateY(-12px) scale(1.05); }
  50%  { transform: translateY(0) scale(0.98); }
  70%  { transform: translateY(-6px) scale(1.02); }
  100% { transform: translateY(0) scale(1); }
}
button:active { animation: bounce 0.4s; }
.bounce       { animation: bounce 0.5s ease; }


/*HERO*/
.hero {
  position: relative;
  min-height: 90vh;
  background: url(images/hero_image.png) center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 80px 60px;       /* top pad clears the floating navbar */
  overflow: hidden;
}

/* dark overlay so text stays readable on any image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 32, 43, 0.45);
  z-index: 0;
}

.hero > * { position: relative; z-index: 1; }

/* ── HERO TEXT ── */
.hero-content {
  max-width: 560px;
  color: white;
}

.hero h1 {
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 700;
}

.hero span { color: #ff8c38; }

/* subtitle added in new HTML */
.hero-content p {
  font-size: clamp(14px, 1.6vw, 18px);
  opacity: 0.9;
  margin-top: 10px;
  max-width: 480px;
}

/* ── HERO CTA BUTTONS ── */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn-apply {
  display: inline-block;
  background: #FB963E;
  color: #fff;
  padding: 13px 32px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-apply:hover { background: #e07e2a; color: #fff; transform: translateY(-2px); }

.btn-learn-hero {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 12px 30px;
  border: 2px solid #fff;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-learn-hero:hover { background: #fff; color: #1a2a4a; }

/* ── ACCREDITATION BADGE ── */
.accreditation-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(47,192,238,0.15);
  border: 1px solid #2FC0EE;
  color: #2FC0EE;
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 18px;
}


/* ══════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════ */
.navbar {
  position: absolute;
  top: 25px;
  left: 0;
  right: 0;
  margin: 0 80px;
  height: 100px;
  background: white;
  color: #2FC0EE;
  border-radius: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  z-index: 100;
}

.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

/* Bootstrap nav items inherit color */
nav ul       { display: flex; gap: 40px; list-style: none; font-weight: 500; }
nav li       { color: #38a8c8; cursor: pointer; }
nav li:hover { color: #2f545f; transform: translateY(-3px); transition: 0.2s; }
.active      { color: #ff8c38 !important; }

nav { position: relative; z-index: 1000; }

/* nav links colour */
.navbar .nav-link         { color: #38a8c8 !important; font-weight: 500; }
.navbar .nav-link:hover   { color: #2f545f !important; }
.navbar .nav-link.active  { color: #ff8c38 !important; }

/* Apply Now button in nav */
.btn-apply-nav {
  display: inline-block;
  background: #FB963E;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  margin-left: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-apply-nav:hover { background: #e07e2a; color: #fff !important; }

/* ── DROPDOWN ── */
.dropdown { position: relative; }

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: white;
  padding: 15px 0;
  min-width: 180px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.dropdown-menu li        { padding: 10px 20px; }
.dropdown-menu li a      { color: #062C33; font-size: 15px; display: block; }
.dropdown-menu li:hover  { background: #f5f5f5; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }


/* ══════════════════════════════════════════════════
   TRUST BAR  (new section)
══════════════════════════════════════════════════ */
.trust-bar {
  background: #1a2a4a;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-item { text-align: center; color: #fff; }
.trust-item strong { display: block; font-size: 1.6rem; color: #FB963E; font-weight: 700; }
.trust-item span   { font-size: 0.82rem; opacity: 0.8; }


/* ══════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════ */
.about {
  margin: 140px 80px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.about h4 { color: #FB963E; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.about h2 { font-size: 32px; color: #49a6d8; margin: 10px 0 20px; }
.about-text p { font-size: 16px; text-align: justify; line-height: 1.7; }

.btn-blue {
  display: inline-block;
  background: #4aa6d9;
  color: white;
  font-size: 16px;
  padding: 12px 28px;
  margin-top: 20px;
  border-radius: 10px;
  border: 2px solid #4aa6d9;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: all 0.3s;
  cursor: pointer;
}
.btn-blue:hover { background: white; color: #4aa6d9; transform: translateY(-3px); }


/* ══════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════ */
.services { margin-top: 100px; text-align: center; }
.services h2 { color: #49a6d8; font-size: clamp(22px, 3vw, 32px); }

.services-grid {
  margin: 40px 80px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  width: 100%;
  height: auto;
  transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); }

.card_image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.card_text {
  font-size: 15px;
  text-align: left;
  margin-top: 14px;
  line-height: 1.6;
  color: #555;
}

.service-link {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  color: #ff8c38;
  border: 1px solid #ff8c38;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}
.service-link:hover { background: #ff8c38; color: white; }


/* ══════════════════════════════════════════════════
   SCHOLARSHIP
══════════════════════════════════════════════════ */
.scholarship {
  margin-top: 100px;
  background: #e8b187;
  padding: 80px 0;
}

.scholarship-grid {
  margin: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.grace_shoolarship {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  border-radius: 12px;
}

.schoolar_heading {
  font-family: 'Abril Fatface';
  font-size: clamp(36px, 5vw, 72px);
  color: #06202B;
  margin: 0 0 20px;
  text-align: left;
}

.scholar-text p {
  font-size: 16px;
  text-align: justify;
  line-height: 1.7;
  max-width: 480px;
}

.btn-orange {
  display: inline-block;
  background: #f28c3c;
  color: white;
  font-size: 16px;
  padding: 12px 28px;
  margin-top: 24px;
  border: 2px solid #f28c3c;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-orange:hover { background: white; color: #f28c3c; transform: translateY(-3px); }


/* ══════════════════════════════════════════════════
   SPONSORS
══════════════════════════════════════════════════ */
.sponsors { padding: 70px 0; text-align: center; }
.sponsors h2 { color: #49a6d8; font-size: clamp(22px, 3vw, 32px); }

.sponsor-logos {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  flex-wrap: wrap;
}

.sponsor_image {
  width: 180px;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s;
}
.sponsor_image:hover { filter: grayscale(0%); }


/* ══════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════ */
.testimonials { margin-top: 80px; text-align: center; }

.testimonial-grid {
  margin: 40px 80px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #e7b287;
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  transition: background 0.3s, transform 0.3s;
}
.testimonial-card:hover { background: #06202B; color: white; transform: translateY(-5px); }
.testimonial-card:hover .author-info strong { color: #2FC0EE; }
.testimonial-card:hover .author-info span   { color: #aaa; }

.test_text { font-size: 15px; line-height: 1.7; text-align: left; }

/* ── TESTIMONIAL AUTHOR (new) ── */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2FC0EE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info strong { display: block; font-size: 0.9rem; color: #1a2a4a; }
.author-info span   { font-size: 0.78rem; color: #666; }


/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
footer {
  margin-top: 80px;
  background: #06202B;
  color: white;
  padding: 70px 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

footer h3 { margin-bottom: 16px; font-size: 18px; }

/* social icons */
.social-icons { margin-top: 20px; display: flex; gap: 14px; flex-wrap: wrap; }

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #247a9f;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  transition: 0.3s;
  text-decoration: none;
}
.social-icons a:hover { background: #f28c3c; transform: translateY(-3px); }

/* footer links */
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul a,
.footlink { color: white; text-decoration: none; display: block; transition: color 0.2s; }
.footer-links ul a:hover,
.footlink:hover { color: #f28c3c; }

/* footer contact */
.footer-contact p { margin-bottom: 8px; font-size: 14px; line-height: 1.6; }

/* ── NEWSLETTER (updated for flex form) ── */
.newsletter { margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; }
.newsletter h3 { margin-bottom: 16px; font-size: 16px; font-weight: 500; }

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-form input {
  padding: 12px 16px;
  border-radius: 6px;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  flex: 1;
  min-width: 180px;
  outline: none;
  transition: box-shadow 0.2s;
}
.newsletter-form input:focus { box-shadow: 0 0 0 3px rgba(251,150,62,0.4); }

.newsletter-form button {
  padding: 12px 28px;
  background: #FB963E;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: #e07e2a; }

/* ── TABLET  (≤ 991px) ── */
@media (max-width: 991px) {

  /* hero */
  .hero {
    padding: 140px 30px 60px;
    min-height: 80vh;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }
  .hero::before {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }
  .hero-content { max-width: 100%; }

  /* navbar */
  .navbar { margin: 0 20px; height: auto; min-height: 70px; padding: 10px 0; top: 15px; border-radius: 20px; }
  .nav-inner { padding: 0 20px; flex-wrap: wrap; }
  .logo img  { width: 130px !important; height: auto !important; }
  .navbar-collapse { padding: 10px 0 6px; }
  .navbar .nav-link { padding: 8px 0; }
  .btn-apply-nav { margin: 8px 0 4px 0; }

  /* trust bar */
  .trust-bar { gap: 30px; padding: 16px 20px; }
  .trust-item strong { font-size: 1.3rem; }

  /* about */
  .about { grid-template-columns: 1fr; margin: 80px 30px 0; gap: 30px; }
  .about img { max-width: 360px; }
  .about-text { text-align: center; }
  .about h2  { font-size: 26px; }
  .about-text p { font-size: 15px; text-align: center; }
  .btn-blue  { display: block; margin: 20px auto 0; width: fit-content; }

  /* services */
  .services-grid { grid-template-columns: 1fr; margin: 30px 30px 0; }

  /* scholarship */
  .scholarship-grid { grid-template-columns: 1fr; margin: 0 30px; gap: 30px; text-align: center; }
  .grace_shoolarship { margin: 0 auto; max-width: 280px; }
  .schoolar_heading { font-size: 48px; text-align: center; }
  .scholar-text p { font-size: 15px; text-align: center; margin: 0 auto; }
  .btn-orange { margin: 20px auto 0; display: block; width: fit-content; }

  /* sponsors */
  .sponsor-logos { gap: 40px; }

  /* testimonials */
  .testimonial-grid { grid-template-columns: 1fr; margin: 30px 30px 0; }
  .testimonial-card { padding: 24px; }
  .test_text { font-size: 15px; }

  /* footer */
  footer { padding: 50px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-about { text-align: center; }
  .footer-links { text-align: center; }
  .footer-contact { text-align: center; }
  .social-icons { justify-content: center; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form input,
  .newsletter-form button { width: 100%; min-width: unset; }
}

/* ── MOBILE  (≤ 575px) ── */
@media (max-width: 575px) {

  /* hero */
  .hero {
    padding: 120px 20px 50px;
    min-height: 70vh;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }
  .hero::before {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }
  .hero h1 { font-size: 24px; }
  .hero-btns { flex-direction: column; }
  .btn-apply, .btn-learn-hero { text-align: center; width: 100%; }
  .accreditation-badge { font-size: 0.7rem; padding: 4px 12px; }

  /* navbar */
  .navbar { margin: 0 12px; border-radius: 16px; }
  .nav-inner { padding: 0 14px; }
  .logo img { width: 110px !important; }

  /* trust bar */
  .trust-bar { gap: 20px; padding: 14px 16px; }
  .trust-item strong { font-size: 1.1rem; }
  .trust-item span   { font-size: 0.75rem; }

  /* about */
  .about { margin: 60px 16px 0; gap: 20px; }
  .about img { max-width: 260px; }
  .about h2  { font-size: 22px; }
  .about-text p { font-size: 14px; }

  /* services */
  .services-grid { margin: 20px 16px 0; gap: 16px; }
  .service-card  { padding: 16px; }
  .card_text     { font-size: 14px; }
  .card_image    { height: 160px; }

  /* scholarship */
  .scholarship       { padding: 50px 0; }
  .scholarship-grid  { margin: 0 16px; gap: 20px; }
  .grace_shoolarship { max-width: 220px; }
  .schoolar_heading  { font-size: 32px; }
  .scholar-text p    { font-size: 14px; }

  /* sponsors */
  .sponsor-logos  { gap: 24px; }
  .sponsor_image  { width: 130px; }

  /* testimonials */
  .testimonial-grid { margin: 20px 16px 0; gap: 16px; }
  .testimonial-card { padding: 20px; }
  .test_text        { font-size: 14px; }
  .author-avatar    { width: 38px; height: 38px; font-size: 0.95rem; }
  .author-info strong { font-size: 0.82rem; }

  /* footer */
  footer { padding: 40px 16px; }
  .footer-grid { gap: 30px; }

  /* newsletter form */
  .newsletter { padding-top: 30px; }
}