/* static/css/styles.css */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

/* ---------- Global reset ---------- */
* {
  box-sizing: border-box;
}

/* ---------- Base typography ---------- */
html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #F9FAFB;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #222;
}

h2 {
  font-size: 1.8rem;
  border-bottom: 2px solid #C9A24D;
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1rem;
}

ul {
  line-height: 1.8;
}

hr {
  border: none;
  border-top: 2px solid #C9A24D;
  margin: 2rem 0;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

/* ---------- Navigation ---------- */
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.5em;
  background:  #E6E8EB;
  border-bottom: 1px solid #ccc;
}

.nav a {
  text-decoration: none;
  font-weight: bold;
  color:  #1B2A41;
}

.nav-logo {
  height: 70px;
  order: 1;
}

.nav h2 {
  order: 1;
  margin: 0;
  margin-left: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #1B2A41;
}

.nav h2 .careers-accent {
  color: #C9A24D;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-left: auto;
  order: 2;
}

.logo-tagline {
  text-align: center;
  margin: 0.25rem 0 1.25rem;
  font-style: italic;
  color:  #C9A24D 
}

.logo-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0.35rem;
  text-align: center;
}

.about-title {
  color: #1B2A41;
}

.section-divider {
  border: none;
  border-top: 2px solid #C9A24D;
  margin: 2rem 0;
}

.career-coaching,
.area-of-focus {
  padding: 5px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.testimonial-card {
  background: #f9f9f9;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.testimonial-card .quote {
  font-style: italic;
  margin-bottom: 0.75rem;
}

.testimonial-card .name {
  font-weight: 600;
  margin: 0.1rem 0;
}

.testimonial-card .role {
  color: #555;
  margin: 0;
}

/* ---------- Preferences: skills chips ---------- */
.skills-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.skill-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.45rem 0.7rem;
  background: #1e3a8a;
  border: 1px solid #1e40af;
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  min-width: 160px;
}

.skill-name {
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}

.skill-level {
  font-size: 0.85rem;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  padding: 0.15rem 0.45rem;
  background: #eef2ff;
  color: #1f2937;
  min-width: 140px;
}

.skill-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.skill-remove {
  border: none;
  background: transparent;
  color: #dbeafe;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.1rem;
}

.skill-remove:hover {
  color: #ffffff;
}

.skills-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chip-add-btn {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.5rem;
  font-size: 0.85rem;
  line-height: 1.2;
}

/* ---------- Staff user results ---------- */
.staff-search-panel {
  margin: 1.5rem 0;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.staff-search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.staff-search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.staff-search-btn {
  width: auto;
  padding: 0.6rem 1.2rem;
  background: #0066cc;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  white-space: nowrap;
}

.staff-search-clear {
  width: auto;
  padding: 0.6rem 0.8rem;
  background: #ccc;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  white-space: nowrap;
}

.staff-users-section {
  margin: 1.5rem 0;
}

.staff-table {
  width: 100%;
  border-collapse: collapse;
}

.staff-table-head-row {
  background: #f0f0f0;
  border-bottom: 2px solid #ddd;
}

.staff-th {
  padding: 0.75rem;
  text-align: left;
}

.staff-th-center {
  padding: 0.75rem;
  text-align: center;
}

.staff-row {
  border-bottom: 1px solid #e5e7eb;
}

.staff-td {
  padding: 0.75rem;
}

.staff-td-center {
  padding: 0.75rem;
  text-align: center;
}

.staff-view-link {
  color: #0066cc;
  text-decoration: none;
}

.staff-pagination {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.staff-page-link {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-decoration: none;
}

.staff-page-status {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.staff-muted {
  color: #999;
  font-style: italic;
}

.staff-empty {
  color: #666;
  font-style: italic;
}

.staff-error-text {
  color: #666;
}

.staff-divider {
  margin: 2rem 0;
}

.staff-summary-panel {
  background: #f7f9fc;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid #e5e7eb;
}

.staff-code-badge {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0066cc;
}

.staff-code-badge-lg {
  font-size: 1.3rem;
  font-weight: bold;
  color: #0066cc;
}

.staff-h5-tight {
  margin: 0.5rem 0 0.25rem;
}

.staff-h5-tight-lg {
  margin: 0.75rem 0 0.25rem;
}

.staff-h5-no-top {
  margin-top: 0;
}

.staff-list-tight {
  margin: 0.25rem 0 0.75rem;
  padding-left: 1.25rem;
}

.staff-list {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.staff-panel {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.staff-panel-accent-blue {
  background: #e8f4f8;
  padding: 1rem;
  border-left: 4px solid #0066cc;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.staff-panel-accent-indigo {
  background: #eef4ff;
  padding: 1rem;
  border-left: 4px solid #4f46e5;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.staff-panel-accent-orange {
  background: #fff8f0;
  padding: 1rem;
  border-left: 4px solid #ff9800;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.staff-panel-accent-yellow {
  background: #fff3cd;
  padding: 1rem;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.staff-panel-accent-red {
  background: #ffebee;
  padding: 1rem;
  border-left: 4px solid #d32f2f;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.staff-table-simple {
  width: 100%;
  border-collapse: collapse;
}

.staff-table-simple-head {
  background: #f0f0f0;
  border-bottom: 1px solid #ddd;
}

.staff-th-sm {
  padding: 0.5rem;
  text-align: left;
}

.staff-row-sm {
  border-bottom: 1px solid #e5e7eb;
}

.staff-td-sm {
  padding: 0.5rem;
}

.staff-table-accent-head {
  background: #d0e8f2;
  border-bottom: 1px solid #0066cc;
}

.staff-row-accent {
  border-bottom: 1px solid #e0f2f7;
}

.staff-th-right {
  padding: 0.5rem;
  text-align: right;
}

.staff-td-right {
  padding: 0.5rem;
  text-align: right;
}

.staff-rec-section {
  margin-bottom: 1rem;
}

.staff-h5-indigo {
  margin-top: 0;
  color: #4f46e5;
}

.staff-h5-orange {
  margin-top: 0;
  color: #ff9800;
}

.staff-h5-yellow {
  margin-top: 0;
  color: #856404;
}

.staff-h5-blue {
  margin-top: 0;
  color: #0066cc;
}

.staff-h5-green {
  margin-top: 0;
  color: #28a745;
}

.staff-h5-red {
  margin-top: 0;
  color: #b71c1c;
}

.staff-list-warning {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  color: #856404;
}

.staff-list-red {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  color: #b71c1c;
}

.staff-justification {
  color: #666;
}

.staff-onet-link {
  color: #0066cc;
  font-size: 0.9rem;
}

.staff-ai-impact {
  margin-top: 0.5rem;
}

.staff-ai-impact-dark {
  margin-top: 0.5rem;
  color: #333;
}

/* ---------- Contact page ---------- */
.contact-form {
  max-width: 600px;
  margin: 2rem 0;
}

.contact-field {
  margin-bottom: 1.5rem;
}

.contact-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-input,
.contact-select,
.contact-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-submit {
  background-color: #007bff;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  font-weight: bold;
}

/* ---------- Home page ---------- */
.home-hero-title {
  font-weight: 700;
  color: #1b2a41;
}

.home-section-title {
  font-weight: 700;
  color: #1b2a41;
}

/* ---------- 404 page ---------- */
.not-found-title {
  margin-top: 2rem;
}

.not-found-text {
  font-size: 1.1rem;
  margin: 1.5rem 0;
}

.not-found-footer {
  margin-top: 2rem;
}

/* Right-aligned user area (replaces float) */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  order: 3;
}

/* Logout form/button */
.logout-form {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.logout-button {
  background: none;
  border: none;
  padding: 0;
  font-weight: bold;
  color: #1B2A41;
  cursor: pointer;
  margin: 0;
  font-size: inherit;
  font-family: inherit;
}

/* ---------- Layout ---------- */
.main {
  padding: 1rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

/* ---------- Forms ---------- */
form {
  max-width: 420px;
  margin: 2rem auto;
}

input,
select,
textarea,
button {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.4rem;
}

/* ---------- Images ---------- */


/* Portrait image styling */
.portrait-img {
  border-radius: 8px;
}

.portrait-img--medium {
  max-width: 250px;
}

.portrait-img--large {
  max-width: 300px;
  margin: 2rem 0;
}

/* helping image styling */
.helping-img {
  max-width: 500px;
  height: auto;
  display: block;
  margin: 1rem auto;  
}

/* success image styling */
.success-img {
  max-width: 500px;
  height: auto;
  display: block;
  margin: 1rem auto;  
}

/* laura image styling */
.laura-img {
  max-width: 500px;
  height: auto;
  display: block;
  margin: 1rem auto;  
}


/* ---------- Questionnaire Radio Buttons ---------- */
fieldset.question{
  margin-bottom: 20px;
}

.radio-choice input[type="radio"] {
  position: relative;
  top: 2em;
}

/* ---------- Progress Bar ---------- */

.progress-wrapper {
  max-width: 420px;
  margin: 1rem auto;
}

.progress-bar {
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #4caf50;
  transition: width 0.3s ease;
}

.text-right {
  text-align: right;
}

.progress-text {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  text-align: right;
  color: #555;
}

/* ---------- Preferences Page ---------- */

/* Preferences should use most of the page width */
.pref-group {
  max-width: 1200px;  
  width: 100%;
  margin: 1.5rem auto;
}

.pref-section {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 2px solid #ddd;
  padding-bottom: 0.25rem;
}

.pref-item {
  margin-bottom: 1.75rem;
}

.pref-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Lay out preference radios horizontally */
.pref-options > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  width: 100%;
}

.pref-options > div > div {
  display: flex;
  align-items: center;
  white-space: normal;   /* allow wrapping if screen is too narrow */
}

.pref-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Override narrow form width for Preferences page */
.pref-group,
.pref-group ~ button,
.pref-section {
  max-width: none;
}

.pref-group {
  width: 100%;
}

/* Only widen forms on the Preferences page */
.preferences-page form {
  max-width: 100%;
}

#loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.95);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  font-family: system-ui, sans-serif;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 5px solid #ccc;
  border-top-color: #2a6df4;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Preferences page: keep Save button compact */
.preferences-page button[type="submit"] {
  width: auto;
  min-width: 140px;
  padding: 0.6rem 1.25rem;
}

/* ---------- Modal (Unsaved Changes) ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 10000; /* above loading overlay (9999) */
}

.modal.is-open {
  display: flex;
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.modal-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.2rem;
}

.modal-card p {
  margin: 0 0 1rem 0;
  color: #333;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.modal-btn {
  width: auto;                /* NOT full width */
  min-width: 140px;           /* matches Save button */
  padding: 0.6rem 1.25rem;    /* same feel as Save */
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #ccc;
  background: #f4f4f4;
  font-weight: 600;
}

.modal-btn:hover {
  filter: brightness(0.98);
}

.modal-leave {
  border-color: #cc4444;
}

.modal-stay {
  border-color: #2a6df4;
}

body.modal-open {
  overflow: hidden;
}

.logo {
  max-width: 500px;
  height: auto;
  display: block;
  margin: 1rem auto;  
}

.about-img {
  max-width: 500px;
  height: auto;
  float: left;
  margin: 0 2rem 1rem 0;
}

.logo-title {
  text-align: center;
  font-size: 1.7git statusrem;
  color: #555;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

/* Inline buttons (not full width) */
.btn-inline {
  width: auto;
  min-width: 140px;
  padding: 0.6rem 1.25rem;
}

.confirm-actions {
  margin-top: 1.5rem;
}

.confirm-actions form {
  display: inline-block;
}

.confirm-actions form + form {
  margin-left: 1rem;
}

.confirm-actions button {
  width: auto;
}

#recommendations-content {
  display: none;
}

/* ---------- Nav dropdown (staff) ---------- */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropbtn {
  width: auto;                 /* override global button width */
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  font-weight: 700;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  color: #000;
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 10001;
}

.nav-dropdown-content a {
  display: block;
  padding: 0.6rem 0.75rem;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.nav-dropdown-content a:hover {
  background: #f4f4f4;
}

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

.riasec-table {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.95rem;
}

.riasec-table th {
  background: #f3f4f6;
  text-align: left;
  padding: 8px;
  border-bottom: 2px solid #ddd;
}

.riasec-table td {
  padding: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.riasec-table tr:hover {
  background: #fafafa;
}

.riasec-table td:last-child {
  text-align: right;
  font-weight: 600;
}

.site-footer {
  display:flex;
  flex-direction: column;
  align-items: center;  
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: #666;
  background: #f8f9fa;
  border-top: 2px solid #C9A24D;
  margin-top: 30px;
}

.site-footer p {
  margin: 0.5rem 0;
}

.site-footer .footer-links {
  margin-top: 0.75rem;
}

.site-footer a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #0052a3;
  text-decoration: underline;
}

.site-footer .separator {
  margin: 0 0.5rem;
  color: #999;
}

.footer-cta {
  width: 100%;
  max-width: 1000px;
  background: #E6E8EB;
  color: #1B2A41;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.footer-cta a {
  color: #1B2A41;
  text-decoration: underline;
}

.footer-cta a:hover {
  color: #1B2A41;
}


.messages-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0;
  gap: 0.75rem;
}

.message {
  text-align: left;
  padding: 12px 16px 12px 45px;
  border-radius: 6px;
  max-width: 600px;
  width: 100%;
  font-weight: 500;
  border: 1px solid;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

.message.success {
  background: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.message.success::before {
  content: "✓";
  font-size: 18px;
  font-weight: bold;
  color: #155724;
  width: auto;
  height: auto;
}

.message.error {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.message.error::before {
  content: "✕";
  font-size: 18px;
  font-weight: bold;
  color: #721c24;
  width: auto;
  height: auto;
}

.message.warning {
  background: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}

.message.warning::before {
  content: "⚠";
  font-size: 18px;
  font-weight: bold;
  color: #856404;
  width: auto;
  height: auto;
}

.message.info {
  background: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

.message.info::before {
  content: "ℹ";
  font-size: 18px;
  font-weight: bold;
  color: #0c5460;
  width: auto;
  height: auto;
}

/* Navigation improvements */
.nav-separator {
  margin: 0 0.5rem;
  color: #999;
}

.nav-username {
  font-weight: 600;
  color: #333;
}

.nav-version {
  font-size: 0.85rem;
  color: #777;
  font-weight: normal;
}

.logout-button {
  color: #1B2A41;
  transition: color 0.2s;
}

.logout-button:hover {
  color: #000;
  text-decoration: underline;
}

/* Error messages */
.error-message {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  color: #721c24;
}

.error-message h3 {
  margin-top: 0;
  color: #721c24;
}

.error-message p {
  margin-bottom: 0.75rem;
}

.error-message p:last-child {
  margin-bottom: 0;
}

.error-message .btn-inline {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: #721c24;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}

.error-message .btn-inline:hover {
  background: #5a1620;
  text-decoration: none;
}

/* Login form errors */
.errorlist {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.errorlist li {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
  padding: 10px 18px;
  border-radius: 6px;
  max-width: 600px;
  text-align: center;
  font-weight: 500;
}

.errorlist li + li {
  margin-top: 10px;
}

.career-coaching{
  color: lightgray;
  background-color: #1B2A41 ;
}

.area-of-focus{
  color: lightgray;
  background-color: #1B2A41 ;
}

.starter{
  color: lightgray;
  background-color: #1B2A41 ;
  size: 2rem;
  font-weight: bold;
  text-decoration: none;
  padding: 5px;
}

p.starter > a {
  color: rgb(199, 163, 163);
  text-decoration: none;
  text-decoration-color: rgb(199, 163, 163);

}
p.starter > a:hover {
  text-decoration: none;
  text-decoration-color: rgb(128, 94, 94);
  color: rgb(128, 94, 94);
}

/* -------------------------------- */
/* ---------- Responsive ---------- */
/* -------------------------------- */


/* Tablets (601px - 900px) */
@media (max-width: 900px) {
  .container {
    padding: 0.75rem;
  }

  /* Scale down images slightly on tablets */
  .logo,
  .helping-img,
  .success-img,
  .laura-img {
    max-width: 400px;
  }

  .about-img {
    max-width: 350px;
    margin: 0 1.5rem 1rem 0;
  }

  /* Increase touch targets for nav */
  .nav a,
  .nav-dropbtn {
    padding: 0.4rem 0.2rem;
  }
}

/* Phones (≤600px) */
@media (max-width: 600px) {
  /* Navigation - stack vertically with better spacing */
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-items {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-left: 0;
  }

  .nav-right {
    width: 100%;
    justify-content: flex-start;
  }

  /* Larger touch targets for mobile */
  .nav a,
  .nav-dropbtn {
    padding: 0.5rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  /* Typography scaling */
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  /* All images responsive */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Center all images on mobile */
  .logo,
  .helping-img,
  .success-img,
  .laura-img {
    max-width: 100%;
    margin: 1rem auto;
  }

  /* About page - stack image above text */
  .about-img {
    float: none;
    max-width: 100%;
    margin: 1rem auto;
    display: block;
  }

  /* Nav logo smaller on mobile */
  .nav-logo {
    height: 50px;
  }

  /* Forms full width on mobile */
  form {
    max-width: 100%;
  }

  /* Preferences layout */
  .pref-options > div {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Buttons full width on mobile */
  button,
  input[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    min-height: 44px;
  }

  /* Keep inline buttons auto width */
  .btn-inline,
  .modal-btn {
    width: auto;
    min-width: 120px;
  }

  /* Table responsiveness */
  .riasec-table {
    font-size: 0.85rem;
  }

  .riasec-table th,
  .riasec-table td {
    padding: 6px;
  }

  /* Testimonial cards stack */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .site-footer {
    padding: 1.5rem 0.5rem;
    font-size: 0.85rem;
  }

  /* Messages full width */
  .message {
    max-width: 100%;
    font-size: 0.9rem;
  }
}

