/* ===================================================
   MGITM INDIA - Premium Education Theme (Crimson Red)
   Version: 3.0 | Self-contained, no Bootstrap conflicts
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:wght@600;700;800&display=swap');

/* ─── CSS Reset for Premium Layer ─── */
*, *::before, *::after { box-sizing: border-box; }

/* ─── Design Tokens ─── */
:root {
  --red:        #c2185b;
  --red-dark:   #880e4f;
  --red-light:  #f8bbd0;
  --red-pale:   #fdf2f8;
  --black:      #0d0309;
  --white:      #ffffff;
  --gray-50:    #fafafa;
  --gray-100:   #f4f4f5;
  --gray-200:   #e4e4e7;
  --gray-400:   #a1a1aa;
  --gray-600:   #52525b;
  --gray-800:   #27272a;
  --font-body:  'Plus Jakarta Sans', sans-serif;
  --font-head:  'Playfair Display', serif;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(194,24,91,.10);
  --shadow-lg:  0 12px 40px rgba(194,24,91,.16);
  --radius:     12px;
  --radius-lg:  20px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  margin: 0; padding: 0;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--red-dark);
  text-transform: none !important;
  letter-spacing: -.02em;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ─── TOP STRIP ─── */
.top-strip {
  background: var(--black);
  padding: 8px 0;
  font-size: 13px;
  color: #e2e8f0;
}
.top-strip .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-strip .social a {
  color: #94a3b8;
  margin-right: 12px;
  font-size: 14px;
  transition: color .2s;
}
.top-strip .social a:hover { color: var(--red); }
.top-strip .email a { color: #fbb6ce; }
.top-strip .email i { color: var(--red); margin-right: 5px; }

/* ─── HEADER BRANDING ─── */
.header-brand {
  background: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-200);
}
.header-brand .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-brand .logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-brand .logo img.emblem { height: 60px; }
.header-brand .logo img.title  { height: 52px; }
.header-brand .iso-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--red-pale);
  border: 1px solid var(--red-light);
  border-radius: 50px;
  padding: 10px 18px;
}
.header-brand .iso-badge i { color: var(--red); font-size: 22px; }
.header-brand .iso-badge span { display: block; font-size: 11px; color: var(--gray-600); }
.header-brand .iso-badge strong { color: var(--red-dark); font-size: 13px; }

/* ─── CUSTOM NAV (No Bootstrap collapse) ─── */
.mgitm-nav {
  background: linear-gradient(90deg, #880e4f 0%, #c2185b 55%, #ad1457 100%);
  box-shadow: 0 4px 20px rgba(136,14,79,.35);
  position: relative;
  z-index: 100;
}
.mgitm-nav .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.mgitm-nav ul.nav-links {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
}
.mgitm-nav ul.nav-links li a {
  display: block;
  padding: 16px 15px;
  color: rgba(255,255,255,.92);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .01em;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: background .2s;
}
.mgitm-nav ul.nav-links li a:hover,
.mgitm-nav ul.nav-links li.active a {
  background: rgba(0,0,0,.22);
  color: #fff;
}
.mgitm-nav ul.nav-links li:last-child a { border-right: none; }

/* Mobile Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 6px;
  color: #fff;
  font-size: 20px;
  padding: 8px 12px;
  cursor: pointer;
  margin: 10px 0;
  align-self: center;
}
@media(max-width:900px){
  .mgitm-nav ul.nav-links li a { padding: 15px 11px; font-size: 12.5px; }
}
@media(max-width:767px){
  .nav-hamburger { display: block; }
  .mgitm-nav ul.nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #880e4f;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
  }
  .mgitm-nav ul.nav-links.open { display: flex; }
  .mgitm-nav ul.nav-links li a {
    padding: 14px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
}

/* ─── HERO ─── */
.hero {
  position: relative;
  background: var(--black);
  overflow: hidden;
  padding: 90px 0 80px;
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(194,24,91,.5) 0%, transparent 60%),
              radial-gradient(ellipse 60% 60% at 80% 80%, rgba(255,82,82,.3) 0%, transparent 55%),
              radial-gradient(ellipse 40% 40% at 60% 20%, rgba(136,14,79,.4) 0%, transparent 50%);
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,82,82,.15);
  border: 1px solid rgba(255,82,82,.4);
  color: #ff8fa3;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-badge i { color: #ff5252; }
.hero h1 {
  color: #fff !important;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  margin: 0 0 20px;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: #fbb6ce; }
.hero p.lead {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 580px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero Glass Card */
.hero-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  padding: 30px;
  animation: float 6s ease-in-out infinite alternate;
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.hero-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,82,82,.2);
  color: #ff8fa3;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.hero-card h3 {
  color: #fff !important;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 2px;
}
.hero-card p { color: rgba(255,255,255,.6); font-size: 13px; margin: 0; }
.hero-card .info-box {
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
}
.hero-card .info-box i { color: #ff5252; margin-right: 7px; }
.hero-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
}
.hero-stat .num { font-size: 24px; font-weight: 800; color: #ff8fa3; }
.hero-stat .lbl { font-size: 11px; color: rgba(255,255,255,.55); }

@keyframes float {
  from { transform: translateY(0); }
  to   { transform: translateY(-12px); }
}
@media(max-width:900px){
  .hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .hero { padding: 60px 0 50px; }
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--black);
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.stats-bar .container-fluid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .num {
  font-size: 30px;
  font-weight: 800;
  color: #ff8fa3;
  display: block;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-item .lbl {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}
@media(max-width:767px){
  .stats-bar .container-fluid { grid-template-columns: repeat(2,1fr); gap: 15px; }
}

/* ─── SHARED SECTION STYLES ─── */
.section { padding: 75px 0; }
.section.bg-pale { background: var(--red-pale); }
.section.bg-gray { background: var(--gray-50); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
  margin-bottom: 10px;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 36px);
  color: var(--red-dark);
  margin: 0 0 12px;
}
.section-head p {
  color: var(--gray-600);
  font-size: 15.5px;
  max-width: 580px;
  margin: 0 auto;
}

/* ─── TWO-COL INTRO ─── */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: start;
}
.intro-text .kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
  display: block;
  margin-bottom: 10px;
}
.intro-text h2 { font-size: 32px; margin: 0 0 18px; }
.intro-text p  { color: var(--gray-600); margin-bottom: 14px; font-size: 15px; line-height: 1.8; }

/* ─── RESULT LOOKUP CARD ─── */
.lookup-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--red-light);
  border-top: 4px solid var(--red);
  padding: 30px;
  box-shadow: var(--shadow-md);
}
.lookup-card .icon-wrap {
  width: 54px; height: 54px;
  background: #ffe4e6;
  border-radius: var(--radius);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
}
.lookup-card h3 { font-size: 19px; margin: 0 0 6px; }
.lookup-card p  { color: var(--gray-600); font-size: 14px; margin-bottom: 18px; }
.lookup-card label { font-weight: 600; font-size: 14px; color: var(--gray-800); margin-bottom: 5px; display: block; }
.lookup-card input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  margin-bottom: 14px;
  transition: border .2s;
}
.lookup-card input:focus {
  outline: none;
  border-color: var(--red);
}
@media(max-width:900px){
  .intro-grid { grid-template-columns: 1fr; }
}

/* ─── DISCIPLINE CARDS GRID ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.discipline-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.discipline-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.discipline-card:hover::before { transform: scaleX(1); }
.discipline-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-light);
}
.discipline-card .d-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--red-pale);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: background .3s, color .3s;
}
.discipline-card:hover .d-icon {
  background: var(--red);
  color: #fff;
}
.discipline-card h3 {
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--red-dark);
}
.discipline-card p {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 18px;
}
.discipline-card a.explore-link {
  color: var(--red);
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .2s;
}
.discipline-card:hover a.explore-link { gap: 9px; }
@media(max-width:900px){ .card-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px){ .card-grid { grid-template-columns: 1fr; } }

/* ─── WHY CHOOSE SECTION ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.why-item {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 22px;
  border-left: 4px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.why-item:hover { box-shadow: var(--shadow-md); }
.why-item h4 {
  color: var(--red-dark) !important;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.why-item h4 i { color: var(--red); margin-right: 8px; }
.why-item p { color: var(--gray-600); font-size: 14px; margin: 0; }
@media(max-width:900px){ .why-grid { grid-template-columns: 1fr; } }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, #c2185b 0%, #880e4f 100%);
  padding: 70px 20px;
  text-align: center;
}
.cta-banner h2 {
  color: #fff !important;
  font-size: clamp(22px, 3vw, 34px);
  margin: 0 0 14px;
}
.cta-banner p { color: #fbb6ce; font-size: 17px; max-width: 700px; margin: 0 auto 30px; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: linear-gradient(135deg, #c2185b, #880e4f) !important;
  color: #fff !important;
  border: none;
  border-radius: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: all .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(194,24,91,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(194,24,91,.5);
  color: #fff !important;
  text-decoration: none;
}
.btn-outline {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: all .3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline:hover {
  background: rgba(255,255,255,.2) !important;
  color: #fff !important;
  text-decoration: none;
}
.btn-white {
  background: #fff !important;
  color: var(--red-dark) !important;
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 14.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(0,0,0,.15);
  transition: all .3s;
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  color: var(--red-dark) !important;
  text-decoration: none;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--black);
  padding: 65px 0 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.site-footer h4 {
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: none !important;
  font-family: var(--font-body) !important;
}
.site-footer p { color: #94a3b8; font-size: 14px; line-height: 1.8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a {
  color: #94a3b8;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.site-footer ul li a:hover { color: var(--red); }
.site-footer ul li a i { font-size: 12px; color: var(--red); }
.footer-bottom {
  background: rgba(0,0,0,.4);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 18px 20px;
  text-align: center;
  font-size: 13px;
  color: #52525b;
}
@media(max-width:900px){
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media(max-width:600px){
  .footer-inner { grid-template-columns: 1fr; }
}

/* ─── PAGE INNER BANNER ─── */
.page-banner {
  background: linear-gradient(135deg, #880e4f 0%, #c2185b 100%);
  padding: 65px 20px;
  text-align: center;
}
.page-banner h1 {
  color: #fff !important;
  font-size: clamp(26px, 4vw, 40px);
  margin: 0 0 10px;
  font-weight: 800;
}
.page-banner p { color: #fbb6ce; font-size: 16px; max-width: 600px; margin: 0 auto; }
.page-banner nav.breadcrumb-nav {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.page-banner nav.breadcrumb-nav a { color: rgba(255,255,255,.75); }
.page-banner nav.breadcrumb-nav span { margin: 0 6px; }

/* ─── FORM STYLES ─── */
.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 35px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 { font-size: 22px; margin: 0 0 5px; }
.form-card .sub { color: var(--gray-600); font-size: 14px; margin-bottom: 25px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--gray-800);
}
.form-group label .req { color: var(--red); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--gray-800);
  background: #fff;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(194,24,91,.1);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
@media(max-width:600px){ .form-row { grid-template-columns: 1fr; } }

/* ─── ACCORDION (FAQs) ─── */
.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-trigger {
  background: #fff;
  border: none;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .2s;
}
.accordion-trigger:hover { background: var(--red-pale); }
.accordion-trigger.open { background: var(--red); color: #fff; }
.accordion-trigger.open .acc-icon { transform: rotate(180deg); color: #fff; }
.acc-icon { color: var(--red); transition: transform .3s, color .2s; }
.accordion-body {
  display: none;
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.8;
  background: #fafafa;
  border-top: 1px solid var(--gray-200);
}
.accordion-body.open { display: block; }

/* ─── TABLE STYLES ─── */
.table-clean {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table-clean th {
  background: var(--red);
  color: #fff;
  padding: 12px 16px;
  font-weight: 700;
  text-align: left;
}
.table-clean td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.table-clean tr:hover td { background: var(--red-pale); }

/* ─── UTILITIES ─── */
.text-red  { color: var(--red) !important; }
.text-dark { color: var(--gray-800) !important; }
.text-muted{ color: var(--gray-600) !important; }
.mt-8 { margin-top: 8px; }
.mt-16{ margin-top: 16px; }
.mt-24{ margin-top: 24px; }
.mb-0 { margin-bottom: 0 !important; }
.fw-700 { font-weight: 700; }
.text-center { text-align: center; }

/* ─── COURSE SEARCH ─── */
.course-filters {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.course-filters input,
.course-filters select {
  flex: 1;
  min-width: 180px;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
}
.course-filters input:focus,
.course-filters select:focus {
  outline: none;
  border-color: var(--red);
}
.course-table-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ─── RESULT PAGE ─── */
.result-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.result-card-header {
  background: var(--red);
  padding: 22px 28px;
  color: #fff;
}
.result-card-header h3 { color: #fff !important; font-size: 18px; margin: 0; }
.result-card-body { padding: 28px; }

/* ─── STEPS (Affiliation) ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  text-align: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.step-card h4 { font-size: 16px; margin: 0 0 10px; }
.step-card p  { color: var(--gray-600); font-size: 13.5px; margin: 0; }
@media(max-width:900px){ .steps-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:600px){ .steps-grid { grid-template-columns: 1fr; } }

/* ─── LOADING OVERLAY ─── */
#loading {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s;
}
#loading.hidden { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 5px solid var(--red-light);
  border-top-color: var(--red);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
