@import 'variables.css';

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; font-weight: 600; }

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul, ol {
  list-style: none;
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-accent {
  background-color: var(--color-accent-light);
}

/* Button Utilities */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  gap: var(--spacing-sm);
  white-space: nowrap;
}

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

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

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
}

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

/* Header Styles */
.site-header {
  background-color: var(--color-white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-links {
  display: flex;
  gap: var(--spacing-sm);
}

@media (min-width: 1200px) {
  .main-nav { gap: var(--spacing-lg); }
  .nav-links { gap: var(--spacing-md); }
}

.nav-links li {
  position: relative;
  list-style: none;
}

.nav-links a, .nav-links .has-dropdown > a {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
  padding: 0.5rem 0;
  cursor: pointer;
  color: var(--color-text-dark);
  white-space: nowrap;
}

.nav-links a:hover, .nav-links .has-dropdown:hover > a {
  color: var(--color-secondary);
}

.nav-links a.active {
  color: var(--color-secondary);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-secondary);
}

/* Dropdown Navigation (Desktop) */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 240px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.15s;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 20px;
}
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}
.dropdown-menu li {
  width: 100%;
}
.dropdown-menu a {
  padding: 0.75rem 1.5rem;
  color: #0e2e57 !important;
  font-weight: 500;
  border-left: 3px solid transparent;
  width: 100%;
  display: block;
}
.dropdown-menu a::after {
  display: none !important;
}
.dropdown-menu a:hover {
  border-left-color: var(--color-secondary) !important;
  background: var(--color-accent-light) !important;
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.header-ctas .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
}

.btn-call {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.btn-call:hover {
  background-color: #081e3a;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-primary);
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-drawer.active {
  right: 0;
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.close-menu {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  list-style: none;
}

.mobile-nav-links a, .mobile-dropdown-toggle {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text-dark);
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-links a:hover, .mobile-dropdown-toggle:hover {
  color: var(--color-secondary);
}

/* Mobile Accordion */
.mobile-has-dropdown {
  display: flex;
  flex-direction: column;
}
.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.mobile-dropdown-toggle .dropdown-icon {
  transition: transform 0.3s ease;
}
.mobile-dropdown-toggle.active .dropdown-icon {
  transform: rotate(180deg);
}
.mobile-dropdown-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
}
.mobile-dropdown-menu.expanded {
  max-height: 500px;
}
.mobile-dropdown-menu li {
  list-style: none;
}
.mobile-dropdown-menu a {
  padding: 0.5rem 0;
  font-size: 1rem;
  color: #475569;
  display: block;
}

.mobile-ctas {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 999;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.05);
}

/* Image Placeholders */
.image-placeholder {
  background-color: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 0.875rem;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  width: 100%;
  min-height: 250px;
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
}

/* Footer Styles */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.875rem;
  color: #cbd5e1;
}

/* Responsive Overrides */
@media (max-width: 1100px) {
  .header-ctas {
    display: none; /* Hide top CTAs on smaller screens to save space */
  }
}

@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}

/* --- Page Specific Layouts & Utilities --- */
.text-center { text-align: center; }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.section-header {
  margin-bottom: var(--spacing-xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Hero Section */
.hero-inner {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}
.hero-content { flex: 1; }
.hero-image { flex: 1; }
.hero-ctas {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* Cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--color-accent-light);
  color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

/* Category Cards */
.category-card {
  text-align: center;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.category-card:hover {
  border-color: var(--color-secondary);
  background-color: var(--color-accent-light);
}

/* Process Steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}
.step-number {
  width: 40px;
  height: 40px;
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}

/* Stats */
.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

/* Medical Strip */
.medical-strip-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}
.medical-tags {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}
.medical-tag {
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
}

/* Responsive Overrides for new components */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-ctas { justify-content: center; flex-wrap: wrap; }
  
  .scrollable-mobile {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    /* hide scrollbar for better ui */
    scrollbar-width: none;
  }
  .scrollable-mobile::-webkit-scrollbar { display: none; }
  .scrollable-mobile > * {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
  
  .process-grid { grid-template-columns: 1fr; }
  .medical-strip-inner { justify-content: center; text-align: center; }
  .medical-tags { justify-content: center; }
}

/* --- About Page Specific --- */
.page-sub-nav {
  background: var(--color-bg-light);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 80px; /* Below main header */
  z-index: 990;
}
.page-sub-nav-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}
.page-sub-nav-links a {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}
.page-sub-nav-links a:hover {
  color: var(--color-secondary);
  background: var(--color-accent-light);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  align-items: stretch;
}
.comparison-card {
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  height: 100%;
}
.comparison-card.problem {
  background-color: #fff1f2;
  border-left: 4px solid #f43f5e;
}
.comparison-card.solution {
  background-color: var(--color-accent-light);
  border-left: 4px solid var(--color-secondary);
}
@media (max-width: 768px) {
  .comparison-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }
}
.founder-image-wrapper {
  flex: 0 0 350px;
}
@media (max-width: 768px) {
  .founder-image-wrapper {
    flex: 1 1 100%;
    margin-bottom: var(--spacing-md);
  }
}

/* --- New UI Components --- */
/* Table Styles */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-lg) 0;
  background: var(--color-white);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.comparison-table th, .comparison-table td {
  padding: var(--spacing-md);
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.comparison-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
}
.comparison-table tr:last-child td {
  border-bottom: none;
}

/* Filter Bar */
.filter-bar {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-lg);
}
.filter-bar select {
  flex: 1;
  min-width: 150px;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

/* Tabs */
.tabs-nav {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: var(--spacing-md);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}
.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Accordion FAQ */
.accordion-item {
  border: 1px solid #e2e8f0;
  margin-bottom: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--color-white);
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: transparent;
  border: none;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-primary);
}
.accordion-content {
  padding: 0 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.accordion-item.active .accordion-content {
  padding: 1rem;
  max-height: 500px;
}

/* Timeline */
.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: var(--spacing-xl) 0;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-secondary);
  z-index: 1;
}
.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 160px;
  flex-shrink: 0;
}
.timeline-dot {
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: bold;
  border: 4px solid var(--color-bg-light);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: var(--spacing-sm) 0;
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: var(--spacing-md);
}
.breadcrumbs a {
  color: var(--color-primary);
}
.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Mobile Bottom Sticky Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: 1rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  gap: 1rem;
}
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
  }
}

/* Landing Page Minimal */
.landing-header {
  padding: 1rem 0;
  background: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: relative;
  z-index: 1000;
}
.landing-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Universities Page Specific --- */
.uni-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.uni-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.uni-card-header {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}
.uni-logo-box {
  width: 60px;
  height: 60px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.uni-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.uni-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-type { background: var(--color-primary); color: white; }
.badge-nirf { background: #334155; color: white; }
.badge-naac-gold { background: #fef08a; color: #854d0e; border: 1px solid #fde047; } 
.badge-naac-silver { background: #f1f5f9; color: #334155; border: 1px solid #cbd5e1; } 
.badge-naac-bronze { background: #ffedd5; color: #9a3412; border: 1px solid #fdba74; } 

.uni-card-body {
  padding: 1.5rem;
  flex: 1;
}
.uni-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}
.uni-meta-item {
  display: flex;
  flex-direction: column;
}
.uni-meta-label {
  color: #64748b;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}
.uni-card-footer {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  display: flex;
  gap: 1rem;
}

/* Filters */
.filters-top {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
}
.search-row {
  margin-bottom: 1rem;
}
.search-row input {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.3s;
}
.search-row input:focus {
  border-color: var(--color-secondary);
}
.filter-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.filter-controls select {
  flex: 1;
  min-width: 160px;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
}

/* Compare Tray */
.compare-tray {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: 1rem;
  z-index: 2000;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-top: 4px solid var(--color-secondary);
}
.compare-tray.active {
  bottom: 0;
}
.compare-tray-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 1rem;
}
.compare-items {
  display: flex;
  gap: 1rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.compare-items::-webkit-scrollbar { display: none; }
.compare-item {
  background: #f1f5f9;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #cbd5e1;
  white-space: nowrap;
}
.compare-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0 0.25rem;
}
.compare-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Filters Drawer */
.mobile-filter-btn {
  display: none;
  width: 100%;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .mobile-filter-btn { display: block; }
  .filter-controls {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: white;
    z-index: 3000;
    flex-direction: column;
    padding: 2rem;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .filter-controls.active {
    display: flex;
    transform: translateX(0);
  }
  .filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2999;
  }
  .filter-overlay.active { display: block; }
  .compare-tray-inner { flex-direction: column; align-items: stretch; }
  .compare-actions { justify-content: space-between; }
}

/* --- University Detail Page --- */
.uni-hero-banner {
  height: 300px;
  background-color: #cbd5e1;
  background-size: cover;
  background-position: center;
  position: relative;
}
.uni-hero-bottom {
  background: var(--color-white);
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}
.uni-hero-container {
  display: flex;
  gap: 2rem;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}
.uni-hero-logo {
  width: 140px;
  height: 140px;
  background: var(--color-white);
  border: 4px solid var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.uni-hero-logo img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}
.uni-hero-info {
  flex: 1;
  padding-top: 70px; /* Offset for the overlapping logo */
}
.uni-quick-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.stat-box {
  display: flex;
  flex-direction: column;
}
.stat-box-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}
.stat-box-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
}
.uni-hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

/* Detail Layout */
.detail-layout {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  align-items: flex-start;
}
.detail-main {
  flex: 1;
  min-width: 0;
}
.detail-sidebar {
  flex: 0 0 350px;
  position: sticky;
  top: 100px;
}
@media (max-width: 992px) {
  .detail-layout { flex-direction: column; }
  .detail-sidebar { width: 100%; position: static; flex: auto; }
  .uni-hero-container { flex-direction: column; margin-top: -80px; gap: 1rem; align-items: center; text-align: center; }
  .uni-hero-info { padding-top: 1rem; }
  .uni-quick-stats { justify-content: center; }
  .uni-hero-actions { justify-content: center; }
}

/* Tabs & Content */
.detail-tabs-nav {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 2rem;
  scrollbar-width: none;
}
.detail-tabs-nav::-webkit-scrollbar { display: none; }
.detail-tab-btn {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}
.detail-tab-btn.active, .detail-tab-btn:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-secondary);
}
.detail-tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}
.detail-tab-pane.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tables */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.fee-table th, .fee-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.fee-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
}

/* EMI Widget */
.emi-widget {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  margin-top: 2rem;
}
.emi-result {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1rem;
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.facility-item {
  text-align: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
}

/* --- Program Detail Page --- */
.program-hero {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 0 3rem;
}
.program-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
}
.program-stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.program-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #cbd5e1;
  font-weight: 600;
}
.program-stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
}
.program-apply-section {
  background: #dcfce7;
  padding: 4rem 0;
  border-top: 5px solid #166534;
}

/* --- Compare Page --- */
.compare-wrapper {
  overflow-x: auto;
  margin-bottom: 3rem;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}
.compare-table th, .compare-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  border-right: 1px solid #e2e8f0;
  vertical-align: middle;
  text-align: center;
}
.compare-table th:first-child, .compare-table td:first-child {
  position: sticky;
  left: 0;
  background: #f8fafc;
  z-index: 10;
  text-align: left;
  font-weight: 600;
  color: #475569;
  width: 250px;
  border-right: 2px solid #cbd5e1;
}
.compare-table th:last-child, .compare-table td:last-child {
  border-right: none;
}
.compare-table thead th {
  background: white;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 2px solid #cbd5e1;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.compare-table thead th:first-child {
  z-index: 30;
  background: #f8fafc;
}
.compare-row-header td {
  background: #f1f5f9 !important; /* Override sticky bg if needed, but it only applies to single merged td */
  font-weight: 700;
  color: var(--color-primary);
  text-align: left;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  border-bottom: 2px solid #cbd5e1;
  border-right: none;
  position: static !important; /* Override sticky left */
  z-index: 1;
}
.compare-table td.best-value {
  background-color: var(--color-accent-light);
  font-weight: 700;
  color: var(--color-primary);
}
.compare-header-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.compare-change-btn {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  background: #e2e8f0;
  color: #475569;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  font-weight: 600;
  transition: background 0.2s;
}
.compare-change-btn:hover {
  background: #cbd5e1;
}
.gm-score-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
  width: 100%;
}
.gm-score-fill {
  height: 100%;
  transition: width 0.5s ease;
}
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  max-height: 250px;
  overflow-y: auto;
  z-index: 100;
  display: none;
  text-align: left;
}
.search-dropdown.active {
  display: block;
}
.search-dropdown-item {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.search-dropdown-item:hover {
  background: #f8fafc;
}

/* --- Exam Directory & Detail Pages --- */
.exam-hero {
  background: linear-gradient(135deg, var(--color-primary), #1a365d);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
}
.exam-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.exam-tab {
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  background: white;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.exam-tab.active, .exam-tab:hover {
  background: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary);
}
.exam-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  transition: transform 0.2s, box-shadow 0.2s;
}
.exam-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.exam-stream-badge {
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  background: #e0f2fe;
  color: #0284c7;
  display: inline-block;
  margin-bottom: 0.5rem;
}
.exam-timeline {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 2rem;
}
.exam-timeline::before {
  content: '';
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #cbd5e1;
}
.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.9rem;
  top: 0.25rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--color-secondary);
  border: 2px solid white;
  box-shadow: 0 0 0 2px var(--color-secondary);
}
.exam-quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
}
/* --- NEET Rank Predictor --- */
.predictor-input-wrapper .score-input {
  width: 100%;
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  padding: 1.5rem;
  border: 3px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--color-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.predictor-input-wrapper .score-input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(15, 33, 49, 0.1);
}

/* Dynamic Border Colors */
.score-input.border-green { border-color: #10b981; }
.score-input.border-blue { border-color: #3b82f6; }
.score-input.border-amber { border-color: #f59e0b; }
.score-input.border-orange { border-color: #f97316; }
.score-input.border-red { border-color: #ef4444; }

/* Variables for colors if not set */
:root {
  --border-green: #10b981;
  --border-blue: #3b82f6;
  --border-amber: #f59e0b;
  --border-orange: #f97316;
  --border-red: #ef4444;
}

/* Lead Gate Blur */
.dummy-report-card {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
  margin-bottom: -150px; /* pull overlay up */
}
.lead-gate-overlay {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  margin-top: -100px;
}
.lead-gate-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  max-width: 600px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.5);
}

@media (max-width: 768px) {
  .lead-gate-card {
    padding: 1.5rem;
    margin-top: -50px;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .site-footer,
  .page-sub-nav,
  .floating-whatsapp,
  .hide-on-print {
    display: none !important;
  }
  
  body, main, #stage-3 {
    background: white !important;
    color: black !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .result-card-container {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
    margin: 0 !important;
  }
}

/* Mobile Ordering */
@media (max-width: 768px) {
  .order-1-mobile {
    order: 1 !important;
  }
  .order-2-mobile {
    order: 2 !important;
  }
}

/* --- Premium Predictor Form Overhaul --- */
.premium-form-card {
  max-width: 700px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.premium-score-input {
  width: 100%;
  font-size: 4rem;
  font-weight: 800;
  text-align: center;
  padding: 1rem 3rem 1rem 1rem;
  border: none;
  border-bottom: 3px solid #cbd5e1;
  background: transparent;
  color: var(--color-primary);
  transition: all 0.3s ease;
  outline: none;
}
.premium-score-input:focus {
  border-bottom-color: var(--color-secondary);
}

/* Custom Select styling */
.custom-select-wrapper {
  position: relative;
}
.premium-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}
.premium-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
  background-color: white;
}
.select-arrow {
  position: absolute;
  right: 1rem;
  top: 60%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
}

/* Custom Multi-Select */
.custom-multi-select-container {
  position: relative;
  width: 100%;
}
.multi-select-box {
  min-height: 54px;
  padding: 0.5rem 3rem 0.5rem 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.multi-select-box.active {
  border-color: var(--color-primary);
  background-color: white;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}
.placeholder-text {
  color: #94a3b8;
  padding: 0.5rem;
}
.state-tag {
  background: var(--color-primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.state-tag-remove {
  cursor: pointer;
  font-weight: bold;
  opacity: 0.7;
}
.state-tag-remove:hover {
  opacity: 1;
}

.multi-select-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--color-primary);
  border-top: none;
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  z-index: 100;
  display: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.custom-multi-select-container.active .multi-select-dropdown {
  display: block;
}
.dropdown-search {
  padding: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.dropdown-search input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.875rem;
  outline: none;
}
.dropdown-options {
  max-height: 250px;
  overflow-y: auto;
}
.dropdown-option {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}
.dropdown-option:hover {
  background: #f1f5f9;
}
.dropdown-option input[type="checkbox"] {
  cursor: pointer;
}

/* --- NEET College Predictor --- */
/* Score Band Indicator */
.score-band-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 250px;
}
.band-green { background: #d1fae5; color: #047857; border: 1px solid #10b981; }
.band-blue { background: #dbeafe; color: #1d4ed8; border: 1px solid #3b82f6; }
.band-amber { background: #fef3c7; color: #b45309; border: 1px solid #f59e0b; }
.band-orange { background: #ffedd5; color: #c2410c; border: 1px solid #f97316; }
.band-red { background: #fee2e2; color: #b91c1c; border: 1px solid #ef4444; }

/* Filter Tabs */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-tab {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #cbd5e1;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  color: #475569;
  transition: all 0.2s ease;
}
.filter-tab:hover {
  background: #f1f5f9;
}
.filter-tab.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Circular Progress */
.progress-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: conic-gradient(var(--ring-color) var(--percentage), #e2e8f0 0deg);
  position: relative;
}
.progress-ring::before {
  content: "";
  position: absolute;
  width: 66px;
  height: 66px;
  background: white;
  border-radius: 50%;
}
.progress-ring-text {
  position: relative;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text-dark);
}

/* Prediction Label Badges */
.badge-safe { background: #d1fae5; color: #047857; }
.badge-moderate { background: #fef3c7; color: #b45309; }
.badge-low { background: #ffedd5; color: #c2410c; }
.badge-difficult { background: #fee2e2; color: #b91c1c; }

/* College Card Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.college-card {
  animation: fadeUp 0.5s ease forwards;
  opacity: 0;
}

/* Mini Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(5px);
}
.modal-overlay.active {
  display: flex;
}
.mini-modal {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  position: relative;
}
.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
}

/* Sticky Bottom CTA */
.sticky-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: white;
  padding: 1rem;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  z-index: 900;
  display: none;
}
@media (max-width: 768px) {
  .sticky-bottom-cta {
    display: block;
  }
}


/* --- INLINE STYLES EXTRACTED FROM HTML FILES --- */

/* Styles from ask-expert.html (Block 1) */
.forum-hero {
            background-color: var(--color-bg-light);
            padding: 4rem 0 2rem 0;
            text-align: center;
        }

        .forum-layout {
            display: grid;
            grid-template-columns: 1fr 300px;
            gap: 2rem;
            margin: 3rem 0;
        }

        .ask-card {
            background: white;
            border-radius: var(--radius-lg);
            border: 2px solid var(--color-primary);
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
        }

        .question-card {
            background: white;
            border-radius: var(--radius-md);
            border: 1px solid #e2e8f0;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .q-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            background: #cbd5e1;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: white;
        }

        .q-title {
            font-size: 1.125rem;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        .q-meta {
            font-size: 0.875rem;
            color: #64748b;
        }

        .expert-answer {
            margin-top: 1.5rem;
            padding: 1.5rem;
            background: #f8fafc;
            border-left: 4px solid var(--color-secondary);
            border-radius: 4px;
        }

        .expert-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            background: #dcfce7;
            color: #166534;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        @media (max-width: 992px) {
            .forum-layout {
                grid-template-columns: 1fr;
            }
            .sidebar-order {
                order: -1;
            }
        }

/* Styles from blog.html (Block 1) */
.blog-hero {
            background-color: var(--color-bg-light);
            padding: 5rem 0 3rem 0;
            text-align: center;
        }
        
        .blog-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin: 2rem 0;
        }
        
        .filter-pill {
            background: white;
            border: 1px solid #cbd5e1;
            padding: 0.5rem 1.25rem;
            border-radius: 30px;
            font-weight: 600;
            color: #475569;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .filter-pill:hover, .filter-pill.active {
            background: var(--color-primary);
            color: white;
            border-color: var(--color-primary);
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .blog-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            border: 1px solid #e2e8f0;
        }
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .blog-img-wrapper {
            height: 200px;
            background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.25rem;
            text-align: center;
            padding: 1rem;
            position: relative;
        }

        .blog-category-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: var(--color-secondary);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .blog-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-meta {
            font-size: 0.875rem;
            color: #64748b;
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.75rem;
        }

        .blog-title {
            font-size: 1.25rem;
            color: var(--color-primary);
            margin-bottom: 1rem;
            line-height: 1.4;
        }

        .blog-title a {
            color: inherit;
            text-decoration: none;
        }
        .blog-title a:hover {
            color: var(--color-secondary);
        }

        .blog-excerpt {
            color: #475569;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .blog-footer {
            border-top: 1px solid #e2e8f0;
            padding-top: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .read-more {
            color: var(--color-primary);
            font-weight: 600;
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        .read-more:hover {
            color: var(--color-secondary);
        }

/* Styles from compare.html (Block 1) */
.compare-hero {
            background-color: var(--color-bg-light);
            padding: 3rem 0;
            text-align: center;
        }

        .compare-container {
            margin: 3rem auto 5rem auto;
            max-width: 1200px;
            overflow-x: auto;
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        }

        .compare-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            min-width: 800px;
        }

        .compare-table th, .compare-table td {
            padding: 1.25rem 1.5rem;
            border-bottom: 1px solid #e2e8f0;
            border-right: 1px solid #e2e8f0;
            vertical-align: top;
        }

        .compare-table th:last-child, .compare-table td:last-child {
            border-right: none;
        }

        .compare-table tr:last-child td {
            border-bottom: none;
        }

        /* Feature Column (Leftmost) */
        .feature-col {
            width: 20%;
            background-color: #f8fafc;
            font-weight: 600;
            color: #475569;
        }

        /* College Columns */
        .college-col {
            width: 26.66%; /* To support max 3 colleges + 1 feature col */
        }

        .compare-table thead th {
            background-color: #f1f5f9;
            color: var(--color-text-dark);
            font-weight: 700;
            font-size: 1.125rem;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .college-header-card {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .college-logo-placeholder {
            width: 100%;
            height: 120px;
            background: linear-gradient(135deg, #cbd5e1, #94a3b8);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 1rem;
            text-align: center;
            padding: 1rem;
            margin-bottom: 1rem;
        }

        .college-title {
            color: var(--color-primary);
            font-size: 1.125rem;
            margin: 0;
        }

        .college-location {
            color: #64748b;
            font-size: 0.875rem;
            font-weight: 400;
        }

        .remove-btn {
            background: none;
            border: none;
            color: #ef4444;
            font-size: 0.875rem;
            cursor: pointer;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            margin-top: 0.5rem;
        }

        .remove-btn:hover {
            text-decoration: underline;
        }

        /* Data formatting */
        .data-val {
            color: var(--color-text-dark);
            line-height: 1.6;
            font-size: 0.95rem;
        }

        .data-list {
            margin: 0;
            padding-left: 1.25rem;
            color: #475569;
        }
        
        .badge {
            display: inline-block;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            background: #e2e8f0;
            color: #475569;
            margin-right: 0.25rem;
            margin-bottom: 0.25rem;
        }

        .empty-state {
            text-align: center;
            padding: 6rem 1rem;
        }

/* Styles from courses.html (Block 1) */
.courses-hero {
            background-color: var(--color-bg-light);
            padding: 4rem 0 2rem 0;
            text-align: center;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .course-card {
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid #e2e8f0;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border-color: #cbd5e1;
        }

        .course-img {
            height: 160px;
            background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }
        
        .course-img.medical { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }
        .course-img.engineering { background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%); }
        .course-img.management { background: linear-gradient(135deg, #4c1d95 0%, #8b5cf6 100%); }

        .course-content {
            padding: 1.5rem;
        }

        .course-title {
            font-size: 1.25rem;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
        }

        .course-meta {
            font-size: 0.875rem;
            color: #64748b;
            margin-bottom: 1rem;
            display: flex;
            gap: 1rem;
        }

        .course-meta span {
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .course-desc {
            font-size: 0.95rem;
            color: #475569;
            line-height: 1.5;
            margin-bottom: 1.5rem;
        }

        .course-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .course-tags span {
            background: #f1f5f9;
            color: #475569;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .explore-btn {
            display: block;
            text-align: center;
            width: 100%;
            padding: 0.75rem;
            background: #f8fafc;
            color: var(--color-primary);
            font-weight: 600;
            border-top: 1px solid #e2e8f0;
            text-decoration: none;
            transition: background 0.2s;
        }

        .explore-btn:hover {
            background: #e2e8f0;
        }

/* Styles from exams.html (Block 1) */
.exams-hero {
            background-color: var(--color-bg-light);
            padding: 4rem 0 2rem 0;
            text-align: center;
        }

        .exams-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            margin: 3rem 0;
        }

        .exams-sidebar {
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid #e2e8f0;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 2rem;
        }

        .exam-tab-btn {
            display: block;
            width: 100%;
            text-align: left;
            padding: 1rem;
            margin-bottom: 0.5rem;
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius-md);
            font-size: 1rem;
            font-weight: 600;
            color: #475569;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .exam-tab-btn:hover {
            border-color: #cbd5e1;
            background: #f8fafc;
        }

        .exam-tab-btn.active {
            background: var(--color-primary);
            color: white;
            border-color: var(--color-primary);
            box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
        }

        .exam-content-card {
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid #e2e8f0;
            padding: 2.5rem;
            display: none;
        }

        .exam-content-card.active {
            display: block;
            animation: fadeIn 0.4s ease forwards;
        }

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

        .exam-header {
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 1.5rem;
            margin-bottom: 2rem;
        }

        .exam-title {
            font-size: 2.5rem;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
        }

        .exam-subtitle {
            font-size: 1.125rem;
            color: #64748b;
            font-weight: 500;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2.5rem;
        }

        .info-card {
            background: #f8fafc;
            padding: 1.5rem;
            border-radius: var(--radius-md);
            border-left: 4px solid var(--color-secondary);
        }

        .info-label {
            font-size: 0.875rem;
            color: #64748b;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 0.5rem;
            display: block;
        }

        .info-val {
            font-size: 1.125rem;
            color: var(--color-text-dark);
            font-weight: 700;
        }

        .section-title {
            font-size: 1.5rem;
            color: var(--color-primary);
            margin-bottom: 1.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .dates-table, .pattern-table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 2.5rem;
        }

        .dates-table th, .dates-table td, .pattern-table th, .pattern-table td {
            padding: 1rem;
            border: 1px solid #e2e8f0;
            text-align: left;
        }

        .dates-table th, .pattern-table th {
            background: #f1f5f9;
            font-weight: 600;
            color: #334155;
            width: 40%;
        }

        .eligibility-box {
            background: #dcfce7;
            padding: 1.5rem;
            border-radius: var(--radius-md);
            color: #166534;
            line-height: 1.6;
        }

        @media (max-width: 992px) {
            .exams-layout {
                grid-template-columns: 1fr;
            }
            .exams-sidebar {
                position: static;
                display: flex;
                flex-wrap: wrap;
                gap: 0.5rem;
                padding: 1rem;
            }
            .exam-tab-btn {
                width: auto;
                flex: 1;
                text-align: center;
                margin: 0;
            }
            .exam-title { font-size: 2rem; }
        }

/* Styles from index.html (Block 1) */
/* Glassmorphism Hero */
        .premium-hero {
            position: relative;
            background: #0f172a;
            color: white;
            padding: 8rem 0;
            overflow: hidden;
        }
        .premium-hero::before {
            content: '';
            position: absolute;
            top: -100px;
            right: -100px;
            width: 400px;
            height: 400px;
            background: var(--color-primary);
            filter: blur(120px);
            opacity: 0.5;
            border-radius: 50%;
            z-index: 1;
        }
        .premium-hero::after {
            content: '';
            position: absolute;
            bottom: -150px;
            left: -100px;
            width: 500px;
            height: 500px;
            background: var(--color-secondary);
            filter: blur(150px);
            opacity: 0.3;
            border-radius: 50%;
            z-index: 1;
        }
        .premium-hero-inner {
            position: relative;
            z-index: 2;
            display: flex;
            align-items: center;
            gap: 4rem;
        }
        @media (max-width: 900px) {
            .premium-hero-inner {
                flex-direction: column;
                text-align: center;
            }
        }
        .premium-hero-content h1 {
            font-size: 3.5rem;
            line-height: 1.1;
            margin-bottom: 1.5rem;
            color: white;
        }
        .premium-hero-content p {
            font-size: 1.125rem;
            color: #94a3b8;
            margin-bottom: 2.5rem;
        }
        .glass-btn-primary {
            background: var(--color-primary);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            display: inline-block;
            box-shadow: 0 10px 30px rgba(30, 58, 138, 0.4);
            transition: all 0.3s ease;
            border: 1px solid rgba(255,255,255,0.1);
        }
        .glass-btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(30, 58, 138, 0.6);
        }
        .glass-btn-outline {
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(10px);
            color: white;
            padding: 1rem 2rem;
            border-radius: 50px;
            font-weight: 600;
            display: inline-block;
            border: 1px solid rgba(255,255,255,0.2);
            transition: all 0.3s ease;
        }
        .glass-btn-outline:hover {
            background: rgba(255,255,255,0.1);
            transform: translateY(-3px);
        }
        .glass-image-card {
            background: rgba(255, 255, 255, 0.03);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 24px;
            padding: 1rem;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
            transform: perspective(1000px) rotateY(-5deg);
            transition: transform 0.5s ease;
        }
        .glass-image-card:hover {
            transform: perspective(1000px) rotateY(0deg);
        }
        .glass-image-card img {
            border-radius: 16px;
            width: 100%;
            height: auto;
            display: block;
        }

        /* Bento Box Layout */
        .bento-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-auto-rows: 180px;
            gap: 1.5rem;
        }
        @media (max-width: 900px) {
            .bento-grid {
                grid-template-columns: repeat(2, 1fr);
                grid-template-rows: auto;
            }
        }
        @media (max-width: 600px) {
            .bento-grid {
                grid-template-columns: 1fr;
            }
        }
        .bento-item {
            background: white;
            border-radius: 24px;
            padding: 2rem;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            text-decoration: none;
            color: var(--color-text-dark);
        }
        .bento-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
            border-color: var(--color-primary);
        }
        .bento-large-1 {
            grid-column: span 2;
            grid-row: span 2;
            background: linear-gradient(135deg, #eff6ff, #dbeafe);
            border: none;
        }
        .bento-large-2 {
            grid-column: span 2;
            background: linear-gradient(135deg, #f0fdf4, #dcfce7);
            border: none;
        }
        
        .bento-icon { font-size: 2rem; margin-bottom: 0.5rem; background: white; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
        .bento-large-1 .bento-icon { font-size: 3.5rem; width: 80px; height: 80px; }
        .bento-item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
        .bento-large-1 h3 { font-size: 2rem; }
        .bento-item p { color: #64748b; font-size: 0.9rem; margin: 0; }
        
        .premium-stat-strip {
            background: var(--color-primary);
            padding: 4rem 0;
            color: white;
            position: relative;
        }
        .premium-stat-strip .grid { gap: 2rem; }
        .stat-counter-box { text-align: center; }
        .stat-counter-box h3 { font-size: 3.5rem; margin-bottom: 0.5rem; color: var(--color-secondary); font-weight: 800; }
        .stat-counter-box p { font-size: 1.125rem; color: #cbd5e1; font-weight: 500; }

/* Styles from landing-medical.html (Block 1) */
@media (max-width: 768px) {
            .mobile-order-2 { order: 2 !important; }
            .grid-2 > div:nth-child(1) { order: 1 !important; } /* Form goes top */
        }

/* Styles from landing-nonmedical.html (Block 1) */
@media (max-width: 768px) {
            .mobile-order-2 { order: 2 !important; }
            .grid-2 > div:nth-child(1) { order: 1 !important; } 
        }

/* Styles from landing-pg.html (Block 1) */
@media (max-width: 768px) { .mobile-order-2 { order: 2 !important; } .grid-2 > div:nth-child(1) { order: 1 !important; } }

/* Styles from landing-ug.html (Block 1) */
@media (max-width: 768px) { .mobile-order-2 { order: 2 !important; } .grid-2 > div:nth-child(1) { order: 1 !important; } }

/* Styles from mbbs-abroad.html (Block 1) */
.turquoise-border {
            border: 2px solid #2dd4bf;
            position: relative;
        }
        .turquoise-border::before {
            content: '★ Smart Choice';
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: #2dd4bf;
            color: #fff;
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 700;
        }
        .quiz-result {
            display: none;
            margin-top: 1.5rem;
            padding: 1.5rem;
            border-radius: var(--radius-md);
            font-weight: 600;
            text-align: center;
        }
        .country-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        .country-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius-lg);
            padding: 1.5rem;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
        }
        .tag-badge {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 700;
            color: white;
            margin-bottom: 1rem;
        }
        .table-responsive {
            overflow-x: auto;
            margin-top: 2rem;
        }
        .comp-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 800px;
        }
        .comp-table th, .comp-table td {
            padding: 1rem;
            border: 1px solid #e2e8f0;
            text-align: center;
        }
        .comp-table th:first-child, .comp-table td:first-child {
            position: sticky;
            left: 0;
            background: white;
            z-index: 2;
            text-align: left;
            font-weight: 600;
        }
        .comp-table th {
            background: #f8fafc;
            font-weight: 700;
        }
        .highlight-cell {
            background: #e6fffa;
            color: #0d9488;
            font-weight: 700;
        }
        .form-section {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: white;
            padding: 4rem 1rem;
        }

/* Styles from mbbs-abroad.html (Block 2) */
@media (max-width: 768px) {
            .mobile-sticky-bottom { display: block !important; }
            body { padding-bottom: 70px; } /* make room for sticky bar */
        }

/* Styles from medical-admissions.html (Block 1) */
/* Premium Course Cards */
        .premium-course-card {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding: 1.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid transparent;
            background: var(--color-white);
            border-radius: var(--radius-lg);
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
            text-align: left;
        }
        .premium-course-card:hover {
            transform: translateY(-5px);
            border-color: var(--color-primary);
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
        }
        .premium-course-card .course-icon {
            font-size: 2.5rem;
            background: var(--color-bg-light);
            width: 70px;
            height: 70px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            flex-shrink: 0;
            color: var(--color-primary);
        }
        .premium-course-card .course-info h3 {
            margin-bottom: 0.25rem;
            font-size: 1.25rem;
        }
        .premium-course-card .course-info p {
            font-size: 0.85rem;
            color: #64748b;
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }
        .badge-primary {
            background-color: var(--color-primary);
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        /* Premium Process Grid */
        .premium-process-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 1rem;
            position: relative;
        }
        @media (max-width: 900px) {
            .premium-process-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }
        .premium-process-step {
            background: var(--color-white);
            padding: 2rem 1.5rem;
            border-radius: var(--radius-lg);
            position: relative;
            z-index: 2;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
            border-bottom: 4px solid var(--color-primary);
        }
        .premium-process-step:hover {
            transform: translateY(-5px);
        }
        .step-number-badge {
            background: var(--color-secondary);
            color: white;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            font-weight: bold;
            margin: 0 auto 1rem auto;
            box-shadow: 0 4px 10px rgba(16, 185, 129, 0.4);
        }
        .premium-process-step h4 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: var(--color-text-dark);
        }
        
        /* Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(15, 23, 42, 0.7);
            backdrop-filter: blur(4px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: all 0.3s ease;
        }
        .modal-overlay.active {
            opacity: 1;
            pointer-events: auto;
        }
        .modal-overlay .modal-content {
            background: white;
            width: 90%;
            max-width: 400px;
            position: relative;
            transform: translateY(20px);
            transition: transform 0.3s ease;
        }
        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }
        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #94a3b8;
        }
        .modal-close:hover { color: #0f172a; }

/* Styles from neet-counselling-bodies.html (Block 1) */
.timeline-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative;
            margin: 3rem 0;
            padding: 0 1rem;
        }
        .timeline-line {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 4px;
            background: #e2e8f0;
            z-index: 1;
            transform: translateY(-50%);
        }
        .timeline-step {
            position: relative;
            z-index: 2;
            text-align: center;
            width: 120px;
        }
        .timeline-dot {
            width: 24px;
            height: 24px;
            background: var(--color-primary);
            border-radius: 50%;
            margin: 0 auto 1rem auto;
            border: 4px solid white;
            box-shadow: 0 0 0 4px #e2e8f0;
        }
        .timeline-dot.state-dot {
            background: var(--color-secondary);
        }
        .timeline-label {
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--color-text-dark);
            margin-bottom: 0.25rem;
        }
        .timeline-date {
            font-size: 0.75rem;
            color: #64748b;
        }
        
        .quota-diagram {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 2rem 0;
        }
        .quota-box {
            background: white;
            border: 2px solid var(--color-primary);
            padding: 1rem 2rem;
            border-radius: 8px;
            font-weight: 700;
            font-size: 1.25rem;
            color: var(--color-primary);
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            z-index: 2;
        }
        .quota-branches {
            display: flex;
            justify-content: space-around;
            width: 100%;
            max-width: 600px;
            position: relative;
            margin-top: 2rem;
        }
        .quota-branch {
            width: 45%;
            background: white;
            border: 1px solid #e2e8f0;
            padding: 1.5rem;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
            position: relative;
        }
        .quota-branch::before {
            content: '';
            position: absolute;
            top: -2rem;
            left: 50%;
            width: 2px;
            height: 2rem;
            background: var(--color-primary);
        }
        .quota-connector {
            position: absolute;
            top: -2rem;
            left: 25%;
            right: 25%;
            height: 2px;
            background: var(--color-primary);
        }
        
        .mcc-process-steps {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
        }
        .mcc-step {
            background: #f8fafc;
            padding: 1.5rem;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            text-align: center;
        }
        .mcc-step-num {
            width: 32px;
            height: 32px;
            background: var(--color-primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            margin: 0 auto 1rem auto;
        }

        @media (max-width: 768px) {
            .timeline-container {
                flex-direction: column;
                align-items: flex-start;
                padding-left: 2rem;
            }
            .timeline-line {
                top: 0;
                bottom: 0;
                left: 2rem;
                width: 4px;
                height: auto;
                transform: translateX(-50%);
            }
            .timeline-step {
                width: 100%;
                text-align: left;
                margin-bottom: 2rem;
                display: flex;
                align-items: center;
            }
            .timeline-dot {
                margin: 0 1.5rem 0 0;
            }
            
            .quota-branches {
                flex-direction: column;
                gap: 2rem;
            }
            .quota-branch {
                width: 100%;
            }
            .quota-connector {
                display: none;
            }
        }

/* Styles from neet-notice.html (Block 1) */
.blog-hero {
            background-color: var(--color-bg-light);
            padding: 5rem 0 3rem 0;
            text-align: center;
        }
        
        .blog-filters {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin: 2rem 0;
        }
        
        .filter-pill {
            background: white;
            border: 1px solid #cbd5e1;
            padding: 0.5rem 1.25rem;
            border-radius: 30px;
            font-weight: 600;
            color: #475569;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .filter-pill:hover, .filter-pill.active {
            background: var(--color-primary);
            color: white;
            border-color: var(--color-primary);
        }

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .blog-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            border: 1px solid #e2e8f0;
        }
        .blog-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        }

        .blog-img-wrapper {
            height: 200px;
            background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.25rem;
            text-align: center;
            padding: 1rem;
            position: relative;
        }

        .blog-category-badge {
            position: absolute;
            top: 1rem;
            left: 1rem;
            background: var(--color-secondary);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .blog-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .blog-meta {
            font-size: 0.875rem;
            color: #64748b;
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.75rem;
        }

        .blog-title {
            font-size: 1.25rem;
            color: var(--color-primary);
            margin-bottom: 1rem;
            line-height: 1.4;
        }

        .blog-title a {
            color: inherit;
            text-decoration: none;
        }
        .blog-title a:hover {
            color: var(--color-secondary);
        }

        .blog-excerpt {
            color: #475569;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .blog-footer {
            border-top: 1px solid #e2e8f0;
            padding-top: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .read-more {
            color: var(--color-primary);
            font-weight: 600;
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        .read-more:hover {
            color: var(--color-secondary);
        }

/* Styles from neet-predictor.html (Block 1) */
.wizard-container {
            max-width: 1000px;
            margin: 0 auto;
            background: white;
            border-radius: var(--radius-lg);
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        .wizard-header {
            display: flex;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }
        .wizard-step {
            flex: 1;
            text-align: center;
            padding: 1.5rem;
            color: #94a3b8;
            font-weight: 600;
            position: relative;
        }
        .wizard-step.active {
            color: var(--color-primary);
            background: white;
        }
        .wizard-step.active::bottom {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 3px;
            background: var(--color-primary);
        }
        .wizard-step .step-num {
            display: inline-flex;
            width: 24px; height: 24px;
            background: #e2e8f0;
            color: white;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            margin-right: 8px;
            font-size: 0.85rem;
        }
        .wizard-step.active .step-num {
            background: var(--color-primary);
        }
        .wizard-body {
            padding: 3rem;
        }
        @media(max-width: 768px) {
            .wizard-body { padding: 1.5rem; }
            .wizard-step { font-size: 0.85rem; padding: 1rem 0.5rem; }
        }
        
        .huge-input {
            width: 100%;
            font-size: 4rem;
            text-align: center;
            border: none;
            border-bottom: 4px solid #cbd5e1;
            padding: 1rem 0;
            color: var(--color-primary);
            background: transparent;
            font-weight: 800;
            outline: none;
            transition: all 0.3s ease;
        }
        .huge-input:focus {
            border-bottom-color: var(--color-secondary);
        }
        
        .hidden-stage {
            display: none;
        }

/* Styles from neet-rank-predictor.html (Block 1) */
.wizard-container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: var(--radius-lg);
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
            overflow: hidden;
        }
        .wizard-header {
            display: flex;
            background: #f8fafc;
            border-bottom: 1px solid #e2e8f0;
        }
        .wizard-step {
            flex: 1;
            text-align: center;
            padding: 1.5rem;
            color: #94a3b8;
            font-weight: 600;
            position: relative;
        }
        .wizard-step.active {
            color: var(--color-primary);
            background: white;
        }
        .wizard-step.active::bottom {
            content: '';
            position: absolute;
            bottom: 0; left: 0; right: 0;
            height: 3px;
            background: var(--color-primary);
        }
        .wizard-step .step-num {
            display: inline-flex;
            width: 24px; height: 24px;
            background: #e2e8f0;
            color: white;
            border-radius: 50%;
            align-items: center;
            justify-content: center;
            margin-right: 8px;
            font-size: 0.85rem;
        }
        .wizard-step.active .step-num {
            background: var(--color-primary);
        }
        .wizard-body {
            padding: 3rem;
        }
        @media(max-width: 768px) {
            .wizard-body { padding: 1.5rem; }
            .wizard-step { font-size: 0.85rem; padding: 1rem 0.5rem; }
        }
        
        .huge-input {
            width: 100%;
            font-size: 4rem;
            text-align: center;
            border: none;
            border-bottom: 4px solid #cbd5e1;
            padding: 1rem 0;
            color: var(--color-primary);
            background: transparent;
            font-weight: 800;
            outline: none;
            transition: all 0.3s ease;
        }
        .huge-input:focus {
            border-bottom-color: var(--color-secondary);
        }
        
        .hidden-stage {
            display: none;
        }

/* Styles from post.html (Block 1) */
.post-header {
            background-color: var(--color-bg-light);
            padding: 4rem 0;
            border-bottom: 1px solid #e2e8f0;
        }

        .post-category-badge {
            background: var(--color-secondary);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 4px;
            font-size: 0.875rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .post-title {
            font-size: 2.5rem;
            color: var(--color-primary);
            line-height: 1.2;
            margin-bottom: 1.5rem;
            font-family: var(--font-heading);
            font-weight: 800;
        }

        .post-meta {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            color: #64748b;
            font-size: 1rem;
            font-weight: 500;
        }

        .post-meta-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .post-body {
            padding: 4rem 0;
            max-width: 800px;
            margin: 0 auto;
        }

        .post-content {
            font-size: 1.125rem;
            line-height: 1.8;
            color: #334155;
            margin-bottom: 3rem;
        }

        .post-content h2 {
            font-size: 1.875rem;
            color: var(--color-primary);
            margin: 2.5rem 0 1rem 0;
        }

        .post-content h3 {
            font-size: 1.5rem;
            color: var(--color-text-dark);
            margin: 2rem 0 1rem 0;
        }

        .post-content p {
            margin-bottom: 1.5rem;
        }

        .post-content ul, .post-content ol {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
        }

        .post-content li {
            margin-bottom: 0.5rem;
        }

        .post-tags {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
            margin-bottom: 4rem;
            padding-bottom: 2rem;
            border-bottom: 1px solid #e2e8f0;
        }

        .tag-pill {
            background: #f1f5f9;
            color: #475569;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.875rem;
            font-weight: 600;
            text-decoration: none;
            border: 1px solid #e2e8f0;
        }

        .author-box {
            background: var(--color-bg-light);
            padding: 2rem;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            gap: 1.5rem;
            border: 1px solid #e2e8f0;
        }

        .author-avatar {
            width: 80px;
            height: 80px;
            background: var(--color-primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: 700;
        }

        .author-info h4 {
            margin-bottom: 0.25rem;
            color: var(--color-text-dark);
        }

        .author-info p {
            color: #64748b;
            font-size: 0.95rem;
            margin: 0;
        }

        @media (max-width: 768px) {
            .post-title { font-size: 2rem; }
            .post-meta { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
            .author-box { flex-direction: column; text-align: center; }
        }

/* Styles from scholarships.html (Block 1) */
.scholarships-hero {
            background-color: var(--color-bg-light);
            padding: 4rem 0 2rem 0;
            text-align: center;
        }

        .scholarships-layout {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            margin: 3rem 0;
        }

        .scholarships-sidebar {
            background: white;
            border-radius: var(--radius-lg);
            border: 1px solid #e2e8f0;
            padding: 1.5rem;
            height: fit-content;
            position: sticky;
            top: 2rem;
        }

        .filter-group {
            margin-bottom: 1.5rem;
        }

        .filter-group h4 {
            color: var(--color-text-dark);
            margin-bottom: 0.75rem;
            font-size: 1rem;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            color: #475569;
            font-size: 0.95rem;
            cursor: pointer;
        }

        .scholarship-card {
            background: white;
            border-radius: var(--radius-md);
            border: 1px solid #e2e8f0;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .scholarship-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            border-color: #cbd5e1;
        }

        .badge-type {
            display: inline-block;
            background: #dcfce7;
            color: #166534;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .badge-stream {
            display: inline-block;
            background: var(--color-accent-light);
            color: var(--color-secondary);
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 1rem;
            margin-left: 0.5rem;
        }

        .s-title {
            font-size: 1.25rem;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
        }

        .s-provider {
            font-size: 0.875rem;
            color: #64748b;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .s-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1rem;
            background: #f8fafc;
            padding: 1rem;
            border-radius: 4px;
        }

        .s-label {
            font-size: 0.75rem;
            color: #64748b;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 0.25rem;
            display: block;
        }

        .s-val {
            font-size: 0.95rem;
            color: var(--color-text-dark);
            font-weight: 600;
        }

        .s-eligibility {
            font-size: 0.875rem;
            color: #475569;
            margin-bottom: 1.5rem;
            line-height: 1.5;
        }
        
        #no-results {
            text-align: center;
            padding: 4rem 1rem;
            background: white;
            border: 1px dashed #cbd5e1;
            border-radius: var(--radius-md);
            display: none;
        }

        @media (max-width: 992px) {
            .scholarships-layout {
                grid-template-columns: 1fr;
            }
            .scholarships-sidebar {
                position: static;
                display: flex;
                flex-wrap: wrap;
                gap: 1.5rem;
            }
            .s-grid {
                grid-template-columns: 1fr;
            }
        }

/* Styles from services.html (Block 1) */
.services-hero {
            background: #0f172a;
            padding: 8rem 0 6rem 0;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }
        .services-hero::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
            background: radial-gradient(circle at 50% 0%, rgba(30,58,138,0.5) 0%, transparent 70%);
        }
        .services-hero h1 {
            font-size: 3.5rem; margin-bottom: 1rem; position: relative; z-index: 2;
        }
        .services-hero p {
            font-size: 1.25rem; color: #cbd5e1; max-width: 700px; margin: 0 auto; position: relative; z-index: 2;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
            margin-top: -3rem;
            position: relative;
            z-index: 10;
        }
        @media (max-width: 900px) {
            .services-grid { grid-template-columns: 1fr; }
        }

        .service-card {
            background: white;
            border-radius: 24px;
            padding: 3rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.08);
            border: 1px solid #e2e8f0;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }
        .service-card::after {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
            background: var(--color-primary); transform: scaleX(0); transform-origin: left;
            transition: transform 0.4s ease;
        }
        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(30,58,138,0.12);
            border-color: #cbd5e1;
        }
        .service-card:hover::after {
            transform: scaleX(1);
        }
        .service-icon-wrapper {
            width: 80px; height: 80px;
            background: #f1f5f9;
            border-radius: 20px;
            display: flex; align-items: center; justify-content: center;
            color: var(--color-primary);
            margin-bottom: 2rem;
            transition: all 0.4s ease;
        }
        .service-card:hover .service-icon-wrapper {
            background: var(--color-primary); color: white;
            transform: rotate(-10deg) scale(1.1);
        }
        .service-title {
            font-size: 1.75rem; margin-bottom: 1rem; color: var(--color-text-dark);
        }
        .service-desc {
            color: #64748b; line-height: 1.8; margin-bottom: 2rem; flex-grow: 1;
        }
        .service-features {
            list-style: none; padding: 0; margin: 0 0 2rem 0;
        }
        .service-features li {
            position: relative; padding-left: 1.5rem; margin-bottom: 0.75rem; color: #475569; font-weight: 500;
        }
        .service-features li::before {
            content: '✓'; position: absolute; left: 0; color: #10b981; font-weight: bold;
        }
        .service-action {
            margin-top: auto;
        }

        /* Sticky CTA */
        .sticky-cta-bar {
            position: fixed; bottom: 0; left: 0; right: 0;
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            padding: 1rem;
            box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
            display: flex; justify-content: space-between; align-items: center;
            z-index: 1000;
            border-top: 1px solid #e2e8f0;
            transform: translateY(100%);
            transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .sticky-cta-bar.visible { transform: translateY(0); }
        
        .huge-cta-section {
            background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
            padding: 6rem 0;
            text-align: center;
            color: white;
            border-radius: 40px;
            margin: 4rem 1rem;
        }

/* Styles from state-counselling.html (Block 1) */
.state-hero {
            background: linear-gradient(135deg, var(--color-primary) 0%, #081e3a 100%);
            color: white;
            padding: 5rem 0 4rem 0;
            position: relative;
            overflow: hidden;
        }
        .hero-badge {
            background: rgba(255,255,255,0.15);
            backdrop-filter: blur(10px);
            padding: 0.5rem 1rem;
            border-radius: 30px;
            font-size: 0.875rem;
            font-weight: 600;
            display: inline-block;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            border: 1px solid rgba(255,255,255,0.2);
        }
        .hero-title {
            font-size: 3rem;
            color: white;
            margin-bottom: 1rem;
            line-height: 1.2;
        }
        
        /* Course Tabs */
        .course-tabs {
            display: flex;
            gap: 1rem;
            margin-bottom: 2rem;
            border-bottom: 2px solid #e2e8f0;
            overflow-x: auto;
            scrollbar-width: none;
        }
        .course-tabs::-webkit-scrollbar { display: none; }
        .course-tab {
            padding: 1rem 1.5rem;
            font-weight: 700;
            font-size: 1.125rem;
            color: #64748b;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            margin-bottom: -2px;
            white-space: nowrap;
        }
        .course-tab.active {
            color: var(--color-primary);
            border-bottom-color: var(--color-primary);
        }

        .course-section {
            display: none;
            animation: fadeIn 0.3s ease-in-out;
        }
        .course-section.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }
        .stat-card {
            background: white;
            border: 1px solid #e2e8f0;
            border-radius: var(--radius-md);
            padding: 1.5rem;
            text-align: center;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            border-top: 4px solid var(--color-secondary);
        }
        .stat-card .value {
            font-size: 2rem;
            font-weight: 800;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
        }
        .stat-card .label {
            font-size: 0.875rem;
            color: #64748b;
            font-weight: 600;
            text-transform: uppercase;
        }

        /* SEO Content Block */
        .seo-content {
            background: white;
            padding: 3rem;
            border-radius: var(--radius-lg);
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            margin-bottom: 3rem;
        }
        .seo-content h2 {
            font-size: 1.75rem;
            margin-bottom: 1.5rem;
            color: var(--color-text-dark);
            border-left: 4px solid var(--color-secondary);
            padding-left: 1rem;
        }
        .seo-content p {
            font-size: 1.125rem;
            color: #475569;
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .process-timeline {
            position: relative;
            max-width: 800px;
            margin: 0 auto;
        }
        .process-timeline::before {
            content: '';
            position: absolute;
            top: 0; bottom: 0; left: 24px;
            width: 2px;
            background: #e2e8f0;
        }
        .process-step-item {
            position: relative;
            display: flex;
            align-items: flex-start;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .step-circle {
            width: 50px; height: 50px;
            background: var(--color-secondary);
            color: white;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; font-size: 1.25rem;
            flex-shrink: 0; z-index: 2;
            box-shadow: 0 0 0 4px white;
        }
        .step-text {
            background: white;
            border: 1px solid #e2e8f0;
            padding: 1.5rem;
            border-radius: var(--radius-md);
            font-size: 1.125rem;
            color: #334155;
            width: 100%;
        }

        @media (max-width: 768px) {
            .hero-title { font-size: 2.25rem; }
            .process-timeline::before { left: 20px; }
            .step-circle { width: 40px; height: 40px; font-size: 1rem; }
            .seo-content { padding: 1.5rem; }
        }

/* Styles from universities.html (Block 1) */
.uni-hero {
            background-color: var(--color-bg-light);
            padding: 4rem 0 2rem 0;
            text-align: center;
        }

        .layout-wrapper {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 2rem;
            margin: 3rem 0;
        }

        /* Sidebar Filters */
        .filter-sidebar {
            background: white;
            padding: 1.5rem;
            border-radius: var(--radius-lg);
            border: 1px solid #e2e8f0;
            height: fit-content;
            position: sticky;
            top: 2rem;
        }

        .filter-group {
            margin-bottom: 1.5rem;
        }

        .filter-group h4 {
            color: var(--color-text-dark);
            margin-bottom: 0.75rem;
            font-size: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            color: #475569;
            font-size: 0.95rem;
            cursor: pointer;
        }

        .filter-option input {
            accent-color: var(--color-primary);
            width: 16px;
            height: 16px;
            cursor: pointer;
        }

        /* Grid & Cards */
        .uni-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 1.5rem;
        }

        .uni-card {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            border: 1px solid #e2e8f0;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .uni-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            border-color: #cbd5e1;
        }

        .uni-img-wrapper {
            height: 180px;
            background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 1.25rem;
            position: relative;
        }

        .uni-badges {
            position: absolute;
            top: 1rem;
            left: 1rem;
            display: flex;
            gap: 0.5rem;
        }

        .badge-stream {
            background: rgba(0, 0, 0, 0.6);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            backdrop-filter: blur(4px);
        }

        .badge-type {
            background: var(--color-primary);
            color: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .uni-content {
            padding: 1.5rem;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .uni-title {
            font-size: 1.25rem;
            color: var(--color-primary);
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }
        
        .uni-title a { color: inherit; text-decoration: none; }
        .uni-title a:hover { color: var(--color-secondary); }

        .uni-location {
            color: #64748b;
            font-size: 0.875rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            margin-bottom: 1rem;
        }

        .uni-stats {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
            margin-bottom: 1.5rem;
            background: var(--color-bg-light);
            padding: 1rem;
            border-radius: var(--radius-md);
        }

        .stat-item {
            display: flex;
            flex-direction: column;
        }

        .stat-label {
            font-size: 0.75rem;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .stat-val {
            font-size: 0.95rem;
            color: var(--color-text-dark);
            font-weight: 700;
        }

        .uni-footer {
            border-top: 1px solid #e2e8f0;
            padding-top: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }

        .compare-checkbox {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.875rem;
            color: #475569;
            cursor: pointer;
        }

        @media (max-width: 992px) {
            .layout-wrapper {
                grid-template-columns: 1fr;
            }
            .filter-sidebar {
                position: static;
                display: flex;
                flex-wrap: wrap;
                gap: 2rem;
            }
            .filter-group { margin-bottom: 0; min-width: 150px; }
        }
    
    <!-- Premium UI Styles -->
    <style>
        /* Off-canvas Filter Drawer */
        .filter-drawer-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(15, 23, 42, 0.6);
            backdrop-filter: blur(4px);
            z-index: 1000;
            display: none;
            opacity: 0; transition: opacity 0.3s ease;
        }
        .filter-drawer-overlay.active { display: block; opacity: 1; }
        
        .filter-drawer {
            position: fixed; top: 0; left: -320px; bottom: 0; width: 320px;
            background: white; z-index: 1001;
            box-shadow: 20px 0 50px rgba(0,0,0,0.1);
            transition: left 0.3s ease;
            display: flex; flex-direction: column;
            overflow-y: auto;
        }
        .filter-drawer.active { left: 0; }
        .filter-header-mob { display: none; padding: 1.5rem; border-bottom: 1px solid #e2e8f0; justify-content: space-between; align-items: center; }
        
        @media (max-width: 992px) {
            .filter-sidebar { display: none !important; }
            .filter-header-mob { display: flex; }
            .mobile-filter-btn { display: inline-flex !important; }
        }

        /* Custom Toggle Switches instead of Checkboxes */
        .custom-toggle {
            display: flex; align-items: center; justify-content: space-between;
            padding: 0.75rem 0; cursor: pointer; border-bottom: 1px solid #f1f5f9;
        }
        .custom-toggle:last-child { border-bottom: none; }
        .custom-toggle input { display: none; }
        .toggle-track {
            width: 44px; height: 24px; background: #e2e8f0;
            border-radius: 12px; position: relative; transition: background 0.3s ease;
        }
        .toggle-thumb {
            width: 20px; height: 20px; background: white;
            border-radius: 50%; position: absolute; top: 2px; left: 2px;
            transition: left 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .custom-toggle input:checked + .toggle-track { background: var(--color-primary); }
        .custom-toggle input:checked + .toggle-track .toggle-thumb { left: 22px; }

        /* Premium Card Design */
        .uni-card {
            background: white; border-radius: 20px; overflow: hidden;
            border: 1px solid #f1f5f9;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex; flex-direction: column;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            position: relative;
        }
        .uni-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(30, 58, 138, 0.08);
            border-color: #cbd5e1;
        }
        .uni-img-wrapper {
            height: 200px; position: relative; overflow: hidden;
        }
        .uni-img-wrapper::after {
            content:''; position: absolute; bottom:0; left:0; right:0; height: 50%;
            background: linear-gradient(to top, rgba(15,23,42,0.8), transparent);
        }
        .uni-img-wrapper img {
            width: 100%; height: 100%; object-fit: cover;
            transition: transform 0.6s ease;
        }
        .uni-card:hover .uni-img-wrapper img { transform: scale(1.05); }
        
        .premium-badge {
            position: absolute; top: 1rem; right: 1rem; z-index: 2;
            background: linear-gradient(135deg, #fbbf24, #d97706);
            color: white; padding: 0.25rem 0.75rem; border-radius: 20px;
            font-size: 0.75rem; font-weight: 700; box-shadow: 0 4px 10px rgba(217,119,6,0.3);
            display: flex; align-items: center; gap: 4px;
        }

        /* Skeleton Loader */
        .skeleton { background: #e2e8f0; animation: pulse 1.5s infinite ease-in-out; border-radius: 4px; }
        @keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }
        
        .mobile-filter-btn {
            display: none; align-items: center; gap: 8px; background: white;
            border: 1px solid #cbd5e1; padding: 0.5rem 1rem; border-radius: 50px;
            font-weight: 600; color: var(--color-text-dark); cursor: pointer; box-shadow: 0 4px 6px rgba(0,0,0,0.05);
        }

/* Styles from university-detail.html (Block 1) */
.premium-uni-hero {
            position: relative;
            height: 50vh;
            min-height: 400px;
            display: flex;
            align-items: flex-end;
            padding-bottom: 3rem;
            color: white;
            background: #0f172a; /* Fallback */
        }
        .premium-hero-bg {
            position: absolute; top:0; left:0; right:0; bottom:0;
            background-size: cover; background-position: center;
            opacity: 0.6; z-index: 1;
        }
        .premium-hero-overlay {
            position: absolute; top:0; left:0; right:0; bottom:0;
            background: linear-gradient(to top, rgba(15,23,42,1) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.1) 100%);
            z-index: 2;
        }
        .premium-hero-content {
            position: relative; z-index: 3;
            width: 100%;
        }
        .premium-uni-logo {
            width: 100px; height: 100px;
            background: white; border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            margin-bottom: 1.5rem;
            border: 2px solid rgba(255,255,255,0.2);
        }
        .premium-hero-stats {
            display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap;
        }
        .premium-hero-stat {
            background: rgba(255,255,255,0.1);
            backdrop-filter: blur(10px);
            padding: 0.75rem 1.5rem;
            border-radius: 12px;
            border: 1px solid rgba(255,255,255,0.15);
        }
        .premium-hero-stat-val { font-size: 1.25rem; font-weight: 700; color: white; display: block; }
        .premium-hero-stat-label { font-size: 0.75rem; color: #cbd5e1; text-transform: uppercase; letter-spacing: 1px; }

        .sticky-nav-tabs {
            position: sticky; top: 0; z-index: 100;
            background: rgba(255,255,255,0.95);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid #e2e8f0;
            padding: 0; margin-bottom: 3rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.02);
            overflow-x: auto; white-space: nowrap;
        }
        .sticky-nav-tabs .container {
            display: flex; gap: 2rem;
        }
        .sticky-tab-btn {
            background: none; border: none; padding: 1.25rem 0;
            font-size: 1rem; font-weight: 600; color: #64748b; cursor: pointer;
            position: relative;
        }
        .sticky-tab-btn.active {
            color: var(--color-primary);
        }
        .sticky-tab-btn.active::after {
            content: ''; position: absolute; bottom: 0; left: 0; right: 0;
            height: 3px; background: var(--color-primary); border-radius: 3px 3px 0 0;
        }

        /* Floating Mobile CTA */
        .mobile-floating-cta {
            display: none; position: fixed; bottom: 0; left: 0; right: 0;
            background: white; padding: 1rem; box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
            z-index: 1000;
        }
        @media (max-width: 992px) {
            .detail-sidebar { display: none; }
            .mobile-floating-cta { display: block; }
            .premium-hero-stats { gap: 0.75rem; }
            .premium-hero-stat { padding: 0.5rem 1rem; }
        }
