:root {
  --navy: #071f49;
  --navy-2: #0d326e;
  --red: #d90416;
  --red-dark: #aa0010;
  --gold: #f7b801;
  --gold-2: #ffe083;
  --white: #ffffff;
  --soft: #f5f7fb;
  --text: #17233b;
  --muted: #617089;
  --line: rgba(7, 31, 73, 0.12);
  --shadow: 0 20px 50px rgba(6, 28, 63, 0.13);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 34px)); margin: 0 auto; }

.top-strip {
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  color: var(--white);
  font-size: 14px;
}
.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
}
.strip-inner a { color: var(--gold-2); font-weight: 800; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 12px 35px rgba(7, 31, 73, 0.11); }
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  color: var(--gold);
  border-radius: 15px;
  font-weight: 950;
  box-shadow: 0 12px 26px rgba(7, 31, 73, 0.22);
  border: 2px solid rgba(247, 184, 1, 0.65);
}
.brand strong {
  display: block;
  color: var(--red);
  font-size: 26px;
  line-height: 1;
  letter-spacing: 1px;
  font-weight: 950;
}
.brand small {
  display: block;
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
  color: var(--navy);
}
.main-nav a { position: relative; }
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: var(--red);
  border-radius: 99px;
  transition: 0.25s;
}
.main-nav a.active::after,
.main-nav a:hover::after { width: 100%; }
.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  gap: 8px;
  font-weight: 900;
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  padding: 12px 20px;
  box-shadow: 0 12px 22px rgba(217, 4, 22, 0.23);
}
.btn { padding: 15px 24px; font-size: 15px; }
.btn.primary { color: var(--white); background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 14px 30px rgba(217, 4, 22, 0.24); }
.btn.secondary { color: var(--navy); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.btn.light { color: var(--navy); background: var(--white); }
.btn.outline-light { color: var(--white); border: 1px solid rgba(255,255,255,.55); background: transparent; }
.btn:hover,
.nav-cta:hover { transform: translateY(-3px); }
.menu-toggle { display: none; border: 0; background: var(--navy); color: var(--white); width: 44px; height: 44px; border-radius: 12px; font-size: 22px; }

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 25%, rgba(247, 184, 1, 0.16), transparent 30%), linear-gradient(135deg, #fff 0%, #f4f7ff 55%, #fff 100%);
  padding: 78px 0 56px;
}
.hero-bg-shape {
  position: absolute;
  right: -160px;
  top: -200px;
  width: 600px;
  height: 600px;
  background: linear-gradient(135deg, rgba(7,31,73,.14), rgba(217,4,22,.12));
  border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  background: rgba(217, 4, 22, 0.08);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  font-size: 12px;
}
.hero h1,
.page-hero h1 {
  margin-top: 18px;
  color: var(--navy);
  font-size: clamp(42px, 6vw, 74px);
  line-height: 0.96;
  letter-spacing: -2.5px;
  font-weight: 950;
}
.hero .lead {
  margin-top: 22px;
  color: var(--muted);
  font-size: 19px;
  max-width: 620px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.stats-card {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.stats-card div {
  padding: 13px 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f9fbff);
}
.stats-card strong { display: block; color: var(--navy); font-size: 18px; }
.stats-card span { color: var(--muted); font-size: 13px; font-weight: 700; }
.hero-slider {
  position: relative;
  border: 10px solid var(--white);
  border-radius: 30px;
  box-shadow: 0 28px 70px rgba(7, 31, 73, 0.23);
  overflow: hidden;
  background: var(--white);
}
.slider { position: relative; min-height: 430px; }
.slide {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide.active { opacity: 1; transform: scale(1); }
.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slider-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.65);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.slider-dots button.active { background: var(--gold); width: 28px; border-radius: 99px; }

.notice-band {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: 20px 0;
}
.notice-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.notice-grid strong { display: block; font-size: 22px; }
.notice-grid span { color: rgba(255,255,255,.88); }
.notice-grid a {
  background: var(--gold);
  color: var(--navy);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  min-width: max-content;
}

.section { padding: 82px 0; }
.soft-bg { background: var(--soft); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 42px; }
.section-title h2,
.feature-content h2,
.detail-content h2,
.about-copy h2,
.apply-info h2,
.documents-copy h2,
.map-copy h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -1.3px;
  margin-top: 14px;
  font-weight: 950;
}
.section-title p,
.feature-content p,
.detail-content p,
.about-copy p,
.apply-info p,
.documents-copy p,
.map-copy p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.course-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(247, 184, 1, 0.17);
}
.course-card.featured { background: linear-gradient(145deg, var(--navy), #0a2859); color: var(--white); }
.course-tag {
  width: max-content;
  color: var(--navy);
  background: var(--gold);
  padding: 7px 13px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  text-transform: uppercase;
}
.course-card h3 { margin-top: 20px; font-size: 32px; color: var(--navy); }
.course-card.featured h3 { color: var(--white); }
.course-card p { color: var(--muted); margin-top: 12px; }
.course-card.featured p { color: rgba(255,255,255,.8); }
.course-card ul { margin: 22px 0; list-style: none; }
.course-card li { margin: 10px 0; color: inherit; font-weight: 750; }
.course-card li::before { content: "✓"; color: var(--gold); margin-right: 9px; font-weight: 950; }
.fee-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-radius: 18px;
  padding: 18px;
  background: #f7f9fd;
  border: 1px dashed rgba(7,31,73,.22);
}
.course-card.featured .fee-box { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }
.fee-box span { color: var(--muted); font-weight: 800; }
.course-card.featured .fee-box span { color: rgba(255,255,255,.75); }
.fee-box strong { color: var(--red); font-size: 28px; }
.course-card.featured .fee-box strong { color: var(--gold); }
.text-link { display: inline-block; margin-top: 22px; color: var(--red); font-weight: 950; }
.course-card.featured .text-link { color: var(--gold); }

.feature-layout,
.about-grid,
.course-detail-grid,
.apply-grid,
.documents-grid,
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.feature-image img,
.about-panel img,
.detail-banner img,
.map-box,
.hero-slider { border-radius: 28px; }
.feature-image img,
.about-panel img,
.detail-banner img { box-shadow: var(--shadow); border: 8px solid var(--white); }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.feature-list div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(7,31,73,.07);
}
.feature-list span { font-size: 27px; display: block; margin-bottom: 8px; }
.feature-list strong { display: block; color: var(--navy); }
.feature-list small { color: var(--muted); font-weight: 700; }
.leadership-grid,
.profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.leader-card,
.profile-card,
.value-card,
.facility-card,
.contact-card,
.timeline-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.leader-icon,
.profile-avatar {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 22px;
  margin-bottom: 18px;
}
.leader-card h3 { color: var(--navy); font-size: 28px; }
.leader-card p { color: var(--red); font-weight: 900; }
.leader-card strong { display: block; color: var(--navy); margin: 12px 0 8px; }
.leader-card span { color: var(--muted); }
.cta-section { padding: 72px 0; background: var(--white); }
.cta-box {
  border-radius: 32px;
  padding: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), #061632 65%, var(--red-dark));
  box-shadow: 0 30px 70px rgba(7,31,73,.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
  position: relative;
}
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; background: rgba(247,184,1,.16); border-radius: 50%; }
.cta-box h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin: 8px 0; position: relative; z-index: 1; }
.cta-box span { color: var(--gold); font-weight: 950; text-transform: uppercase; }
.cta-box p { color: rgba(255,255,255,.78); position: relative; z-index: 1; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

.page-hero {
  padding: 94px 0;
  color: var(--white);
  background: linear-gradient(135deg, rgba(7,31,73,.92), rgba(7,31,73,.82)), url('../images/gnm-banner-main.png') center/cover no-repeat;
}
.about-hero { background-image: linear-gradient(135deg, rgba(7,31,73,.92), rgba(7,31,73,.8)), url('../images/bsc-nursing-banner.png'); }
.courses-hero { background-image: linear-gradient(135deg, rgba(7,31,73,.9), rgba(7,31,73,.8)), url('../images/gnm-banner-alt.png'); }
.admission-hero { background-image: linear-gradient(135deg, rgba(7,31,73,.92), rgba(170,0,16,.68)), url('../images/bsc-nursing-banner.png'); }
.contact-hero { background-image: linear-gradient(135deg, rgba(7,31,73,.9), rgba(7,31,73,.75)), url('../images/gnm-banner-main.png'); }
.page-hero-inner { max-width: 820px; }
.page-hero .eyebrow { color: var(--navy); background: var(--gold); }
.page-hero h1 { color: var(--white); }
.page-hero p { max-width: 740px; margin-top: 18px; font-size: 19px; color: rgba(255,255,255,.86); }
.mission-box {
  margin-top: 26px;
  padding: 24px;
  border-left: 6px solid var(--red);
  background: var(--soft);
  border-radius: 20px;
}
.mission-box h3 { color: var(--navy); }
.profile-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.profile-avatar { margin-bottom: 0; }
.profile-card h3 { color: var(--navy); font-size: 25px; }
.profile-card p { color: var(--muted); margin-top: 10px; }
.profile-top p { margin-top: 0; color: var(--red); font-weight: 900; }
.profile-badge {
  display: inline-flex;
  background: rgba(247,184,1,.16);
  color: var(--navy);
  border: 1px solid rgba(247,184,1,.35);
  padding: 8px 14px;
  border-radius: 99px;
  font-weight: 900;
}
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value-card span { color: var(--red); font-weight: 950; }
.value-card h3 { color: var(--navy); margin: 10px 0; }
.value-card p { color: var(--muted); }
.detail-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0; }
.detail-points div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 17px;
  box-shadow: 0 10px 24px rgba(7,31,73,.06);
}
.detail-points strong { display: block; color: var(--navy); }
.detail-points span { color: var(--muted); font-weight: 800; }
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.facility-card span,
.contact-card span { font-size: 36px; }
.facility-card h3,
.contact-card h3 { color: var(--navy); margin: 14px 0 8px; }
.facility-card p,
.contact-card p { color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline-item span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 950;
  margin-bottom: 18px;
}
.timeline-item h3 { color: var(--navy); line-height: 1.2; }
.timeline-item p { color: var(--muted); margin-top: 10px; }
.documents-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.documents-list span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  color: var(--navy);
}
.documents-list span::before { content: "✓"; color: var(--red); margin-right: 8px; }
.contact-mini { display: grid; gap: 12px; margin-top: 24px; }
.contact-mini a {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  font-weight: 900;
  color: var(--navy);
}
.enquiry-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.enquiry-form label { display: grid; gap: 8px; font-weight: 900; color: var(--navy); margin-bottom: 16px; }
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(7,31,73,.18);
  background: #f9fbff;
  border-radius: 14px;
  padding: 14px 15px;
  font: inherit;
  outline: none;
  color: var(--text);
  transition: .25s;
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(217,4,22,.08); }
.form-btn { width: 100%; margin-top: 4px; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 12px; text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card a { color: var(--red); font-weight: 950; }
.map-box { overflow: hidden; min-height: 380px; box-shadow: var(--shadow); border: 8px solid var(--white); }
.map-box iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.footer { background: #051633; color: var(--white); padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 28px; }
.footer h3 { color: var(--gold); font-size: 26px; }
.footer h4 { color: var(--gold); margin-bottom: 12px; }
.footer p { color: rgba(255,255,255,.72); margin-top: 10px; max-width: 500px; }
.footer a { display: block; color: rgba(255,255,255,.78); margin: 8px 0; }
.footer a:hover { color: var(--gold); }
.footer-bottom { margin-top: 38px; padding: 18px; text-align: center; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.65); }
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #17b856;
  color: var(--white);
  box-shadow: 0 18px 30px rgba(23,184,86,.35);
  font-size: 25px;
  font-weight: 950;
}
.reveal { opacity: 0; transform: translateY(22px); transition: 0.65s ease; }
.reveal.show { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .strip-inner { flex-direction: column; gap: 4px; text-align: center; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    position: absolute;
    left: 17px;
    right: 17px;
    top: 92px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .main-nav a::after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; }
  .hero-grid,
  .feature-layout,
  .about-grid,
  .course-detail-grid,
  .apply-grid,
  .documents-grid,
  .map-grid { grid-template-columns: 1fr; }
  .reverse .detail-banner { order: 2; }
  .slider { min-height: 380px; }
  .course-grid,
  .leadership-grid,
  .profile-grid { grid-template-columns: 1fr; }
  .values-grid,
  .timeline,
  .facility-grid,
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .nav-wrap { min-height: 74px; }
  .brand strong { font-size: 22px; }
  .brand small { font-size: 11px; }
  .brand-mark { width: 48px; height: 48px; }
  .hero { padding: 52px 0 40px; }
  .hero h1, .page-hero h1 { letter-spacing: -1px; }
  .stats-card { grid-template-columns: 1fr; }
  .slider { min-height: 270px; }
  .hero-slider { border-width: 6px; border-radius: 22px; }
  .notice-grid { flex-direction: column; align-items: flex-start; }
  .section { padding: 58px 0; }
  .course-card,
  .profile-card,
  .leader-card,
  .enquiry-form { padding: 22px; }
  .feature-list,
  .detail-points,
  .documents-list,
  .form-row,
  .values-grid,
  .timeline,
  .facility-grid,
  .contact-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .fee-box { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 70px 0; }
  .cta-box { padding: 28px; border-radius: 24px; }
  .floating-whatsapp { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
