:root {
  --red: #F30001;
  --red-dark: #B81813;
  --red-light: #FF6B63;
  --dark: #14141A;
  --dark-2: #0E0E12;
  --gray-900: #3F3F46;
  --gray-600: #6B7280;
  --gray-400: #9CA3AF;
  --gray-200: #ECECEE;
  --gray-100: #F7F7F8;
  --gray-50: #FBFBFC;
  --white: #fff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Commissioner', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { max-width: 100%; display: block; }
::selection { background: var(--red); color: #fff; }
input, select, textarea, button { font-family: 'Commissioner', sans-serif; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.container-md { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 20px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease both; }

/* ===== Header / Nav ===== */
.site-header { position: sticky; top: 0; z-index: 500; background: #fff; border-bottom: 1px solid var(--gray-200); }
.header-row { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img.icon { height: 40px; width: auto; }

.nav-desktop { display: none; align-items: center; gap: 4px; }
.nav-item { padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: var(--gray-900); cursor: pointer; border-radius: 8px; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.nav-item.active, .nav-item:hover { color: var(--red); }

.mega-wrap { position: relative; }
.mega-panel {
  position: absolute; top: 100%; left: -120px; padding-top: 14px; width: 780px; display: none; z-index: 50;
}
.mega-wrap:hover .mega-panel, .mega-wrap.open .mega-panel { display: block; }
.mega-inner { background: #fff; border: 1px solid var(--gray-200); border-radius: 16px; box-shadow: 0 24px 48px rgba(20,20,26,0.14); padding: 28px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.mega-col-title { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.mega-row { display: block; cursor: pointer; padding: 8px 10px; margin: 0 -10px; border-radius: 8px; border-bottom: 1px solid #F4F4F5; text-decoration: none; transition: background .15s ease; }
.mega-row:hover { background: var(--red); }
.mega-row:hover .mega-row-title, .mega-row:hover .mega-row-fee { color: #fff; }
.mega-row-title { font-weight: 600; font-size: 13.5px; color: var(--dark); transition: color .15s ease; }
.mega-row-fee { font-size: 12px; color: var(--gray-400); margin-top: 2px; transition: color .15s ease; }
.mega-inst-card { cursor: pointer; background: var(--gray-100); border-radius: 10px; padding: 12px; margin-bottom: 10px; text-decoration: none; display: block; }
.mega-inst-card strong { font-weight: 700; font-size: 13.5px; color: var(--dark); display: block; }
.mega-inst-card span { font-size: 12px; color: var(--gray-600); }

.header-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-login-disabled { border: 1.5px solid #D1D5DB; color: var(--gray-400); font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 9px; cursor: not-allowed; white-space: nowrap; background: none; }
.hamburger { width: 42px; height: 42px; border-radius: 9px; background: var(--gray-100); display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; border: none; gap: 4px; }
.hamburger .bar { width: 20px; height: 2px; background: var(--dark); border-radius: 2px; display: block; margin: 0; flex-shrink: 0; }

/* Mobile off-canvas menu */
.mobile-overlay { position: fixed; inset: 0; background: rgba(20,20,26,.55); z-index: 700; display: none; }
.mobile-overlay.open { display: block; }
.mobile-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 82vw; max-width: 340px; background: #fff; z-index: 701; transform: translateX(-105%); transition: transform .28s ease; box-shadow: 4px 0 24px rgba(0,0,0,.2); overflow-y: auto; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--gray-200); }
.mobile-drawer-body { padding: 12px 20px 24px; }
.mobile-link { display: block; padding: 13px 8px; margin: 0 -8px; border-radius: 8px; font-weight: 700; font-size: 15px; color: var(--dark); border-bottom: 1px solid #F4F4F5; text-decoration: none; }
.mobile-link:active, .mobile-link:hover { background: var(--red); color: #fff; }
.mobile-sub-head { padding: 13px 4px 4px; font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.mobile-sub-link { display: block; padding: 9px 8px; margin: 0 -8px; border-radius: 8px; font-weight: 500; font-size: 14px; color: var(--gray-900); text-decoration: none; }
.mobile-sub-link:active, .mobile-sub-link:hover { background: var(--red); color: #fff; }

@media (min-width: 960px) {
  .nav-desktop { display: flex; }
  .hamburger, .mobile-cta { display: none; }
}
@media (max-width: 959px) {
  .desktop-cta { display: none; }
}

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; border-radius: 10px; cursor: pointer; border: none; text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline-dark { border: 1.5px solid var(--dark); color: var(--dark); background: none; }
.btn-outline-light { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.12); }

/* ===== Hero sections (inner pages) ===== */
.campus-hero-full { position: relative; overflow: hidden; background: var(--dark); }
.campus-hero-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.campus-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,20,0.92) 0%, rgba(15,15,20,0.78) 42%, rgba(15,15,20,0.45) 100%); }
.campus-hero-content { position: relative; max-width: 1280px; margin: 0 auto; padding: 96px 20px 100px; }
.campus-hero-content > * { max-width: 560px; }
.campus-hero-content h1 { font-size: clamp(28px, 6.5vw, 46px); font-weight: 900; margin: 0 0 18px; letter-spacing: -0.7px; line-height: 1.1; }
.campus-hero-content p { font-size: 16px; line-height: 1.65; margin: 0 0 26px; }
.campus-hero-stats { display: flex; flex-wrap: wrap; gap: 24px; }
.campus-hero-stats .chs-num { font-size: 22px; font-weight: 900; color: #fff; }
.campus-hero-stats .chs-lbl { font-size: 12.5px; color: #B4B4BC; }
@media (max-width: 768px) { .campus-hero-content { padding: 52px 20px; } }
.page-hero { background: var(--dark); padding: 56px 20px 0; overflow: hidden; }
.page-hero-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding-bottom: 40px; }
.page-hero-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red-light); margin-bottom: 12px; }
.page-hero h1 { font-size: clamp(26px, 6vw, 40px); font-weight: 900; color: #fff; margin: 0 0 14px; letter-spacing: -.5px; line-height: 1.15; }
.page-hero p { font-size: 15.5px; color: #B4B4BC; max-width: 640px; line-height: 1.6; margin: 0; }
.page-hero-img { position: relative; height: 220px; border-radius: 16px; overflow: hidden; background: #222; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .page-hero-inner { grid-template-columns: 1fr 1fr; padding-bottom: 0; }
  .page-hero-img { height: 340px; }
}

/* Home hero (full image, no crop on desktop) */
.home-hero { background: var(--dark); overflow: hidden; }
.home-hero img { width: 100%; height: 280px; object-fit: cover; }
@media (min-width: 900px) { .home-hero img { height: auto; object-fit: contain; } }

/* ===== Sections ===== */
.section { padding: 70px 0; }
.section-tight { padding: 46px 0 90px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
h2.section-title { font-size: clamp(24px, 5.5vw, 34px); font-weight: 900; color: var(--dark); margin: 0; letter-spacing: -.5px; line-height: 1.15; }

/* ===== Course cards ===== */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 800px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.course-card { background: #fff; border: 2px solid var(--gray-200); border-radius: 18px; cursor: pointer; display: flex; flex-direction: column; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; text-decoration: none; color: inherit; }
.course-card:hover { transform: translateY(-6px); }
.course-banner { position: relative; height: 150px; overflow: hidden; }
.course-banner .badge { position: absolute; top: 14px; left: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; background: rgba(255,255,255,.92); color: var(--dark); }
.course-banner .emoji { position: absolute; top: 14px; right: 14px; font-size: 26px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.course-body { padding: 20px 20px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course-title { font-weight: 800; font-size: 17px; color: var(--dark); line-height: 1.3; }
.course-tagline-chip { align-self: flex-start; font-size: 12px; font-weight: 600; color: #1D4ED8; background: #EFF6FF; padding: 5px 10px; border-radius: 100px; }
.course-foot { padding: 18px 20px 20px; margin-top: 14px; border-top: 1px solid #F4F4F5; display: flex; flex-direction: column; gap: 12px; }
.course-price-row { display: flex; align-items: center; justify-content: space-between; }
.course-price { font-weight: 800; font-size: 16px; color: var(--dark); }
.course-emi { font-size: 11px; color: var(--gray-400); }
.course-cta-row { display: flex; gap: 8px; }
.course-cta-row .btn { flex: 1; font-size: 12.5px; padding: 11px 8px; }

/* ===== Pillars ===== */
.pillar-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 22px; display: flex; gap: 14px; }
.pillar-num { width: 34px; height: 34px; border-radius: 9px; background: var(--red); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ===== Footer ===== */
.site-footer { background: var(--dark-2); padding: 64px 20px 28px; }
.footer-cta { background: #F30001; padding: 64px 20px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; } }
.footer-col-title { font-weight: 800; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: #F30200; margin-bottom: 18px; }
.footer-link { display: block; font-size: 13.5px; color: #B4B4BC; margin-bottom: 12px; cursor: pointer; text-decoration: none; transition: color .15s ease; }
.footer-link:hover { color: var(--red); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-icon { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; transition: background .15s ease; }
.social-icon:hover { background: var(--red); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 12.5px; color: #6B6B73; }
.footer-legal a:hover { color: var(--red); }

/* ===== Forms ===== */
.form-label { font-size: 12.5px; font-weight: 700; color: var(--gray-900); display: block; margin-bottom: 6px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 14px; border: 1px solid #E5E7EB; border-radius: 9px; font-size: 14px; color: var(--dark); background: #fff; }
.form-textarea { resize: vertical; }
.field { margin-bottom: 16px; }
.chip-group { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 14px; border-radius: 100px; font-size: 12.5px; font-weight: 700; cursor: pointer; background: var(--gray-100); color: var(--gray-900); border: none; }
.chip.active { background: var(--red); color: #fff; }
.success-box { background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 16px; padding: 40px; text-align: center; }

/* ===== Modal ===== */
.modal-overlay { position: fixed; inset: 0; background: rgba(20,20,26,.6); z-index: 800; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 20px; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 30px 70px rgba(0,0,0,.35); padding: 32px 28px 28px; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 8px; background: var(--gray-100); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; color: var(--dark); font-weight: 700; border: none; }

/* ===== Sticky widgets ===== */
.sticky-widgets { position: fixed; right: 18px; bottom: 22px; z-index: 600; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(0,0,0,.28); cursor: pointer; border: none; }
.fab-call { background: var(--red); box-shadow: 0 8px 22px rgba(243,0,1,.35); }
.fab-wa { background: #25D366; }
.wa-panel { width: min(340px, 84vw); background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.28); overflow: hidden; margin-bottom: 4px; display: none; }
.wa-panel.open { display: block; }
.wa-head { background: #075E54; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; }
.wa-body { background: #ECE5DD; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.wa-bubble { background: #fff; border-radius: 10px; border-top-left-radius: 2px; padding: 10px 12px; font-size: 13px; color: var(--dark); line-height: 1.5; max-width: 90%; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa-body input, .wa-body select, .wa-body textarea { border: 1px solid #D7D2C8; }

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0 { margin-bottom: 0; }
.tag-red-dark { background: #14141A; }
table.data-table { border-collapse: collapse; width: 100%; }
table.data-table th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--gray-400); padding: 12px 14px; border-bottom: 1px solid var(--gray-200); }
table.data-table td { font-size: 13.5px; padding: 14px; border-bottom: 1px solid #F4F4F5; }
