/* Primary Colors */
:root {
  --color-background: #F6F1E7; /* Warm cream - main background */
  --color-text-primary: #1C1C1C; /* Rich black - body text */
  --color-text-secondary: #6B6B6B; /* Medium gray - subtle text */
  --color-accent-primary: #5A3A2E; /* Deep brown - headings, borders */
  --color-accent-secondary: #2F3E5C; /* Navy blue - interactive elements */

  /* Functional Colors */
  --color-surface: rgba(255, 255, 255, 0.6); /* White with transparency */
  --color-surface-alt: #FEFDFB; /* Off-white for inputs */
  --color-error: #8C2F1D; /* Rust red for errors */
  --color-placeholder: #9A9A9A; /* Light gray for placeholders */

  /* Border & Decorative */
  --border-light: rgba(90, 58, 46, 0.15);
  --border-medium: rgba(90, 58, 46, 0.2);
  --border-strong: rgba(90, 58, 46, 0.3);

  /* Hover & Focus States */
  --hover-overlay: rgba(90, 58, 46, 0.1);
  --focus-ring: rgba(47, 62, 92, 0.1);
}

/* === TYPOGRAPHY === */
/* Font Families */
:root {
  --font-serif: 'Libre Baskerville', serif; /* Body text, inputs, buttons */
  --font-display: 'Cormorant Garamond', serif; /* Headings, announcements */
}

/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-serif);
  color: var(--color-text-primary);
  background: var(--color-background);
  width: 100%;
  overflow-x: hidden;
}

/* Dark mode styles */
body.dark-mode {
  --color-background: #1e1e1e;
  --color-text-primary: #f0f0f0;
  --color-text-secondary: #aaaaaa;
  --color-accent-primary: #8c6b5a;
  --color-accent-secondary: #4a5e7a;
  background: var(--color-background);
  color: var(--color-text-primary);
}

body.dark-mode .site-header {
  background: #2a2a2a;
  border-bottom: 1px solid #444;
}

body.dark-mode .header-top-bar {
  background: #242424;
}

body.dark-mode .social-links a,
body.dark-mode .help-button,
body.dark-mode .dark-mode-toggle {
  color: var(--color-text-primary);
}

body.dark-mode .social-links a:hover,
body.dark-mode .help-button:hover,
body.dark-mode .dark-mode-toggle:hover,
body.dark-mode .header-links a:hover,
body.dark-mode .overlay-menu a:hover,
body.dark-mode .menu-quick-links a:hover,
body.dark-mode .menu-close:hover,
body.dark-mode .search-close:hover,
body.dark-mode .search-button:hover,
body.dark-mode .menu-toggle:hover {
  color: var(--color-accent-secondary);
}

body.dark-mode .dropdown-content {
  background: #2a2a2a;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

body.dark-mode .dropdown-content a:hover {
  background: #383838;
}

body.dark-mode .header-links a::after {
  background-color: var(--color-accent-secondary);
}

body.dark-mode .main-menu-overlay {
  background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
}

body.dark-mode .overlay-menu a {
  background: rgba(255, 255, 255, 0.08);
}

body.dark-mode .menu-header h2,
body.dark-mode .menu-newsletter h3 {
  color: var(--color-accent-secondary);
}

body.dark-mode .menu-header p,
body.dark-mode .menu-newsletter p {
  color: #cccccc;
}

body.dark-mode .menu-quick-links a {
  color: #aaaaaa;
}

body.dark-mode .newsletter-form input {
  background: #383838;
  border-color: #555;
  color: var(--color-text-primary);
}

body.dark-mode .search-overlay {
  background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
}

body.dark-mode .search-form input {
  background: #383838;
  color: var(--color-text-primary);
}

body.dark-mode .menu-toggle,
body.dark-mode .menu-close,
body.dark-mode .search-close,
body.dark-mode .search-button {
  color: var(--color-text-primary);
}

/* Site Header */
.site-header {
  background-color: var(--color-surface-alt);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 9999;
  transition: box-shadow 0.3s ease;
  width: 100%;
}

.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Top bar */
.header-top-bar {
  background: var(--color-surface-alt);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-toggle select {
  padding: 5px;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  background: var(--color-surface-alt);
  font-size: 14px;
  cursor: pointer;
  color: var(--color-text-primary);
}

.language-toggle select:focus {
  outline: none;
  border-color: var(--color-accent-secondary);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: var(--color-accent-secondary);
  transform: translateY(-2px);
}

/* Help Dropdown */
.help-dropdown {
  position: relative;
}

.help-button {
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.help-button:hover {
  color: var(--color-accent-secondary);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--color-surface-alt);
  min-width: 120px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1001;
}

.help-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: var(--hover-overlay);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.dark-mode-toggle:hover {
  color: var(--color-accent-secondary);
  transform: scale(1.1);
}

/* Main header with grid */
.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.5rem 1rem;
  max-width: 100%;
}

/* Left section: Menu button */
.header-left {
  display: flex;
  align-items: center;
  justify-self: start;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  position: relative;
  z-index: 9999;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-primary);
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle:hover {
  color: var(--color-accent-secondary);
  transform: scale(1.05);
}

.menu-toggle[aria-expanded="true"] {
  color: var(--color-accent-secondary);
  opacity: 0;
  pointer-events: none;
}

/* Center logo */
.header-center {
  justify-self: center;
}

.site-logo {
  font-family: var(--font-display);
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

.site-logo .logo-text {
  font-size: 1.5rem;
  text-transform: lowercase;
  color: var(--color-accent-primary);
  font-weight: bold;
  letter-spacing: -0.5px;
}

/* Right section: Navigation */
.header-right {
  display: flex;
  align-items: center;
  justify-self: end;
}

.header-links ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.header-links a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  font-size: 0.85rem;
}

.header-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-secondary);
  transition: width 0.3s ease;
}

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

.header-links a:hover::after {
  width: 100%;
}

.search-button {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 5px;
  color: var(--color-text-primary);
}

.search-button:hover {
  color: var(--color-accent-secondary);
  transform: scale(1.1);
}

/* Fullscreen menu overlay */
.main-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-surface-alt) 0%, var(--color-background) 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
}

.main-menu-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 2100;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-primary);
}

.menu-close:hover {
  color: var(--color-accent-secondary);
  transform: rotate(90deg);
}

/* Menu header section */
.menu-header {
  padding: 15px 0;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  margin-top: 20px;
}

.menu-header h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--color-accent-primary);
  margin-bottom: 8px;
  font-weight: 300;
}

.menu-header p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Overlay navigation */
.overlay-menu {
  max-width: 100%;
  margin: 2rem auto;
}

.overlay-menu ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.overlay-menu li {
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
  perspective: 1000px;
}

.overlay-menu li:hover {
  transform: translateY(-3px);
}

.overlay-menu a {
  color: var(--color-text-primary);
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
  display: block;
  padding: 12px;
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.overlay-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent-secondary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.overlay-menu a:hover {
  color: var(--color-accent-secondary);
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.overlay-menu a:hover::before {
  transform: scaleY(1);
}

/* Menu category icons */
.overlay-menu a i {
  margin-right: 10px;
  font-size: 1rem;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(90, 58, 46, 0.1);
  border-radius: 50%;
  color: var(--color-accent-primary);
  transition: background 0.3s ease, transform 0.3s ease;
}

.overlay-menu a:hover i {
  background: rgba(47, 62, 92, 0.2);
  transform: rotate(15deg);
}

/* Menu bottom section */
.menu-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.menu-quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 25px;
  padding: 0 10px;
}

.menu-quick-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.menu-quick-links a:hover {
  color: var(--color-accent-secondary);
}

.menu-newsletter {
  max-width: 90%;
  margin: 0 auto;
  padding: 15px;
  background: var(--color-surface);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.menu-newsletter h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.menu-newsletter p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  font-size: 0.9rem;
  background: var(--color-surface-alt);
  color: var(--color-text-primary);
}

.newsletter-form button {
  background: var(--color-accent-secondary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.newsletter-form button:hover {
  background: #1e2a3f;
  transform: translateY(-2px);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-surface-alt) 0%, var(--color-background) 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
}

.search-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.search-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 2100;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--color-text-primary);
}

.search-close:hover {
  color: var(--color-accent-secondary);
  transform: rotate(90deg);
}

.search-form-container {
  width: 90%;
  max-width: 600px;
}

.search-form {
  display: flex;
  position: relative;
}

.search-form input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  background: var(--color-surface-alt);
  outline: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  color: var(--color-text-primary);
}

.search-form input[type="text"]:focus {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-form button {
  position: absolute;
  right: 5px;
  top: 5px;
  height: calc(100% - 10px);
  background: var(--color-accent-secondary);
  border: none;
  font-size: 1.1rem;
  padding: 0 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 50px;
  color: white;
}

.search-form button:hover {
  background: #1e2a3f;
}

/* Initiatives section */
.initiatives-section {
  text-align: center;
  margin: 40px 0;
}

.initiatives-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-accent-primary);
}

body.dark-mode .initiatives-title {
  color: var(--color-accent-secondary);
}

.box-container {
  display: flex;
  justify-content: space-around;
  max-width: 800px;
  margin: 20px auto;
}

.box {
  width: 150px;
  height: 150px;
  background-color: var(--color-surface-alt);
  border: 2px solid var(--border-medium);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
  text-decoration: none;
}

body.dark-mode .box {
  background-color: #333;
  border-color: #555;
}

.box:hover {
  transform: scale(1.05);
  border-color: var(--color-accent-secondary);
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
.site-footer {
  background-color: var(--color-surface-alt);
  border-top: 1px solid var(--border-light);
  position: relative;
  z-index: 1000;
  width: 100%;
  padding: 0.5rem 1rem;
}

body.dark-mode .site-footer {
  background: #2a2a2a;
  border-top: 1px solid #444;
}

/* Desktop Footer */
.desktop-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 100%;
}

.footer-left p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin: 0;
}

body.dark-mode .footer-left p {
  color: #cccccc;
}

.footer-links a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  font-size: 0.85rem;
}

body.dark-mode .footer-links a {
  color: var(--color-text-primary);
}

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

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-secondary);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Mobile Footer */
.mobile-footer {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--color-surface-alt);
  border-top: 1px solid var(--border-light);
  z-index: 1000;
  padding: 0.5rem 0;
}

body.dark-mode .mobile-footer {
  background: #2a2a2a;
  border-top: 1px solid #444;
}

.mobile-footer-nav {
  display: flex;
  justify-content: space-around;
}

.footer-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-text-primary);
  text-decoration: none;
  font-size: 0.75rem;
}

.footer-icon i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.footer-icon:hover {
  color: var(--color-accent-secondary);
}

/* Off-Screen Menu */
.off-screen-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background-color: var(--color-surface-alt);
  box-shadow: -2px 0 5px rgba(0,0,0,0.5);
  transition: right 0.3s ease;
  z-index: 2000;
}

body.dark-mode .off-screen-menu {
  background-color: #2a2a2a;
}

.off-screen-menu.active {
  right: 0;
}

.off-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: var(--color-accent-secondary);
  color: #fff;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.off-screen-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.off-screen-nav li {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

body.dark-mode .off-screen-nav li {
  border-bottom: 1px solid #444;
}

.off-screen-nav a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-size: 1rem;
}

.off-screen-nav a:hover {
  color: var(--color-accent-secondary);
}

/* Main Content */
.main-content {
  padding: 2rem 1rem;
  min-height: calc(100vh - 200px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: var(--color-background);
}

body.dark-mode .main-content {
  background: linear-gradient(135deg, #222 0%, #1e1e1e 100%);
}

/* Login, Dashboard, Submit Containers */
.login-container,
.dashboard-container,
.submit-container {
  background: var(--color-surface-alt);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  width: 100%;
  max-width: 800px;
  animation: fadeIn 0.5s ease;
  margin-bottom: 2rem;
}

body.dark-mode .login-container,
body.dark-mode .dashboard-container,
body.dark-mode .submit-container {
  background: #2a2a2a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Page Title & Section Title */
.page-title,
.section-title {
  color: var(--color-accent-primary);
  font-family: var(--font-display);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

.page-title {
  font-size: 2.5rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 500;
  text-align: left;
}

body.dark-mode .page-title,
body.dark-mode .section-title {
  color: var(--color-accent-secondary);
}

/* Messages */
.error-message {
  background: rgba(140, 47, 29, 0.1);
  color: var(--color-error);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  text-align: center;
}

body.dark-mode .error-message {
  background: rgba(140, 47, 29, 0.3);
  color: #ff9999;
}

.success-message {
  background: rgba(90, 58, 46, 0.1);
  color: var(--color-accent-primary);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  text-align: center;
}

body.dark-mode .success-message {
  background: rgba(74, 94, 122, 0.2);
  color: var(--color-accent-secondary);
}

/* Form Group */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  color: var(--color-text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

body.dark-mode .form-group label {
  color: var(--color-text-primary);
}

.form-group label i {
  margin-right: 0.5rem;
  color: var(--color-accent-primary);
}

body.dark-mode .form-group label i {
  color: var(--color-accent-secondary);
}

.form-group input,
.submit-container textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-medium);
  border-radius: 4px;
  font-size: 1rem;
  background: var(--color-surface-alt);
  color: var(--color-text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.submit-container textarea {
  resize: vertical;
  padding: 1rem;
}

body.dark-mode .form-group input,
body.dark-mode .submit-container textarea {
  background: #333;
  border-color: #555;
}

.form-group input:focus,
.submit-container textarea:focus {
  border-color: var(--color-accent-secondary);
  outline: none;
  box-shadow: 0 0 8px var(--focus-ring);
}

.form-group .is-invalid {
  border-color: var(--color-error);
}

.form-group .error {
  color: var(--color-error);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

body.dark-mode .form-group .error {
  color: #ff9999;
}

/* Buttons */
.btn {
  background: var(--color-accent-secondary);
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  width: 100%;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #1e2a3f;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-text-secondary);
  color: #fff;
}

.btn-secondary:hover {
  background: #888;
  transform: translateY(-2px);
}

/* Links */
.links {
  text-align: center;
  margin-top: 1.5rem;
}

.links p {
  margin: 0.5rem 0;
  color: var(--color-text-secondary);
}

.links a {
  color: var(--color-accent-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.links a:hover {
  color: #1e2a3f;
  text-decoration: underline;
}

/* Dashboard Specific */
.dashboard-welcome p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

.info-card {
  background: var(--color-surface);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.dark-mode .info-card {
  background: #333;
}

.info-card p {
  margin: 0.5rem 0;
  color: var(--color-text-primary);
}

.info-card strong {
  color: var(--color-accent-primary);
}

body.dark-mode .info-card strong {
  color: var(--color-accent-secondary);
}

/* Review Table */
.review-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

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

body.dark-mode .review-table th,
body.dark-mode .review-table td {
  border-bottom: 1px solid #555;
}

.review-table th {
  background: var(--color-surface);
  color: var(--color-accent-primary);
}

body.dark-mode .review-table th {
  background: #333;
  color: var(--color-accent-secondary);
}

.review-table td form {
  display: flex;
  gap: 0.5rem;
}

.review-table td .btn {
  padding: 0.5rem 1rem;
  width: auto;
}

/* Article Content */
.article-content {
  font-family: var(--font-serif);
  line-height: 1.6;
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  color: var(--color-text-primary);
}

@media (max-width: 768px) {
  .article-content {
    font-size: 16px;
    padding: 10px;
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.slide-in {
  animation: slideIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive adjustments */
@media screen and (max-width: 480px) {
  .header-main {
    padding: 0.4rem;
  }

  .social-links a:nth-child(3),
  .social-links a:nth-child(4) {
    display: none;
  }

  .header-links ul li:not(:nth-child(1)):not(:last-child) {
    display: none;
  }

  .site-logo .logo-text {
    font-size: 1.3rem;
  }

  .footer-icon {
    font-size: 0.65rem;
  }

  .footer-icon i {
    font-size: 1rem;
  }
}

@media screen and (min-width: 481px) and (max-width: 667px) {
  .header-links ul li:nth-child(2),
  .header-links ul li:nth-child(3) {
    display: none;
  }

  .site-logo .logo-text {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 668px) and (max-width: 768px) {
  .header-links ul li:nth-child(2) {
    display: none;
  }

  .site-logo .logo-text {
    font-size: 1.5rem;
  }

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

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .header-main {
    padding: 0.75rem;
  }

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

  .site-logo .logo-text {
    font-size: 1.8rem;
  }

  .newsletter-form {
    flex-direction: row;
  }
}

@media screen and (min-width: 1025px) {
  .header-main {
    padding: 1rem 2rem;
  }

  .overlay-menu ul {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-logo .logo-text {
    font-size: 2rem;
  }

  .social-links {
    gap: 1rem;
  }

  .header-links ul {
    gap: 1rem;
  }

  .header-links a {
    font-size: 0.95rem;
  }

  .newsletter-form {
    flex-direction: row;
  }

  .desktop-footer {
    padding: 1rem 2rem;
  }

  .footer-links ul {
    gap: 1rem;
  }

  .footer-links a {
    font-size: 0.95rem;
  }
}

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

  .mobile-footer {
    display: block;
  }

  .login-container,
  .dashboard-container,
  .submit-container {
    padding: 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .main-content {
    padding: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .action-buttons {
    flex-direction: column;
    align-items: center;
  }

  .action-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (min-width: 769px) {
  .mobile-footer {
    display: none;
  }

  .desktop-footer {
    display: grid;
  }

  .mobile-footer-nav {
    padding: 0.75rem 0;
  }
}