:root {
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-soft: #e6f4f2;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --ink: #0f172a;
  --muted: #64748b;
  --bg-soft: #f1f5f9;
  --navy: #0b1324;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px; /* navbar height */
}

/* The companion walks off-screen; don't let it create a horizontal scrollbar */
html,
body {
  overflow-x: clip;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  padding-top: 64px;
}

/* Buttons */
.btn-brand {
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-color: #111;
  --bs-btn-hover-bg: var(--accent-dark);
  --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-hover-color: #111;
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
  font-weight: 600;
}

.btn-outline-brand {
  --bs-btn-color: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  font-weight: 500;
}

/* Navbar */
.navbar {
  background: rgba(11, 19, 36, 0.92);
  backdrop-filter: blur(8px);
  min-height: 64px;
}

/* Vedantu logo (transparent PNG) as the navbar brand */
.brand-logo {
  height: 32px;
  width: auto;
}

.navbar .nav-link.active {
  color: var(--accent) !important;
}

/* Hero */
.hero {
  min-height: calc(100vh - 64px);
  padding: 64px 0 96px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(15, 118, 110, 0.5), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(245, 158, 11, 0.18), transparent 40%),
    linear-gradient(135deg, #0b1324, #1e293b);
}

.hero h1 span {
  color: var(--accent);
}

.hero .lead {
  color: #cbd5e1;
  max-width: 560px;
}

/* "Claim scholarship" pill under the hero buttons */
.scholarship-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid rgba(245, 158, 11, 0.6);
  border-radius: 999px;
  font-weight: 600;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.12);
  text-decoration: none;
  transition: background 0.2s ease;
}

.scholarship-link:hover {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.24);
}

.hero-role {
  font-size: 1.15rem;
  font-weight: 500;
  color: #2dd4bf;
}

.hero-card {
  padding: 2rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.avatar {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, var(--accent), #f97316);
}

img.avatar {
  border: 3px solid var(--accent);
}

.hero-list li {
  display: flex;
  gap: 0.6rem;
  padding: 0.45rem 0;
  color: #e2e8f0;
}

.hero-list i {
  color: #2dd4bf;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-kicker {
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-title {
  font-weight: 700;
}

/* About tiles */
.info-tile {
  height: 100%;
  padding: 1.4rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.info-tile i {
  font-size: 1.6rem;
  color: var(--brand);
}

.info-tile h6 {
  margin: 0.75rem 0 0.35rem;
  font-weight: 600;
}

.info-tile p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* About gallery */
.gallery-item {
  position: relative;
  height: 380px;
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.5rem 1rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(transparent, rgba(11, 19, 36, 0.85));
}

/* Courses */
.filter-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.4rem 1rem;
}

.filter-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.course-card {
  height: 100%;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.btn-enquire {
  --bs-btn-color: var(--accent-dark);
  --bs-btn-hover-color: var(--brand);
  --bs-btn-active-color: var(--brand);
  font-weight: 600;
}

.course-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  color: var(--brand);
  background: var(--brand-soft);
}

.course-for {
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 500;
}

.course-card ul {
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
  flex-grow: 1;
}

/* Process steps */
.step {
  height: 100%;
  padding: 1.6rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
}

.step h6 {
  margin: 1rem 0 0.4rem;
  font-weight: 600;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Contact */
/* Visiting card beside the form: top edge level with the form, centred across */
.visiting-card-wrap {
  display: flex;
  justify-content: center;
}

.visiting-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.visiting-card img {
  width: 260px;
  border-radius: 0.75rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease;
}

.visiting-card:hover img {
  transform: scale(1.04);
}

.visiting-card span {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.visiting-card:hover span {
  color: var(--brand);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-card {
  padding: 2rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.2);
}

/* Footer: brand, centre address and map */
.site-footer {
  padding: 56px 0 24px;
  background: var(--navy);
  color: #cbd5e1;
}

.footer-logo {
  height: 30px;
  width: auto;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.25rem 0;
}

.footer-contact i {
  color: var(--accent);
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-title {
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.site-footer .map-embed {
  height: 180px;
  border-radius: 0.75rem;
  overflow: hidden;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  opacity: 0.75;
}

@media (max-width: 575.98px) {
  .section {
    padding: 48px 0;
  }

  .hero-card,
  .contact-card {
    padding: 1.4rem;
  }

  .gallery-item {
    height: 320px;
  }

  /* Keep the last footer lines clear of the floating chat + WhatsApp buttons */
  .site-footer {
    padding-bottom: 160px;
  }
}
