/* Modern, SEO-optimized educational portal design system for NEET Result 2026 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Font Family */
  --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  /* Color System - Light Mode */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --primary: #0066cc;
  --primary-hover: #0052a3;
  --primary-light: #e0f2fe;
  --secondary: #0d9488;
  --secondary-hover: #0f766e;
  --accent: #e63946;
  --accent-hover: #d62828;
  --border-color: #e2e8f0;
  --card-shadow: 0 4px 20px -2px rgba(148, 163, 184, 0.12), 0 2px 8px -1px rgba(148, 163, 184, 0.08);
  --card-shadow-hover: 0 20px 25px -5px rgba(148, 163, 184, 0.2), 0 10px 10px -5px rgba(148, 163, 184, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Status Colors */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Ad spaces */
  --ad-bg: #f8fafc;
  --ad-border: #e2e8f0;
}

/* Dark Mode Variables */
body.dark-mode {
  --bg-primary: #090d16;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --primary: #38bdf8;
  --primary-hover: #7dd3fc;
  --primary-light: #1e293b;
  --secondary: #2dd4bf;
  --secondary-hover: #99f6e4;
  --accent: #f87171;
  --accent-hover: #fca5a5;
  --border-color: #374151;
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  
  --ad-bg: #1f2937;
  --ad-border: #374151;
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

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

.section-padding {
  padding: 4rem 0;
}

/* Header & Navigation */
.header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

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

.logo-badge {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  margin-left: 0.25rem;
  text-transform: uppercase;
  animation: pulse 2s infinite;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
}

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

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

.theme-toggle-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background-color: var(--bg-tertiary);
  transform: scale(1.05);
}

.theme-toggle-btn .sun-icon {
  display: none;
}

body.dark-mode .theme-toggle-btn .moon-icon {
  display: none;
}

body.dark-mode .theme-toggle-btn .sun-icon {
  display: block;
}

.menu-toggle-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 100% 0%, var(--primary-light) 0%, var(--bg-primary) 70%);
  padding: 5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.hero-badge .status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Quick Access / Portal Grid */
.portal-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.portal-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.5rem 1rem;
  border-radius: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  cursor: pointer;
}

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

.portal-btn i {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.portal-btn:hover i {
  color: var(--secondary);
}

/* Live News Ticker */
.news-ticker-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 0;
}

.ticker-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
  align-items: center;
}

.news-ticker-container {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.ticker-title {
  background-color: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  animation: pulse 2s infinite;
}

.ticker-content {
  display: flex;
  flex-shrink: 0;
  min-width: max-content;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0 2rem;
  font-size: 0.9rem;
}

.ticker-item::after {
  content: "✦";
  margin-left: 2rem;
  color: var(--primary);
}

.ticker-item a {
  color: var(--text-primary);
  font-weight: 600;
}

.ticker-item a:hover {
  color: var(--primary);
}

/* Notification Box */
.notification-box {
  background-color: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.notification-box.success {
  background-color: rgba(16, 185, 129, 0.1);
  border-left-color: var(--success);
}

.notification-box.success i {
  color: var(--success);
}

.notification-box i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 0.15rem;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.notification-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

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

/* Grid layout for standard content + sidebar */
.main-layout {
  display: grid;
  grid-template-columns: 2.2fr 0.8fr;
  gap: 2.5rem;
}

.content-area {
  background-color: var(--bg-secondary);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Content Typography */
.content-area h2 {
  font-size: 1.85rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary);
  padding-left: 0.75rem;
}

.content-area h2:first-of-type {
  margin-top: 0;
}

.content-area h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-area p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  text-align: justify;
}

.content-area ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.content-area li {
  margin-bottom: 0.5rem;
}

/* Standard Highlight Box / Tip box */
.highlight-box {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.highlight-box.primary {
  border-left: 4px solid var(--primary);
}

.highlight-box.accent {
  border-left: 4px solid var(--accent);
}

.highlight-box p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Custom Table Styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.styled-table th {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid var(--border-color);
}

.styled-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-secondary);
}

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

.styled-table tr:nth-child(even) {
  background-color: rgba(241, 245, 249, 0.4);
}

body.dark-mode .styled-table tr:nth-child(even) {
  background-color: rgba(31, 41, 55, 0.4);
}

/* Sidebar Widgets */
.sidebar-widget {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--card-shadow);
}

.widget-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
  position: relative;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

/* Search Widget */
.search-form {
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--primary);
  background-color: var(--bg-secondary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.search-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.search-btn:hover {
  color: var(--primary);
}

/* Live updates list inside widget */
.updates-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.update-item {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--border-color);
}

.update-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.update-date {
  font-size: 0.75rem;
  background-color: var(--accent);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 700;
  height: fit-content;
  white-space: nowrap;
}

.update-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.update-text a {
  color: var(--text-primary);
  font-weight: 500;
}

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

/* Related articles widget */
.related-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.related-thumb {
  width: 4rem;
  height: 4rem;
  border-radius: 0.5rem;
  object-fit: cover;
  background-color: var(--border-color);
}

.related-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

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

.related-info a:hover {
  color: var(--primary);
}

.related-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Newsletter Subscription Widget */
.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.subscribe-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.subscribe-input:focus {
  border-color: var(--primary);
  background-color: var(--bg-secondary);
}

.subscribe-btn {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.subscribe-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

/* Social Share Widget */
.social-share-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.share-btn.whatsapp { background-color: #25d366; }
.share-btn.telegram { background-color: #0088cc; }
.share-btn.twitter { background-color: #1da1f2; }

/* Adsense Mock Container */
.ad-container {
  background-color: var(--ad-bg);
  border: 1px dashed var(--ad-border);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100px;
}

.ad-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.ad-mock-slot {
  width: 100%;
  border-radius: 0.25rem;
  background-color: rgba(148, 163, 184, 0.1);
  padding: 1.5rem;
  font-style: italic;
}

/* FAQs styling (accordion layout) */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--bg-tertiary);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.faq-question:hover {
  background-color: rgba(0, 0, 0, 0.02);
}

body.dark-mode .faq-question:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.25rem;
  transition: all 0.3s cubic-bezier(0, 1, 0, 1);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active {
  background-color: var(--bg-secondary);
  border-color: var(--primary);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 1.25rem 1.25rem 1.25rem;
  transition: all 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-icon {
  font-size: 1rem;
  transition: var(--transition);
}

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

/* Rank Predictor App Styling */
.predictor-card {
  background-color: var(--bg-tertiary);
  border: 2px solid var(--primary-light);
  border-radius: 1rem;
  padding: 2rem;
  margin: 1.5rem 0;
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 1.1rem;
  outline: none;
  font-family: var(--font-body);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.predict-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  width: 100%;
  transition: var(--transition);
}

.predict-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.predictor-results {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px dashed var(--border-color);
  display: none;
}

.result-badge-container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.result-badge {
  flex: 1;
  min-width: 150px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.result-badge-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.result-badge-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.result-analysis {
  background-color: rgba(59, 130, 246, 0.08);
  border-radius: 0.5rem;
  padding: 1rem;
  border-left: 4px solid var(--info);
  margin-bottom: 1.5rem;
}

/* Footer styling */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem 0;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 1rem;
  font-size: 0.95rem;
}

.footer-title {
  font-size: 1.1rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 0.25rem;
}

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

.copyright {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(230, 57, 70, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .hero-badge {
    justify-content: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .main-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
  .header-container {
    height: 4rem;
  }
  .menu-toggle-btn {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    width: 100%;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
  }
  .content-area {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .portal-buttons-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
