/* 
 * NCC COMPUTERS - Clean, Compact & Professional Design System
 * New Core Center Computers Pvt. Ltd.
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Exact NCC Brand Colors from ncc.png */
  --primary: #1c96ab;
  --primary-dark: #0f6271;
  --primary-deep: #0c2b3b;
  --primary-light: #2ab2c9;
  --primary-bg: #eaf7f9;
  --primary-glow: rgba(28, 150, 171, 0.18);

  --accent: #c51f1f;
  --accent-dark: #991b1b;
  --accent-hover: #a51818;
  --accent-light: #fee2e2;
  --accent-glow: rgba(197, 31, 31, 0.22);

  --secondary: #0f2b48;
  --secondary-light: #f0f7fb;

  --success: #10b981;
  --warning: #f59e0b;
  --info: #0284c7;

  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0a1120;
  --text-muted: #334155;
  --text-light: #475569;
  --border: #cbd5e1;
  --border-focus: #1c96ab;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px rgba(28, 150, 171, 0.12);
  --shadow-lg: 0 10px 25px -5px rgba(12, 43, 59, 0.14), 0 8px 10px -6px rgba(12, 43, 59, 0.06);
  --shadow-xl: 0 20px 35px -5px rgba(12, 43, 59, 0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Utility Classes */
.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--text-muted);
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: var(--primary-glow);
  color: var(--primary);
}

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

.badge-success {
  background: #dcfce7;
  color: #15803d;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-danger,
.btn-red {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

.btn-danger:hover,
.btn-red:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

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

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

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

/* Top Utility Bar */
.topbar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.topbar-item a:hover {
  color: #ffffff;
}

.topbar-item i {
  color: var(--accent);
  font-size: 0.85rem;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.75rem;
  transition: var(--transition);
}

.topbar-social a:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-title span {
  color: var(--accent);
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-item.active>.nav-link {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-link i.fa-chevron-down {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.dropdown-item:hover {
  background: var(--bg);
  color: var(--accent);
  padding-left: 0.95rem;
}

.dropdown-item i {
  color: var(--accent);
  font-size: 0.8rem;
  width: 16px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.4rem;
}

/* Announcement News Bar */
.news-ticker-bar {
  background: linear-gradient(90deg, #091a2d 0%, #0f2b48 100%);
  color: #ffffff;
  padding: 0.45rem 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.news-ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #ffffff;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  flex-shrink: 0;
}

.ticker-content {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
}

.ticker-items {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.ticker-items:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  margin-right: 2.5rem;
  color: #e2e8f0;
}

.ticker-item:hover {
  color: #38bdf8;
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091a2e 0%, #0f2b48 50%, #16365c 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.18) 0%, rgba(220, 38, 38, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 1.25rem;
}

.hero-badge i {
  color: #fbbf24;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-title .highlight {
  color: #f87171;
  background: linear-gradient(90deg, #f87171, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.hero-stat-text {
  font-size: 0.76rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* Hero Widget (Quick Verification Card) */
.hero-widget-box {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 2;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.widget-header h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-header h3 i {
  color: var(--accent);
}

.widget-tabs {
  display: flex;
  gap: 0.35rem;
  background: var(--bg);
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.widget-tab-btn {
  flex: 1;
  padding: 0.45rem 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.widget-tab-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.form-group {
  margin-bottom: 0.95rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* Affiliation & Partner Bar */
.affiliations-bar {
  background: #ffffff;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.affil-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.affil-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.affil-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.affil-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.affil-info p {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 0.15rem;
}

/* Section Header */
.section {
  padding: 4.5rem 0;
}

.section-bg {
  background: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.section-title {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Filter Buttons */
.filter-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 0.45rem 1.15rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-full);
  margin-left: 0.35rem;
  transition: var(--transition);
}

.filter-btn:hover .filter-count,
.filter-btn.active .filter-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Course Grid & Cards - 3 in a row on desktop */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.course-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  opacity: 0;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.course-card:hover::before {
  opacity: 1;
}

.course-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.course-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.course-card:hover .course-icon-box {
  background: var(--accent-light);
  color: var(--accent);
}

.course-meta-tags {
  display: flex;
  gap: 0.4rem;
}

.course-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.course-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.75rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  font-size: 0.8rem;
}

.course-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
}

.course-info-item span:last-child {
  font-weight: 600;
  color: var(--text-main);
}

.course-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}

.course-actions .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.48rem 0.75rem;
  font-size: 0.82rem;
  text-align: center;
  min-width: 0;
}

/* About Section & Features */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.feature-box {
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.feature-box:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.feature-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.feature-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Projects Grid & Cards - 3 in a row on desktop */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1rem;
}

.project-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.project-img-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f8fafc;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img-box img {
  transform: scale(1.04);
}

.project-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  color: var(--text-muted);
  font-size: 3rem;
}

.project-badge-wrap {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
}

.project-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.badge-completed {
  background: rgba(220, 252, 231, 0.95);
  color: #15803d;
  border: 1px solid #86efac;
}

.badge-ongoing {
  background: rgba(224, 242, 254, 0.95);
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

.badge-pending {
  background: rgba(254, 243, 199, 0.95);
  color: #b45309;
  border: 1px solid #fde68a;
}

.project-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.project-card-desc {
  font-size: 0.92rem;
  color: #4b5563;
  line-height: 1.6;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.desc-text {
  margin: 0;
  color: #4b5563;
  white-space: pre-line;
}

.read-more-btn {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 0.75rem;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.read-more-btn:hover {
  color: var(--primary);
  text-decoration: underline;
}

.read-more-btn i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.projects-empty {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

.projects-empty i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Notice & Events Section */
.notice-events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.panel-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.panel-header {
  background: var(--primary);
  color: #ffffff;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-header h3 {
  color: #ffffff;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.panel-body {
  padding: 1.25rem;
  max-height: 380px;
  overflow-y: auto;
}

.notice-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}

.notice-item:hover {
  background: var(--accent-light);
  transform: translateX(3px);
}

.notice-date-badge {
  background: #ffffff;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border);
  flex-shrink: 0;
  line-height: 1.2;
}

.notice-info h5 {
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.notice-info a {
  color: var(--text-main);
}

.notice-info a:hover {
  color: var(--accent);
}

/* Verification Result Modal / Box */
.verify-result-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 1.5rem;
}

.verify-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.25rem;
}

.verify-badge-status {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
}

.verify-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

.verify-table th,
.verify-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.verify-table th {
  background: var(--bg);
  color: var(--text-muted);
  width: 35%;
  font-weight: 600;
}

.verify-table td {
  font-weight: 600;
  color: var(--text-main);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #b91c1c 100%);
  color: #ffffff;
  padding: 3.5rem 0;
  border-radius: var(--radius-lg);
  margin: 2rem auto;
  text-align: center;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.cta-banner p {
  font-size: 1.05rem;
  color: #fee2e2;
  max-width: 600px;
  margin: 0 auto 1.75rem;
}

/* Footer */
.site-footer {
  background: #092635;
  /* Deep Navy Teal - High Contrast */
  color: #f1f5f9;
  padding: 4rem 0 0;
  font-size: 0.92rem;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-about p {
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-about p strong {
  color: #ffffff;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a i {
  color: #38bdf8;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
  color: #f8fafc;
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-contact-item i {
  color: #f87171;
  margin-top: 0.2rem;
  font-size: 1rem;
}

.footer-contact-item a {
  color: #ffffff;
  font-weight: 600;
}

.footer-contact-item a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: #cbd5e1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom strong {
  color: #ffffff;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #38bdf8;
}

/* Page Banner / Breadcrumb */
.page-banner {
  background: linear-gradient(135deg, #091a2d 0%, #0f2b48 100%);
  color: #ffffff;
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-banner h1 {
  color: #ffffff;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs .active {
  color: var(--accent);
  font-weight: 600;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--accent);
}

.modal-body {
  padding: 1.5rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  color: var(--text-main);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  animation: slideIn 0.3s ease;
  font-size: 0.88rem;
  font-weight: 500;
  min-width: 280px;
}

.toast.toast-success {
  border-left-color: var(--success);
}

.toast.toast-error {
  border-left-color: var(--accent);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .courses-grid,
  .projects-grid,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .affiliations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 2px solid var(--border);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    display: none;
    z-index: 999;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-item {
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    font-size: 0.98rem;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .nav-link i:first-child {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
    color: var(--primary);
    flex-shrink: 0;
  }

  .nav-item.active > .nav-link i:first-child {
    color: var(--accent);
  }

  .nav-link span {
    flex: 0 1 auto;
    text-align: left;
  }

  .nav-link i.fa-chevron-down {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
  }

  .nav-item.open > .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid #e2e8f0;
    margin-left: 1.5rem;
    padding: 0.35rem 0 0.5rem 0.85rem;
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
    display: none;
  }

  .dropdown-menu.show {
    display: block;
  }

  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: 6px;
  }

  .dropdown-item i {
    font-size: 0.95rem;
    width: 20px;
    text-align: center;
    color: var(--primary);
  }

  .dropdown-item:hover {
    color: var(--accent);
    background: var(--accent-light);
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .notice-events-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid,
  .projects-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Verified Record Box & Details Table Styles */
.verified-record-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  padding: 1.75rem;
  margin-top: 2rem;
  overflow: hidden;
  position: relative;
}

.verified-record-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid #f1f5f9;
}

.verified-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.verified-table-container {
  overflow-x: auto;
}

.verified-table-container table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  margin: 0 !important;
}

.verified-table-container table tr {
  transition: background-color 0.15s ease;
}

.verified-table-container table tr:nth-child(even) {
  background-color: #f8fafc !important;
}

.verified-table-container table tr:hover {
  background-color: #f1f5f9 !important;
}

.verified-table-container table td,
.verified-table-container table th {
  padding: 12px 18px !important;
  font-size: 0.94rem !important;
  border-bottom: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  vertical-align: middle !important;
  color: #1e293b !important;
}

.verified-table-container table td:last-child {
  border-right: none !important;
}

.verified-table-container table tr:last-child td {
  border-bottom: none !important;
}

/* First Column: Labels */
.verified-table-container table td:first-child,
.verified-table-container table th:first-child {
  font-weight: 700 !important;
  color: #092635 !important;
  background: #f8fafc !important;
  width: 25% !important;
  white-space: nowrap !important;
  font-size: 0.9rem !important;
  border-left: 3px solid var(--primary) !important;
}

/* Second Column: Value text */
.verified-table-container table td:nth-child(2) {
  font-weight: 600 !important;
  color: #0f172a !important;
}

/* Student Photo frame in table */
.verified-table-container table img {
  width: 125px !important;
  height: 150px !important;
  max-width: 125px !important;
  max-height: 150px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 2px solid var(--primary) !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
  display: block !important;
  margin: 0 auto !important;
  background-color: #f1f5f9 !important;
}

/* Print Styles for Certificate & Marksheet */
@media print {
  body * {
    visibility: hidden;
  }

  .printable-area,
  .printable-area * {
    visibility: visible;
  }

  .printable-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .no-print {
    display: none !important;
  }
}

/* ==========================================================================
   Online Student Admission & Application Portal Styles (apply.php)
   ========================================================================== */

.apply-hidden {
  display: none !important;
}

.apply-section {
  background: var(--bg);
  padding: 2.5rem 0 3.5rem;
}

.apply-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Header & Official Center Banner */
.apply-header-banner {
  background: linear-gradient(135deg, #0d3b66 0%, #001e3d 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px -5px rgba(13, 59, 102, 0.25), 0 8px 10px -6px rgba(13, 59, 102, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.apply-header-banner::after {
  content: '\f19d';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-size: 8.5rem;
  opacity: 0.05;
  pointer-events: none;
}

.apply-center-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(252, 163, 17, 0.18);
  color: #fca311;
  border: 1px solid rgba(252, 163, 17, 0.4);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.apply-header-title {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 0.4rem 0;
  letter-spacing: -0.01em;
}

.apply-header-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  margin: 0;
  max-width: 680px;
  line-height: 1.55;
}

.apply-center-code-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.35rem;
  text-align: right;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.apply-center-code-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.06em;
  display: block;
  font-weight: 600;
}

.apply-center-code-val {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  font-family: monospace;
  display: block;
  line-height: 1.2;
}

.apply-center-status {
  font-size: 0.75rem;
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  margin-top: 3px;
  font-weight: 600;
}

/* Card Container */
.apply-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.apply-card-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1.35rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.apply-card-title {
  font-size: 1.45rem;
  color: var(--primary);
  font-weight: 800;
  margin: 0 0 0.3rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: -0.01em;
}

.apply-card-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.apply-card-subtitle .req,
.apply-label .req {
  color: var(--accent);
  font-weight: 700;
}

/* Sectioned Professional Form Layout */
.apply-section-block {
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e2e8f0;
}

.apply-section-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0.5rem;
  padding-bottom: 0;
}

.apply-section-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1.35rem;
  border-bottom: 2px solid #e2e8f0;
  color: var(--primary);
  font-size: 1.05rem;
  font-weight: 700;
  position: relative;
}

.apply-section-header::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 45px;
  height: 2px;
  background: var(--accent);
}

.apply-section-header i {
  color: var(--accent);
}

/* Grids with true horizontal row alignment */
.apply-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.apply-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.25rem;
  align-items: stretch;
}

.col-span-2 {
  grid-column: span 2;
}

.col-span-3 {
  grid-column: span 3;
}

.col-span-4 {
  grid-column: span 4;
}

@media (max-width: 1024px) {
  .apply-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .apply-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .col-span-2,
  .col-span-3,
  .col-span-4 {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .apply-grid-3,
  .apply-grid-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .col-span-2,
  .col-span-3,
  .col-span-4 {
    grid-column: span 1;
  }
}

.apply-form-group {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.apply-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.45rem;
  min-height: 20px;
}

.apply-input,
.apply-select {
  width: 100%;
  height: 44px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0 0.85rem;
  font-size: 0.88rem;
  color: #0f172a;
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

.apply-input[readonly],
.apply-select-locked {
  background-color: #f1f5f9;
  color: #334155;
  cursor: not-allowed;
  border-color: #cbd5e1;
  font-weight: 600;
}

.apply-textarea {
  width: 100%;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.62rem 0.85rem;
  font-size: 0.88rem;
  color: #0f172a;
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
  font-family: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  box-sizing: border-box;
}

.apply-file-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  transition: all 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 120px;
}

.apply-file-box:hover {
  border-color: var(--primary);
  background: #f0f7ff;
}

.apply-file-input {
  width: 100%;
  font-size: 0.82rem;
  color: #475569;
  cursor: pointer;
}

.apply-file-hint {
  font-size: 0.74rem;
  color: #64748b;
  display: block;
  margin-top: 0.35rem;
  line-height: 1.4;
}

.apply-preview-frame {
  margin-top: 0.6rem;
  display: none;
  padding: 4px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  display: inline-block;
}

.apply-preview-img {
  max-width: 100%;
  height: 80px;
  object-fit: contain;
  border-radius: 4px;
  background: #ffffff;
  display: block;
}

.apply-preview-signature {
  height: 48px;
  object-fit: contain;
}

/* Fee Breakdown & Razorpay Summary Box */
.apply-fee-summary-box {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 2.25rem 0 1.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-left: 5px solid var(--accent);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.apply-fee-meta-title {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.apply-fee-breakdown {
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 500;
}

.apply-fee-breakdown strong {
  color: var(--primary);
  font-weight: 700;
}

.apply-fee-total-wrap {
  text-align: right;
}

.apply-fee-total-lbl {
  font-size: 0.74rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.apply-fee-total-val {
  font-size: 1.9rem;
  font-weight: 800;
  color: #16a34a;
  line-height: 1.1;
  display: block;
  font-family: inherit;
  letter-spacing: -0.02em;
}

.apply-fee-security-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 0.85rem;
  font-weight: 500;
}

/* Pay & Confirm Button */
.apply-submit-wrap {
  text-align: center;
  margin-top: 1.75rem;
}

.apply-btn-pay {
  width: 100%;
  max-width: 560px;
  font-size: 1.15rem;
  padding: 1.15rem 2rem;
  box-shadow: 0 10px 20px -3px rgba(252, 163, 17, 0.35), 0 4px 6px -2px rgba(252, 163, 17, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.apply-btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 25px -3px rgba(252, 163, 17, 0.45), 0 6px 10px -2px rgba(252, 163, 17, 0.25);
}

.apply-btn-pay:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.apply-alt-link {
  margin-top: 1.1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Enrolment Confirmation Slip */
.apply-success-box {
  background: #ffffff;
  border: 2px solid #10b981;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.apply-success-header {
  text-align: center;
  margin-bottom: 2rem;
}

.apply-success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #d1fae5;
  color: #059669;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.apply-success-title {
  color: #065f46;
  font-size: 1.85rem;
  font-weight: 800;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.apply-success-desc {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.apply-receipt-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.apply-receipt-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 1.35rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.apply-receipt-top-left {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.apply-receipt-photo {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  background: #f1f5f9;
}

.apply-receipt-org-sub {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.apply-receipt-slip-title {
  font-size: 1.4rem;
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.apply-receipt-center-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.apply-receipt-top-right {
  text-align: right;
}

.apply-receipt-badge-verified {
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-block;
}

.apply-receipt-date {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 5px;
}

.apply-receipt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.35rem;
  font-size: 0.9rem;
}

.apply-receipt-item strong {
  color: var(--text-muted);
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 3px;
  font-weight: 700;
}

.apply-slip-roll-no {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  font-family: monospace;
  display: block;
}

.apply-slip-student-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.apply-slip-payment-id {
  font-family: monospace;
  font-weight: 700;
  color: #0284c7;
  display: block;
}

.apply-slip-paid-amount {
  font-weight: 800;
  color: #16a34a;
  font-size: 1.15rem;
  display: block;
}

.apply-slip-credentials-box {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed #cbd5e1;
  background: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.apply-slip-credentials-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.apply-slip-cred-header {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.apply-slip-cred-body {
  font-size: 0.92rem;
  margin-top: 4px;
}

.apply-slip-cred-highlight {
  color: var(--accent);
  font-family: monospace;
  font-weight: 700;
}

.apply-receipt-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media print {
  .no-print {
    display: none !important;
  }
  .apply-section {
    padding: 0 !important;
    background: transparent !important;
  }
  .apply-receipt-card {
    border: 2px solid #000 !important;
    box-shadow: none !important;
    padding: 1.5rem !important;
  }
}

/* ==========================================================================
   Campus Events & Schedule Styles
   ========================================================================== */
.events-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
  .events-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .events-stats-bar {
    grid-template-columns: 1fr;
  }
}

.stat-item-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.stat-icon.icon-blue { background: #e0f2fe; color: #0284c7; }
.stat-icon.icon-green { background: #dcfce7; color: #16a34a; }
.stat-icon.icon-purple { background: #f3e8ff; color: #9333ea; }
.stat-icon.icon-amber { background: #fef3c7; color: #d97706; }

.stat-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0;
  line-height: 1.1;
}

.stat-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.25rem 0 0;
  font-weight: 500;
}

/* Spotlight Event Banner */
.event-spotlight-card {
  background: linear-gradient(135deg, #091a2d 0%, #163659 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 15px 30px -10px rgba(9, 26, 45, 0.35);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-spotlight-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(225, 29, 72, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.spotlight-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 868px) {
  .spotlight-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.spotlight-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

@media (max-width: 576px) {
  .spotlight-left {
    flex-direction: column;
    align-items: flex-start;
  }
}

.spotlight-date-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 90px;
}

.spotlight-date-day {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.spotlight-date-month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fca5a5;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(225, 29, 72, 0.25);
  border: 1px solid rgba(225, 29, 72, 0.6);
  color: #fecdd3;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}

.spotlight-title {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.spotlight-desc {
  color: #cbd5e1;
  font-size: 0.92rem;
  margin: 0;
  max-width: 600px;
  line-height: 1.55;
}

.spotlight-action {
  flex-shrink: 0;
}

.btn-spotlight-cal {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-spotlight-cal:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  color: var(--accent);
}

/* Filter & Search Bar */
.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
}

.events-nav-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.events-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 0.45rem 0.9rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.events-tab-btn .tab-count {
  background: #f1f5f9;
  color: #64748b;
  font-size: 0.7rem;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-weight: 700;
}

.events-tab-btn:hover {
  background: #f8fafc;
  color: var(--primary);
}

.events-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.events-tab-btn.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.events-search-box {
  position: relative;
  min-width: 250px;
}

@media (max-width: 768px) {
  .events-search-box {
    width: 100%;
  }
}

.events-search-box input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.events-search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.events-search-box i {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.85rem;
  pointer-events: none;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 1024px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Event Card */
.event-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  height: 100%;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 24px -4px rgba(0, 0, 0, 0.08), 0 6px 8px -4px rgba(0, 0, 0, 0.03);
  border-color: #cbd5e1;
}

.event-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 0.75rem;
  gap: 1rem;
}

.event-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  min-width: 62px;
  text-align: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.event-card:hover .event-date-block {
  background: #f1f5f9;
}

.event-date-day {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.event-date-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.event-date-weekday {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}

.event-badge-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-event {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
}

.badge-holiday {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-status-today {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  animation: pulseToday 2s infinite;
}

@keyframes pulseToday {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.badge-status-upcoming {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.badge-status-past {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.event-card-body {
  padding: 0.5rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.event-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0.25rem 0 0.5rem;
  line-height: 1.35;
}

.event-meta-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.event-card-desc {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.55;
  flex-grow: 1;
}

.event-desc-short, .event-desc-full {
  margin: 0;
}

.event-read-more {
  background: transparent;
  border: none;
  padding: 0;
  margin-top: 0.5rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}

.event-read-more:hover {
  color: var(--primary);
  text-decoration: underline;
}

.event-card-footer {
  border-top: 1px solid #f1f5f9;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fafafa;
}

.event-cal-btn {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease;
}

.event-cal-btn:hover {
  color: var(--accent);
}

.event-attach-link {
  color: #0369a1;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.event-attach-link:hover {
  text-decoration: underline;
}

/* Empty State */
.events-empty-state {
  grid-column: 1 / -1;
  background: #ffffff;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  display: none;
}

.events-empty-state i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.events-empty-state h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0 0 0.4rem;
}

.events-empty-state p {
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.btn-reset-filter {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-reset-filter:hover {
  opacity: 0.9;
}

/* ==========================================================================
   Video Gallery Styles
   ========================================================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.video-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.video-thumb-box {
  position: relative;
  width: 100%;
  height: 220px;
  background: #0f172a;
  overflow: hidden;
  cursor: pointer;
}

.video-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.video-card:hover .video-thumb-box img {
  transform: scale(1.05);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.video-thumb-box:hover .video-play-overlay {
  background: rgba(15, 23, 42, 0.6);
}

.video-play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #dc2626;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.6);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.video-thumb-box:hover .video-play-btn {
  transform: scale(1.12);
  background: #ef4444;
}

.video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.video-card-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.video-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
}

.video-modal-dialog {
  max-width: 850px;
  width: 100%;
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease;
}

.video-modal-close:hover {
  background: #dc2626;
}

.video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   Result & Marksheet Verification Styling (Live Statement of Marks)
   ========================================================================== */
.verify-search-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.verify-form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: flex-end;
}

@media (max-width: 640px) {
  .verify-form-row {
    grid-template-columns: 1fr;
  }
}

.verify-quick-samples {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.verify-sample-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.verify-sample-btn {
  background: var(--bg);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.verify-sample-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Marksheet Wrapper & Container */
.marksheet-statement-wrapper {
  background: #ffffff;
  border: 2px solid #0c2340;
  border-top: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  margin: 2.5rem auto 1.5rem auto;
  max-width: 920px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  position: relative;
}

.marksheet-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  gap: 1rem;
}

.marksheet-banner-top .badge {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Base styling for all generated Apprise tables inside Marksheet */
.marksheet-content {
  font-family: inherit;
  color: #1e293b;
}

.marksheet-content table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
  margin-bottom: 1.35rem !important;
  background: #ffffff !important;
  border: 1.5px solid #0c2340 !important;
  font-size: 0.88rem !important;
}

.marksheet-content table.mt-5 {
  margin-top: 1.35rem !important;
}

.marksheet-content th,
.marksheet-content td {
  border: 1px solid #cbd5e1 !important;
  padding: 0.6rem 0.85rem !important;
  vertical-align: middle !important;
  line-height: 1.5 !important;
}

/* Table 1: Institution Header (inst_profile) */
.marksheet-content table:first-of-type th:first-child {
  width: 125px !important;
  text-align: center !important;
  vertical-align: middle !important;
  padding: 0.75rem !important;
  background: #ffffff !important;
  border: 1.5px solid #0c2340 !important;
}

.marksheet-content table:first-of-type th:first-child img {
  max-height: 75px !important;
  max-width: 110px !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  float: none !important;
}

.marksheet-content table:first-of-type td[colspan="2"] {
  vertical-align: middle !important;
  text-align: center !important;
  padding: 0.75rem 1rem !important;
  border: 1.5px solid #0c2340 !important;
}

.marksheet-content table:first-of-type td[colspan="2"] h3 {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #0c2340 !important;
  margin: 0 0 0.3rem 0 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

.marksheet-content table:first-of-type td[colspan="2"] p,
.marksheet-content table:first-of-type td[colspan="2"] .address {
  font-size: 0.78rem !important;
  color: #475569 !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  font-weight: 500 !important;
}

.marksheet-content table:first-of-type th:last-child {
  width: 155px !important;
  text-align: center !important;
  vertical-align: middle !important;
  background: #f8fafc !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #0c2340 !important;
  font-family: monospace !important;
  border: 1.5px solid #0c2340 !important;
}

.marksheet-content table:first-of-type tr:last-child td {
  background: #0c2340 !important;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-align: center !important;
  padding: 0.6rem !important;
  text-transform: uppercase !important;
  border: 1.5px solid #0c2340 !important;
}

/* Table 2: Student Profile (student_profile) */
.marksheet-content table:nth-of-type(2) {
  border: 1.5px solid #0c2340 !important;
}

.marksheet-content table:nth-of-type(2) th {
  width: 25% !important;
  background: #f8fafc !important;
  color: #0c2340 !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.02em !important;
  padding: 0.55rem 0.85rem !important;
  border: 1px solid #cbd5e1 !important;
}

.marksheet-content table:nth-of-type(2) td {
  font-size: 0.9rem !important;
  color: #1e293b !important;
  padding: 0.55rem 0.85rem !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 500 !important;
}

.marksheet-content table:nth-of-type(2) tr:first-child td:first-of-type {
  color: #0284c7 !important;
  font-family: monospace !important;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
}

.marksheet-content table:nth-of-type(2) td[rowspan="5"] {
  width: 125px !important;
  text-align: center !important;
  vertical-align: middle !important;
  background: #f8fafc !important;
  padding: 0.5rem !important;
  border: 1px solid #cbd5e1 !important;
}

.marksheet-content table:nth-of-type(2) td[rowspan="5"] img {
  width: 95px !important;
  height: 120px !important;
  object-fit: cover !important;
  border: 1px solid #94a3b8 !important;
  border-radius: 4px !important;
  display: block !important;
  margin: 0 auto !important;
  background: #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

/* Table 3: Marks Details (student_result) */
.marksheet-content table:nth-of-type(3) {
  border: 1.5px solid #0c2340 !important;
}

.marksheet-content table:nth-of-type(3) tr:first-child td {
  background: #f1f5f9 !important;
  font-weight: 800 !important;
  color: #0c2340 !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 0.6rem !important;
  border: 1.5px solid #0c2340 !important;
}

.marksheet-content table:nth-of-type(3) tr:nth-child(2) th {
  background: #0c2340 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  text-align: center !important;
  padding: 0.6rem 0.75rem !important;
  border: 1px solid #0c2340 !important;
}

.marksheet-content table:nth-of-type(3) tr:nth-child(2) th:first-child {
  text-align: left !important;
  padding-left: 1.25rem !important;
  width: 46% !important;
}

.marksheet-content table:nth-of-type(3) tr:nth-child(2) th:nth-child(2) {
  width: 18% !important;
}

.marksheet-content table:nth-of-type(3) tr:nth-child(2) th:nth-child(3) {
  width: 18% !important;
}

.marksheet-content table:nth-of-type(3) tr:nth-child(2) th:last-child {
  width: 18% !important;
}

.marksheet-content table:nth-of-type(3) tr:not(:first-child):not(:nth-child(2)) td {
  text-align: center !important;
  padding: 0.55rem 0.75rem !important;
  border: 1px solid #cbd5e1 !important;
  font-size: 0.88rem !important;
}

.marksheet-content table:nth-of-type(3) tr:not(:first-child):not(:nth-child(2)) td:first-child {
  text-align: left !important;
  padding-left: 1.25rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
}

.marksheet-content table:nth-of-type(3) tr:not(:first-child):not(:nth-child(2)) td:last-child {
  font-weight: 800 !important;
  color: #0284c7 !important;
  font-size: 0.95rem !important;
}

.marksheet-content table:nth-of-type(3) tr.bg-dark,
.marksheet-content table:nth-of-type(3) .bg-dark {
  background: #0c2340 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border: 1.5px solid #0c2340 !important;
}

.marksheet-content table:nth-of-type(3) tr.bg-dark td,
.marksheet-content table:nth-of-type(3) .bg-dark td {
  color: #ffffff !important;
  padding: 0.65rem 0.75rem !important;
  text-align: center !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.marksheet-content table:nth-of-type(3) tr.bg-dark td:first-child,
.marksheet-content table:nth-of-type(3) .bg-dark td:first-child {
  text-align: left !important;
  padding-left: 1.25rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
}

.marksheet-content table:nth-of-type(3) tr.bg-dark td:nth-child(2),
.marksheet-content table:nth-of-type(3) .bg-dark td:nth-child(2) {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #38bdf8 !important;
}

.marksheet-content table:nth-of-type(3) tr.bg-dark td:nth-child(3),
.marksheet-content table:nth-of-type(3) .bg-dark td:nth-child(3) {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 0.85rem !important;
}

.marksheet-content table:nth-of-type(3) tr.bg-dark td:last-child,
.marksheet-content table:nth-of-type(3) .bg-dark td:last-child {
  font-size: 1.1rem !important;
  font-weight: 900 !important;
  color: #4ade80 !important;
}

.marksheet-content table:nth-of-type(3) tr:last-child {
  background: #f8fafc !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  color: #334155 !important;
}

.marksheet-content table:nth-of-type(3) tr:last-child td:first-child {
  text-align: left !important;
  padding-left: 1.25rem !important;
}

/* Table 4: Notes & Certification (certify_by) */
.marksheet-content table:nth-of-type(4) {
  border: 1.5px solid #0c2340 !important;
  background: #ffffff !important;
  margin-bottom: 0 !important;
}

.marksheet-content table:nth-of-type(4) tr:first-child td {
  background: #f8fafc !important;
  padding: 0.85rem 1.25rem !important;
  font-size: 0.78rem !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  border-bottom: 1.5px dashed #cbd5e1 !important;
}

.marksheet-content table:nth-of-type(4) tr:first-child td b {
  color: #0c2340 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.03em !important;
  display: block !important;
  margin-bottom: 0.35rem !important;
}

.marksheet-content table:nth-of-type(4) tr:first-child td ol {
  margin: 0 !important;
  padding-left: 1.2rem !important;
}

.marksheet-content table:nth-of-type(4) tr:first-child td li {
  margin-bottom: 0.25rem !important;
}

.marksheet-content table:nth-of-type(4) tr:last-child td {
  background: #ffffff !important;
  padding: 1rem 1.25rem !important;
  font-size: 0.82rem !important;
  color: #334155 !important;
  line-height: 1.6 !important;
}

.marksheet-content table:nth-of-type(4) tr:last-child td big strong {
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: #0c2340 !important;
  display: inline-block !important;
  margin-bottom: 0.35rem !important;
}

.marksheet-content table:nth-of-type(4) tr:last-child td b {
  color: #0c2340 !important;
  font-weight: 600 !important;
}

/* Status Notifications in Verification */
.verify-status-hold {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  margin-top: 1.5rem;
}

.verify-status-hold h4 {
  color: #92400e;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.verify-status-hold p {
  color: #78350f;
  font-size: 0.88rem;
  margin: 0;
}

.verify-status-hold .verify-icon {
  color: #d97706;
  font-size: 2.2rem;
  margin-bottom: 8px;
  display: inline-block;
}

.verify-status-pending {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  margin-top: 1.5rem;
}

.verify-status-pending h4 {
  color: #1e40af;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.verify-status-pending p {
  color: #1e3a8a;
  font-size: 0.88rem;
  margin: 0;
}

.verify-status-pending .verify-icon {
  color: var(--accent);
  font-size: 2.2rem;
  margin-bottom: 8px;
  display: inline-block;
}

.verify-status-notfound {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  text-align: center;
  margin-top: 1.5rem;
}

.verify-status-notfound .verify-icon {
  color: #dc2626;
  font-size: 2.2rem;
  margin-bottom: 8px;
  display: inline-block;
}

.verify-status-notfound h4 {
  color: #991b1b;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.verify-status-notfound p {
  color: #7f1d1d;
  font-size: 0.88rem;
  margin: 0;
}

/* Print Optimization for Marksheet */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .no-print,
  .site-header,
  .page-banner,
  .news-ticker-bar,
  .verify-search-card,
  .site-footer,
  .scroll-top,
  .whatsapp-fab {
    display: none !important;
  }
  .section {
    padding: 0 !important;
    margin: 0 !important;
  }
  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .marksheet-statement-wrapper {
    box-shadow: none !important;
    border: 2px solid #000000 !important;
    margin: 0 !important;
    padding: 10mm !important;
    page-break-inside: avoid;
  }
  .marksheet-content table {
    border: 1px solid #000000 !important;
  }
  .marksheet-content th,
  .marksheet-content td {
    border: 1px solid #000000 !important;
  }
}

.verify-container {
  max-width: 860px;
}

.breadcrumb-separator {
  font-size: 0.7rem;
}

.verify-btn {
  height: 42px;
}

.verify-security-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}