:root {
  --primary-gold: #b59d5c;
  --deep-navy: #0a192f;
  --bg-cream: #fdfbf7;
  --bg-color: #ffffff;
  --section-bg: #fcfbf7;
  --text-main: #1a1a1a;
  --text-secondary: #555;
  --card-bg: #ffffff;
  --border-color: #e2d1a8;
  --footer-bg: #ffffff;
}

body.dark-mode {
  --bg-cream: #0f172a;
  --text-main: #e5e7eb;
  --deep-navy: #f1f5f9;
  --card-bg: #1e293b;
  --input-bg: #0f172a;
  --input-border: #334155;
  --text-secondary-dark: #94a3b8;
  --footer-bg: #1a1a1a;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
}

/* --- Header Styling (Matches Resources.html) --- */
.feedback-header {
  text-align: center;
  padding: 4rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feedback-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--deep-navy);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

/* The Gold Underline Effect */
.feedback-header h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary-gold);
  margin: 0.5rem auto 0;
  border-radius: 2px;
}

.feedback-header p {
  font-family: 'Inter', sans-serif;
  color: var(--text-secondary-dark, #666);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Form Container (Card Style) --- */
.feedback-container {
  display: flex;
  justify-content: center;
  padding-bottom: 4rem;
}

#feedbackForm {
  background: var(--card-bg, white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Soft shadow like the cards */
  width: 100%;
  max-width: 600px;
  border-top: 4px solid var(--primary-gold); /* Gold accent on top */
}

/* --- Input Styles --- */
label {
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
  display: block;
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

label:first-child {
  margin-top: 0;
}

input, select, textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--input-bg, #fafafa);
  border: 1px solid var(--input-border, #e0e0e0);
  color: var(--text-main);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-gold);
  background-color: white;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* --- Button Styling (Matches Quiz Buttons) --- */
button[type="submit"] {
  background-color: var(--deep-navy);
  color: white; /* Changed to white for better contrast on navy */
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-top: 2rem;
  width: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(10, 25, 47, 0.2);
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  background-color: #1a2f4b; /* Slightly lighter navy on hover */
  box-shadow: 0 6px 15px rgba(10, 25, 47, 0.3);
}

body.dark-mode button[type="submit"] {
  background-color: var(--primary-gold) !important;
  color: #000 !important;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

body.dark-mode button[type="submit"]:hover {
  background-color: #c49b2f !important;
  transform: translateY(-2px);
}

/* --- Success Message --- */
#successMessage {
  margin-top: 1.5rem;
  text-align: center;
  color: #27ae60;
  font-weight: 600;
  display: none; /* Controlled by JS */
  background: #e8f5e9;
  padding: 1rem;
  border-radius: 8px;
}

body.dark-mode #successMessage {
  background: #052e16;
  color: #4ade80;
}

/* --- Success Message --- */
#successMessage {
  display: none;
  margin-top: 1.5rem;
  padding: 10px 14px;
  border-radius: 8px;
  background: #e6f7ee;
  color: #137333;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid #b7e4c7;
  text-align: center;
}

body.dark-mode #successMessage {
  background: #052e16;
  color: #4ade80;
  border-color: #166534;
}

/* Dropdown options */
/* ============================= */
/* DARK MODE SELECT FIX */
/* ============================= */

body.dark-mode select {
  background-color: #0f1b2d !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
  appearance: none; /* removes default white style */
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Dropdown arrow styling */
body.dark-mode select {
  background-image: linear-gradient(45deg, transparent 50%, var(--primary-gold) 50%),
                    linear-gradient(135deg, var(--primary-gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 2px),
                       calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

/* Options (limited browser support) */
body.dark-mode select option {
  background-color: #0f1b2d;
  color: #ffffff;
}

/* Focus state */
body.dark-mode select:focus {
  border-color: var(--primary-gold) !important;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

body.dark-mode textarea,
body.dark-mode input {
  background-color: #0f1b2d !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
}

body.dark-mode textarea,
body.dark-mode input {
  background-color: #0f1b2d !important;
  color: #ffffff !important;
  border: 1px solid #334155 !important;
}

body.dark-mode textarea::placeholder,
body.dark-mode input::placeholder {
  color: #94a3b8 !important;
}
}
:root {
  --primary-gold: #c5a059; /* Approximate gold from the image */
  --footer-bg: #0a0c10;
  --text-gray: #a1a1a1;
  --border-color: rgba(255, 255, 255, 0.1);
}

.site-footer {
  background-color: var(--footer-bg);
  color: white;
  padding: 4rem 2rem 2rem;
  font-family: 'Inter', sans-serif;
  border-top: 1px solid var(--border-color);
}

.footer-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Brand Section */
.footer-brand {
  flex: 1;
  min-width: 300px;
  display: flex;
  gap: 1.5rem;
}

.footer-mark {
  background: var(--primary-gold);
  color: #000;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.footer-tagline {
  color: var(--text-gray);
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 400px;
}

/* Navigation Columns */
.footer-columns {
  display: flex;
  gap: 4rem;
}

.footer-col-title {
  color: var(--primary-gold);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

/* Divider */
.footer-divider {
  height: 1px;
  background: var(--border-color);
  margin-bottom: 2rem;
}

/* Bottom Section & Badges */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-badges {
  display: flex;
  gap: 0.8rem;
}

.footer-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-meta {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.footer-inline {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-columns {
    gap: 2rem;
    flex-wrap: wrap;
  }
}
