/* ==========================================================
   ROOT TOKENS
   ========================================================== */
:root {
  --maroon: #8c1414;
  --maroon-deep: #6b0f0f;
  --gold: #f0b400;
  --gold-soft: #fdf1c8;
  --gold-line: #e0a900;

  --navy: #10192c;
  --navy-soft: #1b2740;
  --navy-line: #2a3a5c;

  --ink: #1c2430;
  --ink-soft: #57616f;
  --paper: #ffffff;
  --cream: #fbf8f0;
  --line: #e6e1d3;

  --shadow-sm: 0 6px 18px -10px rgba(20, 20, 20, 0.25);
  --shadow-lg: 0 24px 50px -20px rgba(20, 20, 20, 0.35);

  --radius-md: 12px;
  --radius-sm: 8px;

  --font-display: "Cinzel", serif;
  --font-body: "Poppins", sans-serif;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  margin: 0;
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }

.container-xl {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
}

.section-cream { background: var(--cream); }
.section-white { background: var(--paper); }

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-line);
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--maroon);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 8px 0;
}

.section-sub {
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 34px 0;
  font-size: 0.98rem;
}

/* ==========================================================
   LOGO UPLOAD PLACEHOLDER (reused everywhere a real image goes)
   ========================================================== */
.upload-slot {
  position: relative;
  background: repeating-linear-gradient(
    135deg,
    #f4ecc9,
    #f4ecc9 10px,
    #f9f2d8 10px,
    #f9f2d8 20px
  );
  border: 2px dashed var(--gold-line);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #8a6d00;
  text-align: center;
  gap: 6px;
  padding: 10px;
}

.upload-slot i { font-size: 1.6rem; opacity: 0.8; }
.upload-slot span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  line-height: 1.3;
}

/* ==========================================================
   TOP UTILITY BAR
   ========================================================== */
.utility-bar {
  background: var(--navy);
  color: #cfd6e6;
  font-size: 0.76rem;
  padding: 6px 0;
}

.utility-bar .container-xl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.utility-bar a { color: #cfd6e6; }
.utility-bar a:hover { color: var(--gold); }

.utility-links { display: flex; gap: 16px; }

/* ==========================================================
   HEADER (logo + institute name band)
   ========================================================== */
.site-header {
  background: linear-gradient(180deg, #fff7d6 0%, #fbe38a 55%, #f0c93d 100%);
  border-bottom: 3px solid var(--gold-line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.logo-slot {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-slot i { font-size: 1.9rem; }
.logo-slot span { font-size: 0.6rem; }

.header-text { flex: 1; min-width: 240px; text-align: center; }

.header-hindi {
  font-family: var(--font-display);
  color: var(--maroon);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  margin: 0;
}

.header-name {
  font-family: var(--font-display);
  color: var(--maroon-deep);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  margin: 2px 0 6px 0;
  letter-spacing: 0.4px;
}

.header-meta {
  font-size: 0.75rem;
  color: #4a3400;
  line-height: 1.5;
  margin: 0;
}

.header-partners {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.partner-slot {
  width: 64px;
  height: 44px;
  border-radius: 6px;
}

.partner-slot i { font-size: 1.1rem; }
.partner-slot span { font-size: 0.52rem; }

/* ========================================================== NAVIGATION ========================================================== */ .site-nav { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm); } .nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0; } .nav-links { list-style: none; display: flex; margin: 0; padding: 0; flex-wrap: wrap; } .nav-links li a { display: block; color: #dfe6f4; padding: 15px 20px; font-size: 0.88rem; font-weight: 500; letter-spacing: 0.3px; border-bottom: 3px solid transparent; transition: all 0.2s ease; } .nav-links li a:hover, .nav-links li a.active { color: var(--gold); background: var(--navy-soft); border-bottom-color: var(--gold); } .nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.4rem; padding: 12px 18px; cursor: pointer; }
/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%);
  overflow: hidden;
}

.hero-media {
  height: clamp(220px, 34vw, 380px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media .upload-slot {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border-width: 0 0 3px 0;
}

.hero-media .upload-slot i { font-size: 2.4rem; }
.hero-media .upload-slot span { font-size: 0.85rem; }

.hero-caption {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  padding: 0 20px;
}

.hero-caption h1 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  margin: 0 0 6px 0;
}

.hero-caption p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.92;
}

/* ==========================================================
   ENQUIRY FLOAT CARD (sits over hero on desktop)
   ========================================================== */
.enquiry-wrap {
  max-width: 1180px;
  margin: -46px auto 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.enquiry-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 22px 26px;
  max-width: 360px;
  margin-left: auto;
  border-top: 4px solid var(--maroon);
}

.enquiry-card h3 {
  font-family: var(--font-display);
  color: var(--maroon);
  font-size: 1.05rem;
  margin: 0 0 4px 0;
}

.enquiry-card p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0 0 14px 0;
}

.enquiry-card label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.enquiry-card .form-control {
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #e2e2e2;
  padding: 9px 12px;
  font-size: 0.88rem;
}

.enquiry-card .form-control:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(140, 20, 20, 0.12);
}

.btn-enquiry {
  width: 100%;
  background: linear-gradient(120deg, var(--maroon-deep), var(--maroon));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 10px 0;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -8px rgba(140, 20, 20, 0.55);
  color: #fff;
}

/* ==========================================================
   FEATURE CARDS (Road Map / Mission / Vision / Contact)
   ========================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-soft);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 10px 0;
}

.feature-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
}

.roadmap-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}

.roadmap-list li span:last-child {
  color: var(--maroon);
  font-weight: 600;
}

.feature-card .btn-outline-mini {
  margin-top: 14px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
  border-radius: 999px;
  padding: 6px 16px;
  transition: all 0.2s ease;
}

.feature-card .btn-outline-mini:hover {
  background: var(--maroon);
  color: #fff;
}

/* ==========================================================
   PROFILE / CHAIRMAN SPLIT SECTION
   ========================================================== */
.split-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
}

.split-grid.reverse {
  grid-template-columns: 1fr 300px;
}

.split-photo .upload-slot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
}

.split-text h3 {
  font-family: var(--font-display);
  color: var(--maroon);
  font-size: 1.2rem;
  margin: 0 0 12px 0;
}

.split-text p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.75;
  margin: 0 0 12px 0;
}

.split-text a.read-more {
  font-weight: 600;
  color: var(--maroon);
  font-size: 0.85rem;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold-line);
  line-height: 0.6;
  display: block;
  margin-bottom: 10px;
}

/* ==========================================================
   PAGE HERO BANNER (used on inner pages: courses, results, etc.)
   ========================================================== */
.page-banner {
  background: linear-gradient(120deg, var(--maroon-deep), var(--maroon));
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.page-banner .eyebrow { color: var(--gold); }

.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  margin: 0 0 8px 0;
}

.breadcrumb-trail {
  font-size: 0.8rem;
  color: #f0d9d9;
}

.breadcrumb-trail a { color: #ffe9b0; }

/* ==========================================================
   DATA TABLE (Courses, Results, etc.)
   ========================================================== */
.table-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table thead th {
  background: var(--navy);
  color: #fff;
  text-align: left;
  padding: 13px 16px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
}

.data-table tbody td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.data-table tbody tr:nth-child(even) { background: var(--gold-soft); }
.data-table tbody tr:hover { background: #fdeab0; }

.table-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  min-width: 240px;
}

.search-box input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.85rem;
  background: transparent;
}

.search-box i { color: var(--ink-soft); }

/* ==========================================================
   INFO / PLACEHOLDER PANEL (for pages without full source content)
   ========================================================== */
.info-panel {
  background: var(--paper);
  border-left: 4px solid var(--gold-line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}

.info-panel h3 {
  color: var(--maroon);
  font-size: 1rem;
  margin: 0 0 6px 0;
}

.info-panel p {
  color: var(--ink-soft);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.6;
}

.result-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.result-form .form-control {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  padding: 10px 14px;
  font-size: 0.88rem;
  width: 100%;
}

.result-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}

.btn-search-result {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, var(--maroon-deep), var(--maroon));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 0;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.btn-search-result:hover { transform: translateY(-2px); }

.download-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.download-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
}

.download-list li i.file-icon { color: var(--maroon); margin-right: 10px; }

.chip {
  background: var(--gold-soft);
  color: #8a6d00;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.btn-mini-download {
  color: var(--maroon);
  font-weight: 600;
  font-size: 0.82rem;
}

/* Admission steps */
.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 auto 12px auto;
}

.step-card h4 {
  font-size: 0.92rem;
  color: var(--ink);
  margin: 0 0 8px 0;
}

.step-card p {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.admission-form-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 30px;
}

.admission-form-card .row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: var(--navy);
  color: #b9c3d6;
  padding: 46px 0 0 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--navy-line);
}

.footer-grid h4 {
  color: #fff;
  font-size: 0.92rem;
  margin: 0 0 14px 0;
  letter-spacing: 0.3px;
}

.footer-grid p, .footer-grid li {
  font-size: 0.82rem;
  line-height: 1.7;
  color: #b9c3d6;
}

.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li a { color: #b9c3d6; }
.footer-grid ul li a:hover { color: var(--gold); }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-slot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-logo-slot i { font-size: 1rem; }
.footer-logo-slot span { display: none; }

.footer-brand strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  padding: 18px 0;
  font-size: 0.76rem;
  color: #8493ac;
}

/* ==========================================================
   ANIMATIONS
   ========================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.section, .hero, .page-banner { animation: fadeIn 0.5s ease; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 991px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid, .split-grid.reverse { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-track { grid-template-columns: repeat(2, 1fr); }
  .result-form { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--navy);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { padding: 13px 20px; border-bottom: 1px solid var(--navy-line); }
  .nav-inner { flex-wrap: wrap; }

  .feature-grid { grid-template-columns: 1fr; }
  .enquiry-wrap { margin-top: 20px; }
  .enquiry-card { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps-track { grid-template-columns: 1fr; }
  .result-form { grid-template-columns: 1fr; }
  .admission-form-card .row-2 { grid-template-columns: 1fr; }
  .header-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .data-table { font-size: 0.78rem; }
  .data-table thead th, .data-table tbody td { padding: 9px 10px; }
}
