:root {
  --blue: #0b4ea2;
  --blue-dark: #073a7a;
  --blue-deep: #04234a;
  --blue-light: #e8f0fb;
  --orange: #b38c4a;
  --bg: #f8fafc;
  --white: #ffffff;
  --ink: #111827;
  --ink-soft: #4b5568;
  --line: rgba(255, 255, 255, 0.5);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(4, 35, 74, 0.06);
  --shadow-md: 0 12px 30px rgba(4, 35, 74, 0.1);
  --shadow-lg: 0 24px 60px rgba(4, 35, 74, 0.16);
  --navy-deep: #02132b;
  --blue: #0b4ea2;
  --muted: rgba(255, 255, 255, 0.55);
  --whatsapp: #25d366;
  --ink-deep: #04234a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Josefin Sans", sans-serif;
  color: var(--blue-deep);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.dept-topbar {
  background: var(--navy-deep);
  border-bottom: 1px solid var(--line);
}
.dept-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 10px 32px;
  font-size: 12.5px;
  color: var(--muted);
}
.dept-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.dept-topbar a:hover {
  color: var(--orange);
}
.dept-topbar .ph-icon {
  font-size: 12px;
}

@media (max-width: 640px) {
  .dept-topbar .container {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}

.emphasis-code {
  font-family: "Josefin Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--white);
  margin-top: 32px;
}

@media (max-width: 760px) {
  .dept-topbar .container {
    padding: 10px 20px;
    justify-content: center;
  }
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 19, 43, 0.55); /* Dark overlay */
  z-index: 1;
}

/* Keep the blueprint grid above the video */
.blueprint-grid {
  z-index: -1;
}

/* Keep the content above everything */
.hero-inner {
  position: relative;
  z-index: 2;
}

.mono {
  font-family: "Space Mono", monospace;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Nunito Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.section {
  padding: 100px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 30px rgba(11, 78, 162, 0.2);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--orange);
  color: #fff;
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(179, 140, 74, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 1.5px solid var(--orange);
}

.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ---------- Blueprint grid signature texture ---------- */
.blueprint-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events: none;
}

.blueprint-grid.dark {
  background-image:
    linear-gradient(rgba(11, 78, 162, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 78, 162, 0.06) 1px, transparent 1px);
}

.draft-corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--orange);
  opacity: 0.9;
}

.draft-corner.tl {
  top: 14px;
  left: 14px;
  border-top: 2px solid;
  border-left: 2px solid;
}

.draft-corner.br {
  bottom: 14px;
  right: 14px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 6px 24px rgba(4, 35, 74, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 16px rgba(11, 78, 162, 0.35);
  flex: none;
}

.logo-text {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-deep);
  letter-spacing: 0.01em;
  border-left: 1px solid gray;
  padding-left: 12px;
}

.logo-text span {
  display: block;
  font-size: 11.5px;
  color: var(--ink-soft);
  font-family: "Nunito Sans", sans-serif;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta .btn {
  padding: 12px 24px;
  font-size: 14px;
}
.nav-cta .btn span {
  font-size: 16px;
  font-weight: 700;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 6px;
}

.burger span {
  width: 24px;
  height: 2.4px;
  background: var(--blue-deep);
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  position: fixed;
  inset: 78px 0 0 0;
  background: #fff;
  z-index: 99;
  padding: 28px 24px;
  overflow-y: auto;
}

.mobile-panel.open {
  display: block;
  height: calc(100vh - 78px);
}

.mobile-panel a {
  display: block;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  border-bottom: 1px solid rgb(165, 165, 165);
}

.mobile-panel .btn {
  margin-top: 40px;
  width: 100%;
  padding: 12px 28px;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 110px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fde9c4;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.hero-badge b {
  color: var(--orange);
}

.hero h1 {
  color: #fff;
  font-size: clamp(32px, 3.2vw, 50px);
  font-weight: 800;
  letter-spacing: -0.015em;
  max-width: 640px;
}

.hero .sub {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  margin-top: 16px;
  max-width: 560px;
}

.hero .desc {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  margin-top: 18px;
  max-width: 560px;
}

.hero .location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #fff;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 16px;
  border-radius: 100px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.hero-trust .stat b {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-size: 26px;
  color: #fff;
}

.hero-trust .stat span {
  font-size: 12.5px;
  color: #b9d2f1;
  letter-spacing: 0.03em;
}

.enquiry-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.enquiry-card .tag {
  position: absolute;
  top: -14px;
  left: 26px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 100px;
  font-family: "Nunito Sans", sans-serif;
}

.enquiry-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.enquiry-card p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.field input,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14.5px;
  background: #f8fafc;
  color: var(--ink);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}

.enquiry-card .btn {
  width: 100%;
  margin-top: 6px;
  padding: 14px;
}

/* ---------- Trust marquee ---------- */
.marquee-wrap {
  background: var(--blue-deep);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track,
.marquee-track-1 {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll-left 32s linear infinite;
}

.marquee-track span,
.marquee-track-1 span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.marquee-track-1 span {
  font-size: 20px;
  font-weight: 400;
}

.marquee-track span::before {
  content: "✔";
  color: var(--orange);
  background: rgba(22, 163, 74, 0.18);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex: none;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  mix-blend-mode: luminosity;
  filter: brightness(140%) contrast(1.1) saturate(1.2);
}

.about-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 58, 122, 0.55), transparent 55%);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.stat-card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 18px;
}

.stat-card b {
  display: block;
  font-family: "Nunito Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--blue-deep);
}

.stat-card span {
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Vision / Mission ---------- */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vm-card {
  background: linear-gradient(160deg, #fff, var(--blue-light));
  border-radius: var(--radius);
  padding: 38px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.vm-card .num {
  font-family: "Nunito Sans", sans-serif;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
  background: rgba(11, 78, 162, 0.08);
  padding: 5px 12px;
  border-radius: 100px;
}

.vm-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.vm-card p {
  color: var(--ink-soft);
  font-size: 15px;
}

.vm-card .glyph {
  position: absolute;
  right: -16px;
  bottom: -24px;
  font-size: 130px;
  opacity: 0.06;
  color: var(--blue);
  font-family: "Nunito Sans", sans-serif;
  font-weight: 800;
}

/* ---------- Courses ---------- */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.course-card .code {
  font-family: "Nunito Sans", sans-serif;
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.08em;
  position: absolute;
  top: 20px;
  right: 22px;
  opacity: 0.7;
}

.course-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px;
}

.course-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.course-card .duration {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 6px;
  font-weight: 500;
}

.course-card .duration::before {
  content: "⏱";
  font-size: 12px;
}

/* ---------- Why choose (glass cards) ---------- */
.courses-section {
  position: relative;
  background: linear-gradient(
    160deg,
    var(--blue-deep),
    var(--blue) 65%,
    #1665c9
  );
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
}

.why-section {
  padding: 100px 0;
}

.courses-section .section-head h2,
.courses-section .section-head p {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.glass-card .g-icon {
  font-size: 24px;
  margin-bottom: 14px;
  color: #0b4ea2;
}

.glass-card h4 {
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
  font-family: "Nunito Sans", sans-serif;
}

/* ---------- Facilities ---------- */
.facility-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.facility-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.facility-card:hover {
  transform: translateY(-4px);
}

.facility-card .f-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.facility-card span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Scholarships ---------- */
.schol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.schol-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.schol-card .s-icon {
  color: var(--orange);
  font-size: 32px;
  margin-bottom: 14px;
}

.schol-card h4 {
  font-size: 15.5px;
  margin-bottom: 8px;
}

.schol-card p {
  font-size: 13px;
  color: var(--ink-soft);
}

.admission-flow {
  max-width: 1000px;
  margin: 60px auto;
}

.flow-row {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.flow-item {
  flex: 1;
  text-align: center;
}

.flow-item h4 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--blue-deep);
}

.flow-item p {
  max-width: 320px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.t-num {
  width: 68px;
  height: 68px;
  margin: 24px auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  box-shadow: 0 12px 30px rgba(11, 78, 162, 0.25);
}

.flow-connector {
  position: relative;
  width: 500px;
  height: 130px;
  margin: 0 auto;
}

.flow-connector svg {
  width: 100%;
  height: 100%;
}

.flow-connector path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 3;
  stroke-dasharray: 8 8;
}

.connector-dot {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px #fff;
}

.flow-final {
  display: flex;
  justify-content: center;
}

.flow-final .flow-item {
  max-width: 420px;
}

@media (max-width: 768px) {
  .flow-row {
    flex-direction: column;
    gap: 40px;
  }

  .flow-connector {
    display: none;
  }

  .flow-final {
    margin-top: 20px;
  }
}

.flow-connector {
  width: 700px;
  height: 220px;
  position: relative;
}

.flow-connector svg {
  width: 100%;
  height: 100%;
}

.flow-connector line {
  stroke: var(--blue);
  stroke-width: 3;
  stroke-linecap: round;

  /* dashed engineering style */
  stroke-dasharray: 8 8;
}

.connector-dot {
  position: absolute;
  left: 50%;
  top: 105px;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px #fff;
}

.eligibility-box {
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.eligibility-box p {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 640px;
}

.admission-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  justify-content: center;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item .c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
}

.contact-item h4 {
  font-size: 14.5px;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--ink-soft);
}

.map-embed iframe {
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 1px dashed var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ---------- Quick enquiry ---------- */
.get-in-touch-section {
  padding-top: 0;
  padding-bottom: 0;
}

.quick-enquiry {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 28px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.quick-enquiry .qe-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.quick-enquiry h2 {
  color: #fff;
}

.quick-enquiry p {
  color: #cfe0f7;
  margin-top: 12px;
  font-size: 15px;
}

.qe-form {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.qe-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.qe-form-grid .field.full {
  grid-column: 1/-1;
}

/* ---------- Footer ---------- */
footer {
  background: var(--blue-deep);
  color: #cfe0f7;
  padding: 64px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top h5 {
  color: #fff;
  font-family: "Nunito Sans", sans-serif;
  font-size: 14px;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.footer-top ul li {
  margin-bottom: 11px;
  font-size: 13.5px;
}

.footer-top ul li a:hover {
  color: #fff;
}

.footer-logo {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.footer-social a:hover {
  background: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: #8ea9cc;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .schol-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qe-inner {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }

  .nav-cta .btn:not(.mobile-apply) {
    display: none;
  }

  .burger {
    display: flex;
  }

  .section {
    padding: 70px 0;
  }

  .section.get-in-touch-section {
    padding: 0;
  }

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

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

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

  .facility-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .timeline {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .timeline::before {
    display: none;
  }

  .quick-enquiry {
    padding: 32px 22px;
  }

  .qe-form-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------
   RULER
---------------------------- */

.ruler {
  position: relative;
  height: 44px;
  margin-bottom: 8px;
  border-top: 1px solid var(--line);
}

.ruler-track {
  display: flex;
  height: 100%;
  align-items: flex-start;
}

.tick {
  flex: 1;
  position: relative;
  height: 100%;
}

.tick::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 10px;
  background: var(--line);
}

.tick.major::before {
  height: 20px;
  background: #cfe0f7;
}

.tick-label {
  position: absolute;
  top: 24px;
  left: 0;
  transform: translateX(-50%);
  font-size: 10px;
  font-family: monospace;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------------------------
   GALLERY
---------------------------- */

.gallery-wrap {
  position: relative;
  overflow: hidden;
}

.gallery-wrap::before,
.gallery-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 48px;
  width: 80px;
  z-index: 3;
  pointer-events: none;
}

.gallery {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 0 32px;
  animation: dept-scroll 32s linear infinite;
}

@keyframes dept-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery {
    animation: none;
    overflow-x: auto;
  }
}

/* ---------------------------
   CARD
---------------------------- */

.dept-card {
  position: relative;
  flex: 0 0 auto;
  width: 250px;
  height: 400px;
  overflow: hidden;
  border-radius: 6px;
  background: #0d2a52;
  transition:
    width 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

.dept-card:hover {
  width: 400px;
  z-index: 5;
}

.dept-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(15%) brightness(0.82);
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.5s ease;
}

.dept-card:hover img {
  transform: scale(1.06);
  filter: grayscale(0%) brightness(0.92);
}

.dept-card h4 {
  width: 240px;
}

.dept-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(2, 19, 43, 0.9) 100%
  );
}

.code {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-family: monospace;
}

.info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  z-index: 2;
}

.deg {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-family: monospace;
}

.info h4 {
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
}

/* ---------------------------
   CTA CARD
---------------------------- */

.cta-card {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(160deg, var(--blue), var(--navy-deep));
  padding: 30px;
}

.cta-card::after {
  display: none;
}

.cta-inner h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.cta-inner a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------------------------
   SCROLL HINT
---------------------------- */

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px 40px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  font-family: monospace;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

/* ---------------------------
   MOBILE
---------------------------- */

@media (max-width: 760px) {
  .ruler {
    display: none;
  }

  .gallery {
    padding: 0 20px 40px;
  }

  .dept-card {
    width: 200px;
    height: 440px;
  }

  .dept-card:hover {
    width: 300px;
  }

  .scroll-hint {
    padding: 0 20px 30px;
  }

  .quick-enquiry .qe-inner {
    grid-template-columns: 1fr;
  }
}

.fab-stack {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 24px;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(4, 35, 74, 0.28);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease,
    visibility 0.25s ease;
}
.fab:hover {
  transform: translateY(-3px) scale(1.05);
}
.fab:active {
  transform: scale(0.95);
}

/* WhatsApp button — always visible */
.fab-whatsapp {
  background: var(--whatsapp);
  animation: fab-pulse 2.4s ease-in-out infinite;
}
@keyframes fab-pulse {
  0%,
  100% {
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow:
      0 10px 26px rgba(37, 211, 102, 0.4),
      0 0 0 8px rgba(37, 211, 102, 0.15);
  }
}

/* Back-to-top button — hidden until scrolled, shown via .visible */
.fab-top {
  font-size: 40px;
  background: var(--blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.fab-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.fab-top:hover {
  background: var(--orange);
}

@media (max-width: 600px) {
  .fab-stack {
    right: 16px;
    bottom: 18px;
    gap: 12px;
  }
  .fab {
    width: 50px;
    height: 50px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fab-whatsapp {
    animation: none;
  }
  .fab {
    transition: none;
  }
}
