/* ==========================================================================
   11thClassResult.net.pk - Official Educational Portal Stylesheet
   Theme: Emerald Green Palette (100% High-Trust SEO Theme)
   Optimized for 100/100 PageSpeed Performance & Mobile Responsiveness
   ========================================================================== */

:root {
  /* Premium Emerald Green Color Palette */
  --primary-50: #f0fdf4;
  --primary-100: #dcfce7;
  --primary-200: #bbf7d0;
  --primary-500: #10b981;
  --primary-600: #059669;
  --primary-700: #047857;
  --primary-800: #065f46;
  --primary-900: #022c22;

  --accent-gold: #f59e0b;
  --accent-gold-dark: #d97706;
  --accent-whatsapp: #25d366;
  --accent-whatsapp-dark: #128c7e;

  --dark-bg: #04100c;
  --dark-surface: #0b1c15;
  --dark-card: #122b21;
  --dark-border: #1e3d30;
  --dark-text: #f0fdf4;
  --dark-muted: #94a3b8;

  --light-bg: #f6faf8;
  --light-surface: #ffffff;
  --light-card: #ffffff;
  --light-border: #e2e8f0;
  --light-text: #0f172a;
  --light-muted: #64748b;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Outfit', var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--light-bg);
  color: var(--light-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--light-text);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-800);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.flex {
  display: flex;
}

/* Announcement Ticker Bar */
.ticker-bar {
  background: linear-gradient(90deg, #065f46, #047857);
  color: #ffffff;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.ticker-badge {
  background: var(--accent-gold);
  color: #000000;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.ticker-content {
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  display: flex;
  gap: 2rem;
}

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

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header & Navigation */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--light-border);
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--primary-900);
}

.brand-logo svg {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--primary-600);
}

.brand-badge {
  font-size: 0.65rem;
  background: var(--primary-100);
  color: var(--primary-800);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 0.25rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--light-text);
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-600);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--primary-600);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: var(--light-surface);
  color: var(--light-text);
  border-color: var(--light-border);
}

.btn-secondary:hover {
  background: var(--primary-50);
  border-color: var(--primary-500);
  color: var(--primary-800);
}

.btn-whatsapp {
  background: linear-gradient(135deg, var(--accent-whatsapp), var(--accent-whatsapp-dark));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  font-weight: 700;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, var(--accent-whatsapp-dark), #075e54);
  color: #ffffff;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--primary-900);
  padding: 0.25rem 0.5rem;
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 50% 0%, #064e3b 0%, #022c22 100%);
  color: #ffffff;
  padding: 3.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2310b981' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.8;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #a7f3d0, #fef08a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #d1fae5;
  margin-bottom: 2rem;
  max-width: 600px;
}

.official-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ecfdf5;
}

.trust-badge svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent-gold);
}

/* Home WebP Banner Section (Right After Hero) */
.home-banner-section {
  padding: 2.5rem 0 1rem;
  background: var(--light-bg);
}

.home-banner-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 30px -10px rgba(4, 16, 12, 0.15);
  border: 2px solid var(--primary-100);
  background: #ffffff;
  transition: transform 0.3s ease;
}

.home-banner-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 25px 40px -10px rgba(5, 150, 105, 0.2);
}

.home-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Result Search Card Widget */
.search-widget-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  color: var(--light-text);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.widget-header h3 {
  color: var(--primary-900);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-pulse {
  width: 10px;
  height: 10px;
  background-color: var(--primary-500);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--light-text);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--light-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: #ffffff;
  color: var(--light-text);
  transition: all 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-600);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

.widget-note {
  font-size: 0.785rem;
  color: var(--light-muted);
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Countdown Timer Bar */
.countdown-box {
  background: rgba(2, 44, 34, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.countdown-title {
  font-size: 0.875rem;
  color: #a7f3d0;
  font-weight: 600;
}

.timer-grid {
  display: flex;
  gap: 0.75rem;
}

.timer-unit {
  background: rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 55px;
}

.timer-val {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent-gold);
  display: block;
}

.timer-lbl {
  font-size: 0.65rem;
  color: #a7f3d0;
  text-transform: uppercase;
  font-weight: 600;
}

/* WhatsApp Channel Banner Section */
.whatsapp-channel-section {
  background: linear-gradient(135deg, #064e3b, #065f46);
  color: #ffffff;
  padding: 2.25rem 0;
  border-bottom: 4px solid var(--accent-whatsapp);
  position: relative;
  overflow: hidden;
}

.whatsapp-banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-banner-text {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.whatsapp-icon-img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-banner-info h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.whatsapp-banner-info p {
  color: #d1fae5;
  font-size: 0.95rem;
}

/* Floating WhatsApp Corner Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  z-index: 999;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid #ffffff;
  background: #ffffff;
  padding: 3px;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

/* ==========================================================================
   Ultra-Professional Schedule & Step Cards Components
   ========================================================================== */

/* Professional Board Schedule Cards Grid */
.schedule-cards-grid {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0 2.5rem;
}

.schedule-card-item {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-left: 4px solid var(--primary-600);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.schedule-card-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-500);
  background: var(--primary-50);
}

.schedule-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.schedule-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--primary-100);
  color: var(--primary-800);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  font-weight: 700;
}

.schedule-card-title h4 {
  font-size: 1.05rem;
  color: var(--primary-900);
  margin-bottom: 0.2rem;
}

.schedule-card-desc {
  font-size: 0.875rem;
  color: var(--light-muted);
}

.schedule-status-pill {
  font-size: 0.775rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pill-scheduled {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.pill-announced {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Professional Numbered Method Steps Flow Cards */
.method-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.method-step-card {
  background: #ffffff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.method-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-500);
}

.step-num-badge {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.3);
}

.method-step-card h4 {
  font-size: 1.1rem;
  color: var(--primary-900);
  margin-bottom: 0.5rem;
}

.method-step-card p {
  font-size: 0.9rem;
  color: var(--light-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Enhancing standard list bullets across all SEO articles */
.seo-article ul {
  list-style: none;
  padding-left: 0;
}

.seo-article ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.seo-article ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0.1rem;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--primary-100);
  color: var(--primary-800);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quick Action Cards / Board Grid */
.section-padding {
  padding: 4rem 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-800);
  font-weight: 700;
  font-size: 0.825rem;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  border: 1px solid var(--primary-100);
}

.section-title {
  font-size: 2rem;
  color: var(--primary-900);
  margin-bottom: 0.75rem;
}

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

/* Board Filtering Bar */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.tab-btn {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--light-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

/* Board Cards Grid */
.boards-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.board-card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.board-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-500);
}

.board-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--primary-600);
}

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

.board-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-700);
  flex-shrink: 0;
  font-size: 1.4rem;
}

.board-title h4 {
  font-size: 1.15rem;
  color: var(--light-text);
}

.board-province {
  font-size: 0.75rem;
  color: var(--light-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.board-meta {
  margin: 1rem 0;
  padding: 0.75rem 0;
  border-top: 1px dashed var(--light-border);
  border-bottom: 1px dashed var(--light-border);
  font-size: 0.875rem;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.meta-label { color: var(--light-muted); }
.meta-val { font-weight: 600; color: var(--light-text); }

.board-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.board-actions .btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
}

.code-pill {
  background: rgba(5, 150, 105, 0.12);
  color: var(--primary-700);
  font-family: monospace;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(5, 150, 105, 0.25);
}

/* SMS Section Table */
.sms-section {
  background: #04100c;
  color: #ffffff;
  padding: 4rem 0;
}

.sms-table-wrapper {
  background: #0b1c15;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--dark-border);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th, .custom-table td {
  padding: 1rem 1.25rem;
}

.custom-table th {
  background: #04100c;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #a7f3d0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--dark-border);
}

.custom-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
}

/* Article & Standalone Pages Content Styling */
.seo-article, .page-content-wrapper {
  background: #ffffff;
  padding: 4rem 0;
  line-height: 1.8;
  color: #334155;
  font-size: 1.05rem;
}

.article-container {
  max-width: 900px;
  margin: 0 auto;
}

.seo-article h2, .page-content-wrapper h2 {
  font-size: 1.85rem;
  color: var(--primary-900);
  margin: 2.25rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-50);
}

.seo-article h3, .page-content-wrapper h3 {
  font-size: 1.35rem;
  color: #1e293b;
  margin: 1.75rem 0 0.75rem;
}

.seo-article p, .page-content-wrapper p {
  margin-bottom: 1.25rem;
}

.seo-article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.callout-box {
  background: var(--primary-50);
  border-left: 4px solid var(--primary-600);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
}

.callout-box h4 {
  color: var(--primary-900);
  margin-bottom: 0.35rem;
}

/* Search Queries Pill Grid */
.search-queries-box {
  background: var(--primary-50);
  border: 1.5px dashed var(--primary-600);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2rem 0;
}

.query-pills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.query-pill {
  background: #ffffff;
  color: var(--primary-800);
  border: 1px solid var(--primary-200);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* FAQ Accordion Component */
.faq-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--light-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--primary-600);
}

.faq-icon {
  transition: transform 0.3s;
  color: var(--light-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--primary-600);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  display: none;
  color: var(--light-muted);
  font-size: 0.975rem;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer Section */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-muted);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--dark-border);
  margin-top: auto;
}

.footer-grid {
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.disclaimer-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.825rem;
  margin-bottom: 2rem;
}

/* Modal Popup Window */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 16, 12, 0.82);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

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

.modal-title {
  font-size: 1.35rem;
  color: var(--primary-900);
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--light-muted);
}

.modal-body {
  padding: 2rem;
}

/* Printable Official Result Sheet Layout */
.result-sheet {
  border: 2px solid var(--primary-900);
  border-radius: var(--radius-md);
  padding: 2rem;
  background: #ffffff;
  position: relative;
}

.watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(5, 150, 105, 0.05);
  pointer-events: none;
  white-space: nowrap;
}

.sheet-header {
  text-align: center;
  border-bottom: 2px solid var(--primary-600);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.sheet-header h3 {
  font-size: 1.5rem;
  color: var(--primary-900);
  text-transform: uppercase;
}

.sheet-header p {
  font-size: 0.9rem;
  color: var(--light-muted);
}

.student-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: var(--light-bg);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
}

.marks-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}

.marks-table th, .marks-table td {
  border: 1px solid var(--light-border);
  padding: 0.65rem 0.85rem;
  text-align: left;
  font-size: 0.9rem;
}

.marks-table th {
  background: var(--primary-50);
  color: var(--primary-900);
  font-weight: 700;
}

.status-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.status-pass {
  background: #d1fae5;
  color: #065f46;
}

/* Responsive Breakpoints & Mobile Drawer Header */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .whatsapp-banner-card { flex-direction: column; text-align: center; }
  .whatsapp-banner-text { flex-direction: column; }
  .schedule-card-item { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.95rem; }
  .hero-content h1 { font-size: 2.1rem; }
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-menu {
    position: fixed;
    top: 4.5rem; left: 0; right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 2px solid var(--primary-600);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.15);
    display: none;
    z-index: 1000;
  }
  .nav-menu.active { display: flex; }
  .mobile-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .student-info-grid { grid-template-columns: 1fr; }
  .countdown-box { flex-direction: column; text-align: center; }
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 3.25rem; height: 3.25rem; }
}

/* Print Styles */
@media print {
  body * { visibility: hidden; }
  .modal-overlay.active, .modal-card, .result-sheet, .result-sheet * {
    visibility: visible;
  }
  .modal-overlay { position: absolute; top: 0; left: 0; background: none; padding: 0; }
  .close-modal, .btn-print-hide, .whatsapp-float { display: none !important; }
}
