:root {
  --brand-primary: #0d4e9d;
  --brand-deep: #082f6f;
  --brand-light: #2e8bef;
  --brand-accent: #f28b18;
  --brand-teal: #0f9f8f;
  --ink: #102033;
  --muted: #5f6d7e;
  --line: #d9e6f6;
  --soft: #f6faff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Open Sans", sans-serif;
  background: var(--white);
  line-height: 1.65;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: Poppins, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

a {
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.site-header {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 10px 30px rgba(13, 78, 157, .08);
  backdrop-filter: blur(12px);
}

.navbar {
  min-height: 82px;
}

.navbar-brand img {
  width: min(220px, 58vw);
  max-height: 58px;
  object-fit: contain;
}

.nav-link {
  color: var(--ink);
  font-weight: 700;
  padding: .65rem .9rem !important;
}

.nav-link.active,
.nav-link:hover {
  color: var(--brand-primary) !important;
}

.btn {
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0;
  padding: .8rem 1.25rem;
}

.btn i {
  margin-right: .35rem;
}

.btn-brand {
  border: 1px solid var(--brand-primary);
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 14px 24px rgba(13, 78, 157, .2);
}

.btn-brand:hover {
  border-color: var(--brand-deep);
  background: var(--brand-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-brand {
  border: 1px solid var(--brand-primary);
  background: var(--white);
  color: var(--brand-primary);
}

.btn-outline-brand:hover {
  background: var(--brand-primary);
  color: var(--white);
  transform: translateY(-1px);
}

.hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #f8fcff 0%, #f8fcff 53%, rgba(248, 252, 255, .82) 65%, rgba(248, 252, 255, .12) 86%),
    url("../images/hero-nursing.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(0deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding: 4rem 0 4.8rem;
}

.eyebrow,
.section-kicker,
.section-heading span,
.cta-panel span {
  display: inline-block;
  color: var(--brand-accent);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: .8rem 0 1.2rem;
  color: var(--brand-deep);
  font-size: clamp(2.3rem, 4.5vw, 4.15rem);
  max-width: 760px;
}

.hero p {
  max-width: 560px;
  color: #38485b;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-service-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: .85rem;
  margin-top: 2.2rem;
  max-width: 720px;
}

.hero-service-row span {
  display: grid;
  gap: .45rem;
  justify-items: center;
  text-align: center;
  color: #172a42;
  font-size: .9rem;
  font-weight: 700;
}

.hero-service-row i {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--brand-primary);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.55rem;
}

.section-pad {
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
}

.section-heading h2,
.section-title {
  margin: .55rem 0 1rem;
  color: var(--brand-deep);
  font-size: clamp(2rem, 3.4vw, 3.35rem);
}

.section-heading p,
.section-title+p,
.section-kicker+.section-title+p {
  color: var(--muted);
  font-size: 1.04rem;
}

.stats-band {
  margin-top: -44px;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(13, 78, 157, .12);
  overflow: hidden;
}

.stats-grid div {
  min-height: 122px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 1.1rem;
  border-right: 1px solid var(--line);
  text-align: center;
}

.stats-grid div:last-child {
  border-right: 0;
}

.stats-grid strong {
  color: var(--brand-primary);
  font-family: Poppins, sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.stats-grid span {
  color: var(--muted);
  font-weight: 800;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.journey-card,
.course-card,
.service-detail,
.testimonial-card,
.form-card,
.contact-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(13, 78, 157, .08);
}

.journey-card,
.course-card,
.service-detail,
.testimonial-card {
  height: 100%;
  transition: transform .22s ease, box-shadow .22s ease;
}

.journey-card:hover,
.course-card:hover,
.service-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(13, 78, 157, .14);
}

.journey-card {
  overflow: hidden;
}

.journey-card img {
  width: 100%;
  aspect-ratio: 1 / .9;
  object-fit: cover;
}

.journey-card h3,
.journey-card p {
  padding: 0 1.3rem;
}

.journey-card h3 {
  margin: 1.25rem 0 .45rem;
  color: var(--brand-deep);
  font-size: 1.35rem;
}

.journey-card p {
  color: var(--muted);
  margin-bottom: 1.35rem;
}

.about-band,
.testimonial-band {
  background: var(--soft);
}

.feature-image {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 20px 46px rgba(13, 78, 157, .12);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.check-list li {
  display: flex;
  gap: .6rem;
  color: #23364b;
  font-weight: 700;
  margin-bottom: .7rem;
}

.check-list i {
  color: var(--brand-teal);
}

.course-card {
  padding: 1.45rem;
}

.course-icon,
.service-detail-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(13, 78, 157, .09);
  color: var(--brand-primary);
  font-size: 1.75rem;
  margin-bottom: 1.1rem;
}

.course-icon.accent,
.service-detail-icon.accent {
  color: var(--brand-accent);
  background: rgba(242, 139, 24, .12);
}

.course-icon.teal,
.service-detail-icon.teal {
  color: var(--brand-teal);
  background: rgba(15, 159, 143, .11);
}

.course-card h3,
.service-detail h2 {
  color: var(--brand-deep);
  font-size: 1.25rem;
}

.course-card p,
.service-detail p,
.testimonial-card p {
  color: var(--muted);
}

.course-card a {
  display: inline-flex;
  align-items: center;
  color: var(--brand-primary);
  font-weight: 800;
  text-decoration: none;
}

.trust-strip {
  padding: 22px 0;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
}

.trust-icons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: stretch;
  overflow: hidden;
  min-height: 152px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .75);
}

.trust-icon-item {
  display: grid;
  place-items: center;
  align-content: center;
  min-width: 0;
  padding: 1.1rem .9rem;
  color: #071c38;
  text-align: center;
  text-transform: uppercase;
  border-right: 1px solid #e4edf7;
}

.trust-icon-item:last-child {
  border-right: 0;
}

.trust-icon-item i {
  display: block;
  margin-bottom: .8rem;
  color: var(--brand-primary);
  font-size: clamp(2.25rem, 4.2vw, 3.35rem);
  line-height: 1;
}

.trust-icon-item span {
  display: block;
  color: #071c38;
  font-size: clamp(.82rem, 1.15vw, 1rem);
  font-weight: 500;
  line-height: 1.25;
}

.trust-strip.compact {
  padding: 0;
  background: transparent;
}

.training-band {
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
}

.location-section {
  padding: clamp(1rem, 2.5vw, 2rem);
  background: #ffffff;
}

.location-banner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  min-height: clamp(320px, 35vw, 460px);
  overflow: hidden;
  border-radius: 8px;
  background: var(--brand-deep);
  background:
    linear-gradient(90deg, rgba(8, 47, 111, .02) 0%, rgba(8, 47, 111, .04) 43%, rgba(8, 47, 111, .22) 62%, rgba(8, 47, 111, .48) 100%),
    url("../images/hyderabad-location.png") center / 100% 100% no-repeat;
  color: var(--white);
}

.location-content {
  display: grid;
  align-content: center;
  width: min(52%, 900px);
  min-height: inherit;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: rgba(8, 47, 111, .86);
  backdrop-filter: blur(2px);
}

.location-banner span {
  color: #9bd8ff;
  font-weight: 800;
  text-transform: uppercase;
}

.location-banner h2 {
  margin: .6rem 0;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

.location-banner p {
  color: #dbeafe;
  margin: 0;
}

.testimonial-card {
  padding: 1.6rem;
}

.testimonial-card::before {
  content: "\F6B0";
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(242, 139, 24, .12);
  color: var(--brand-accent);
  font-family: "bootstrap-icons";
}

.testimonial-card footer {
  margin-top: 1.2rem;
  color: var(--brand-deep);
  font-weight: 800;
}

.testimonial-card footer span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.cta-section {
  padding: 40px 0 86px;
  background: var(--soft);
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 8px;
  background: linear-gradient(120deg, var(--brand-primary), var(--brand-deep));
  color: var(--white);
  box-shadow: 0 18px 40px rgba(13, 78, 157, .18);
}

.cta-panel h2 {
  margin: .4rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.page-hero {
  min-height: 420px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 47, 111, .9), rgba(8, 47, 111, .56), rgba(8, 47, 111, .2)),
    url("../images/team-experience.png") center / cover no-repeat;
}

.page-hero.contact-hero {
  background:
    linear-gradient(90deg, rgba(8, 47, 111, .92), rgba(8, 47, 111, .56), rgba(8, 47, 111, .2)),
    url("../images/hyderabad-location.png") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 720px;
  margin: .8rem 0 1rem;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

.page-hero p {
  max-width: 620px;
  color: #eaf4ff;
  font-size: 1.15rem;
}

.service-detail {
  padding: 1.6rem;
}

.service-detail ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem .9rem;
  padding: 0;
  margin: 1.2rem 0 0;
  list-style: none;
}

.service-detail li {
  position: relative;
  padding-left: 1.25rem;
  color: #25384f;
  font-weight: 700;
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .6rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-accent);
}

.visual-detail {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 1.3rem;
}

.visual-detail img {
  width: 100%;
  border-radius: 8px;
}

.contact-panel {
  height: 100%;
  overflow: hidden;
}

.contact-panel img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.contact-info,
.form-card {
  padding: 1.6rem;
}

.contact-info h2,
.form-card h2 {
  color: var(--brand-deep);
  font-size: 1.65rem;
  margin-bottom: 1.1rem;
}

.contact-info p {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 700;
}

.contact-info i {
  color: var(--brand-primary);
}

.contact-info a {
  color: var(--muted);
  text-decoration: none;
}

.contact-info a:hover {
  color: var(--brand-primary);
}

.form-card {
  height: 100%;
}

.form-label {
  color: var(--ink);
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
}

textarea.form-control {
  min-height: 126px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 .2rem rgba(46, 139, 239, .18);
}

#formStatus.success {
  color: #116a3b;
  font-weight: 800;
}

#formStatus.error {
  color: #b42318;
  font-weight: 800;
}

.site-footer {
  padding: 70px 0 24px;
  background: #08223f;
  color: #dcecff;
}

.site-footer .footer-logo {
  width: min(230px, 70vw);
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  color: #dcecff;
  text-decoration: none;
  margin-bottom: .45rem;
}

.site-footer a:hover {
  color: #ffd39b;
}

.social-links {
  display: flex;
  gap: .7rem;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  text-align: center;
  color: #bad0eb;
}

@media (max-width: 1199px) {
  .hero {
    background:
      linear-gradient(90deg, #f8fcff 0%, #f8fcff 58%, rgba(248, 252, 255, .78) 76%, rgba(248, 252, 255, .16) 100%),
      url("../images/hero-nursing.png") center right / cover no-repeat;
  }
}

@media (max-width: 991px) {
  body {
    padding-top: 84px;
  }

  .site-header {
    position: fixed !important;
    inset: 0 0 auto;
    z-index: 1050;
    width: 100%;
  }

  .navbar {
    min-height: 84px;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(248, 252, 255, .98) 0%, rgba(248, 252, 255, .93) 62%, rgba(248, 252, 255, .72) 100%),
      url("../images/hero-nursing.png") center right / cover no-repeat;
  }

  .hero-content {
    padding: 4.5rem 0 6.4rem;
  }

  .hero-service-row,
  .stats-grid,
  .journey-grid,
  .trust-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-icon-item:nth-child(2n) {
    border-right: 0;
  }

  .trust-icon-item {
    border-bottom: 1px solid #e4edf7;
  }

  .trust-icon-item:nth-last-child(-n+1) {
    border-bottom: 0;
  }

  .trust-icon-item:last-child {
    grid-column: 1 / -1;
  }

  .stats-grid div:nth-child(2) {
    border-right: 0;
  }

  .stats-grid div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .location-banner,
  .visual-detail {
    grid-template-columns: 1fr;
  }

  .location-banner {
    min-height: 560px;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
  }

  .location-content {
    width: 100%;
    min-height: auto;
    padding: 2rem 1.5rem;
    background: rgba(8, 47, 111, .9);
  }

  .cta-panel {
    display: grid;
  }
}

@media (max-width: 575px) {
  .section-pad {
    padding: 62px 0;
  }

  .hero-content {
    padding: 2.6rem 0 4rem;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero p {
    font-size: .98rem;
    margin-bottom: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-service-row {
    grid-template-columns: repeat(2, 1fr);
    gap: .6rem;
    margin-top: 1.2rem;
  }

  .hero-service-row i {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }

  .hero-service-row span {
    font-size: .78rem;
  }

  .stats-grid,
  .journey-grid,
  .trust-icons,
  .service-detail ul {
    grid-template-columns: 1fr;
  }

  .trust-icon-item,
  .trust-icon-item:nth-child(2n) {
    border-right: 0;
  }

  .trust-icon-item:last-child {
    border-bottom: 0;
    grid-column: auto;
  }

  .stats-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats-grid div:last-child {
    border-bottom: 0;
  }

  .page-hero {
    min-height: 360px;
  }

  .cta-panel {
    padding: 1.4rem;
  }
}
