:root {
  --navy: #062a62;
  --navy2: #031c43;
  --blue: #0d4f9d;
  --orange: #f5a400;
  --orange2: #ffbd32;
  --green: #2a9d38;
  --text: #17253b;
  --muted: #6b7689;
  --line: #e7ebf1;
  --soft: #f5f8fc;
  --white: #fff;
  --shadow: 0 20px 60px rgba(5, 35, 78, .12);
  --radius: 22px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto
}

.topbar {
  background: var(--navy2);
  color: #dbe7f8;
  font-size: 13px
}

.topbar-inner {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.topbar p {
  margin: 0
}

.topbar i {
  color: var(--orange);
  margin-right: 7px
}

.topbar-inner>div {
  display: flex;
  gap: 22px
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(18px);
  z-index: 1000;
  border-bottom: 1px solid rgba(6, 42, 98, .08);
  transition: .3s
}

.site-header.scrolled {
  box-shadow: 0 10px 35px rgba(3, 28, 67, .09)
}

.nav-wrap {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand img {
  width: 128px;
  height: 76px;
  object-fit: contain
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 14px;
  font-weight: 700;
  color: #31425b
}

.main-nav>a:not(.btn) {
  position: relative;
  padding: 10px 0
}

.main-nav>a:not(.btn):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: .3s
}

.main-nav>a:hover:after,
.main-nav>a.active:after {
  width: 100%
}

.main-nav .active {
  color: var(--navy)
}

.login-link i {
  margin-right: 5px
}

.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 8px
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 23px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  transition: .25s;
  cursor: pointer
}

.btn:hover {
  transform: translateY(-2px)
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ffb50d);
  color: var(--navy2);
  box-shadow: 0 12px 28px rgba(245, 164, 0, .25)
}

.btn-primary:hover {
  box-shadow: 0 16px 35px rgba(245, 164, 0, .35)
}

.btn-small {
  padding: 11px 17px
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: #dfe6ef
}

.btn-white {
  background: #fff;
  color: var(--navy)
}

.btn-ghost-white {
  border-color: rgba(255, 255, 255, .42);
  color: #fff
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
  background: linear-gradient(135deg, #f6f9fe 0%, #fffaf0 100%)
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#0d4f9d15 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to right, #000, transparent 65%)
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(3px)
}

.hero-orb-one {
  width: 340px;
  height: 340px;
  background: #e7f0ff;
  right: -100px;
  top: 30px
}

.hero-orb-two {
  width: 180px;
  height: 180px;
  background: #fff0c8;
  left: -80px;
  bottom: 40px
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 70px
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800
}

.eyebrow i {
  color: var(--orange)
}

h1,
h2,
h3 {
  font-family: Outfit, Manrope, sans-serif;
  line-height: 1.15;
  margin-top: 0
}

.hero h1 {
  font-size: clamp(46px, 5.3vw, 72px);
  letter-spacing: -2px;
  margin: 18px 0 20px;
  color: var(--navy2)
}

.hero h1 span {
  color: var(--orange);
  position: relative
}

.hero-copy>p {
  font-size: 18px;
  color: var(--muted);
  max-width: 650px;
  margin: 0 0 30px
}

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

.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px
}

.avatars {
  display: flex
}

.avatars img,
.avatars span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-left: -8px
}

.avatars img:first-child {
  margin-left: 0
}

.avatars span {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 10px;
  font-weight: 800
}

.trust-row>div:last-child {
  display: flex;
  flex-direction: column
}

.trust-row small {
  color: var(--muted)
}

.trust-row small i {
  color: var(--orange)
}

.hero-visual {
  position: relative;
  min-height: 540px
}

.image-shell {
  position: absolute;
  inset: 20px 20px 0 40px;
  border-radius: 48% 48% 20px 20px;
  overflow: hidden;
  border: 10px solid #fff;
  box-shadow: var(--shadow)
}

.image-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.image-shell:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 28, 67, .2), transparent 45%)
}

.float-card,
.result-card {
  position: absolute;
  background: #fff;
  border: 1px solid #edf1f6;
  box-shadow: 0 18px 45px rgba(3, 28, 67, .16);
  border-radius: 15px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2
}

.float-card>span,
.result-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #fff3d6;
  color: var(--orange);
  font-size: 18px
}

.float-card div,
.result-card div {
  display: flex;
  flex-direction: column
}

.float-card strong,
.result-card strong {
  font-size: 13px;
  color: var(--navy2)
}

.float-card small,
.result-card small {
  font-size: 10px;
  color: var(--muted)
}

.fc-one {
  top: 40px;
  left: 0
}

.fc-two {
  right: -15px;
  top: 205px
}

.result-card {
  bottom: 28px;
  left: 8px
}

.result-icon {
  background: #eaf2ff;
  color: var(--blue)
}

.search-panel {
  position: relative;
  transform: translateY(50%);
  background: #fff;
  border-radius: 19px;
  padding: 20px 22px;
  box-shadow: 0 25px 70px rgba(3, 28, 67, .14);
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 22px;
  z-index: 5
}

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

.search-heading>span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: #fff
}

.search-heading div {
  display: flex;
  flex-direction: column
}

.search-heading strong {
  font-size: 14px;
  color: var(--navy2)
}

.search-heading small {
  font-size: 11px;
  color: var(--muted)
}

.tutor-search {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px
}

.tutor-search label>span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-weight: 800;
  color: #8490a1;
  margin: 0 0 5px 4px
}

.tutor-search label>div {
  height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
  background: #fbfcfe
}

.tutor-search label i {
  color: var(--orange)
}

select {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font: 600 13px Manrope;
  color: #3c4b61
}

.tutor-search button {
  align-self: end;
  height: 48px
}

.logo-strip {
  padding: 92px 0 32px
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden
}

.strip-grid>div {
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid var(--line)
}

.strip-grid>div:last-child {
  border: 0
}

.strip-grid i {
  font-size: 24px;
  color: var(--orange)
}

.strip-grid span {
  display: flex;
  flex-direction: column
}

.strip-grid strong {
  font-size: 13px;
  color: var(--navy2)
}

.strip-grid small {
  font-size: 11px;
  color: var(--muted)
}

.section {
  padding: 92px 0
}

.section-head {
  margin-bottom: 42px
}

.section-head.centered {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto
}

.section-head h2,
.about-copy h2,
.jobs-copy h2,
.faq-copy h2,
.join-box h2 {
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -1px;
  color: var(--navy2);
  margin: 10px 0 14px
}

.section-head p,
.about-copy>p,
.faq-copy>p {
  color: var(--muted);
  margin: 0
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px
}

.section-head.split>p {
  max-width: 500px
}

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

.subject-card {
  position: relative;
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: .3s;
  overflow: hidden
}

.subject-card:before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: .3s
}

.subject-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent
}

.subject-card:hover:before {
  transform: scaleX(1)
}

.subject-icon {
  flex: 0 0 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef4fd;
  color: var(--navy);
  font-size: 22px
}

.subject-card:nth-child(even) .subject-icon {
  background: #fff4d9;
  color: #dc9000
}

.subject-card h3 {
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--navy2)
}

.subject-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0
}

.card-arrow {
  margin-left: auto;
  color: #b8c1ce;
  font-size: 12px
}

.center-action {
  text-align: center;
  margin-top: 32px
}

.text-link {
  font-weight: 800;
  color: var(--navy);
  font-size: 14px
}

.text-link i {
  margin-left: 7px;
  color: var(--orange)
}

.how {
  background: var(--soft)
}

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

.step-card {
  position: relative;
  background: #fff;
  padding: 30px 24px;
  border-radius: 18px;
  border: 1px solid #ebeff5;
  overflow: hidden
}

.step-card:after {
  content: "";
  position: absolute;
  top: 48px;
  right: -25px;
  width: 50px;
  border-top: 2px dashed #cbd5e2
}

.step-card:last-child:after {
  display: none
}

.step-no {
  position: absolute;
  right: 15px;
  top: 9px;
  font: 800 42px Outfit;
  color: #edf1f6
}

.step-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-size: 22px;
  margin-bottom: 20px
}

.step-card:nth-child(even) .step-icon {
  background: var(--orange);
  color: var(--navy2)
}

.step-card h3 {
  font-size: 19px;
  margin-bottom: 9px
}

.step-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.about-visual {
  position: relative;
  min-height: 590px
}

.about-main {
  position: absolute;
  inset: 0 75px 65px 0;
  border-radius: 25px;
  overflow: hidden
}

.about-main img {
  height: 100%;
  width: 100%;
  object-fit: cover
}

.experience-badge {
  position: absolute;
  right: 0;
  top: 50px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: var(--orange);
  border: 8px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow)
}

.experience-badge strong {
  font: 800 38px Outfit;
  color: var(--navy2)
}

.experience-badge span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy2)
}

.mini-photo {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 230px;
  height: 205px;
  border: 8px solid #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.mini-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0 32px
}

.benefits>div {
  display: flex;
  gap: 11px
}

.benefits i {
  color: var(--orange);
  font-size: 20px;
  margin-top: 2px
}

.benefits span {
  display: flex;
  flex-direction: column
}

.benefits strong {
  font-size: 13px;
  color: var(--navy2)
}

.benefits small {
  font-size: 11px;
  color: var(--muted)
}

.tutors {
  background: #fffaf1
}

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

.tutor-card {
  background: #fff;
  border: 1px solid #ebeef3;
  border-radius: 18px;
  overflow: hidden;
  transition: .3s
}

.tutor-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow)
}

.tutor-photo {
  height: 245px;
  position: relative;
  overflow: hidden
}

.tutor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s
}

.tutor-card:hover .tutor-photo img {
  transform: scale(1.04)
}

.verified {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #fff;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  padding: 6px 9px;
  border-radius: 30px
}

.tutor-photo button {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  cursor: pointer
}

.tutor-info {
  padding: 18px
}

.name-row {
  display: flex;
  justify-content: space-between;
  gap: 8px
}

.name-row h3 {
  font-size: 18px;
  margin: 0
}

.name-row span {
  font-size: 11px;
  font-weight: 800;
  color: var(--navy)
}

.name-row i {
  color: var(--orange)
}

.speciality {
  font-size: 12px;
  color: var(--blue);
  font-weight: 700;
  margin: 5px 0 13px
}

.meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 15px
}

.meta i {
  width: 16px;
  color: var(--orange)
}

.outline-btn {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--navy)
}

.outline-btn:hover {
  background: var(--navy);
  color: #fff
}

.jobs {
  background: linear-gradient(135deg, var(--navy2), var(--navy));
  color: #fff;
  position: relative;
  overflow: hidden
}

.jobs:before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  left: -300px;
  top: -250px
}

.jobs-grid {
  position: relative;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: center
}

.jobs-copy h2 {
  color: #fff
}

.jobs-copy>p {
  color: #c7d5e8
}

.light-eyebrow {
  color: #ffd46b
}

.jobs-copy ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px
}

.jobs-copy li {
  margin: 10px 0;
  color: #e6effa;
  font-size: 14px
}

.jobs-copy li i {
  color: var(--orange);
  margin-right: 8px
}

.job-list {
  display: grid;
  gap: 13px
}

.job-card {
  background: #fff;
  color: var(--text);
  padding: 20px;
  border-radius: 15px
}

.job-top,
.job-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.job-class {
  font-size: 10px;
  font-weight: 800;
  background: #fff2d2;
  color: #9b6400;
  padding: 5px 9px;
  border-radius: 20px
}

.job-top small {
  font-size: 10px;
  color: var(--muted)
}

.job-card h3 {
  font-size: 18px;
  margin: 12px 0
}

.job-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line)
}

.job-meta i {
  color: var(--orange);
  margin-right: 4px
}

.job-bottom {
  padding-top: 13px
}

.job-bottom strong {
  font-size: 14px;
  color: var(--navy)
}

.job-bottom a {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue)
}

.stats {
  background: var(--orange);
  padding: 36px 0
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.stats-grid>div {
  text-align: center;
  border-right: 1px solid rgba(3, 28, 67, .18)
}

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

.stats strong {
  display: block;
  font: 800 38px Outfit;
  color: var(--navy2)
}

.stats strong:after {
  content: "+"
}

.stats span {
  font-size: 12px;
  font-weight: 800;
  color: #6b4700
}

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

.testimonial-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 15px 45px rgba(3, 28, 67, .06)
}

.quote {
  font-size: 28px;
  color: #dce7f7
}

.stars {
  color: var(--orange);
  font-size: 12px;
  margin: 6px 0 14px
}

.testimonial-card>p {
  color: #536176;
  font-size: 14px;
  min-height: 120px
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 11px
}

.reviewer>span {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 800
}

.reviewer div {
  display: flex;
  flex-direction: column
}

.reviewer strong {
  font-size: 13px
}

.reviewer small {
  font-size: 11px;
  color: var(--muted)
}

.faq {
  background: var(--soft)
}

.faq-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 80px
}

.accordion {
  display: grid;
  gap: 12px
}

.faq-item {
  background: #fff;
  border: 1px solid #e3e9f1;
  border-radius: 13px;
  overflow: hidden
}

.faq-item button {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 19px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 700 14px Manrope;
  color: var(--navy2);
  cursor: pointer
}

.faq-item button i {
  color: var(--orange);
  transition: .3s
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease
}

.faq-answer p {
  padding: 0 20px 19px;
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

.faq-item.open .faq-answer {
  max-height: 130px
}

.faq-item.open button i {
  transform: rotate(45deg)
}

.join-section {
  padding: 0 0 90px;
  background: var(--soft)
}

.join-box {
  background: linear-gradient(135deg, var(--navy), #0b5bac);
  border-radius: 24px;
  padding: 45px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: #fff;
  position: relative;
  overflow: hidden
}

.join-box:after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 35px solid rgba(255, 255, 255, .05);
  border-radius: 50%;
  right: -60px;
  top: -70px
}

.join-box h2 {
  color: #fff;
  font-size: 38px;
  margin-bottom: 8px
}

.join-box p {
  margin: 0;
  color: #ceddf0
}

.join-actions {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 2;
  flex-shrink: 0
}

.footer {
  background: #031631;
  color: #c4d1e1;
  padding: 65px 0 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 55px
}

.footer-brand img {
  width: 150px;
  height: 105px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 17px
}

.footer p {
  font-size: 10px;
  color: #96a8bd
}

.footer h3 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 18px
}

.footer-grid>div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

.footer-grid a {
  font-size: 12px;
  margin: 5px 0;
  color: #aebdd0
}

.footer-grid a:hover {
  color: var(--orange)
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px
}

.socials a {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center
}

.footer-grid p i {
  color: var(--orange);
  width: 20px
}

.whatsapp-link {
  color: #5ee480 !important
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 48px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between
}

.footer-bottom p {
  margin: 0
}

.footer-bottom div {
  display: flex;
  gap: 20px
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 27px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35);
  z-index: 100
}

.back-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 100
}

.back-top.show {
  opacity: 1;
  visibility: visible
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: .7s ease
}

.reveal.visible {
  opacity: 1;
  transform: none
}

@media(max-width:1050px) {
  .main-nav {
    gap: 15px;
    font-size: 12px
  }

  .hero-grid {
    gap: 30px
  }

  .search-panel {
    grid-template-columns: 1fr
  }

  .tutor-search {
    grid-template-columns: 1fr 1fr 1fr auto
  }

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

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

  .step-card:after {
    display: none
  }

  .about-grid {
    gap: 40px
  }

  .jobs-grid {
    gap: 40px
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr
  }

  .footer-grid>div:last-child {
    grid-column: 1/-1
  }
}

@media(max-width:820px) {
  .topbar {
    display: none
  }

  .nav-wrap {
    height: 74px
  }

  .brand img {
    width: 105px;
    height: 68px
  }

  .nav-toggle {
    display: block
  }

  .main-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 74px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 2px;
    box-shadow: 0 20px 30px rgba(3, 28, 67, .12);
    transform: translateY(-130%);
    transition: .35s;
    z-index: -1
  }

  .main-nav.open {
    transform: translateY(0)
  }

  .main-nav a {
    padding: 10px !important
  }

  .main-nav .btn {
    margin-top: 8px
  }

  .hero {
    padding-top: 55px
  }

  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-copy {
    text-align: center
  }

  .hero-copy>p {
    margin-left: auto;
    margin-right: auto
  }

  .hero-actions,
  .trust-row {
    justify-content: center
  }

  .hero-visual {
    min-height: 470px;
    max-width: 620px;
    width: 100%;
    margin: auto
  }

  .search-panel {
    transform: translateY(35%)
  }

  .tutor-search {
    grid-template-columns: 1fr 1fr
  }

  .tutor-search button {
    grid-column: 1/-1
  }

  .logo-strip {
    padding-top: 150px
  }

  .strip-grid {
    grid-template-columns: 1fr 1fr
  }

  .strip-grid>div:nth-child(2) {
    border-right: 0
  }

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

  .subject-grid {
    grid-template-columns: 1fr 1fr
  }

  .section-head.split {
    display: block
  }

  .section-head.split>p {
    margin-top: 15px
  }

  .about-grid,
  .jobs-grid,
  .faq-grid {
    grid-template-columns: 1fr
  }

  .about-grid {
    gap: 55px
  }

  .about-visual {
    min-height: 520px
  }

  .jobs-copy {
    text-align: center
  }

  .jobs-copy ul {
    display: inline-block;
    text-align: left
  }

  .benefits {
    grid-template-columns: 1fr 1fr
  }

  .testimonial-grid {
    grid-template-columns: 1fr
  }

  .testimonial-card>p {
    min-height: 0
  }

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

  .footer-grid>div:last-child {
    grid-column: auto
  }

  .join-box {
    display: block;
    text-align: center
  }

  .join-actions {
    justify-content: center;
    margin-top: 25px
  }
}

@media(max-width:560px) {
  .container {
    width: min(100% - 28px, 1180px)
  }

  .hero h1 {
    font-size: 42px
  }

  .hero-copy>p {
    font-size: 15px
  }

  .hero-actions {
    flex-direction: column
  }

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

  .hero-visual {
    min-height: 390px
  }

  .image-shell {
    inset: 20px 10px 0
  }

  .fc-one {
    left: -5px
  }

  .fc-two {
    right: -6px;
    top: 155px
  }

  .result-card {
    bottom: 10px
  }

  .float-card {
    padding: 9px 10px
  }

  .float-card>span {
    width: 34px;
    height: 34px
  }

  .search-panel {
    padding: 17px
  }

  .search-heading {
    display: none
  }

  .tutor-search {
    grid-template-columns: 1fr
  }

  .tutor-search button {
    grid-column: auto
  }

  .logo-strip {
    padding-top: 260px
  }

  .strip-grid {
    grid-template-columns: 1fr
  }

  .strip-grid>div {
    border-right: 0;
    border-bottom: 1px solid var(--line) !important
  }

  .strip-grid>div:last-child {
    border: 0 !important
  }

  .section {
    padding: 68px 0
  }

  .subject-grid,
  .steps-grid,
  .tutor-grid {
    grid-template-columns: 1fr
  }

  .section-head h2,
  .about-copy h2,
  .jobs-copy h2,
  .faq-copy h2 {
    font-size: 34px
  }

  .about-visual {
    min-height: 430px
  }

  .about-main {
    inset: 0 38px 45px 0
  }

  .mini-photo {
    width: 165px;
    height: 145px
  }

  .experience-badge {
    width: 115px;
    height: 115px;
    right: -4px
  }

  .experience-badge strong {
    font-size: 28px
  }

  .benefits {
    grid-template-columns: 1fr
  }

  .job-meta {
    gap: 8px
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 25px
  }

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

  .join-box {
    padding: 35px 20px
  }

  .join-actions {
    flex-direction: column
  }

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

  .footer-bottom {
    display: block;
    text-align: center
  }

  .footer-bottom div {
    justify-content: center;
    margin-top: 10px
  }
}

/* Inner pages and functional form compatibility */
body {
  margin: 0
}

.site-header {
  background: #fff
}

.flash-wrap {
  padding-top: 14px
}

.page-hero {
  padding: 72px 0;
  background: linear-gradient(135deg, #eef5ff, #fff7e4);
  position: relative;
  overflow: hidden
}

.page-hero h1 {
  font: 800 clamp(34px, 5vw, 58px) Outfit;
  color: var(--navy2);
  margin-bottom: 12px
}

.page-hero p {
  color: var(--muted);
  max-width: 700px;
  font-size: 16px
}

.page-shell {
  padding: 75px 0;
  background: var(--soft)
}

.content-card,
.card-soft,
.dashboard-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 15px 45px rgba(3, 28, 67, .07)
}

.form-card {
  max-width: 900px;
  margin: auto;
  padding: 34px
}

.form-label,
label {
  font-weight: 700;
  color: var(--navy2);
  font-size: 13px
}

.form-control,
.form-select {
  min-height: 50px;
  border: 1px solid #dce4ee;
  border-radius: 10px;
  padding: 11px 13px;
  font-family: Manrope
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 78, 156, .1)
}

textarea.form-control {
  min-height: 120px
}

.btn-outline-primary {
  border-color: var(--navy);
  color: var(--navy);
  font-weight: 800
}

.btn-outline-primary:hover {
  background: var(--navy);
  border-color: var(--navy)
}

.btn-warning {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy2);
  font-weight: 800
}

.btn-danger,
.btn-success,
.btn-secondary {
  font-weight: 700
}

.listing-card {
  height: 100%;
  padding: 24px
}

.listing-card h3,
.listing-card h4,
.listing-card h5 {
  font-family: Outfit;
  color: var(--navy2)
}

.listing-meta {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px
}

.listing-meta i {
  width: 19px;
  color: var(--orange)
}

.filter-card {
  padding: 24px;
  position: sticky;
  top: 105px
}

.empty-state {
  padding: 45px;
  text-align: center;
  background: #fff;
  border: 1px dashed #cbd7e6;
  border-radius: 18px
}

.empty-state i {
  font-size: 40px;
  color: var(--orange);
  margin-bottom: 14px
}

.dashboard-wrap {
  padding: 55px 0;
  background: var(--soft);
  min-height: 65vh
}

.dashboard-card {
  padding: 24px
}

.table {
  background: #fff
}

.table thead th {
  background: #eef4fb;
  color: var(--navy2);
  border: 0;
  font-size: 12px;
  text-transform: uppercase
}

.table td {
  vertical-align: middle;
  font-size: 13px
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 650px
}

.auth-side {
  background: linear-gradient(135deg, var(--navy2), var(--blue));
  padding: 60px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.auth-side h2 {
  font: 800 46px Outfit;
  color: #fff
}

.auth-form {
  padding: 60px;
  background: #fff;
  display: flex;
  align-items: center
}

.auth-form>div {
  width: 100%;
  max-width: 520px;
  margin: auto
}

.policy-content {
  padding: 35px
}

.policy-content h2,
.policy-content h3 {
  font-family: Outfit;
  color: var(--navy2);
  margin-top: 26px
}

.admin-logo {
  height: 64px;
  background: #fff;
  border-radius: 10px;
  padding: 4px
}

.sidebar {
  background: #031631 !important
}

.sidebar a {
  color: #dce8f6 !important
}

.required:after {
  content: ' *';
  color: #dc3545
}

.pagination .page-link {
  color: var(--navy)
}

.pagination .active .page-link {
  background: var(--navy);
  border-color: var(--navy)
}

@media(max-width:820px) {
  .page-hero {
    padding: 48px 0
  }

  .page-shell {
    padding: 50px 0
  }

  .auth-grid {
    grid-template-columns: 1fr
  }

  .auth-side {
    padding: 38px
  }

  .auth-form {
    padding: 38px 24px
  }

  .filter-card {
    position: static
  }

  .form-card {
    padding: 22px
  }

  .main-nav {
    z-index: 999
  }
}

/* Informational inner pages */
.info-panel,
.process-box,
.contact-info-card {
  background: linear-gradient(145deg, #062653, #0b3d78);
  color: #fff;
  border-radius: 24px;
  padding: 34px;
  height: 100%;
  box-shadow: 0 20px 55px rgba(4, 35, 78, .14)
}

.feature-check {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14)
}

.feature-check:last-child {
  border-bottom: 0
}

.feature-check i {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  background: #f5a400;
  color: #062653;
  border-radius: 14px;
  font-size: 20px
}

.feature-check h5 {
  margin: 0 0 5px;
  color: #fff
}

.feature-check p {
  margin: 0;
  color: rgba(255, 255, 255, .78)
}

.value-card {
  padding: 34px;
  height: 100%;
  text-align: center
}

.value-card>i {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #fff4d6;
  color: #e79600;
  font-size: 28px
}

.value-card p {
  margin-bottom: 0;
  color: #667085
}

.cta-strip {
  padding: 55px 0;
  background: #062653;
  color: #fff
}

.cta-strip h2 {
  color: #fff
}

.cta-strip p {
  color: rgba(255, 255, 255, .75)
}

.process-heading {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  margin-bottom: 10px
}

.process-heading>i {
  font-size: 34px;
  color: #f5a400
}

.process-heading span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: #f5a400
}

.process-heading h2 {
  color: #fff;
  margin: 3px 0 0
}

.process-step {
  display: flex;
  gap: 18px;
  padding: 19px 0
}

.process-step>b {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f5a400;
  color: #062653
}

.process-step h5 {
  color: #fff;
  margin: 0 0 5px
}

.process-step p {
  color: rgba(255, 255, 255, .75);
  margin: 0
}

.section-alt {
  background: #f5f8fc
}

.contact-info-card h2 {
  color: #fff
}

.contact-info-card>p {
  color: rgba(255, 255, 255, .78)
}

.contact-line {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px 0
}

.contact-line>i {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f5a400;
  color: #062653;
  font-size: 19px
}

.contact-line small {
  display: block;
  color: rgba(255, 255, 255, .65)
}

.contact-line a {
  color: #fff;
  font-weight: 700;
  text-decoration: none
}

.contact-info-card hr {
  border-color: rgba(255, 255, 255, .18)
}

.mini-support {
  background: #fff;
  border: 1px solid #e7edf6;
  border-radius: 20px;
  padding: 28px;
  height: 100%;
  text-align: center
}

.mini-support i {
  font-size: 28px;
  color: #f5a400;
  margin-bottom: 15px
}

.mini-support p {
  margin: 0;
  color: #667085
}

@media(max-width:767px) {

  .info-panel,
  .process-box,
  .contact-info-card {
    padding: 25px
  }

  .page-hero {
    padding: 65px 0
  }

  .section {
    padding: 60px 0
  }
}

.success-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #eef5ff, #fff8e8)
}

.success-card {
  max-width: 820px;
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 28px;
  padding: 55px 38px;
  box-shadow: 0 25px 70px rgba(7, 39, 83, .12)
}

.success-check {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  background: #18b967;
  color: #fff;
  font-size: 42px;
  box-shadow: 0 14px 35px rgba(24, 185, 103, .3)
}

.success-card h1 {
  font-family: Outfit, sans-serif;
  color: #08295b;
  font-size: clamp(34px, 5vw, 58px);
  margin: 18px 0 12px
}

.success-details {
  max-width: 560px;
  margin-top: 28px;
  border: 1px solid #e3eaf3;
  border-radius: 18px;
  overflow: hidden
}

.success-details div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 17px;
  border-bottom: 1px solid #edf1f6
}

.success-details div:last-child {
  border-bottom: 0
}

.success-details span {
  color: #6a7789
}

.success-details strong {
  color: #08295b;
  text-align: right
}

.success-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px
}

.confetti {
  position: fixed;
  top: -20px;
  width: 10px;
  height: 18px;
  background: #f5a400;
  z-index: 9999;
  animation: fall 3s linear forwards
}

.confetti:nth-child(3n) {
  background: #08295b
}

.confetti:nth-child(4n) {
  background: #18b967
}

@keyframes fall {
  to {
    top: 110vh;
    transform: rotate(720deg)
  }
}

.form-help {
  font-size: 13px;
  color: #6c7889;
  margin-top: 5px
}

.validation-summary {
  border-left: 4px solid #dc3545
}

.required:after {
  content: ' *';
  color: #dc3545
}

/* Perfect Home Tutor smart assistant */
.pht-chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 1200;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #08295b, #0d4f9d);
  color: #fff;
  font-size: 25px;
  box-shadow: 0 16px 40px rgba(3, 28, 67, .28);
  cursor: pointer;
  transition: .25s
}

.pht-chat-toggle:hover {
  transform: translateY(-3px) scale(1.03)
}

.pht-chat-toggle:after {
  content: "Ask AI";
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background: #08295b;
  color: #fff;
  padding: 8px 12px;
  border-radius: 9px;
  font: 700 12px Manrope;
  box-shadow: 0 8px 22px rgba(3, 28, 67, .18)
}

.pht-chat-panel {
  position: fixed;
  right: 24px;
  bottom: 166px;
  z-index: 1201;
  width: min(390px, calc(100vw - 28px));
  height: 590px;
  max-height: calc(100vh - 190px);
  background: #fff;
  border: 1px solid #dfe7f1;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(3, 28, 67, .25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(.97);
  transform-origin: bottom right;
  transition: .25s
}

.pht-chat-panel.open {
  opacity: 1;
  visibility: visible;
  transform: none
}

.pht-chat-head {
  background: linear-gradient(135deg, #062653, #0d4f9d);
  color: #fff;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px
}

.pht-chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  padding: 5px;
  object-fit: contain
}

.pht-chat-head strong {
  display: block;
  font-family: Outfit;
  font-size: 17px
}

.pht-chat-head small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #dce9fa
}

.pht-chat-head small:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ed27a
}

.pht-chat-close {
  margin-left: auto;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  cursor: pointer
}

.pht-chat-messages {
  flex: 1;
  overflow: auto;
  padding: 17px;
  background: linear-gradient(180deg, #f6f9fd, #fff)
}

.pht-chat-row {
  display: flex;
  margin-bottom: 12px
}

.pht-chat-row.user {
  justify-content: flex-end
}

.pht-chat-bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid #e2e9f2;
  color: #27364d;
  font-size: 13px;
  line-height: 1.55;
  box-shadow: 0 7px 20px rgba(3, 28, 67, .05)
}

.pht-chat-row.user .pht-chat-bubble {
  background: #08295b;
  color: #fff;
  border-color: #08295b;
  border-bottom-right-radius: 5px
}

.pht-chat-row.bot .pht-chat-bubble {
  border-bottom-left-radius: 5px
}

.pht-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px
}

.pht-chat-actions a {
  font-size: 11px;
  font-weight: 800;
  color: #08295b;
  background: #fff3cf;
  border: 1px solid #ffd56a;
  padding: 7px 9px;
  border-radius: 8px
}

.pht-chat-quick {
  padding: 0 16px 12px;
  background: #fff;
  display: flex;
  gap: 7px;
  overflow-x: auto
}

.pht-chat-quick button {
  white-space: nowrap;
  border: 1px solid #dce5ef;
  background: #f7f9fc;
  color: #08295b;
  border-radius: 999px;
  padding: 8px 11px;
  font: 700 11px Manrope;
  cursor: pointer
}

.pht-chat-form {
  display: flex;
  gap: 9px;
  padding: 13px;
  border-top: 1px solid #e7edf5;
  background: #fff
}

.pht-chat-form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 1px solid #d8e1ec;
  border-radius: 12px;
  padding: 0 13px;
  outline: none;
  font: 13px Manrope
}

.pht-chat-form input:focus {
  border-color: #0d4f9d;
  box-shadow: 0 0 0 3px rgba(13, 79, 157, .09)
}

.pht-chat-form button {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: #f5a400;
  color: #062653;
  font-size: 17px;
  cursor: pointer
}

.typing-row .pht-chat-bubble {
  display: flex;
  gap: 4px
}

.typing-row span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7890ac;
  animation: phtTyping 1s infinite
}

.typing-row span:nth-child(2) {
  animation-delay: .15s
}

.typing-row span:nth-child(3) {
  animation-delay: .3s
}

@keyframes phtTyping {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: .5
  }

  30% {
    transform: translateY(-4px);
    opacity: 1
  }
}

@media(max-width:600px) {
  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px
  }

  .back-top {
    left: 16px;
    bottom: 16px
  }
}


/* 2026 Delhi NCR redesign additions */
.service-areas {
  background: linear-gradient(180deg, #f7faff, #fff)
}

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

.city-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e3eaf3;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(5, 35, 78, .06);
  transition: .25s
}

.city-card:hover {
  transform: translateY(-5px);
  border-color: #f5a400;
  box-shadow: 0 20px 45px rgba(5, 35, 78, .12)
}

.city-card>span {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: #fff3d6;
  color: #e89500;
  font-size: 21px
}

.city-card div {
  flex: 1
}

.city-card h3 {
  margin: 0 0 4px;
  color: var(--navy2);
  font-size: 20px
}

.city-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px
}

.city-card>i {
  color: var(--blue)
}

.offline-note {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy2), var(--blue));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 18px
}

.offline-note>i {
  font-size: 34px;
  color: var(--orange)
}

.offline-note div {
  flex: 1
}

.offline-note strong {
  font: 700 21px Outfit
}

.offline-note p {
  margin: 4px 0 0;
  color: #dbe8fa
}

.contact-hero {
  padding: 78px 0;
  background: linear-gradient(135deg, #eef5ff, #fff8e6);
  position: relative;
  overflow: hidden
}

.contact-hero:after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: #dceaff;
  right: -90px;
  top: -100px
}

.contact-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center
}

.contact-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  color: var(--navy2);
  margin: 15px 0
}

.contact-hero p {
  max-width: 760px;
  font-size: 18px;
  color: var(--muted)
}

.hero-city-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px
}

.hero-city-tags span {
  padding: 8px 13px;
  background: #fff;
  border: 1px solid #dce5f0;
  border-radius: 999px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800
}

.contact-hero-badge {
  width: 210px;
  padding: 28px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center
}

.contact-hero-badge i {
  width: 65px;
  height: 65px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  background: #fff3d6;
  color: var(--orange);
  font-size: 28px
}

.contact-hero-badge strong,
.contact-hero-badge span {
  display: block
}

.contact-hero-badge strong {
  font: 700 20px Outfit;
  color: var(--navy2)
}

.contact-hero-badge span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px
}

.contact-main-section {
  background: #f7f9fc
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 28px
}

.contact-form-card {
  background: #fff;
  border: 1px solid #e2e9f2;
  border-radius: 26px;
  padding: 38px;
  box-shadow: 0 18px 50px rgba(5, 35, 78, .08)
}

.contact-form-card h2 {
  font-size: 38px;
  color: var(--navy2);
  margin: 10px 0
}

.contact-form-card>p {
  color: var(--muted)
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px
}

.contact-form-grid label>span {
  display: block;
  font-weight: 800;
  font-size: 13px;
  color: #27364d;
  margin-bottom: 7px
}

.contact-form-grid .full {
  grid-column: 1/-1
}

.phone-field {
  display: flex;
  border: 1px solid #dce4ee;
  border-radius: 10px;
  overflow: hidden
}

.phone-field b {
  display: grid;
  place-items: center;
  padding: 0 13px;
  background: #f3f6fa;
  color: var(--navy);
  border-right: 1px solid #dce4ee
}

.phone-field .form-control {
  border: 0;
  border-radius: 0
}

.contact-side {
  background: linear-gradient(145deg, var(--navy2), var(--blue));
  color: #fff;
  border-radius: 26px;
  padding: 36px;
  box-shadow: var(--shadow)
}

.contact-side h2 {
  color: #fff;
  font-size: 34px;
  margin: 12px 0
}

.contact-side>p {
  color: #dce8f7
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14)
}

.contact-method>i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--navy2);
  font-size: 20px
}

.contact-method small,
.contact-method strong {
  display: block
}

.contact-method small {
  color: #bfcfe4
}

.contact-method strong {
  color: #fff;
  font-size: 14px
}

.coverage-box {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, .09);
  border-radius: 17px
}

.coverage-box h3 {
  color: #fff;
  font-size: 18px
}

.coverage-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.coverage-box span {
  padding: 7px 10px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700
}

.location-section {
  background: #fff
}

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

.location-cards>a {
  padding: 25px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: .25s
}

.location-cards>a:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 16px 40px rgba(5, 35, 78, .09)
}

.location-cards>a>i {
  font-size: 26px;
  color: var(--orange)
}

.location-cards strong {
  font: 700 21px Outfit;
  color: var(--navy2)
}

.location-cards span {
  font-size: 12px;
  color: var(--blue);
  font-weight: 800
}

.contact-cta {
  padding: 58px 0;
  background: linear-gradient(135deg, var(--navy2), var(--blue));
  color: #fff
}

.contact-cta>.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.contact-cta h2 {
  color: #fff;
  font-size: 38px;
  margin: 10px 0
}

.contact-cta p {
  margin: 0;
  color: #d8e5f5
}

.footer-grid {
  grid-template-columns: 1.4fr repeat(4, 1fr)
}

@media(max-width:900px) {

  .city-grid,
  .location-cards {
    grid-template-columns: repeat(2, 1fr)
  }

  .contact-layout {
    grid-template-columns: 1fr
  }

  .contact-hero-grid {
    grid-template-columns: 1fr
  }

  .contact-hero-badge {
    display: none
  }

  .contact-cta>.container {
    align-items: flex-start;
    flex-direction: column
  }
}

@media(max-width:600px) {

  .city-grid,
  .location-cards,
  .contact-form-grid {
    grid-template-columns: 1fr
  }

  .contact-form-grid .full {
    grid-column: auto
  }

  .offline-note {
    align-items: flex-start;
    flex-direction: column
  }

  .contact-form-card,
  .contact-side {
    padding: 24px
  }

  .contact-hero {
    padding: 55px 0
  }

  .contact-hero h1 {
    font-size: 42px
  }

  .contact-cta h2 {
    font-size: 31px
  }
}

/* SEO landing pages and layout stability */
.city-seo-hero .breadcrumb {
  margin-bottom: 1.25rem
}

.city-seo-hero .breadcrumb a {
  color: inherit
}

.seo-steps {
  display: grid;
  gap: 1rem;
  padding-left: 1.25rem
}

.seo-steps li {
  padding-left: .4rem
}

.brand img,
.footer-brand img {
  height: auto;
  max-width: 190px
}

.tutor-photo img,
.image-shell img {
  aspect-ratio: 1/1;
  object-fit: cover
}

.image-shell img {
  aspect-ratio: 3/2
}

.bg-light {
  background: #f6f8fc !important
}

@media(max-width:767px) {
  .city-seo-hero .lead {
    font-size: 1rem
  }

  .city-seo-hero .btn {
    width: 100%
  }
}

/* ===== Premium red homepage redesign ===== */
:root {
  --pt-red: #ed3345;
  --pt-red-dark: #cf2033;
  --pt-navy: #0d1b3e;
  --pt-muted: #63708a;
  --pt-pink: #fff4f5;
  --pt-line: #f7dadd
}

.pt-home {
  overflow: hidden;
  background: #fff;
  color: var(--pt-navy)
}

.pt-hero {
  position: relative;
  min-height: 700px;
  padding: 58px 0 46px;
  background: linear-gradient(100deg, #fff 0%, #fff 53%, #fff8f8 100%);
  overflow: hidden
}

.pt-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(13, 27, 62, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 27, 62, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 65%, transparent)
}

.pt-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  background: #ffecef
}

.pt-blob-one {
  width: 330px;
  height: 330px;
  right: -90px;
  top: 80px
}

.pt-blob-two {
  width: 220px;
  height: 220px;
  left: -120px;
  bottom: -40px
}

.pt-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 30px
}

.pt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid #ffd6da;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--pt-red);
  background: rgba(255, 255, 255, .82)
}

.pt-kicker span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pt-red);
  box-shadow: 0 0 0 6px #ffe9ec
}

.pt-hero h1 {
  font-family: Outfit, sans-serif;
  font-size: clamp(48px, 5.3vw, 78px);
  line-height: 1.03;
  letter-spacing: -3.2px;
  margin: 25px 0 14px;
  font-weight: 800;
  color: var(--pt-navy)
}

.pt-hero h1 em {
  font-style: normal;
  color: var(--pt-red);
  position: relative;
  display: inline-block
}

.pt-hero h1 em:after {
  content: "";
  position: absolute;
  inset: -8px -20px -6px;
  border: 4px solid #ef7e89;
  border-radius: 50%;
  transform: rotate(-3deg);
  opacity: .85
}

.pt-subtitle {
  font-size: px;
  line-height: 1.65;
  color: var(--pt-muted);
  max-width: 700px;
  margin: 0 0 30px
}

.pt-location-search {
  position: relative;
  padding: 17px 16px 15px;
  border: 1px solid #ffd6da;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(237, 51, 69, .15);
  max-width: 760px
}

.pt-location-search:before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 8px solid rgba(237, 51, 69, .06);
  border-radius: 30px;
  pointer-events: none
}

.pt-search-label {
  position: absolute;
  top: -17px;
  left: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid #ffd3d8;
  border-radius: 999px;
  background: #fff;
  color: var(--pt-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase
}

.pt-search-label span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pt-red);
  box-shadow: 0 0 0 5px #ffe7ea
}

.pt-search-row {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  align-items: center
}

.pt-search-input {
  height: 66px;
  border: 1px solid #ffcbd1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 14px
}

.pt-search-input i {
  font-size: 20px;
  color: var(--pt-red)
}

.pt-search-input select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
  color: #758099;
  font-weight: 600
}

.pt-search-row button {
  height: 66px;
  border: 0;
  border-radius: 16px;
  background: var(--pt-red);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: .25s
}

.pt-search-row button:hover {
  background: var(--pt-red-dark);
  transform: translateY(-2px)
}

.pt-popular {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 8px 0;
  color: #9aa4b9;
  font-size: 14px
}

.pt-popular strong {
  letter-spacing: 1px
}

.pt-popular a {
  color: var(--pt-red);
  font-weight: 700;
  border-bottom: 1px solid var(--pt-red)
}

.pt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 42px;
  max-width: 720px
}

.pt-stats div {
  position: relative
}

.pt-stats strong {
  font-family: Outfit, sans-serif;
  font-size: 39px;
  letter-spacing: -1.5px
}

.pt-stats span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff0f2;
  color: #f16c79;
  margin-left: 9px;
  font-size: 18px
}

.pt-stats small {
  display: block;
  color: #66748e;
  font-weight: 700;
  font-size: 15px;
  margin-top: 3px
}

.pt-hero-visual {
  position: relative;
  min-height: 560px
}

.pt-person {
  position: absolute;
  bottom: 0;
  width: 52%;
  animation: ptFloat 5s ease-in-out infinite
}

.pt-person-one {
  left: 0;
  z-index: 2
}

.pt-person-two {
  right: 0;
  z-index: 1;
  animation-delay: -2.2s
}

.pt-photo {
  height: 510px;
  border-radius: 180px 180px 35px 35px;
  overflow: hidden;
  background: #ffdfe3;
  border: 9px solid #fff;
  box-shadow: 0 28px 70px rgba(13, 27, 62, .16)
}

.pt-person-two .pt-photo {
  height: 470px;
  margin-top: 40px;
  background: #eef2ff
}

.pt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top
}

.pt-person-one .pt-photo img {
  object-position: 58% center
}

@keyframes ptFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg)
  }

  50% {
    transform: translateY(-15px) rotate(1deg)
  }
}

.pt-float-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid #f4e1e4;
  border-radius: 16px;
  padding: 12px 15px;
  box-shadow: 0 16px 35px rgba(13, 27, 62, .13);
  animation: ptBadge 4s ease-in-out infinite
}

.pt-float-badge i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff0f2;
  color: var(--pt-red)
}

.pt-float-badge b,
.pt-float-badge small {
  display: block
}

.pt-float-badge b {
  font-size: 13px
}

.pt-float-badge small {
  font-size: 11px;
  color: #7c879b
}

.pt-badge-one {
  left: -12px;
  top: 105px
}

.pt-badge-two {
  right: -8px;
  bottom: 65px;
  animation-delay: -1.7s
}

@keyframes ptBadge {
  50% {
    transform: translateY(-8px)
  }
}

.pt-dots {
  position: absolute;
  width: 110px;
  height: 110px;
  right: 10px;
  top: 25px;
  background-image: radial-gradient(#ed3345 2px, transparent 2px);
  background-size: 13px 13px;
  opacity: .2
}

.pt-side-tab {
  position: absolute;
  left: 0;
  top: 47%;
  z-index: 8;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 22px 13px;
  background: var(--pt-red);
  color: #fff;
  border-radius: 0 13px 13px 0;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px
}

.pt-trust-strip {
  border-top: 1px solid #f2e8ea;
  border-bottom: 1px solid #f2e8ea;
  background: #fff
}

.pt-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.pt-trust-grid>div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 22px;
  border-right: 1px solid #f1e7e9
}

.pt-trust-grid>div:last-child {
  border-right: 0
}

.pt-trust-grid i {
  font-size: 25px;
  color: var(--pt-red)
}

.pt-trust-grid b,
.pt-trust-grid small {
  display: block
}

.pt-trust-grid small {
  color: #7a879f;
  margin-top: 2px
}

.pt-section {
  padding: 90px 0
}

.pt-section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 44px
}

.pt-section-title>span {
  display: inline-block;
  color: var(--pt-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 10px
}

.pt-section-title h2 {
  font-family: Outfit, sans-serif;
  font-size: 44px;
  letter-spacing: -1.5px;
  margin: 0 0 12px;
  font-weight: 800
}

.pt-section-title p {
  font-size: 17px;
  color: var(--pt-muted);
  line-height: 1.65
}

.pt-title-left {
  text-align: left;
  margin-left: 0
}

.pt-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.pt-category-card {
  position: relative;
  padding: 28px;
  border: 1px solid #f1e4e6;
  border-radius: 22px;
  background: #fff;
  transition: .3s;
  overflow: hidden
}

.pt-category-card:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff0f2;
  right: -45px;
  top: -45px
}

.pt-category-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 45px rgba(13, 27, 62, .09);
  border-color: #ffd4d9
}

.pt-cat-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff1f2;
  color: var(--pt-red);
  font-size: 23px;
  margin-bottom: 20px
}

.pt-category-card h3 {
  font-size: 20px;
  margin: 0 0 9px
}

.pt-category-card p {
  color: var(--pt-muted);
  line-height: 1.6;
  min-height: 52px
}

.pt-category-card>span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
  color: var(--pt-red);
  font-weight: 800;
  font-size: 14px
}

.pt-city-section {
  background: #fff7f8
}

.pt-city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.pt-city-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid #f2dfe2;
  border-radius: 18px;
  padding: 24px;
  transition: .25s
}

.pt-city-card:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 28px rgba(13, 27, 62, .07)
}

.pt-city-number {
  font-family: Outfit, sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: #f7a3ab
}

.pt-city-card h3 {
  font-size: 20px;
  margin: 0 0 6px
}

.pt-city-card p {
  margin: 0;
  color: var(--pt-muted)
}

.pt-city-card>i {
  margin-left: auto;
  color: var(--pt-red)
}

.pt-how-section {
  background: #101c3c;
  color: #fff
}

.pt-how-section .pt-section-title p {
  color: #b8c2d6
}

.pt-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px
}

.pt-process-card {
  position: relative;
  padding: 28px 24px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px
}

.pt-process-card>span {
  position: absolute;
  right: 20px;
  top: 16px;
  font-family: Outfit, sans-serif;
  font-size: 34px;
  color: rgba(255, 255, 255, .13);
  font-weight: 800
}

.pt-process-card>div {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--pt-red);
  font-size: 21px;
  margin-bottom: 22px
}

.pt-process-card h3 {
  font-size: 19px
}

.pt-process-card p {
  color: #b7c0d2;
  line-height: 1.6;
  font-size: 14px
}

.pt-section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px
}

.pt-outline-btn {
  border: 1px solid #f1bbc1;
  padding: 13px 20px;
  border-radius: 12px;
  color: var(--pt-red);
  font-weight: 800;
  white-space: nowrap;
  margin-bottom: 44px
}

.pt-tutor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.pt-tutor-card {
  border: 1px solid #eee2e4;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  transition: .3s
}

.pt-tutor-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px rgba(13, 27, 62, .1)
}

.pt-tutor-img {
  position: relative;
  height: 270px;
  overflow: hidden
}

.pt-tutor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s
}

.pt-tutor-card:hover img {
  transform: scale(1.05)
}

.pt-rating {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #fff;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px
}

.pt-rating i {
  color: #ffb300
}

.pt-tutor-body {
  padding: 21px
}

.pt-tutor-body>span {
  color: var(--pt-red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px
}

.pt-tutor-body h3 {
  font-size: 20px;
  margin: 7px 0
}

.pt-tutor-body p {
  color: #5f6c82;
  margin-bottom: 12px
}

.pt-tutor-body small {
  display: block;
  color: #7c879a
}

.pt-tutor-body a {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #eee5e7;
  color: var(--pt-red);
  font-weight: 800
}

.pt-choice-section {
  background: #fff7f8
}

.pt-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px
}

.pt-choice-visual {
  position: relative;
  padding: 0 35px 35px 0
}

.pt-choice-main {
  height: 510px;
  border-radius: 30px;
  overflow: hidden
}

.pt-choice-main img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.pt-choice-card {
  position: absolute;
  right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(13, 27, 62, .15);
  max-width: 220px
}

.pt-choice-card strong {
  display: block;
  color: var(--pt-red);
  font-size: 34px
}

.pt-choice-card span {
  color: #6e7a91;
  line-height: 1.45
}

.pt-feature-list {
  display: grid;
  gap: 18px;
  margin: 30px 0
}

.pt-feature-list>div {
  display: flex;
  gap: 14px
}

.pt-feature-list i {
  color: var(--pt-red);
  font-size: 20px;
  margin-top: 3px
}

.pt-feature-list b,
.pt-feature-list small {
  display: block
}

.pt-feature-list small {
  color: var(--pt-muted);
  margin-top: 5px;
  line-height: 1.5
}

.pt-main-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pt-red);
  color: #fff;
  padding: 15px 22px;
  border-radius: 12px;
  font-weight: 800
}

.pt-reviews {
  background: #fff
}

.pt-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.pt-review-grid article {
  padding: 30px;
  border: 1px solid #f0e2e5;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(13, 27, 62, .045)
}

.pt-stars {
  color: #ffb300;
  letter-spacing: 3px
}

.pt-review-grid article>p {
  font-size: 16px;
  line-height: 1.75;
  color: #4e5a70;
  margin: 18px 0 24px
}

.pt-review-grid article>div:last-child {
  display: flex;
  align-items: center;
  gap: 12px
}

.pt-review-grid article>div:last-child>span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff0f2;
  color: var(--pt-red);
  font-weight: 800
}

.pt-review-grid strong small {
  display: block;
  color: #8791a4;
  font-weight: 500;
  margin-top: 3px
}

.pt-final-cta {
  padding: 65px 0;
  background: linear-gradient(135deg, var(--pt-red), #b91f31);
  color: #fff
}

.pt-final-cta .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px
}

.pt-final-cta span {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 800
}

.pt-final-cta h2 {
  font-family: Outfit, sans-serif;
  font-size: 42px;
  margin: 8px 0
}

.pt-final-cta p {
  margin: 0;
  color: #ffe4e7
}

.pt-final-cta .container>div:last-child {
  display: flex;
  gap: 12px;
  flex-shrink: 0
}

.pt-white-btn,
.pt-ghost-btn {
  padding: 15px 22px;
  border-radius: 12px;
  font-weight: 800
}

.pt-white-btn {
  background: #fff;
  color: var(--pt-red)
}

.pt-ghost-btn {
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff
}

@media(max-width:1100px) {
  .pt-hero-grid {
    grid-template-columns: 1fr
  }

  .pt-hero-visual {
    min-height: 500px;
    max-width: 650px;
    width: 100%;
    margin: auto
  }

  .pt-category-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .pt-tutor-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .pt-process-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:768px) {
  .pt-hero {
    padding-top: 35px
  }

  .pt-hero h1 {
    font-size: 46px;
    letter-spacing: -2px
  }

  .pt-subtitle {
    font-size: 17px
  }

  .pt-search-row {
    grid-template-columns: 1fr
  }

  .pt-popular {
    margin-top: 26px
  }

  .pt-stats {
    grid-template-columns: 1fr 1fr
  }

  .pt-stats div:last-child {
    grid-column: 1/-1
  }

  .pt-hero-visual {
    min-height: 410px
  }

  .pt-photo {
    height: 370px
  }

  .pt-person-two .pt-photo {
    height: 340px
  }

  .pt-trust-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .pt-category-grid,
  .pt-city-grid,
  .pt-process-grid,
  .pt-tutor-grid,
  .pt-review-grid,
  .pt-choice-grid {
    grid-template-columns: 1fr
  }

  .pt-section {
    padding: 68px 0
  }

  .pt-section-title h2 {
    font-size: 35px
  }

  .pt-section-head-row {
    display: block
  }

  .pt-outline-btn {
    display: inline-flex
  }

  .pt-choice-grid {
    gap: 35px
  }

  .pt-choice-main {
    height: 380px
  }

  .pt-final-cta .container {
    display: block
  }

  .pt-final-cta .container>div:last-child {
    margin-top: 25px;
    flex-wrap: wrap
  }

  .pt-final-cta h2 {
    font-size: 34px
  }

  .pt-side-tab {
    display: none
  }
}

@media(max-width:500px) {
  .pt-hero h1 {
    font-size: 39px
  }

  .pt-kicker {
    font-size: 10px;
    padding: 9px 14px
  }

  .pt-search-input select {
    font-size: 15px
  }

  .pt-stats strong {
    font-size: 30px
  }

  .pt-hero-visual {
    min-height: 330px
  }

  .pt-photo {
    height: 300px;
    border-width: 5px
  }

  .pt-person-two .pt-photo {
    height: 275px
  }

  .pt-float-badge {
    display: none
  }

  .pt-trust-grid {
    grid-template-columns: 1fr
  }

  .pt-trust-grid>div {
    border-right: 0;
    border-bottom: 1px solid #f1e7e9
  }

  .pt-category-grid {
    gap: 14px
  }

  .pt-city-card {
    padding: 19px
  }

  .pt-section-title h2 {
    font-size: 31px
  }

  .pt-final-cta .container>div:last-child {
    display: grid
  }

  .pt-white-btn,
  .pt-ghost-btn {
    text-align: center
  }
}

/* ===== Premium logo-aligned refresh ===== */
:root {
  --pt-red: #f2a100;
  --pt-red-dark: #d28a00;
  --pt-navy: #062a62;
  --pt-muted: #677892;
  --pt-pink: #fff9ef;
  --pt-line: #f3e2b4;
}

.topbar {
  background: linear-gradient(90deg, #062a62 0%, #08357b 100%);
  color: #e8f0ff
}

.topbar i {
  color: #f2a100
}

.topbar a:hover {
  color: #fff6db
}

.site-header {
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid rgba(6, 42, 98, .08)
}

.nav-wrap {
  height: 100px;
  gap: 28px
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0
}

.brand img {
  width: auto;
  height: 98px;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(6, 42, 98, .06))
}

.main-nav {
  gap: 26px;
  font-size: 15px
}

.main-nav>a:not(.btn):after {
  background: var(--orange)
}

.btn-primary {
  background: linear-gradient(135deg, #f2a100, #ffbe2e);
  color: #062a62;
  box-shadow: 0 12px 30px rgba(242, 161, 0, .25)
}

.btn-primary:hover {
  box-shadow: 0 16px 38px rgba(242, 161, 0, .3)
}

.pt-home {
  background: #fff;
  color: var(--pt-navy)
}

.pt-hero {
  position: relative;
  padding: 40px 0 70px;
  background: linear-gradient(135deg, #fffefb 0%, #f5f8ff 55%, #fff9ef 100%)
}

.pt-grid-bg {
  background-image: radial-gradient(rgba(6, 42, 98, .08) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: .85
}

.pt-blob-one {
  width: 360px;
  height: 360px;
  left: -80px;
  top: 80px;
  background: rgba(242, 161, 0, .11);
  filter: blur(8px)
}

.pt-blob-two {
  width: 420px;
  height: 420px;
  right: -90px;
  top: 20px;
  background: rgba(6, 42, 98, .06);
  filter: blur(16px)
}

.pt-hero-grid {
  align-items: center;
  gap: 40px
}

.pt-kicker {
  border: 1px solid #f4dba2;
  color: var(--pt-red);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 30px rgba(6, 42, 98, .05)
}

.pt-kicker span {
  background: var(--pt-red);
  box-shadow: 0 0 0 6px rgba(242, 161, 0, .12)
}

.pt-hero h1 {
  font-size: clamp(52px, 5.3vw, 32px);
  line-height: 1.02;
  color: var(--pt-navy);
  margin-bottom: 18px
}

.pt-hero h1 em {
  color: var(--pt-red)
}

.pt-hero h1 em:after {
  inset: -7px -18px -7px;
  border: 4px solid rgba(242, 161, 0, .65)
}

.pt-subtitle {
  font-size: 20px;
  line-height: 1.7;
  color: #607089;
  max-width: 720px
}

.pt-location-search {
  border: 1px solid #f4deb0;
  background: #fff;
  box-shadow: 0 22px 48px rgba(6, 42, 98, .1)
}

.pt-location-search:before {
  border-color: rgba(242, 161, 0, .09)
}

.pt-search-label {
  border: 1px solid #f4deb0;
  color: var(--pt-red)
}

.pt-search-label span {
  background: var(--pt-red);
  box-shadow: 0 0 0 5px rgba(242, 161, 0, .12)
}

.pt-search-input {
  border: 1px solid #e8e7ec;
  background: #fff
}

.pt-search-input i {
  color: var(--pt-red)
}

.pt-search-input select {
  color: #56657e
}

.pt-search-row button {
  background: linear-gradient(135deg, #f2a100, #ffba1f);
  color: #062a62;
  box-shadow: 0 12px 26px rgba(242, 161, 0, .18)
}

.pt-search-row button:hover {
  background: linear-gradient(135deg, #e39a00, #f8b312)
}

.pt-popular {
  margin-top: 28px;
  color: #8b97ab
}

.pt-popular a {
  color: var(--pt-navy);
  border-bottom-color: #d6a43a
}

.pt-stats div {
  border-color: #ebedf2;
  box-shadow: 0 14px 32px rgba(6, 42, 98, .05)
}

.pt-stats div span {
  background: #fff8e8;
  color: var(--pt-red)
}

.pt-single-visual {
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  justify-content: center
}

.pt-hero-ring {
  position: absolute;
  width: 530px;
  height: 530px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .7) 44%, rgba(242, 161, 0, .13) 70%, transparent 72%);
  top: 45px;
  right: 35px;
  z-index: 1
}

.pt-photo-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  margin-left: auto;
  animation: ptModelFloat 5.5s ease-in-out infinite
}

.pt-photo-single {
  height: 620px;
  border-radius: 40px 40px 180px 180px;
  border: 7px solid rgba(255, 255, 255, .92);
  box-shadow: 0 30px 60px rgba(6, 42, 98, .15);
  overflow: hidden;
  background: linear-gradient(180deg, #fff3d8 0%, #fff 100%)
}

.pt-photo-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.03)
}

@keyframes ptModelFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg)
  }

  25% {
    transform: translateY(-8px) rotate(-1deg)
  }

  50% {
    transform: translateY(-16px) rotate(.8deg)
  }

  75% {
    transform: translateY(-7px) rotate(-.8deg)
  }
}

.pt-badge-one {
  left: 10px;
  top: 120px
}

.pt-badge-two {
  right: 0;
  bottom: 80px
}

.pt-badge-three {
  left: 35px;
  bottom: 135px;
  animation-delay: -2.2s
}

.pt-float-badge {
  border: 1px solid #edf0f5;
  box-shadow: 0 18px 42px rgba(6, 42, 98, .12)
}

.pt-float-badge i {
  background: #fff7e7;
  color: var(--pt-red)
}

.pt-dots {
  right: 35px;
  top: 110px;
  background-image: radial-gradient(rgba(242, 161, 0, .95) 2px, transparent 2px);
  opacity: .28
}

.pt-side-tab {
  background: linear-gradient(180deg, #062a62, #0b3f8b)
}

.pt-trust-strip {
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5
}

.pt-trust-grid i,
.pt-section-title>span,
.pt-cat-icon,
.pt-city-card>i,
.pt-process-card>div,
.pt-outline-btn,
.pt-tutor-body>span,
.pt-choice-card strong,
.pt-feature-list i,
.pt-review-grid article>div:last-child>span {
  color: var(--pt-red)
}

.pt-cat-icon,
.pt-review-grid article>div:last-child>span {
  background: #fff8e8
}

.pt-category-card:after {
  background: #fff8e8
}

.pt-category-card,
.pt-city-card,
.pt-tutor-card,
.pt-review-grid article {
  border-color: #edf0f5
}

.pt-category-card:hover,
.pt-tutor-card:hover {
  box-shadow: 0 24px 48px rgba(6, 42, 98, .09)
}

.pt-city-section,
.pt-choice-section {
  background: #fcfdff
}

.pt-city-number {
  color: #d3a03a
}

.pt-how-section {
  background: linear-gradient(135deg, #062a62, #0c397d)
}

.pt-outline-btn {
  border-color: #f2d698
}

.pt-main-btn,
.pt-final-cta {
  background: linear-gradient(135deg, #062a62, #0a3a80)
}

.pt-main-btn {
  color: #fff
}

.pt-final-cta p {
  color: #dbe8ff
}

.pt-white-btn {
  color: #062a62
}

.pt-ghost-btn {
  border-color: rgba(255, 255, 255, .35)
}

@media(max-width:1100px) {
  .nav-wrap {
    height: 92px
  }

  .brand img {
    height: 86px
  }

  .pt-single-visual {
    min-height: 560px
  }

  .pt-hero-ring {
    right: 50%;
    transform: translateX(50%)
  }

  .pt-photo-wrap {
    margin: 0 auto
  }

  .pt-badge-one {
    left: 20px
  }

  .pt-badge-two {
    right: 20px
  }
}

@media(max-width:768px) {
  .topbar-inner {
    height: auto;
    flex-direction: column;
    gap: 6px;
    padding: 8px 0;
    text-align: center
  }

  .topbar-inner>div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px
  }

  .nav-wrap {
    height: 84px
  }

  .brand img {
    height: 72px;
    max-width: 170px
  }

  .pt-hero h1 {
    font-size: 46px
  }

  .pt-subtitle {
    font-size: 17px
  }

  .pt-single-visual {
    min-height: 470px
  }

  .pt-hero-ring {
    width: 360px;
    height: 360px;
    top: 55px
  }

  .pt-photo-single {
    height: 440px;
    width: min(100%, 320px);
    margin: auto;
    border-radius: 30px 30px 120px 120px
  }

  .pt-badge-three {
    display: none
  }
}

@media(max-width:500px) {
  .brand img {
    height: 66px
  }

  .pt-hero {
    padding-top: 25px
  }

  .pt-kicker {
    font-size: 11px;
    letter-spacing: 1.2px
  }

  .pt-hero h1 {
    font-size: 38px;
    letter-spacing: -1.6px
  }

  .pt-photo-single {
    height: 360px;
    width: min(100%, 270px)
  }

  .pt-hero-ring {
    width: 280px;
    height: 280px;
    top: 75px
  }

  .pt-badge-one,
  .pt-badge-two {
    display: none
  }
}

/* ===== Uploaded hero image integration + final polish ===== */
.pt-single-visual {
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative
}

.pt-hero-sun {
  position: absolute;
  right: 80px;
  top: 50px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 161, 0, .26) 0%, rgba(242, 161, 0, .08) 58%, rgba(242, 161, 0, 0) 72%);
  z-index: 1
}

.pt-group-wrap {
  margin-bottom: 142px;
  position: relative;
  z-index: 3;
  width: min(100%, 520px);
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  animation: ptModelFloat 6s ease-in-out infinite
}

.pt-cutout-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 35px rgba(6, 42, 98, .16))
}

.pt-hero-ring {
  width: 500px;
  height: 500px;
  top: -6px;
  right: 20px;
  background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .96), rgba(255, 255, 255, .78) 46%, rgba(242, 161, 0, .12) 70%, transparent 73%)
}

.pt-badge-one {
  left: 20px;
  top: 110px
}

.pt-badge-two {
  right: 5px;
  bottom: 50px
}

.pt-badge-three {
  left: 48px;
  bottom: 165px;
  animation-delay: -2s
}

.pt-badge-four {
  right: 45px;
  top: 160px;
  animation-delay: -1.2s
}

.pt-float-badge {
  backdrop-filter: blur(8px);
  margin-bottom: 111px;
  background: rgba(255, 255, 255, .96)
}

.pt-dots {
  right: 15px;
  top: 120px;
  width: 120px;
  height: 120px
}

.pt-section-title h2,
.pt-section-head-row h2 {
  word-break: normal
}

.pt-review-grid article,
.pt-tutor-card,
.pt-category-card,
.pt-city-card {
  will-change: transform
}

@media(max-width:1100px) {
  .pt-single-visual {
    min-height: 520px
  }

  .pt-group-wrap {
    max-width: 450px;
    margin: 0 auto
  }

  .pt-hero-ring {
    right: 50%;
    transform: translateX(50%)
  }

  .pt-badge-one {
    left: 20px
  }

  .pt-badge-two {
    right: 20px
  }
}

@media(max-width:768px) {
  .pt-single-visual {
    min-height: 390px
  }

  .pt-group-wrap {
    max-width: 340px
  }

  .pt-hero-ring {
    width: 330px;
    height: 330px;
    top: 55px
  }

  .pt-hero-sun {
    width: 110px;
    height: 110px;
    right: 20px;
    top: 45px
  }

  .pt-badge-three,
  .pt-badge-four {
    display: none
  }
}

@media(max-width:500px) {
  .pt-single-visual {
    min-height: 315px
  }

  .pt-group-wrap {
    max-width: 270px
  }

  .pt-hero-ring {
    width: 250px;
    height: 250px;
    top: 48px
  }
}

/* --- Competitive exam / coaching courses section --- */
.pt-exams {
  background: #fff9ef
}

.pt-exams .pt-category-card {
  border-color: #f3e2b4
}

.pt-exams .pt-category-card:after {
  background: #fff3d6
}

.pt-exams .pt-cat-icon {
  background: #fff3d6;
  color: var(--pt-red)
}

/* --- Contact office map --- */
.office-map-section {
  background: #f5f8fc
}

.office-map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(5, 35, 78, .15);
  border: 6px solid #fff;
  line-height: 0
}

.office-map-wrap iframe {
  display: block;
  width: 100%
}

.office-map-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 26px
}

.office-map-section .section-head p i {
  color: var(--orange);
  margin-right: 6px
}

.btn-success {
  background: #25d366;
  color: #fff;
  border-color: #25d366
}

.btn-success:hover {
  background: #1da851;
  color: #fff
}

@media(max-width:600px) {
  .office-map-wrap iframe {
    height: 320px
  }
}

/* --- Google reviews badge + human-icon avatars + demo CTA --- */
.pt-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 12px 22px;
  border: 1px solid #eadfca;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(13, 27, 62, .06)
}

.pt-google-badge i.fa-google {
  font-size: 22px;
  background: conic-gradient(from -45deg, #ea4335, #fbbc05, #34a853, #4285f4, #ea4335);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

.pt-google-badge b {
  font-size: 20px;
  color: var(--pt-navy)
}

.pt-google-badge .pt-gstars {
  color: #ffb300;
  letter-spacing: 1px;
  margin-left: 4px
}

.pt-google-badge small {
  color: var(--pt-muted);
  border-left: 1px solid #eadfca;
  padding-left: 12px
}

.pt-review-grid article>div:last-child>span i {
  font-size: 18px
}

.pt-review-cta {
  text-align: center;
  margin-top: 38px
}

.pt-review-cta .pt-main-btn {
  font-size: 16px;
  padding: 16px 30px
}

@media(max-width:500px) {
  .pt-google-badge {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center
  }

  .pt-google-badge small {
    border-left: 0;
    padding-left: 0
  }
}

/* --- Hero admission CTA --- */
.pt-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 22px 0 4px
}

.pt-hero-cta .pt-main-btn {
  font-size: 16px;
  padding: 15px 26px
}

.pt-hero-cta>span {
  color: var(--pt-muted);
  font-size: 13px;
  font-weight: 600
}

/* --- Tutor card human-icon avatars (no stock photos) --- */
.pt-tutor-iconwrap {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff3d6, #ffe9c2)
}

.pt-tutor-avatar {
  display: grid;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 30px rgba(6, 42, 98, .12)
}

.pt-tutor-avatar i {
  font-size: 54px;
  color: var(--pt-red)
}
/* ===================================================================
   Locations mega-menu (header nav) — all location pages, region-wise
   Delhi has 30 locality pages + the main Delhi page, so it is split
   across two compact columns on desktop instead of overflowing below.
   =================================================================== */
.nav-wrap { position: relative }

.nav-item { display: flex; align-items: center }

.nav-mega-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #31425b;
  padding: 10px 0;
  line-height: 1
}

.nav-mega-toggle:hover { color: var(--navy) }

.nav-mega-caret { font-size: 11px; transition: transform .3s }

.nav-has-mega.open .nav-mega-caret { transform: rotate(180deg) }

.nav-mega-toggle:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: .3s
}

.nav-has-mega:hover .nav-mega-toggle:after,
.nav-has-mega.open .nav-mega-toggle:after { width: 100% }

.nav-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  margin: 0;
  width: min(1220px, calc(100vw - 32px));
  max-height: calc(100vh - 118px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  background: #fff;
  border: 1px solid rgba(6, 42, 98, .09);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(3, 28, 67, .16);
  padding: 22px 24px;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 1200
}

.nav-mega::-webkit-scrollbar { width: 7px }
.nav-mega::-webkit-scrollbar-thumb { background: rgba(6, 42, 98, .18); border-radius: 20px }

/* invisible bridge so hover doesn't drop in the gap under the toggle */
.nav-mega::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px
}

.nav-has-mega:hover .nav-mega,
.nav-has-mega.open .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0)
}

/* 6 tracks = Delhi takes 2, the remaining 4 regions take 1 each. */
.nav-mega-inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: start;
  gap: 14px 18px
}

.nav-mega-col {
  min-width: 0
}

/* Delhi is the first menu group. Split its 31 links into 2 columns. */
.nav-mega-col:first-child {
  grid-column: span 2;
  padding-right: 4px
}

.nav-mega-col:first-child ul {
  columns: 2;
  column-gap: 12px
}

.nav-mega-col:first-child li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid
}

.nav-mega-col h4 {
  margin: 0 0 9px;
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .55px;
  color: var(--orange);
  padding: 0 7px 8px;
  border-bottom: 1px solid rgba(6, 42, 98, .09)
}

.nav-mega-col ul { list-style: none; margin: 0; padding: 0 }

.nav-mega-col li { margin: 0 }

.nav-mega-col li a {
  display: block;
  padding: 5px 7px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  color: #31425b;
  white-space: normal;
  transition: background .18s, color .18s, transform .18s
}

.nav-mega-col li a:hover {
  background: rgba(245, 164, 0, .12);
  color: var(--navy);
  transform: translateX(2px)
}

/* Tablet: Delhi spans the full row and uses 3 short columns. */
@media(max-width:1100px) {
  .nav-mega {
    width: min(940px, calc(100vw - 24px));
    padding: 20px
  }

  .nav-mega-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px }

  .nav-mega-col:first-child { grid-column: 1 / -1; padding-right: 0 }

  .nav-mega-col:first-child ul { columns: 3; column-gap: 16px }
}

/* Mobile: mega folds inline inside the slide-down nav */
@media(max-width:820px) {
  .nav-item { display: block; width: 100% }

  .nav-mega-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 10px !important;
    font-size: 15px;
    color: #31425b
  }

  .nav-mega-toggle:after { display: none }

  .nav-mega {
    position: static;
    width: auto;
    max-height: min(62vh, 520px);
    overflow-y: auto;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-radius: 10px;
    padding: 4px 8px 10px;
    margin: 0 0 4px;
    background: rgba(6, 42, 98, .03)
  }

  .nav-mega::before { display: none }

  .nav-has-mega.open .nav-mega { display: block; transform: none }

  .nav-mega-inner { grid-template-columns: 1fr 1fr; gap: 4px 14px }

  .nav-mega-col:first-child { grid-column: 1 / -1 }

  .nav-mega-col:first-child ul { columns: 2; column-gap: 14px }

  .nav-mega-col h4 { font-size: 11px; margin: 10px 0 6px; padding-left: 6px }

  .nav-mega-col li a { padding: 7px 6px; font-size: 13px; white-space: normal }
}

@media(max-width:520px) {
  .nav-mega-inner { grid-template-columns: 1fr }
  .nav-mega-col:first-child { grid-column: auto }
  .nav-mega-col:first-child ul { columns: 1 }
}

/* ===================================================================
   Footer "Service Areas" — compact two-column list (balanced footer)
   =================================================================== */
.footer-areas-links {
  column-count: 2;
  column-gap: 26px;
  width: 100%
}

.footer-areas-links a {
  display: block;
  break-inside: avoid
}

/* Give the Service Areas track more room on wide screens so 2 columns fit */
@media(min-width:1051px) {
  .footer-grid {
    grid-template-columns: 1.3fr .85fr 1.9fr .85fr 1.15fr
  }
}

/* Single column on small screens */
@media(max-width:600px) {
  .footer-areas-links { column-count: 1 }
}