/* ═══════════════════════════════════════════════════════
   DESIGN SYSTEM – ACADEMIC PRESTIGE (NAVY, MAROON & GOLD)
   ═══════════════════════════════════════════════════════ */

:root {
  --bg-body: #fdfbfc;     /* Soft warm white background */
  --bg-card: #ffffff;
  --border: #f1e4eb;      /* Soft maroon tint border */
  
  /* Primary Branding Colors (from PDF) */
  --navy: #4a0329;        /* Deep Burgundy/Plum (Brochure primary dark) */
  --navy-light: #2b0017;  /* Very dark plum for deep shadows & gradients */
  --maroon: #85063c;      /* Vibrant Crimson/Maroon (Brochure titles) */
  --maroon-light: #a2003c;
  --gold: #DCA146;        /* Warm Accent Gold */
  --gold-dark: #b47c2d;
  --royal-blue: #1d40b0;  /* Vibrant Royal Blue (Brochure dates/links) */
  
  /* Status Colors */
  --success: #10b981;
  --error: #ef4444;
  --text-primary: #2d0a1b; /* Deep plum-toned dark text */
  --text-muted: #7c5d6e;   /* Soft plum-grey muted text */
  --text-light: #fdfbfc;
  
  /* Shadows & Layouts */
  --shadow-sm: 0 1px 3px rgba(74, 3, 41, 0.05);
  --shadow-md: 0 4px 16px rgba(74, 3, 41, 0.08);
  --shadow-lg: 0 12px 32px rgba(74, 3, 41, 0.12);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }

/* ── BRADING HEADER ── */
.header {
  background-color: #ffffff;
  color: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.university-block {
  display: flex;
  align-items: center;
  gap: 16px;
}
.crest-container img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}
.university-meta {
  display: flex;
  flex-direction: column;
}
.univ-title {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
  line-height: 1.2;
}
.univ-subtitle {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 2px;
}
.univ-department {
  font-size: 0.75rem;
  color: var(--text-primary);
  opacity: 0.9;
}

/* TGS Co-Branding Header block */
/* Branding Group wrapping University & TGS blocks */
.branding-group {
  display: flex;
  align-items: center;
  gap: 28px; /* Moved farther */
}
.association-text {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: lowercase;
  font-style: italic;
  white-space: nowrap;
}

.tgs-brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tgs-brand-block img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.tgs-brand-meta {
  display: flex;
  flex-direction: column;
}
.tgs-brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--navy);
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.tgs-brand-tagline {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}

@media (min-width: 1025px) {
  .univ-title,
  .tgs-brand-title {
    white-space: nowrap;
  }
}
.header-badges {
  display: flex;
  gap: 8px;
}
.badge {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.05em;
  color: #fff;
}
.badge-naac { background-color: var(--maroon); border: 1px solid rgba(255,255,255,0.1); }
.badge-nba { background-color: #0284c7; }
.badge-nirf { background-color: var(--gold-dark); }

/* ── HERO BANNER ── */
.hero {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--navy-light) 100%);
  color: var(--text-light);
  padding: 80px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(133, 6, 60, 0.15) 0%, transparent 40%);
  pointer-events: none;
}
.hero-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.tag-dot {
  width: 10px;
  height: 10px;
  background-color: var(--gold);
  transform: rotate(45deg);
  display: inline-block;
  animation: pulse-diamond 1.8s infinite ease-in-out;
  margin-right: 6px;
}
@keyframes pulse-diamond {
  0% {
    transform: rotate(45deg) scale(0.85);
    box-shadow: 0 0 0 0 rgba(220, 161, 70, 0.8);
  }
  50% {
    transform: rotate(45deg) scale(1.15);
    box-shadow: 0 0 8px 4px rgba(220, 161, 70, 0.4);
  }
  100% {
    transform: rotate(45deg) scale(0.85);
    box-shadow: 0 0 0 0 rgba(220, 161, 70, 0);
  }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 40px;
}
.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 700px;
  margin: 0 auto 40px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(8px);
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}
.meta-item i {
  font-size: 1.8rem;
  color: var(--gold);
}
.meta-item div {
  display: flex;
  flex-direction: column;
}
.meta-item strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}
.meta-item span {
  font-size: 1rem;
  font-weight: 600;
}
.collab-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  flex-wrap: wrap;
}
.partner-logos .logo-wrap img {
  height: 36px;
  width: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
}
.btn-primary:hover {
  background-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background-color: rgba(255,255,255,0.05);
  border-color: #fff;
}
.btn-block {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(220, 161, 70, 0.2);
}

/* ── CONTAINER & GRID ── */
.main-container {
  max-width: 1200px;
  margin: -40px auto 80px;
  padding: 0 24px;
  position: relative;
  z-index: 10;
}
.content-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.10fr;
  gap: 32px;
  align-items: start;
}

/* ── DETAILS COLUMN ── */
.details-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.card h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40px; height: 3px;
  background-color: var(--maroon);
}
.pci-alignment {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 24px;
  color: #166534;
  font-size: 0.9rem;
}
.pci-alignment i { font-size: 1.2rem; }

/* ── SYLLABUS LIST ── */
.syllabus-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.syllabus-item {
  display: flex;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.syllabus-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.syllabus-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--maroon);
  background-color: rgba(133, 6, 60, 0.05);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.syllabus-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.syllabus-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── HIGHLIGHTS GRID ── */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  list-style: none;
}
.highlights-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.highlights-grid li i {
  color: var(--maroon);
  background-color: rgba(87, 0, 53, 0.06);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.committee-section-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 16px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}
.committee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.committee-person {
  background-color: var(--bg-body);
  border: 1px solid var(--border);
  padding: 24px 20px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.committee-person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.committee-avatar-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  margin-bottom: 16px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--transition);
}
.committee-person:hover .committee-avatar-wrap {
  border-color: var(--gold);
}
.committee-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.committee-person:hover .committee-avatar {
  transform: scale(1.08);
}
.committee-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
}
.committee-person strong {
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.3;
}
.committee-person span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--maroon);
  margin: 6px 0 4px;
  letter-spacing: 0.02em;
}
.committee-person small {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── PARTNER CARD ── */
.card-partner {
  background: #051d40; /* BestWay Navy */
  border: 1px solid #008ca8; /* BestWay Teal */
  box-shadow: 0 8px 32px rgba(5, 29, 64, 0.15);
}
.card-partner h2 {
  color: #ffffff !important;
}
.card-partner .partner-label {
  color: #00b4d8 !important; /* Bright contrasting Teal */
}
.card-partner .partner-desc {
  color: #cbd5e1 !important; /* High contrast soft white/light grey */
}
.card-partner h2::after {
  background-color: #03a149 !important; /* BestWay Green */
}
.partner-link {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}
.partner-link:hover {
  opacity: 0.8;
}
.partner-meta-wrap {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}
.partner-crest {
  background-color: var(--navy);
  color: var(--gold);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.partner-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}
.partner-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.partner-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.partner-badges span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.partner-badges span i {
  color: var(--success);
}

/* ── PAYMENT COLUMN / FORM ── */
.sticky-form-container {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card.form-card {
  padding: 0;
  overflow: hidden;
}
.form-header {
  background-color: var(--maroon);
  color: var(--text-light);
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.form-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}
.form-price-label {
  font-size: 0.85rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fdp-form {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-light);
}
.form-group input,
.form-group select {
  font-family: var(--font-body);
  padding: 12px 16px;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #fff;
  transition: all var(--transition);
  width: 100%;
  min-width: 0;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(87, 0, 53, 0.08);
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-row-title-name {
  grid-template-columns: 85px 1fr;
  gap: 12px;
}

/* ── PRICE BREAKDOWN ── */
.price-breakdown {
  background-color: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.price-breakdown hr {
  border: none;
  border-top: 1px solid var(--border);
}
.price-row.total-row {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.error-box {
  background-color: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}
.hidden { display: none !important; }

.form-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.form-disclaimer .deadline {
  color: var(--royal-blue);
  font-weight: 700;
}
.terms-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  margin-top: 10px;
  margin-bottom: 8px;
}
.terms-text a {
  color: var(--royal-blue);
  text-decoration: underline;
  font-weight: 600;
}

/* ── HELP CARD ── */
.help-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.help-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-links a:hover {
  color: var(--gold-dark);
}
.contact-links a.whatsapp-link {
  color: #25d366;
}
.contact-links a.whatsapp-link:hover {
  color: #128c7e;
}

/* ── FOOTER (Mimicked from Homepage) ── */
.footer {
  background: #570035;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 0;
}
[data-theme="dark"] .footer { background: #150009; }
.footer-grid {
  max-width: 1560px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr 1.3fr;
  gap: 32px; margin-bottom: 50px;
}
.footer-brand p { font-size: 0.88rem; margin-top: 14px; line-height: 1.6; }
.footer-address {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-address-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  flex-shrink: 0;
}
.footer-gst {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-gst-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  flex-shrink: 0;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(220,161,70,0.3));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 32px; height: 32px;
  object-fit: contain;
}
.logo-name {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem;
  color: #ffffff; letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo-name-sub {
  font-size: 0.85rem; font-weight: 600; color: var(--gold);
}
.footer-brand .logo-name { color: #ffffff; }
.footer-brand .logo-name-sub {
  color: #ffffff;
  font-size: inherit;
  font-weight: inherit;
  display: inline;
}
.footer-col h4 {
  font-size: 0.85rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-links a { font-size: 0.88rem; transition: color var(--transition); color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-links a:hover { color: #ffffff; }

.footer-newsletter p { font-size: 0.88rem; margin-bottom: 14px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter-row .form-input {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1);
  color: #ffffff; padding: 10px 14px; font-size: 0.85rem;
}
.newsletter-row .form-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-row .btn { padding: 10px 16px; }

.footer-bottom {
  position: relative;
  max-width: 1560px; margin: 0 auto; padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: center; align-items: center;
  font-size: 0.82rem;
}
.footer-bottom p {
  text-align: center;
  margin: 0;
  padding: 0 120px;
}
.footer-signature-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-signature-link:hover {
  color: #fff0b8;
  text-decoration: underline;
}
.footer-socials {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
}
.social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: all var(--transition);
}
.social-icon:hover { background: var(--gold); color: #570035; border-color: var(--gold); transform: translateY(-2px); }
.social-icon svg { width: 15px; height: 15px; fill: currentColor; }

/* ── COUNTDOWN TIMER ── */
.countdown-container {
  max-width: 480px;
  margin: 0 auto 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  backdrop-filter: blur(8px);
}
.countdown-title {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 12px;
}
.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.time-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}
.time-block span:first-child {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(133, 6, 60, 0.5);
}
.time-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* ── FORM ROW SPLIT ── */
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ── HERO PARTNER LOGOS ── */
.collab-and {
  color: #94a3b8;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 8px;
  display: flex;
  align-items: center;
}
.bw-hero-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 6px 16px 6px 8px;
  backdrop-filter: blur(4px);
  transition: var(--transition);
}
.bw-hero-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}
.bw-logo-wrap-square {
  background: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.bw-logo-wrap-square img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
}
.bw-company-name {
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-family: var(--font-heading);
}

/* ── LOADING OVERLAY ── */
.loading-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(13, 27, 42, 0.75); /* Dark semi-transparent navy */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity var(--transition);
}
.loader-content {
  text-align: center;
  color: #fff;
  padding: 32px;
  max-width: 400px;
}
.spinner-triple {
  width: 64px;
  height: 64px;
  border: 4px solid transparent;
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 1.2s linear infinite;
  position: relative;
}
.spinner-triple::before,
.spinner-triple::after {
  content: '';
  position: absolute;
  border: 4px solid transparent;
  border-radius: 50%;
}
.spinner-triple::before {
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border-top-color: var(--maroon);
  animation: spin 1.8s linear infinite reverse;
}
.spinner-triple::after {
  top: 12px; left: 12px; right: 12px; bottom: 12px;
  border-top-color: #0284c7;
  animation: spin 0.8s linear infinite;
}
.loader-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.loader-subtext {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Button disabled state overrides */
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}
.btn-primary:disabled {
  background-color: var(--gold-dark);
  color: rgba(255, 255, 255, 0.75);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── VISIT OTHER PAGES SECTION ── */
.visit-others {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--gold);
  padding: 60px 24px;
}
.visit-others-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.visit-others h2 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 12px;
}
.visit-others h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 40px; height: 3px;
  background: var(--gold);
  border-radius: 99px;
}
.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.visit-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.visit-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.visit-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--border);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.visit-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.visit-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .visit-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FOOTER POLICIES HEADING ── */
.footer-policy-heading {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 8px;
  margin-top: 4px;
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
  .header {
    position: relative !important;
    top: auto;
    box-shadow: var(--shadow-sm);
    padding: 16px;
  }
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .branding-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .association-text {
    margin: 4px 0;
    display: block;
  }
  .university-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .university-meta {
    align-items: center;
    text-align: center;
  }
  .tgs-brand-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
  }
  .tgs-brand-meta {
    align-items: center;
    text-align: center;
  }
  .header-badges {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 992px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .sticky-form-container {
    position: static;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .main-container {
    margin: -20px auto 40px;
    padding: 0 16px;
  }
  .hero {
    padding: 60px 16px 80px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-subtitle {
    font-size: 1.15rem;
  }
  .meta-item {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .card {
    padding: 20px;
  }
  .fdp-form, .form-header {
    padding: 20px;
  }
  .form-row-split, .form-row-title-name {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .syllabus-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .partner-meta-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .logo-name {
    white-space: normal;
    font-size: 1.15rem;
  }
}

@media (max-width: 360px) {
  .countdown-timer {
    gap: 8px;
  }
  .time-block {
    min-width: 60px;
    padding: 8px 10px;
  }
  .time-block span:first-child {
    font-size: 1.5rem;
  }
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .footer-bottom p { padding: 0; }
  .footer-socials { position: static; transform: none; margin-top: 4px; }
}

/* ── TAB NAVIGATION STYLES ── */
.tabs-header {
  display: flex;
  gap: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-md);
  padding: 6px 12px;
  margin-bottom: 24px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}
.tabs-header::-webkit-scrollbar {
  display: none;
}
.tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.7); /* White when unselected */
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.tab-btn:hover {
  color: #ffffff;
}
.tab-btn.active {
  color: var(--gold); /* Gold when selected */
  border-bottom-color: var(--gold);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── CUSTOM IMAGE ALIGNMENT FOR PALANIRAJ ── */
.committee-avatar-palaniraj {
  transform: scale(1.14) translateY(4px);
  transform-origin: center top;
}
.committee-person:hover .committee-avatar-palaniraj {
  transform: scale(1.22) translateY(4px);
}

/* ── MOBILE TABS OVERRIDE ── */
@media (max-width: 600px) {
  .tabs-header {
    flex-direction: column;
    padding: 8px;
    gap: 4px;
    overflow-x: visible;
  }
  .tab-btn {
    width: 100%;
    white-space: normal;
    text-align: left;
    padding: 12px 16px;
    border-bottom: none;
    border-left: 3px solid transparent;
    border-radius: 4px;
  }
  .tab-btn.active {
    border-bottom-color: transparent;
    border-left-color: var(--gold);
    background-color: rgba(255, 255, 255, 0.08);
  }
}

/* Extension Alert Banner */
.extension-alert {
  background: linear-gradient(90deg, #d32f2f, #e53935);
  color: white;
  text-align: center;
  padding: 12px 20px;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
  position: relative;
  z-index: 100;
  overflow: hidden;
}

.extension-alert-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 1200px;
  margin: 0 auto;
  letter-spacing: 0.3px;
}

.extension-alert-content strong {
  font-weight: 800;
  color: #ffeb3b;
  text-transform: uppercase;
}

.pulse-icon {
  font-size: 1.2rem;
  color: #ffeb3b;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.8; }
  100% { transform: scale(0.9); opacity: 1; }
}

@media (max-width: 768px) {
  .extension-alert {
    padding: 10px 15px;
  }
  .extension-alert-content {
    font-size: 0.9rem;
    flex-direction: row;
    text-align: left;
    gap: 8px;
  }
}

