:root {
  --primary: #0d3b66;
  --primary-dark: #082b4b;
  --secondary: #f4a261;
  --accent: #2a9d8f;
  --light: #f7f9fc;
  --white: #ffffff;
  --dark: #17212b;
  --text: #65717d;
  --border: #e7ebef;
  --heading-font: "Playfair Display", serif;
  --body-font: "DM Sans", sans-serif;
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 30px;
  --fs-xxl: 48px;
  --transition: all 0.35s ease;
  --shadow: 0 15px 45px rgba(13, 59, 102, 0.1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--body-font);
  color: var(--text);
  font-size: var(--fs-md);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}
a {
  text-decoration: none;
  transition: var(--transition);
}
img {
  max-width: 100%;
  display: block;
}
.section-padding {
  padding: 100px 0;
}
.topbar {
  background: var(--primary-dark);
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a {
  color: #dce7f0;
  margin-right: 22px;
}
.topbar a:hover {
  color: var(--secondary);
}
.topbar i {
  color: var(--secondary);
  margin-right: 6px;
}
.topbar-social a {
  margin: 0 0 0 15px;
}
.main-navbar {
  background: rgba(13, 59, 102, 0.97);
  padding: 13px 0;
  z-index: 9999;
  transition:
    transform 0.4s ease,
    background 0.3s ease;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: var(--heading-font);
  font-size: 20px;
}
.brand-text span {
  font-size: 10px;
  letter-spacing: 2px;
  color: #d7e4ef;
  margin-top: 4px;
}
.navbar-nav {
  gap: 3px;
}
.nav-link {
  position: relative !important;
  color: #fff !important;
  font-weight: 500;
  font-size: 14px;
  padding: 18px 13px !important;
}
.nav-link:after {
  display: none !important;
}
.nav-link:before {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 8px;
  height: 2px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}
.nav-link:hover:before,
.nav-link.active:before {
  transform: scaleX(1);
}
.dropdown-menu {
  border: 0;
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow);
  margin-top: 8px;
}
.dropdown-item {
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--dark);
  font-size: 14px;
}
.dropdown-item:hover {
  background: #edf4f9;
  color: var(--primary);
}
.nav-cta {
  background: var(--secondary);
  color: var(--primary-dark);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
}
.nav-cta:hover {
  background: #fff;
  color: var(--primary);
}

.hero-content {
  max-width: 760px;
  padding-top: 90px;
  color: #fff;
}
/* =========================================
   MOBILE HERO GAP FIX
========================================= */

@media (max-width: 767px) {
  .hero-section {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .hero-banner {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    display: block;
    object-fit: contain;
  }
}
.hero-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-banner {
  width: 100%;
  height: auto;
  display: block;
}


.hero-eyebrow {
  display: inline-block;
  color: var(--secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-content h1 {
  color: #fff;
  font-size: clamp(40px, 6vw, 70px);
  margin-bottom: 25px;
}
.hero-content h1 span {
  color: var(--secondary);
}
.hero-content p {
  font-size: 18px;
  max-width: 650px;
  color: #e5edf4;
  margin-bottom: 30px;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary-custom,
.btn-outline-light-custom,
.btn-light-custom {
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
}
.btn-primary-custom {
  background: var(--secondary);
  border: 2px solid var(--secondary);
  color: var(--primary-dark);
}
.btn-primary-custom:hover {
  background: #fff;
  border-color: #fff;
  color: var(--primary);
}
.btn-outline-light-custom {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--primary);
}
.btn-light-custom {
  background: #fff;
  color: var(--primary);
}
.btn-light-custom:hover {
  background: var(--secondary);
  color: var(--primary-dark);
}
.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 20px;
}
.section-title span {
  color: var(--primary);
}
.section-text {
  margin-bottom: 15px;
}
.section-heading {
  max-width: 720px;
  margin: auto;
}
.section-heading > p {
  max-width: 650px;
  margin: auto;
}
.image-frame {
  position: relative;
  padding: 0 25px 25px 0;
}
.image-frame:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 65%;
  height: 65%;
  background: var(--secondary);
  z-index: 0;
  border-radius: 12px;
}
.image-frame img {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.experience-card {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: -10px;
  background: #fff;
  padding: 18px 22px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 13px;
  align-items: center;
}
.experience-card strong {
  font-size: 35px;
  color: var(--primary);
  font-family: var(--heading-font);
}
.experience-card span {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
.stats-section {
  background: var(--primary);
  padding: 60px 0;
}
.stat-box {
  text-align: center;
  color: #fff;
  padding: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.stat-box i {
  font-size: 25px;
  color: var(--secondary);
  display: block;
  margin-bottom: 10px;
}
.stat-box strong {
  font-size: 35px;
  font-family: var(--heading-font);
  display: block;
}
.stat-box span {
  font-size: 13px;
  color: #cbd9e4;
}
.program-section {
  background: var(--light);
}
.program-card {
  background: #fff;
  border-radius: 14px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.program-icon {
  width: 65px;
  height: 65px;
  background: #edf6f7;
  color: var(--accent);
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 25px;
  margin-bottom: 22px;
}
.program-card h3 {
  font-size: 25px;
}
.program-card p {
  font-size: 14px;
}
.program-card a,
.text-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
}
.program-card a:hover,
.text-link:hover {
  color: var(--secondary);
}
.program-card a i,
.text-link i {
  margin-left: 5px;
}
.value-card {
  height: 100%;
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover {
  border-color: var(--secondary);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.value-card i {
  color: var(--secondary);
  font-size: 26px;
  margin-bottom: 15px;
}
.value-card h4 {
  font-size: 20px;
}
.value-card p {
  font-size: 14px;
  margin: 0;
}
.cta-section {
  padding: 20px 0 100px;
}
.cta-box {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  border-radius: 18px;
  padding: 45px 50px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.cta-box span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  font-weight: 700;
}
.cta-box h2 {
  color: #fff;
  font-size: 32px;
  margin: 8px 0 0;
}
.footer {
  background: #071f36;
  color: #b9c9d7;
  padding: 80px 0 0;
}
.footer-brand {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #fff;
  margin-bottom: 20px;
}
.footer-brand > div:last-child {
  display: flex;
  flex-direction: column;
}
.footer-brand strong {
  font-family: var(--heading-font);
  font-size: 20px;
}
.footer-brand span {
  font-size: 10px;
  letter-spacing: 2px;
}
.footer-about {
  font-size: 14px;
  max-width: 460px;
}
.footer h4 {
  color: #fff;
  font-family: var(--body-font);
  font-size: 17px;
  margin-bottom: 22px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #b9c9d7;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.footer-social a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}
.footer-contact p {
  display: flex;
  gap: 12px;
  font-size: 14px;
  margin-bottom: 18px;
}
.footer-contact i {
  color: var(--secondary);
  margin-top: 5px;
}
.footer-contact a {
  color: #b9c9d7;
}
.footer-contact a:hover {
  color: var(--secondary);
}
.footer-bottom {
  margin-top: 55px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom i {
  color: #e76f51;
}
#backToTop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary-dark);
  display: none;
  z-index: 999;
  font-size: 15px;
}
.page-hero {
  min-height: 430px;
  background:
    linear-gradient(rgba(7, 31, 54, 0.75), rgba(7, 31, 54, 0.75)),
    url("https://images.unsplash.com/photo-1523050854058-8df90110c9f1?auto=format&fit=crop&w=1800&q=85")
      center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(40px, 6vw, 60px);
  color: #fff;
}
.page-hero p {
  color: #dce8f0;
  max-width: 650px;
  margin: 15px auto 0;
}
.content-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
  height: 100%;
}
.content-card h3 {
  margin-bottom: 15px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.faculty-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
}
.faculty-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.faculty-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.faculty-info {
  padding: 22px;
}
.faculty-info h4 {
  margin-bottom: 5px;
}
.faculty-info span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
}
.contact-box {
  padding: 30px;
  background: var(--light);
  border-radius: 14px;
  height: 100%;
}
.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}
.contact-item > i {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--secondary);
  border-radius: 10px;
}
.form-control {
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.12);
  border-color: var(--accent);
}
@media (max-width: 991px) {
  .topbar-social {
    display: none;
  }
  .main-navbar {
    padding: 10px 0;
  }
  .navbar-collapse {
    background: var(--primary-dark);
    padding: 15px;
    border-radius: 0 0 12px 12px;
    margin-top: 10px;
  }
  .nav-link {
    padding: 11px 8px !important;
  }
  .nav-link:before {
    left: 8px;
    right: auto;
    width: 35px;
    bottom: 3px;
  }
  .nav-cta {
    display: inline-block;
    margin-top: 10px;
  }
  .hero-section {
    min-height: 760px;
  }
  .hero-content {
    padding-top: 100px;
  }
  .stat-box {
    border-right: 0;
  }
  .cta-box {
    padding: 35px;
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 767px) {
  .topbar {
    font-size: 11px;
  }
  .topbar a {
    margin-right: 10px;
  }
  .section-padding {
    padding: 70px 0;
  }
  .hero-section {
    min-height: 700px;
  }
  .hero-content h1 {
    font-size: 42px;
  }
  .hero-content p {
    font-size: 15px;
  }
  .image-frame img {
    height: 380px;
  }
  .experience-card {
    left: 10px;
  }
  .footer {
    padding-top: 60px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-buttons {
    display: block;
  }
  .hero-buttons a {
    display: block;
    text-align: center;
    margin-bottom: 10px;
  }
  .section-title {
    font-size: 32px;
  }
  .cta-box h2 {
    font-size: 26px;
  }
}

/* =========================================================
   FIXED NAVBAR - ALWAYS VISIBLE WHILE SCROLLING
========================================================= */
.navbar {
  padding: 12px 0;
}

/* Remove old sticky animation behaviour */
.main-navbar.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: 0;
}

.contact-item > i {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(13, 59, 102, 0.08);
  color: var(--primary);
  border-radius: 10px;
  font-size: 18px;
  transition: var(--transition);
}

.contact-item:hover > i {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.contact-item strong {
  display: block;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  font-size: 32px;
  margin-bottom: 28px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 7px;
}

.contact-form .form-control,
.contact-form .form-select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 15px;
  font-family: var(--body-font);
  font-size: 14px;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
}

.contact-form textarea.form-control {
  height: auto;
  min-height: 140px;
  resize: vertical;
}

.contact-form .form-control::placeholder {
  color: #a3adb6;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, 0.1);
  outline: none;
}

.contact-form .btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 14px;
}

.contact-form .btn-primary-custom i {
  transition: var(--transition);
}

.contact-form .btn-primary-custom:hover i {
  transform: translateX(4px);
}

/* =========================================================
   CONTACT MAP
========================================================= */
.map-section {
  padding: 0 0 100px;
}

.map-placeholder {
  min-height: 330px;
  border-radius: 18px;
  background:
    linear-gradient(rgba(13, 59, 102, 0.9), rgba(8, 43, 75, 0.9)),
    url("https://images.unsplash.com/photo-1524666041070-9e7e5b7c8b0b?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.map-placeholder i {
  font-size: 48px;
  color: var(--secondary);
  margin-bottom: 18px;
}

.map-placeholder h3 {
  color: var(--white);
  font-size: 30px;
  margin-bottom: 8px;
}

.map-placeholder p {
  color: #dce8f0;
  margin: 0;
  font-size: 14px;
}

.contact-form .section-label {
  margin-bottom: 8px;
}

.col-lg-5 > .section-title {
  margin-bottom: 15px;
}

#backToTop {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary-dark);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  font-size: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  cursor: pointer;
}

#backToTop:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
}

#backToTop.show {
  display: flex;
}

@media (max-width: 991px) {
  .map-section {
    padding-bottom: 70px;
  }
}

@media (max-width: 767px) {
  .contact-form {
    padding: 25px 20px;
    border-radius: 14px;
  }

  .contact-form h2 {
    font-size: 28px;
  }

  .contact-item {
    gap: 12px;
    margin-top: 22px;
    padding-bottom: 18px;
  }

  .contact-item > i {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    font-size: 16px;
  }

  .map-placeholder {
    min-height: 280px;
    padding: 30px 20px;
  }

  .map-placeholder h3 {
    font-size: 26px;
  }

  #backToTop {
    right: 15px;
    bottom: 15px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .contact-form {
    padding: 22px 16px;
  }

  .contact-form .btn-primary-custom {
    width: 100%;
    justify-content: center;
  }

  .contact-item p {
    font-size: 13px;
  }
}

/* =========================================================
   CTA SECTION
========================================================= */
.cta-section {
  padding: 30px 0 100px;
  background: var(--white);
}
.cta-content {
  position: relative;
  overflow: hidden;
  padding: 70px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow);
  text-align: center;
}
.cta-content:before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(244, 162, 97, 0.1);
  top: -170px;
  right: -80px;
}
.cta-content:after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(244, 162, 97, 0.18);
  bottom: -120px;
  left: -60px;
}
.cta-content h2 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 15px;
}
.cta-content p {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #dce8f0;
  font-size: 16px;
  line-height: 1.8;
}
.btn-secondary-custom {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border: 2px solid var(--secondary);
  border-radius: 8px;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}
.btn-secondary-custom:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}
@media (max-width: 767px) {
  .cta-section {
    padding: 20px 0 70px;
  }
  .cta-content {
    padding: 50px 22px;
    border-radius: 15px;
  }
  .cta-content h2 {
    font-size: 30px;
  }
  .cta-content p {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .cta-content {
    padding: 42px 18px;
  }
  .cta-content h2 {
    font-size: 27px;
  }
  .cta-content p {
    font-size: 13px;
  }
  .btn-secondary-custom {
    padding: 12px 22px;
  }
}

/* ABOUT */

.content-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.content-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: 0.8s;
}

/* Hover animation */
.content-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 43, 92, 0.18);
  background: linear-gradient(135deg, #ffffff 0%, #eaf5ff 100%);
  border-color: #f4b400;
}

.content-card:hover::before {
  animation: cardFlash 0.9s ease;
}

@keyframes cardFlash {
  from {
    left: -120%;
  }

  to {
    left: 140%;
  }
}

/* ================================
   Beyond Academics - Feature Cards
================================ */

.feature-card {
  position: relative;
  height: 100%;
  padding: 35px 25px;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* Top color line */
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #00b894);
  transform: translateX(-50%);
  transition: width 0.4s ease;
}

/* Flash / shine effect */
.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: skewX(-20deg);
  pointer-events: none;
}

/* Heading */
.feature-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
  color: #1d2939;

  transition: color 0.3s ease;
}

/* Description */
.feature-card p {
  margin: 0;
  color: #667085;
  line-height: 1.7;
  font-size: 15px;
}

/* ================================
   Hover
================================ */

.feature-card:hover {
  transform: translateY(-12px);
  border-color: rgba(13, 110, 253, 0.2);
  box-shadow: 0 20px 45px rgba(13, 110, 253, 0.14);
}

.feature-card:hover::before {
  width: 100%;
}

.feature-card:hover::after {
  animation: featureFlash 0.8s ease;
}

/* Flash animation */
@keyframes featureFlash {
  from {
    left: -120%;
  }

  to {
    left: 140%;
  }
}

/* ================================
   Section heading
================================ */

.section-heading {
  margin-bottom: 15px;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: #1d2939;
}

@media (max-width: 767px) {
  .feature-card {
    padding: 30px 22px;
  }

  .feature-icon {
    width: 65px;
    height: 65px;
    font-size: 26px;
  }

  .feature-card h3 {
    font-size: 19px;
  }
}

/* ========================================
    PRE-SCHOOL GALLERY
 ======================================== */

.gallery-img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 18px;

  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

/* Gallery item */
.row .col-md-6.col-lg-3 {
  position: relative;
}

/* Create a card around each gallery item */
.row .col-md-6.col-lg-3 {
  padding-bottom: 15px;
}

.row .col-md-6.col-lg-3::before {
  content: "";
  position: absolute;
  inset: 0 12px 0 12px;
  background: #fff;
  border-radius: 20px;
  z-index: -1;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

/* Image wrapper effect */
.gallery-img {
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Heading */
.row .col-md-6.col-lg-3 h4 {
  margin: 20px 10px 8px;
  font-size: 20px;
  font-weight: 700;
  color: #1d2939;
  transition: color 0.3s ease;
}

/* Description */
.row .col-md-6.col-lg-3 p {
  margin: 0 10px;
  color: #667085;
  font-size: 14px;
  line-height: 1.7;
}

/* ========================================
   HOVER
 ======================================== */

.row .col-md-6.col-lg-3:hover::before {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(13, 110, 253, 0.14);
}

/* Image zoom */
.row .col-md-6.col-lg-3:hover .gallery-img {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* Heading hover */
.row .col-md-6.col-lg-3:hover h4 {
  color: #0d6efd;
}

/* ========================================
   IMAGE SHINE / FLASH
 ======================================== */

.row .col-md-6.col-lg-3 {
  overflow: hidden;
}

.row .col-md-6.col-lg-3 .gallery-img {
  position: relative;
}

/* Flash layer */
.row .col-md-6.col-lg-3::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 50%;
  height: 230px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );

  transform: skewX(-20deg);
  pointer-events: none;
}

/* Run flash on hover */
.row .col-md-6.col-lg-3:hover::after {
  animation: galleryFlash 0.8s ease;
}

@keyframes galleryFlash {
  from {
    left: -120%;
  }

  to {
    left: 140%;
  }
}
.section-heading > p {
  max-width: 650px;
  margin: 15px auto 0;
  color: #667085;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .gallery-img {
    height: 220px;
  }

  .row .col-md-6.col-lg-3 h4 {
    font-size: 19px;
  }
}

/* LEADERSHIP */
.section-heading {
  max-width: 850px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  color: #172033;
  margin-bottom: 18px;
}

.section-heading p {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.8;
}

/* =========================================
   MESSAGE BOX
========================================= */

.message-box {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 45px;
  background: #fff;
  padding: 35px;
  margin-bottom: 45px;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(23, 32, 51, 0.08);
  border: 1px solid #edf0f5;
  overflow: hidden;
  transition: all 0.35s ease;
}

.message-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #e85d04, #f9a03f);
}

.message-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(23, 32, 51, 0.12);
}

/* Image */

.message-box .img {
  flex: 0 0 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-box .img img {
  width: 100%;
  max-width: 320px;
  height: 360px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Text */

.message-box .text {
  flex: 1;
  padding: 10px 10px 10px 0;
}

.message-box .text h3 {
  color: #172033;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.message-box .text > span {
  display: block;
  /* color: #e85d04; */
  font-weight: 600;
  margin-bottom: 18px;
}

.message-box .text p {
  color: #667085;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 17px;
}

.message-box .text p i {
  color: #344054;
}

.message-box .text h4 {
  color: #172033;
  font-size: 16px;
  margin-top: 25px;
  margin-bottom: 5px;
}

.message-box .text h5 {
  color: var(--accent);
  font-size: 17px;
  margin: 0;
}

/* =========================================
   REVERSE CARD
========================================= */

.message-box.reverse {
  flex-direction: row-reverse;
}

.message-box.reverse::before {
  left: auto;
  right: 0;
}

.message-box.reverse .text {
  padding-left: 10px;
  padding-right: 0;
}

/* =========================================
   APPROACH SECTION
========================================= */

.light-section {
  background: #f7f9fc;
}

.rounded-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(23, 32, 51, 0.12);
}

.light-section .section-title {
  margin-bottom: 25px;
}

.light-section p {
  color: #667085;
  line-height: 1.85;
  font-size: 16px;
}

/* Mini list */

.mini-list {
  margin-top: 30px;
}

.mini-list p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  color: #344054;
  font-weight: 500;
}

.mini-list i {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 93, 4, 0.1);
  /* color: #e85d04; */
  border-radius: 50%;
  font-size: 13px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991px) {
  .message-box {
    gap: 30px;
    padding: 28px;
  }

  .message-box .img {
    flex: 0 0 260px;
  }

  .message-box .img img {
    height: 320px;
  }

  .rounded-image {
    height: 400px;
  }
}

@media (max-width: 767px) {
  .section-heading {
    margin-bottom: 40px;
  }

  .message-box,
  .message-box.reverse {
    flex-direction: column;
    gap: 25px;
    padding: 22px;
    margin-bottom: 30px;
  }

  .message-box::before,
  .message-box.reverse::before {
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
    right: auto;
  }

  .message-box .img {
    flex: none;
    width: 100%;
  }

  .message-box .img img {
    max-width: 260px;
    height: 300px;
    margin: 0 auto;
  }

  .message-box .text,
  .message-box.reverse .text {
    padding: 0;
  }

  .message-box .text h3 {
    font-size: 23px;
  }

  .message-box .text p {
    font-size: 14px;
    line-height: 1.75;
  }

  .rounded-image {
    height: 300px;
    border-radius: 20px;
  }

  .mini-list {
    margin-top: 25px;
  }
}

.brand-mark {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--secondary);
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 20px;
}

.brand-mark_logo img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  display: block;
  border-radius: 100%;
}

/* =========================================
   STICKY NAVBAR - DESKTOP & MOBILE
========================================= */

.main-navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
}

/* Keep navbar visible when scrolling */
.main-navbar.sticky-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(13, 59, 102, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Mobile */
@media (max-width: 991px) {

    .main-navbar {
        position: sticky;
        top: 0;
        z-index: 9999;
        width: 100%;
    }

    .main-navbar.sticky-nav {
        position: sticky;
        top: 0;
        width: 100%;
    }

    .navbar-collapse {
        background: var(--primary);
        padding: 10px 0 15px;
    }

    .navbar-nav {
        gap: 0;
    }

    .nav-link {
        padding: 12px 15px !important;
    }
}