:root {
  --ink: #16303c;
  --muted: #60717a;
  --paper: #fffaf2;
  --white: #ffffff;
  --sun: #f5a400;
  --flame: #df5a18;
  --leaf: #3f9a75;
  --blue: #0b6684;
  --line: rgba(22, 48, 60, 0.14);
  --shadow: 0 24px 70px rgba(22, 48, 60, 0.14);
  --soft-shadow: 0 16px 42px rgba(22, 48, 60, 0.11);
  --focus: 0 0 0 4px rgba(245, 164, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(245, 164, 0, 0.18), transparent 25rem),
    radial-gradient(circle at 90% 10%, rgba(63, 154, 117, 0.16), transparent 25rem),
    linear-gradient(180deg, #fffdf8 0%, #f5fbfb 48%, #fffaf2 100%);
  font-family: "Segoe UI", "Noto Sans Gujarati", Arial, sans-serif;
  line-height: 1.55;
}

::selection {
  color: var(--white);
  background: var(--flame);
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
.program-grid article,
.feature-grid article,
.faculty-grid article,
.branch-card,
.resource-link,
.notice,
.hero-panel,
.hero-proof span,
.hero-result-stack img,
.hero-achievement,
.hero-trust-row {
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease,
    opacity 220ms ease;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: 76px;
  padding: 0.7rem clamp(1rem, 4vw, 4rem);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--flame), var(--sun), var(--leaf), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  animation: headerLine 900ms ease forwards;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 220px;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.brand strong,
.site-footer strong {
  display: block;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1.35rem);
}

.main-nav a {
  position: relative;
  color: #36535e;
  font-weight: 700;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--flame);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.42rem;
  height: 3px;
  background: linear-gradient(90deg, var(--flame), var(--sun));
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-call {
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
}

.header-call:hover,
.header-call:focus-visible {
  transform: translateY(-2px);
  background: var(--flame);
  box-shadow: 0 14px 30px rgba(223, 90, 24, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 5vw, 5rem) 2.5rem;
}

.premium-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(245, 164, 0, 0.22), transparent 21rem),
    radial-gradient(circle at 86% 18%, rgba(63, 154, 117, 0.18), transparent 25rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(245, 251, 251, 0.76));
}

.premium-hero::before {
  content: "";
  position: absolute;
  inset: 6rem auto auto 44%;
  width: min(42vw, 36rem);
  height: min(42vw, 36rem);
  background:
    linear-gradient(90deg, rgba(22, 48, 60, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(22, 48, 60, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(circle, #000, transparent 68%);
  pointer-events: none;
}

.premium-hero::after {
  content: "";
  position: absolute;
  right: -8rem;
  bottom: -10rem;
  width: 30rem;
  height: 30rem;
  background: linear-gradient(135deg, rgba(223, 90, 24, 0.16), rgba(245, 164, 0, 0.2));
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  animation: riseIn 700ms ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 0 0 1.1rem;
  padding: 0.45rem 0.8rem;
  color: #7f350e;
  background: linear-gradient(90deg, #fff1c9, #fffaf2);
  border: 1px solid rgba(245, 164, 0, 0.42);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(245, 164, 0, 0.16);
  font-size: 0.85rem;
  font-weight: 900;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.75rem;
  color: var(--flame);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 0.25rem;
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.82;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--ink) 0%, var(--blue) 48%, var(--flame) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 40px rgba(22, 48, 60, 0.12);
}

.hero-gujarati {
  margin-bottom: 1.2rem;
  color: var(--blue);
  font-size: clamp(1.7rem, 5vw, 3.2rem);
  font-weight: 900;
}

.hero-text {
  max-width: 690px;
  color: #3d5862;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.35rem 0 0;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.45rem 0.72rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(22, 48, 60, 0.07);
  font-size: 0.9rem;
  font-weight: 900;
}

.hero-proof span:hover {
  transform: translateY(-2px);
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-trust-row {
  display: grid;
  gap: 0.2rem;
  max-width: 590px;
  margin-top: 1.4rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(63, 154, 117, 0.22);
  border-left: 5px solid var(--leaf);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(22, 48, 60, 0.08);
}

.hero-trust-row strong {
  color: var(--ink);
}

.hero-trust-row span {
  color: var(--muted);
  font-weight: 700;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.38) 46%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--soft-shadow);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateX(120%);
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--flame), #b83916);
  box-shadow: 0 14px 28px rgba(223, 90, 24, 0.24);
}

.btn.secondary,
.map-link {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.hero-panel {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2rem);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 250, 242, 0.97)),
    radial-gradient(circle at 20% 10%, rgba(245, 164, 0, 0.22), transparent 13rem),
    repeating-linear-gradient(135deg, transparent 0 10px, rgba(11, 102, 132, 0.05) 10px 11px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 8px;
  box-shadow: 0 32px 90px rgba(22, 48, 60, 0.2);
  animation: floatIn 800ms 120ms ease both;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border: 1px solid rgba(245, 164, 0, 0.24);
  border-radius: 8px;
  pointer-events: none;
}

.hero-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(22, 48, 60, 0.18);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -12px 28px auto auto;
  width: 8rem;
  height: 8rem;
  background: var(--sun);
  clip-path: polygon(50% 0, 61% 33%, 95% 20%, 75% 50%, 95% 80%, 61% 67%, 50% 100%, 39% 67%, 5% 80%, 25% 50%, 5% 20%, 39% 33%);
  opacity: 0.22;
  animation: slowSpin 18s linear infinite;
}

.hero-logo {
  width: min(190px, 46%);
  margin: 0;
  filter: drop-shadow(0 18px 26px rgba(22, 48, 60, 0.13));
}

.hero-visual-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-achievement {
  display: grid;
  gap: 0.25rem;
  max-width: 180px;
  padding: 0.9rem;
  color: var(--white);
  background: linear-gradient(145deg, var(--ink), var(--blue));
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(22, 48, 60, 0.18);
}

.hero-achievement span {
  color: #fbd68a;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-achievement strong {
  font-size: 1.1rem;
  line-height: 1.15;
}

.hero-result-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.75rem;
  margin: 1rem 0;
}

.hero-result-stack img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: top;
  background: #eaf7fb;
  border: 4px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(22, 48, 60, 0.16);
}

.hero-result-stack img:first-child {
  grid-row: span 2;
  height: 352px;
}

.hero-result-stack img:hover {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 24px 54px rgba(22, 48, 60, 0.22);
}

.hero-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
}

.hero-card span {
  color: #fbd68a;
  font-weight: 900;
  text-transform: uppercase;
}

.metric-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.metric-grid article {
  min-height: 105px;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 90, 24, 0.28);
  box-shadow: var(--soft-shadow);
}

.metric-grid strong {
  display: block;
  color: var(--flame);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.quick-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(1rem, 5vw, 5rem) 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.quick-bar a,
.quick-bar span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0.8rem;
  background: var(--white);
  color: #284752;
  font-weight: 800;
  text-align: center;
}

.quick-bar a:hover,
.quick-bar a:focus-visible {
  color: var(--white);
  background: var(--blue);
}

.section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.split,
.student-section,
.inquiry-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1.02;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.section p {
  color: #536973;
}

.program-grid,
.feature-grid,
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.program-grid article,
.feature-grid article,
.faculty-grid article,
.student-panel,
.inquiry-form,
.map-card,
.notice,
.resource-link {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(22, 48, 60, 0.08);
}

.program-grid article,
.feature-grid article,
.faculty-grid article {
  position: relative;
  overflow: hidden;
  min-height: 165px;
  padding: 1.2rem;
}

.program-grid article::after,
.feature-grid article::after,
.faculty-grid article::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0;
  height: 4px;
  background: linear-gradient(90deg, var(--flame), var(--sun), var(--leaf));
  border-radius: 999px 999px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.program-grid article:hover,
.program-grid article:focus-within,
.faculty-grid article:hover,
.faculty-grid article:focus-within,
.notice:hover,
.resource-link:hover {
  transform: translateY(-6px);
  border-color: rgba(63, 154, 117, 0.28);
  box-shadow: 0 20px 48px rgba(22, 48, 60, 0.13);
}

.program-grid article:hover::after,
.feature-grid article:hover::after,
.faculty-grid article:hover::after {
  transform: scaleX(1);
}

.program-grid span {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-weight: 900;
}

.program-grid article:hover span {
  background: var(--flame);
  transform: rotate(-8deg) scale(1.08);
}

.feature-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(22, 48, 60, 0.96), rgba(11, 102, 132, 0.94)),
    linear-gradient(90deg, var(--ink), var(--blue));
}

.feature-band p,
.feature-band .section-kicker {
  color: #f9d77f;
}

.feature-grid article {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.feature-grid article:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.feature-grid article p {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 500px;
}

.result-heading {
  align-items: center;
}

.result-mini-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.result-mini-stats span {
  display: grid;
  min-width: 120px;
  min-height: 64px;
  place-items: center;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(245, 164, 0, 0.32);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(22, 48, 60, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.result-mini-stats strong {
  display: block;
  color: var(--flame);
  font-size: 1.15rem;
  line-height: 1;
}

.slider-controls {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.icon-btn:hover,
.icon-btn:focus-visible {
  color: var(--white);
  background: var(--flame);
  border-color: var(--flame);
  transform: translateY(-2px) scale(1.03);
}

.result-slider {
  position: relative;
  overflow: hidden;
  padding: clamp(0.85rem, 2vw, 1.35rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 15% 20%, rgba(245, 164, 0, 0.28), transparent 20rem),
    radial-gradient(circle at 84% 8%, rgba(63, 154, 117, 0.22), transparent 24rem),
    linear-gradient(145deg, #112d3a 0%, #0b6684 56%, #18323d 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.result-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-100%);
  animation: sliderGlow 5s ease-in-out infinite;
  pointer-events: none;
}

.result-slider::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  pointer-events: none;
}

.result-ribbon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: linear-gradient(90deg, rgba(223, 90, 24, 0.96), rgba(245, 164, 0, 0.92));
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  font-weight: 900;
}

.result-ribbon span:last-child {
  color: #fff8df;
}

.slides {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: min(76vw, 760px);
  transition: transform 720ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: transform;
}

.slide {
  position: relative;
  flex: 0 0 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.8rem;
  margin: 0;
  padding: 0.2rem clamp(0.2rem, 1vw, 0.9rem);
  opacity: 0.42;
  transform: scale(0.965);
  transition: opacity 520ms ease, transform 520ms ease, filter 520ms ease;
  filter: saturate(0.82);
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1.04);
}

.slide img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: contain;
  background:
    linear-gradient(#eaf7fb, #eaf7fb) padding-box,
    linear-gradient(135deg, #fff6d1, var(--sun), var(--flame), var(--leaf)) border-box;
  border: 6px solid transparent;
  border-radius: 8px;
  box-shadow:
    0 26px 60px rgba(0, 0, 0, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.slide figcaption {
  justify-self: center;
  min-width: min(520px, 92%);
  padding: 0.75rem 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
  font-weight: 900;
  text-align: center;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.slider-dots button {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease, transform 220ms ease;
}

.slider-dots button.is-active {
  width: 54px;
  background: var(--sun);
}

.slider-dots button:hover {
  transform: scaleY(1.35);
  background: rgba(255, 255, 255, 0.72);
}

.faculty-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(245, 164, 0, 0.16), transparent 18rem),
    radial-gradient(circle at 88% 24%, rgba(11, 102, 132, 0.12), transparent 22rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(244, 251, 251, 0.9));
}

.faculty-section::before {
  content: "";
  position: absolute;
  inset: 2rem clamp(1rem, 5vw, 5rem) auto auto;
  width: 9rem;
  height: 9rem;
  background:
    linear-gradient(90deg, rgba(22, 48, 60, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(22, 48, 60, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle, #000, transparent 68%);
  pointer-events: none;
}

.faculty-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.faculty-grid article {
  display: grid;
  align-content: start;
  min-height: 248px;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.9)),
    linear-gradient(135deg, rgba(245, 164, 0, 0.16), transparent);
}

.faculty-grid article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 164, 0, 0.14), transparent 38%, rgba(63, 154, 117, 0.12));
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.faculty-grid article:hover::before {
  opacity: 1;
}

.faculty-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.faculty-avatar {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--ink), var(--blue));
  border: 3px solid rgba(245, 164, 0, 0.32);
  border-radius: 50%;
  box-shadow: 0 12px 24px rgba(22, 48, 60, 0.15);
  font-size: 0.95rem;
  font-weight: 900;
}

.faculty-subject {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.65rem;
  color: #85400f;
  background: #fff1c9;
  border: 1px solid rgba(245, 164, 0, 0.42);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: right;
}

.faculty-grid strong,
.faculty-grid p {
  position: relative;
  z-index: 1;
}

.faculty-grid strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 1.12rem;
  line-height: 1.22;
}

.faculty-grid p {
  margin-bottom: 0;
  color: #5b717b;
  font-size: 0.95rem;
}

.faculty-grid article:hover .faculty-avatar {
  transform: rotate(-6deg) scale(1.06);
  background: linear-gradient(135deg, var(--flame), var(--sun));
}

.faculty-note {
  background:
    linear-gradient(145deg, rgba(22, 48, 60, 0.96), rgba(11, 102, 132, 0.92)) !important;
  color: var(--white);
}

.faculty-note strong,
.faculty-note p {
  color: var(--white);
}

.faculty-note p {
  opacity: 0.82;
}

.student-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(245, 164, 0, 0.18), transparent 20rem),
    radial-gradient(circle at 88% 28%, rgba(11, 102, 132, 0.14), transparent 23rem),
    linear-gradient(180deg, rgba(63, 154, 117, 0.08), rgba(255, 255, 255, 0));
}

.student-section::before {
  content: "";
  position: absolute;
  inset: 3rem auto auto clamp(1rem, 5vw, 5rem);
  width: 11rem;
  height: 11rem;
  background: linear-gradient(135deg, rgba(223, 90, 24, 0.14), rgba(245, 164, 0, 0.2));
  clip-path: polygon(50% 0, 62% 36%, 100% 36%, 69% 58%, 81% 96%, 50% 72%, 19% 96%, 31% 58%, 0 36%, 38% 36%);
  animation: slowSpin 24s linear infinite;
  pointer-events: none;
}

.student-copy,
.student-panel {
  position: relative;
  z-index: 1;
}

.student-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.student-highlights article {
  min-height: 112px;
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(145deg, var(--ink), var(--blue));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.student-highlights strong {
  display: block;
  color: #fbd68a;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.student-highlights span {
  font-weight: 900;
}

.student-panel {
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 253, 253, 0.92)),
    linear-gradient(135deg, rgba(245, 164, 0, 0.14), transparent);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(22, 48, 60, 0.16);
}

.student-panel::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--flame), var(--sun), var(--leaf), var(--blue));
}

.student-panel-header {
  display: grid;
  grid-template-columns: 1fr minmax(190px, 0.42fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, rgba(22, 48, 60, 0.96), rgba(11, 102, 132, 0.92));
}

.student-panel-header span,
.timer-card span,
.countdown-card span,
.smart-tip span {
  display: block;
  color: #fbd68a;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.student-panel-header strong {
  display: block;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.study-selector {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.85rem;
}

.study-selector select {
  min-height: 44px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
}

.inquiry-form {
  padding: 1rem;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin: 1rem;
  padding: 0.35rem;
  background: #eef6f6;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.tab {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfb;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.tab:hover,
.tab:focus-visible {
  border-color: rgba(63, 154, 117, 0.4);
  transform: translateY(-2px);
}

.tab.is-active {
  color: var(--white);
  background: var(--leaf);
}

.tab-panel {
  display: none;
  padding: 0 1rem 1rem;
}

.tab-panel.is-active {
  display: grid;
  gap: 0.75rem;
  animation: riseIn 220ms ease both;
}

.notice,
.resource-link {
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
}

.notice strong {
  color: var(--blue);
}

.announcement-strip {
  display: flex;
  gap: 0.8rem;
  overflow: hidden;
  padding: 0.75rem;
  color: var(--white);
  background: linear-gradient(90deg, var(--flame), var(--sun));
  border-radius: 8px;
  font-weight: 900;
}

.announcement-strip span {
  flex: 0 0 auto;
  animation: tickerMove 10s linear infinite;
}

.student-card-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.notice.priority {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 224, 0.96)),
    linear-gradient(135deg, rgba(245, 164, 0, 0.2), transparent);
  border-color: rgba(245, 164, 0, 0.42);
}

.smart-tip {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, rgba(22, 48, 60, 0.96), rgba(63, 154, 117, 0.88));
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
}

.smart-tip strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-link {
  min-height: 108px;
  align-content: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 253, 253, 0.92));
  font-weight: 900;
}

.resource-link strong,
.resource-link span {
  display: block;
}

.resource-link strong {
  color: var(--blue);
  font-size: 1.05rem;
}

.resource-link span {
  color: var(--muted);
  font-size: 0.9rem;
}

.planner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.52fr);
  gap: 1rem;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  padding: 0.75rem;
  background: #fffaf2;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.check-row:hover {
  border-color: rgba(245, 164, 0, 0.48);
  background: #fff5df;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  margin: 0;
  flex: 0 0 18px;
  accent-color: var(--leaf);
}

.progress-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 30%, rgba(245, 164, 0, 0.16), transparent 9rem),
    linear-gradient(180deg, #ffffff, #fffaf2);
  border: 1px solid rgba(245, 164, 0, 0.28);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(22, 48, 60, 0.08);
  text-align: center;
}

.progress-ring {
  display: grid;
  width: 138px;
  height: 138px;
  place-items: center;
  background: conic-gradient(var(--leaf) var(--progress-angle, 0deg), #e3eef1 0);
  border-radius: 50%;
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.74);
}

.progress-ring span {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  border-radius: 50%;
  font-size: 1.7rem;
  font-weight: 900;
}

.progress-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.progress-wrap {
  display: grid;
  width: 100%;
  gap: 0.5rem;
  margin-top: 0.6rem;
  font-weight: 900;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  background: #e3eef1;
  border-radius: 999px;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--flame), var(--sun), var(--leaf));
  transition: width 220ms ease;
}

.focus-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.countdown-card,
.timer-card,
.notes-card {
  display: grid;
  gap: 0.6rem;
  min-height: 190px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(22, 48, 60, 0.08);
}

.countdown-card {
  color: var(--white);
  background: linear-gradient(145deg, rgba(223, 90, 24, 0.94), rgba(245, 164, 0, 0.92));
}

.countdown-card strong,
.timer-card strong {
  font-size: clamp(2.7rem, 7vw, 4rem);
  line-height: 1;
}

.countdown-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
}

.timer-card {
  color: var(--white);
  background: linear-gradient(145deg, rgba(22, 48, 60, 0.97), rgba(11, 102, 132, 0.93));
}

.timer-actions {
  display: flex;
  gap: 0.55rem;
}

.mini-btn {
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.mini-btn:hover,
.mini-btn:focus-visible {
  transform: translateY(-2px);
  background: #fbd68a;
}

.notes-card {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
}

.notes-card textarea {
  margin-top: 0.2rem;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.branch-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 1rem;
}

.branch-list {
  display: grid;
  gap: 0.75rem;
}

.branch-card {
  min-height: 116px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.branch-card:hover,
.branch-card:focus-visible {
  transform: translateX(6px);
  border-color: rgba(11, 102, 132, 0.28);
  box-shadow: var(--soft-shadow);
}

.branch-card strong,
.branch-card span {
  display: block;
}

.branch-card strong {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.branch-card span {
  color: var(--muted);
}

.branch-card.is-active {
  color: var(--white);
  background: var(--ink);
}

.branch-card.is-active span {
  color: rgba(255, 255, 255, 0.78);
}

.map-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(245, 164, 0, 0.28);
  border-radius: 8px;
  pointer-events: none;
}

.map-card iframe {
  width: 100%;
  height: 370px;
  border: 0;
}

.map-link {
  margin: 1rem;
}

.inquiry-section {
  align-items: center;
}

.contact-stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.contact-stack a {
  width: fit-content;
  color: var(--blue);
  font-weight: 900;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  color: #334f5a;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.85rem;
  color: var(--ink);
  background: #fbfefe;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: var(--focus);
}

.form-status {
  min-height: 1.5rem;
  margin: 0.8rem 0 0;
  color: var(--leaf);
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 5rem);
  color: var(--white);
  background: var(--ink);
}

.site-footer > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-footer img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
}

.site-footer a {
  color: #fbd68a;
  font-weight: 900;
}

.wa-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.wa-toggle {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: #128c54;
  box-shadow: 0 14px 34px rgba(18, 140, 84, 0.34);
  font-weight: 900;
  cursor: pointer;
  animation: pulseWa 2.4s ease-in-out infinite;
}

.wa-toggle:hover,
.wa-toggle:focus-visible {
  transform: translateY(-4px) scale(1.04);
  background: #0f7748;
}

.wa-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(310px, calc(100vw - 2rem));
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: riseIn 180ms ease both;
}

.wa-panel p {
  color: var(--muted);
}

.wa-panel button {
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3fbf7;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  text-align: left;
}

.wa-panel button:hover,
.wa-panel button:focus-visible {
  color: var(--white);
  background: #128c54;
  transform: translateX(-3px);
}

@keyframes headerLine {
  to {
    transform: scaleX(1);
  }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sliderGlow {
  0%,
  55% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes pulseWa {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(18, 140, 84, 0.34);
  }
  50% {
    box-shadow: 0 14px 34px rgba(18, 140, 84, 0.34), 0 0 0 12px rgba(18, 140, 84, 0.12);
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.7rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.7rem;
  }

  .header-call {
    display: none;
  }

  .hero,
  .split,
  .student-section,
  .inquiry-section,
  .branch-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .premium-hero::before {
    inset: 4rem 0 auto auto;
    width: 24rem;
    height: 24rem;
  }

  .faculty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .student-panel-header,
  .planner-layout {
    grid-template-columns: 1fr;
  }

  .student-card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 0.8rem;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .quick-bar,
  .program-grid,
  .feature-grid,
  .faculty-grid,
  .student-highlights,
  .resource-grid,
  .focus-layout,
  .form-row,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    gap: 0.45rem;
  }

  .hero-proof span {
    min-height: 34px;
    font-size: 0.82rem;
  }

  .hero-visual-top {
    align-items: start;
  }

  .hero-logo {
    width: min(150px, 48%);
  }

  .hero-result-stack {
    grid-template-columns: 1fr;
  }

  .hero-result-stack img,
  .hero-result-stack img:first-child {
    grid-row: auto;
    height: auto;
    max-height: 430px;
    object-fit: contain;
  }

  .tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab {
    min-height: 46px;
  }

  .announcement-strip span {
    animation-duration: 8s;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .slides {
    min-height: 115vw;
  }

  .map-card,
  .map-card iframe {
    min-height: 360px;
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
