:root {
  --navy: #08295a;
  --navy-2: #0d3b7a;
  --gold: #c99520;
  --gold-light: #e7c66b;
  --ink: #13213a;
  --muted: #61708a;
  --white: #ffffff;
  --soft: #f5f8fc;
  --line: #e5eaf2;
  --shadow: 0 18px 50px rgba(8, 41, 90, 0.10);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  animation: pageEntrance 0.8s ease both;
}

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

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

.container {
  width: min(1160px, 92%);
  margin: auto;
}

/* =========================
   TOP BAR
========================= */

.topbar {
  background: var(--navy);
  color: white;
  font-size: 0.88rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
}

.topbar a {
  color: white;
}

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
}

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

.brand span {
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.navlinks a {
  position: relative;
  padding: 8px 0;
  transition: 0.25s ease;
}

.navlinks a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navlinks a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 21px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 140%;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8, 41, 90, 0.18);
}

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

.btn-primary:hover {
  background: var(--navy-2);
}

.btn-gold {
  background: var(--gold);
  color: white;
}

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

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(201, 149, 32, 0.17),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #f7faff 0%,
      #ffffff 52%,
      #f6f8fb 100%
    );
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: rgba(201, 149, 32, 0.09);
  filter: blur(10px);
  animation: heroGlow 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  left: -170px;
  bottom: -170px;
  border-radius: 50%;
  background: rgba(8, 41, 90, 0.07);
  animation: heroGlowTwo 10s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  animation: goldReveal 0.9s ease 0.25s both;
}

h1 {
  margin: 17px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1.03;
}

h1 em {
  color: var(--gold);
  font-style: normal;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero .kicker {
  animation: revealUp 0.8s ease 0.1s both;
}

.hero h1 {
  animation: revealUp 1s ease 0.2s both;
}

.hero .lead {
  animation: revealUp 0.9s ease 0.35s both;
}

.hero-actions {
  animation: revealUp 0.9s ease 0.5s both;
}

.hero-logo {
  max-width: 430px;
  margin-left: auto;
  padding: 26px;
  background: white;
  border: 1px solid rgba(201, 149, 32, 0.35);
  border-radius: 34px;
  box-shadow: var(--shadow);
  animation:
    logoEntrance 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both,
    logoFloat 6s ease-in-out 1.4s infinite;
}

.hero-logo img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.6s ease;
}

.hero-logo:hover img {
  transform: scale(1.025);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 78px 0;
}

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

.section-head {
  max-width: 730px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 10px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
}

/* =========================
   CARDS
========================= */

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

.card,
.info,
.college-profile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(8, 41, 90, 0.05);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.card {
  padding: 28px;
}

.card:hover,
.info:hover,
.college-profile:hover {
  transform: translateY(-9px);
  border-color: rgba(201, 149, 32, 0.35);
  box-shadow: 0 22px 55px rgba(8, 41, 90, 0.13);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 14px;
  background: #eef4fb;
  color: var(--navy);
  font-size: 1.35rem;
  transition: 0.35s ease;
}

.card:hover .icon {
  transform: translateY(-4px) rotate(-4deg) scale(1.08);
  background: rgba(201, 149, 32, 0.13);
}

.card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 1.25rem;
}

.card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.link {
  color: var(--gold);
  font-weight: 800;
}

/* =========================
   FEATURE
========================= */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.panel {
  padding: 34px;
  color: white;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.panel p {
  color: #d9e4f5;
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.check {
  display: flex;
  gap: 10px;
}

.check b {
  color: var(--gold-light);
}

/* =========================
   INFORMATION
========================= */

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

.info {
  padding: 23px;
}

.info strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}

/* =========================
   CTA
========================= */

.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  color: white;
  background: linear-gradient(135deg, var(--navy), #10447f);
  border-radius: 28px;
  transition: 0.35s ease;
}

.cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 65px rgba(8, 41, 90, 0.22);
}

.cta::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: ctaPulse 6s ease-in-out infinite;
}

.cta h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
}

.cta p {
  margin: 0;
  color: #d8e4f5;
}

/* =========================
   PAGE HERO
========================= */

.page-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #f6f9fd, #fff);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* =========================
   COLLEGE DIRECTORY
========================= */

.college-search {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  margin-bottom: 32px;
}

.college-search input,
.college-search select {
  margin-bottom: 0;
  background: white;
}

.college-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.college-profile {
  position: relative;
  overflow: hidden;
}

.college-profile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.35s ease;
}

.college-profile:hover::before {
  height: 100%;
}

.college-image {
  height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #174f91);
}

.college-placeholder {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 2.2rem;
  transition: 0.6s ease;
}

.college-profile:hover .college-placeholder {
  transform: scale(1.12) rotate(3deg);
}

.college-content {
  padding: 25px;
}

.college-content h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.college-content p {
  color: var(--muted);
}

.college-location {
  font-weight: 700;
}

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--navy);
  background: #eef4fb;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.no-results {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}

/* =========================
   CONTACT
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

form {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(8, 41, 90, 0.05);
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 16px;
  border: 1px solid #d7dfeb;
  border-radius: 12px;
  outline: none;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 149, 32, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* =========================
   SOCIAL
========================= */

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social {
  padding: 13px 16px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 750;
  transition: 0.25s ease;
}

.social:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(8, 41, 90, 0.1);
}

/* =========================
   FOOTER
========================= */

.footer {
  padding: 55px 0 25px;
  color: #d7e2f3;
  background: #071f44;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  gap: 45px;
}

.footer h3 {
  margin-top: 0;
  color: white;
}

.footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  padding: 14px 18px;
  color: white;
  background: #168a45;
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  animation: whatsappIn 0.8s ease 1.2s both;
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.03);
}

/* =========================
   SCROLL REVEAL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(45px) scale(0.98);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =========================
   ANIMATION KEYFRAMES
========================= */

@keyframes pageEntrance {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.9) rotate(2deg);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes goldReveal {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes heroGlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-25px, 30px) scale(1.08);
  }
}

@keyframes heroGlowTwo {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(35px, -25px);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes whatsappIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .navlinks {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .navlinks.open {
    display: flex;
  }

  .menu {
    display: block;
  }

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

  .hero-logo {
    margin: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .college-directory {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {

  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .hero {
    padding-top: 55px;
  }

  .section {
    padding: 58px 0;
  }

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

  .brand img {
    width: 46px;
    height: 46px;
  }

  .college-search {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}
/* =========================================================
   MD / MS FEE DIRECTORY
========================================================= */

.college-title-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  margin-bottom: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(8, 41, 90, 0.07);
}

.college-title-card h2 {
  margin: 5px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
}

.college-title-card p {
  margin: 0;
  color: var(--muted);
}

.college-title-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 18px;
  font-size: 1.8rem;
}


/* =========================
   FEE CONTROLS
========================= */

.fee-controls {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  margin-bottom: 25px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.fee-controls input,
.fee-controls select {
  margin-bottom: 0;
}


/* =========================
   FEE TABLE
========================= */

.fee-table-wrapper {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(8, 41, 90, 0.07);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.fee-table th {
  padding: 17px 18px;
  color: white;
  background: var(--navy);
  text-align: left;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.fee-table th:first-child {
  border-radius: 19px 0 0 0;
}

.fee-table th:last-child {
  border-radius: 0 19px 0 0;
}

.fee-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.fee-table tbody tr {
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.fee-table tbody tr:hover {
  background: #fbfcfe;
}

.fee-table tbody tr:last-child td {
  border-bottom: 0;
}

.fee-table td:nth-child(2),
.fee-table td:nth-child(3) {
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.table-whatsapp {
  display: inline-flex;
  padding: 8px 13px;
  color: white;
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.table-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 149, 32, 0.25);
}


/* =========================
   MOBILE FEE CARDS
========================= */

.fee-mobile {
  display: none;
}

.fee-mobile-card {
  margin-bottom: 15px;
  padding: 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(8, 41, 90, 0.06);
}

.fee-mobile-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
}

.fee-mobile-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.fee-mobile-row:last-of-type {
  border-bottom: 0;
}

.fee-mobile-row span:first-child {
  color: var(--muted);
}

.fee-mobile-row span:last-child {
  color: var(--navy);
  font-weight: 800;
  text-align: right;
}

.fee-mobile-card .table-whatsapp {
  width: 100%;
  justify-content: center;
  margin-top: 15px;
}


/* =========================
   DISCLAIMER
========================= */

.fee-disclaimer {
  margin-top: 25px;
  padding: 20px 22px;
  color: #5e4b1e;
  background: #fffaf0;
  border: 1px solid #ead7a4;
  border-left: 4px solid var(--gold);
  border-radius: 14px;
}

.fee-disclaimer strong {
  color: var(--navy);
}

.fee-disclaimer p {
  margin: 6px 0 0;
  font-size: 0.88rem;
}


/* =========================
   ACTIVE NAVIGATION
========================= */

.navlinks a.active {
  color: var(--gold);
}

.navlinks a.active::after {
  transform: scaleX(1);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .fee-controls {
    grid-template-columns: 1fr;
  }

  .fee-table-wrapper {
    display: none;
  }

  .fee-mobile {
    display: block;
  }

  .college-title-card {
    align-items: flex-start;
  }

  .college-title-icon {
    width: 52px;
    height: 52px;
  }

}
:root {
  --navy: #08295a;
  --navy-2: #0d3b7a;
  --gold: #c99520;
  --gold-light: #e7c66b;
  --ink: #13213a;
  --muted: #61708a;
  --white: #ffffff;
  --soft: #f5f8fc;
  --line: #e5eaf2;
  --shadow: 0 18px 50px rgba(8, 41, 90, 0.10);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  animation: pageEntrance 0.8s ease both;
}

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

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

.container {
  width: min(1160px, 92%);
  margin: auto;
}

/* =========================
   TOP BAR
========================= */

.topbar {
  background: var(--navy);
  color: white;
  font-size: 0.88rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px 0;
}

.topbar a {
  color: white;
}

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
}

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

.brand span {
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 700;
}

.navlinks a {
  position: relative;
  padding: 8px 0;
  transition: 0.25s ease;
}

.navlinks a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navlinks a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 1.6rem;
  cursor: pointer;
}

/* =========================
   BUTTONS
========================= */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 21px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 140%;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(8, 41, 90, 0.18);
}

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

.btn-primary:hover {
  background: var(--navy-2);
}

.btn-gold {
  background: var(--gold);
  color: white;
}

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

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(201, 149, 32, 0.17),
      transparent 28%
    ),
    linear-gradient(
      135deg,
      #f7faff 0%,
      #ffffff 52%,
      #f6f8fb 100%
    );
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -220px;
  border-radius: 50%;
  background: rgba(201, 149, 32, 0.09);
  filter: blur(10px);
  animation: heroGlow 8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  left: -170px;
  bottom: -170px;
  border-radius: 50%;
  background: rgba(8, 41, 90, 0.07);
  animation: heroGlowTwo 10s ease-in-out infinite;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  animation: goldReveal 0.9s ease 0.25s both;
}

h1 {
  margin: 17px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1.03;
}

h1 em {
  color: var(--gold);
  font-style: normal;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero .kicker {
  animation: revealUp 0.8s ease 0.1s both;
}

.hero h1 {
  animation: revealUp 1s ease 0.2s both;
}

.hero .lead {
  animation: revealUp 0.9s ease 0.35s both;
}

.hero-actions {
  animation: revealUp 0.9s ease 0.5s both;
}

.hero-logo {
  max-width: 430px;
  margin-left: auto;
  padding: 26px;
  background: white;
  border: 1px solid rgba(201, 149, 32, 0.35);
  border-radius: 34px;
  box-shadow: var(--shadow);
  animation:
    logoEntrance 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both,
    logoFloat 6s ease-in-out 1.4s infinite;
}

.hero-logo img {
  width: 100%;
  border-radius: 20px;
  transition: transform 0.6s ease;
}

.hero-logo:hover img {
  transform: scale(1.025);
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 78px 0;
}

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

.section-head {
  max-width: 730px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 10px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.section-head p {
  color: var(--muted);
  font-size: 1.03rem;
}

/* =========================
   CARDS
========================= */

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

.card,
.info,
.college-profile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(8, 41, 90, 0.05);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.card {
  padding: 28px;
}

.card:hover,
.info:hover,
.college-profile:hover {
  transform: translateY(-9px);
  border-color: rgba(201, 149, 32, 0.35);
  box-shadow: 0 22px 55px rgba(8, 41, 90, 0.13);
}

.icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 14px;
  background: #eef4fb;
  color: var(--navy);
  font-size: 1.35rem;
  transition: 0.35s ease;
}

.card:hover .icon {
  transform: translateY(-4px) rotate(-4deg) scale(1.08);
  background: rgba(201, 149, 32, 0.13);
}

.card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 1.25rem;
}

.card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.link {
  color: var(--gold);
  font-weight: 800;
}

/* =========================
   FEATURE
========================= */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.panel {
  padding: 34px;
  color: white;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel h3 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.panel p {
  color: #d9e4f5;
}

.checks {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.check {
  display: flex;
  gap: 10px;
}

.check b {
  color: var(--gold-light);
}

/* =========================
   INFORMATION
========================= */

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

.info {
  padding: 23px;
}

.info strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}

/* =========================
   CTA
========================= */

.cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px;
  color: white;
  background: linear-gradient(135deg, var(--navy), #10447f);
  border-radius: 28px;
  transition: 0.35s ease;
}

.cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 65px rgba(8, 41, 90, 0.22);
}

.cta::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -90px;
  top: -100px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: ctaPulse 6s ease-in-out infinite;
}

.cta h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
}

.cta p {
  margin: 0;
  color: #d8e4f5;
}

/* =========================
   PAGE HERO
========================= */

.page-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, #f6f9fd, #fff);
}

.page-hero h1 {
  margin-bottom: 12px;
}

.breadcrumb {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* =========================
   COLLEGE DIRECTORY
========================= */

.college-search {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 14px;
  margin-bottom: 32px;
}

.college-search input,
.college-search select {
  margin-bottom: 0;
  background: white;
}

.college-directory {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.college-profile {
  position: relative;
  overflow: hidden;
}

.college-profile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.35s ease;
}

.college-profile:hover::before {
  height: 100%;
}

.college-image {
  height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), #174f91);
}

.college-placeholder {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 2.2rem;
  transition: 0.6s ease;
}

.college-profile:hover .college-placeholder {
  transform: scale(1.12) rotate(3deg);
}

.college-content {
  padding: 25px;
}

.college-content h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.college-content p {
  color: var(--muted);
}

.college-location {
  font-weight: 700;
}

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  color: var(--navy);
  background: #eef4fb;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.no-results {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}

/* =========================
   CONTACT
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-item {
  padding: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.contact-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

form {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(8, 41, 90, 0.05);
}

label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy);
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 16px;
  border: 1px solid #d7dfeb;
  border-radius: 12px;
  outline: none;
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 149, 32, 0.12);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* =========================
   SOCIAL
========================= */

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.social {
  padding: 13px 16px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-weight: 750;
  transition: 0.25s ease;
}

.social:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(8, 41, 90, 0.1);
}

/* =========================
   FOOTER
========================= */

.footer {
  padding: 55px 0 25px;
  color: #d7e2f3;
  background: #071f44;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr;
  gap: 45px;
}

.footer h3 {
  margin-top: 0;
  color: white;
}

.footer a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  padding: 14px 18px;
  color: white;
  background: #168a45;
  border-radius: 999px;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  animation: whatsappIn 0.8s ease 1.2s both;
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.03);
}

/* =========================
   SCROLL REVEAL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(45px) scale(0.98);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* =========================
   ANIMATION KEYFRAMES
========================= */

@keyframes pageEntrance {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.9) rotate(2deg);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes goldReveal {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes heroGlow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-25px, 30px) scale(1.08);
  }
}

@keyframes heroGlowTwo {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(35px, -25px);
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes whatsappIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .navlinks {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-bottom: 1px solid var(--line);
  }

  .navlinks.open {
    display: flex;
  }

  .menu {
    display: block;
  }

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

  .hero-logo {
    margin: auto;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .college-directory {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {

  .topbar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .hero {
    padding-top: 55px;
  }

  .section {
    padding: 58px 0;
  }

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

  .brand img {
    width: 46px;
    height: 46px;
  }

  .college-search {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
  }
}

/* =========================
   ACCESSIBILITY
========================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

}
/* =========================================================
   MD / MS FEE DIRECTORY
========================================================= */

.college-title-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  margin-bottom: 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(8, 41, 90, 0.07);
}

.college-title-card h2 {
  margin: 5px 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
}

.college-title-card p {
  margin: 0;
  color: var(--muted);
}

.college-title-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border-radius: 18px;
  font-size: 1.8rem;
}


/* =========================
   FEE CONTROLS
========================= */

.fee-controls {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  margin-bottom: 25px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.fee-controls input,
.fee-controls select {
  margin-bottom: 0;
}


/* =========================
   FEE TABLE
========================= */

.fee-table-wrapper {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(8, 41, 90, 0.07);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.fee-table th {
  padding: 17px 18px;
  color: white;
  background: var(--navy);
  text-align: left;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.fee-table th:first-child {
  border-radius: 19px 0 0 0;
}

.fee-table th:last-child {
  border-radius: 0 19px 0 0;
}

.fee-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.fee-table tbody tr {
  transition:
    background-color 0.25s ease,
    transform 0.25s ease;
}

.fee-table tbody tr:hover {
  background: #fbfcfe;
}

.fee-table tbody tr:last-child td {
  border-bottom: 0;
}

.fee-table td:nth-child(2),
.fee-table td:nth-child(3) {
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.table-whatsapp {
  display: inline-flex;
  padding: 8px 13px;
  color: white;
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s ease;
}

.table-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(201, 149, 32, 0.25);
}


/* =========================
   MOBILE FEE CARDS
========================= */

.fee-mobile {
  display: none;
}

.fee-mobile-card {
  margin-bottom: 15px;
  padding: 21px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(8, 41, 90, 0.06);
}

.fee-mobile-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
}

.fee-mobile-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.fee-mobile-row:last-of-type {
  border-bottom: 0;
}

.fee-mobile-row span:first-child {
  color: var(--muted);
}

.fee-mobile-row span:last-child {
  color: var(--navy);
  font-weight: 800;
  text-align: right;
}

.fee-mobile-card .table-whatsapp {
  width: 100%;
  justify-content: center;
  margin-top: 15px;
}


/* =========================
   DISCLAIMER
========================= */

.fee-disclaimer {
  margin-top: 25px;
  padding: 20px 22px;
  color: #5e4b1e;
  background: #fffaf0;
  border: 1px solid #ead7a4;
  border-left: 4px solid var(--gold);
  border-radius: 14px;
}

.fee-disclaimer strong {
  color: var(--navy);
}

.fee-disclaimer p {
  margin: 6px 0 0;
  font-size: 0.88rem;
}


/* =========================
   ACTIVE NAVIGATION
========================= */

.navlinks a.active {
  color: var(--gold);
}

.navlinks a.active::after {
  transform: scaleX(1);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

  .fee-controls {
    grid-template-columns: 1fr;
  }

  .fee-table-wrapper {
    display: none;
  }

  .fee-mobile {
    display: block;
  }

  .college-title-card {
    align-items: flex-start;
  }

  .college-title-icon {
    width: 52px;
    height: 52px;
  }

}
/* =========================================
   MD / MS COLLEGE TABLES
========================================= */

.mdms-section {
    padding: 80px 20px;
    background: #ffffff;
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading span {
    color: #c99a2e;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    color: #0b2a5b;
    font-size: 38px;
    margin: 10px 0;
}

.section-heading p {
    color: #666;
}


/* COLLEGE CARD */

.college-fee-card {
    max-width: 1100px;
    margin: 0 auto 45px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;

    border: 1px solid #e5e5e5;

    box-shadow:
        0 10px 35px rgba(11, 42, 91, 0.12);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.college-fee-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px rgba(11, 42, 91, 0.18);
}


/* COLLEGE HEADER */

.college-card-header {
    padding: 25px 30px;

    background:
        linear-gradient(
            135deg,
            #0b2a5b,
            #123d78
        );

    color: white;
}

.college-card-header h3 {
    margin: 0;

    font-size: 25px;
}

.college-card-header p {
    margin: 7px 0 0;

    color: #f0c75e;
}


/* TABLE */

.fee-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.fee-table th {
    background: #c99a2e;
    color: white;

    padding: 16px;

    text-align: left;

    font-size: 15px;
}

.fee-table td {
    padding: 15px;

    border-bottom: 1px solid #e5e5e5;

    color: #222;
}

.fee-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.fee-table tbody tr:hover {
    background: #fff8e5;
}


/* WHATSAPP */

.college-card-footer {
    padding: 20px 30px;

    display: flex;
    justify-content: flex-end;
}

.college-whatsapp-btn {
    display: inline-block;

    padding: 12px 22px;

    background: #0b2a5b;
    color: white;

    text-decoration: none;

    border-radius: 30px;

    font-weight: 700;

    transition: all 0.3s ease;
}

.college-whatsapp-btn:hover {
    background: #c99a2e;
    transform: translateY(-2px);
}


/* MOBILE */

@media (max-width: 768px) {

    .mdms-section {
        padding: 55px 12px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .college-card-header {
        padding: 20px;
    }

    .college-card-header h3 {
        font-size: 20px;
    }

    .college-card-footer {
        padding: 18px;
        justify-content: center;
    }

    .college-whatsapp-btn {
        width: 100%;
        text-align: center;
    }

}
/* =========================================
   PROFESSIONAL COLLEGE FEE TABLES
========================================= */

.mdms-colleges-section {
  background: #f6f8fc;
}


/* COLLEGE CARD */

.college-fee-card {
  max-width: 1150px;
  margin: 0 auto 50px;

  background: #ffffff;

  border-radius: 18px;

  overflow: hidden;

  border: 1px solid rgba(11, 42, 91, 0.12);

  box-shadow:
    0 12px 35px rgba(11, 42, 91, 0.10);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}


.college-fee-card:hover {
  transform: translateY(-6px);

  box-shadow:
    0 20px 50px rgba(11, 42, 91, 0.16);
}


/* HEADER */

.college-fee-header {
  display: flex;

  align-items: center;

  gap: 20px;

  padding: 28px 32px;

  background:
    linear-gradient(
      135deg,
      #071f49,
      #0b3470
    );

  color: #ffffff;

  position: relative;
}


.college-fee-header::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 4px;

  background: #d4af37;
}


.college-icon {
  width: 58px;
  height: 58px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: rgba(255,255,255,0.12);

  font-size: 28px;
}


.college-badge {
  display: inline-block;

  color: #f1ca55;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1.5px;

  margin-bottom: 6px;
}


.college-fee-header h2 {
  margin: 0;

  font-size: 27px;

  font-weight: 800;
}


.college-fee-header p {
  margin: 6px 0 0;

  color: rgba(255,255,255,0.75);
}


/* BODY */

.college-fee-body {
  padding: 28px;
}


/* TITLE */

.fee-table-title {
  display: flex;

  align-items: center;

  justify-content: space-between;

  margin-bottom: 18px;
}


.fee-table-title h3 {
  margin: 0;

  color: #071f49;

  font-size: 20px;
}


.fee-table-title span {
  padding: 7px 14px;

  border-radius: 20px;

  background: #fff6d8;

  color: #9a7414;

  font-size: 12px;

  font-weight: 800;
}


/* TABLE */

.fee-table-scroll {
  width: 100%;

  overflow-x: auto;

  border-radius: 12px;

  border: 1px solid #e4e8ef;
}


.professional-fee-table {
  width: 100%;

  min-width: 760px;

  border-collapse: collapse;
}


/* HEADER */

.professional-fee-table thead th {
  padding: 16px 18px;

  background: #0b2f68;

  color: #ffffff;

  text-align: left;

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 0.5px;
}


.professional-fee-table thead th:nth-child(2),
.professional-fee-table thead th:nth-child(3) {
  text-align: center;
}


/* CELLS */

.professional-fee-table tbody td {
  padding: 17px 18px;

  border-bottom: 1px solid #e9edf3;

  color: #26364d;

  font-size: 14px;
}


.professional-fee-table tbody tr:last-child td {
  border-bottom: none;
}


.professional-fee-table tbody tr:nth-child(even) {
  background: #f8fafc;
}


.professional-fee-table tbody tr {
  transition: background 0.2s ease;
}


.professional-fee-table tbody tr:hover {
  background: #fff8df;
}


.professional-fee-table td:nth-child(2),
.professional-fee-table td:nth-child(3) {
  text-align: center;

  font-weight: 700;

  color: #0b2f68;
}


/* WHATSAPP */

.table-whatsapp {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 8px 15px;

  border-radius: 20px;

  background: #0b2f68;

  color: #ffffff;

  text-decoration: none;

  font-size: 12px;

  font-weight: 700;

  cursor: pointer;

  transition: all 0.25s ease;
}


.table-whatsapp:hover {
  background: #d4af37;

  color: #071f49;

  transform: translateY(-2px);
}


/* FOOTER */

.college-fee-footer {
  margin-top: 22px;

  padding-top: 20px;

  border-top: 1px solid #e5e8ed;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;
}


.college-fee-footer p {
  margin: 0;

  color: #718096;

  font-size: 12px;
}


/* MOBILE */

@media (max-width: 768px) {

  .college-fee-header {
    padding: 22px 20px;
  }

  .college-fee-header h2 {
    font-size: 21px;
  }

  .college-fee-body {
    padding: 18px;
  }

  .fee-table-title {
    align-items: flex-start;

    gap: 10px;
  }

  .college-fee-footer {
    flex-direction: column;

    align-items: stretch;
  }

  .college-fee-footer .btn {
    width: 100%;

    text-align: center;
  }

}
/* =========================================================
   COLLEGE-WISE MD/MS FEE TABLES
   THE EDUCATION WORLD
========================================================= */

.college-fee-card {
  background: #ffffff;
  border: 1px solid rgba(20, 52, 100, 0.12);
  border-radius: 22px;
  padding: 24px;
  margin: 0 0 42px;
  box-shadow: 0 18px 45px rgba(8, 30, 70, 0.10);
  overflow: hidden;
  transition: transform 0.3s ease,
              box-shadow 0.3s ease;
}

.college-fee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(8, 30, 70, 0.15);
}


/* COLLEGE TITLE */

.college-fee-card .college-title-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  margin-bottom: 22px;
  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      #071d49 0%,
      #103b78 65%,
      #c99a2e 100%
    );

  color: #ffffff;
}


.college-fee-card .college-title-card h2 {
  margin: 8px 0 5px;
  color: #ffffff;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}


.college-fee-card .college-title-card p {
  margin: 0;
  color: rgba(255,255,255,0.82);
}


.college-title-icon {
  min-width: 58px;
  width: 58px;
  height: 58px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #ffffff;
  color: #0b2b5c;

  font-size: 26px;

  box-shadow:
    0 0 0 3px rgba(212,166,61,0.75),
    0 8px 20px rgba(0,0,0,0.15);
}


/* BADGE */

.college-fee-card .badge {
  display: inline-block;

  padding: 5px 11px;

  border-radius: 999px;

  background: #d4a63d;
  color: #071d49;

  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}


/* TABLE WRAPPER */

.college-fee-card .fee-table-wrapper {
  width: 100%;
  overflow-x: auto;

  border-radius: 14px;
  border: 1px solid #dfe5ee;

  -webkit-overflow-scrolling: touch;
}


/* TABLE */

.college-fee-card .fee-table {
  width: 100%;
  min-width: 760px;

  border-collapse: separate;
  border-spacing: 0;

  background: #ffffff;
}


/* HEADER */

.college-fee-card .fee-table thead th {
  background: #0b2d63;
  color: #ffffff;

  padding: 17px 16px;

  font-size: 0.88rem;
  font-weight: 800;

  text-transform: uppercase;
  letter-spacing: 0.035em;

  border-right: 1px solid rgba(255,255,255,0.16);

  text-align: left;
}


.college-fee-card .fee-table thead th:nth-child(2),
.college-fee-card .fee-table thead th:nth-child(3),
.college-fee-card .fee-table thead th:nth-child(4) {
  text-align: center;
}


.college-fee-card .fee-table thead th:first-child {
  border-top-left-radius: 12px;
}


.college-fee-card .fee-table thead th:last-child {
  border-top-right-radius: 12px;
}


/* BODY */

.college-fee-card .fee-table tbody td {
  padding: 15px 16px;

  color: #17233b;

  border-bottom: 1px solid #e5e9f0;
  border-right: 1px solid #e5e9f0;

  font-size: 0.95rem;

  background: #ffffff;
}


.college-fee-card .fee-table tbody tr:nth-child(even) td {
  background: #f7f9fc;
}


.college-fee-card .fee-table tbody tr:hover td {
  background: #fff8e6;
}


.college-fee-card .fee-table tbody td:nth-child(2),
.college-fee-card .fee-table tbody td:nth-child(3) {
  text-align: center;

  font-weight: 800;

  color: #0b2d63;
}


.college-fee-card .fee-table tbody td:nth-child(4) {
  text-align: center;
}


/* WHATSAPP BUTTON */

.table-whatsapp {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  min-width: 92px;

  padding: 9px 14px;

  border-radius: 999px;

  background: #0b2d63;
  color: #ffffff !important;

  font-size: 0.78rem;
  font-weight: 800;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}


.table-whatsapp:hover {
  background: #d4a63d;
  color: #071d49 !important;

  transform: translateY(-2px);

  box-shadow:
    0 8px 18px rgba(11,45,99,0.20);
}


/* DISCLAIMER */

.fee-disclaimer {
  margin-top: 10px;

  padding: 22px;

  border-left: 4px solid #d4a63d;

  border-radius: 12px;

  background: #f7f9fc;
}


.fee-disclaimer strong {
  color: #0b2d63;
}


.fee-disclaimer p {
  margin-bottom: 0;
  color: #56637a;
}


/* MOBILE */

@media (max-width: 768px) {

  .college-fee-card {
    padding: 14px;
    margin-bottom: 28px;
    border-radius: 17px;
  }


  .college-fee-card .college-title-card {
    align-items: flex-start;
    padding: 17px;
    gap: 13px;
  }


  .college-title-icon {
    min-width: 48px;
    width: 48px;
    height: 48px;
    font-size: 21px;
  }


  .college-fee-card .college-title-card h2 {
    font-size: 1.1rem;
    line-height: 1.35;
  }


  .college-fee-card .fee-table thead th {
    padding: 13px 12px;
    font-size: 0.75rem;
  }


  .college-fee-card .fee-table tbody td {
    padding: 12px;
    font-size: 0.82rem;
  }


  .table-whatsapp {
    min-width: 78px;
    padding: 8px 10px;
    font-size: 0.72rem;
  }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  .college-fee-card,
  .table-whatsapp {
    transition: none;
  }

}
/* =========================================================
   COLLEGE-WISE MD/MS TABLES
========================================================= */

#mdMsColleges {
  display: flex;
  flex-direction: column;
  gap: 40px;
}


#mdMsColleges .college-fee-card {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}


/* College heading */

#mdMsColleges .college-title-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
}


#mdMsColleges .college-title-card h2 {
  margin: 8px 0 4px;
}


#mdMsColleges .college-title-card p {
  margin: 0;
}


/* Each table is completely independent */

#mdMsColleges .fee-table-wrapper {
  width: 100%;
  overflow-x: auto;
}


#mdMsColleges .fee-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}


#mdMsColleges .fee-table th,
#mdMsColleges .fee-table td {
  padding: 16px;
  text-align: left;
  vertical-align: middle;
}


#mdMsColleges .fee-table th {
  white-space: nowrap;
}


#mdMsColleges .fee-table td:first-child {
  min-width: 230px;
}


#mdMsColleges .fee-table td:nth-child(2),
#mdMsColleges .fee-table td:nth-child(3) {
  white-space: nowrap;
}


#mdMsColleges .table-whatsapp {
  display: inline-block;
  white-space: nowrap;
  text-decoration: none;
}


/* College WhatsApp footer */

#mdMsColleges .college-card-footer {
  padding: 20px 24px;
}


/* Mobile */

@media (max-width: 768px) {

  #mdMsColleges {
    gap: 28px;
  }


  #mdMsColleges .college-title-card {
    padding: 18px;
  }


  #mdMsColleges .fee-table th,
  #mdMsColleges .fee-table td {
    padding: 12px;
    font-size: 14px;
  }


  #mdMsColleges .fee-table {
    min-width: 760px;
  }


  #mdMsColleges .fee-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

}
/* =========================================================
   MD / MS FEE TABLE - MOBILE FIX
========================================================= */

@media (max-width: 768px) {

  .fee-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: block;
  }

  .fee-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
  }

  .fee-table th,
  .fee-table td {
    white-space: nowrap;
    padding: 12px 10px;
  }

  .college-fee-card {
    width: 100%;
    overflow: hidden;
  }

  .college-title-card {
    width: 100%;
    box-sizing: border-box;
  }

  .college-card-footer {
    width: 100%;
    box-sizing: border-box;
  }

}