/* 
 * 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);
}

/* 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);
}

/* 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 {
    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 {
    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-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;
  }
}

/* ==========================================================================
   Interactive Event Calendar & Campus Schedule Styles
   ========================================================================== */
.event-page-wrapper {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .event-page-wrapper {
    grid-template-columns: 1fr;
  }
}

.calendar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.calendar-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.calendar-nav-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
}

.calendar-nav-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

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

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-header-cell {
  text-align: center;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  padding: 0.5rem 0.25rem;
}

.calendar-header-cell.sunday {
  color: var(--accent);
}

.calendar-day-cell {
  min-height: 52px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 4px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.calendar-day-cell:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.calendar-day-cell.sunday {
  background: #fff5f5;
  color: #e11d48;
}

.calendar-day-cell.other-month {
  opacity: 0.35;
  background: #f8fafc;
}

.calendar-day-cell.today {
  border: 2px solid var(--primary);
  font-weight: 700;
}

.calendar-day-cell.has-event {
  background: #fef2f2;
  border-color: #fca5a5;
  color: var(--accent);
  font-weight: 700;
}

.calendar-day-cell.has-event::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 2px;
}

.event-details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.event-list-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.event-item-card {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
  background: #ffffff;
  transition: var(--transition);
}

.event-item-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.event-item-date-badge {
  background: var(--primary);
  color: #ffffff;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  text-align: center;
  min-width: 65px;
}

.event-item-date-day {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.event-item-date-month {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
}

.event-modal-popup {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border-left: 4px solid var(--accent);
}