/* ==================== ROOT & GLOBAL STYLES ==================== */

:root {
  --light-blue: #5db1c9;
  --dark-teal: #346572;
  --accent-orange: #f0b74c;
  --white: #ffffff;
  --gray-bg: #f9fbfc;
  --text-body: #475569;
  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

* {
  box-sizing: border-box;
}

strong {
  font-weight: var(--fw-bold);
}

body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-body);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* ==================== NAVIGATION ==================== */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-teal);
  font-weight: var(--fw-medium);
  font-size: 1.2rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--light-blue);
}

.main-logo {
  height: 40px;
  width: auto;
}

.logo-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--dark-teal);
}

/* ==================== TYPOGRAPHY & HELPERS ==================== */

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--dark-teal);
  margin-bottom: 10px;
  margin-top: 10px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 50px;
  margin-left: auto;
  margin-right: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.bg-light {
  background-color: #f8fafc;
}

.full-width {
  width: 100%;
}

/* ==================== BUTTONS ==================== */
.btn-results {
  background-color: var(--accent-orange);
  color: white;
  border: none;
  width: 10rem;
  border-radius: 8px;
  font-size: 1.5rem;
  height: 5rem;
  font-weight: var(--fw-bold);
  text-align: center;
  display: inline-flex;
  justify-content: center; /* Centers text horizontally */
  align-items: center;
}
.btn-results-website {
  background-color: var(--accent-orange);
  color: white;
  border: none;
  width: 10rem;
  border-radius: 8px;
  font-size: 1rem;
  height: 2rem;
  font-weight: var(--fw-bold);
  text-align: center;
  display: block;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.btn-main {
  background-color: var(--accent-orange);
  color: white;
  border: none;
  padding: 18px 45px;
  border-radius: 8px;
  font-size: 2rem;
  font-weight: var(--fw-bold);
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  display: inline-block;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(240, 183, 76, 0.3);
  text-align: center;
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(240, 183, 76, 0.4);
}

.cta-group {
  margin-bottom: 40px;
  margin-top: 30px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--light-blue);
  color: var(--light-blue);
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: var(--fw-bold);
  cursor: pointer;
  font-size: 1rem;
}

/* ==================== HOME PAGE - HERO SECTION ==================== */

.hero {
  display: flex;
  flex-wrap: wrap;
  padding: 80px 5%;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-bg) 0%, #ffffff 100%);
  min-height: 60vh;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.highlight {
  color: var(--light-blue);
}

.hero-content p {
  font-size: 1.6rem;
  max-width: 90%;
  margin-bottom: 30px;
  opacity: 0.8;
  line-height: 1.6;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 300px;
  align-self: stretch;
}

.image-box {
  width: 100%;
  max-width: 450px;
  height: 100%;
  min-height: 400px;
  background-color: #eee;
  border-radius: 20px;
  box-shadow: 20px 20px 0px var(--light-blue);
  overflow: hidden;
}

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

/* ==================== HOME PAGE - MISSION SECTION ==================== */

.mission-section {
  padding: 20px 10%;
  text-align: center;
  background-color: var(--white);
}

.mission-content h2 {
  font-size: 2rem;
  color: var(--dark-teal);
  margin-bottom: 20px;
}

.mission-content p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0 auto;
}

/* ==================== HOME PAGE - AUDIENCE SECTION ==================== */

.audience-section {
  padding: 60px 5%;
  background-color: var(--gray-bg);
}

.card-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.icon-circle {
  font-size: 3rem;
  margin-bottom: 20px;
}

.card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark-teal);
}

.card p {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #555;
}

/* ==================== HOME PAGE - PROCESS SECTION ==================== */

.process-section {
  padding: 80px 5%;
}

.steps-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.step {
  flex: 1;
  min-width: 250px;
  text-align: center;
  font-size: 1.2rem;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--light-blue);
  color: white;
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.step h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* ==================== HOME PAGE - TEAM SECTION ==================== */

.team-section {
  padding: 80px 5%;
  background-color: var(--gray-bg);
}

.team-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 1.2rem;
}

.team-card {
  background: white;
  padding: 0;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 480px;
}

.team-photo {
  width: 100%;
  height: 45%;
  border-radius: 0;
  background-color: #ddd;
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  margin: 0;
  flex-shrink: 0;
}

.team-card h4 {
  margin: 18px 0 6px 0;
  padding: 0 24px;
  font-size: 1.3rem;
  color: var(--dark-teal);
}

.role {
  display: block;
  padding: 0 24px;
  color: var(--light-blue);
  font-weight: var(--fw-medium);
  margin-bottom: 15px;
}

.team-card p {
  padding: 0 24px 18px 24px;
  font-size: 1rem;
  line-height: 1.5;
  color: #555;
}

/* ==================== HOME PAGE - PARTNERS SECTION ==================== */

.partners-section {
  padding: 50px 0;
  background-color: var(--white);
  text-align: center;
  overflow: hidden;
}

.partners-section h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.slider {
  height: 100px;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
  content: "";
  height: 100px;
  position: absolute;
  width: 100px;
  z-index: 2;
}

.slider::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider::before {
  left: 0;
  top: 0;
}

.slide-track {
  display: flex;
  width: calc(250px * 7);
  animation: scroll 20s linear infinite;
}

.slide {
  height: 100px;
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s;
}

.slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 3.5));
  }
}

/* ==================== FOOTER ==================== */

footer {
  border-top: 3px solid var(--accent-orange);
  padding: 30px 5%;
  background-color: var(--white);
  margin-top: auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo img {
  height: 40px;
}

.copyright {
  font-size: 1rem;
  color: #666;
  text-align: center;
}

.socials {
  display: flex;
  gap: 15px;
}

.socials ion-icon {
  font-size: 1.8rem;
  color: var(--dark-teal);
  transition: color 0.3s;
}

.socials ion-icon:hover {
  color: var(--accent-orange);
}

/* ==================== ANIMATIONS ==================== */

.scroll-hidden {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(50px);
  transition: all 1s ease;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

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

/* ==================== QUIZ PAGE ==================== */

.assessment-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.form-card {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f4f8;
}

.step-badge {
  background: var(--light-blue);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
}

.question-group {
  margin-bottom: 30px;
}

.question-group.validation-error {
  border: 2px solid #dc3545;
  border-radius: 8px;
  background-color: #fff5f5;
  padding: 15px;
  margin-bottom: 30px;
}

.question-group.validation-error label {
  color: #dc3545;
  font-weight: 600;
}

.question-group > label {
  display: block;
  font-weight: var(--fw-semibold);
  margin-bottom: 12px;
  color: var(--text-body);
}

.radio-options {
  display: flex;
  gap: 20px;
}

.radio-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: var(--fw-regular);
  font-size: 1rem;
  cursor: pointer;
}

.radio-options.vertical {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.radio-options.vertical label {
  margin: 0;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.checkbox-grid label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-weight: var(--fw-regular);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1.4;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  box-sizing: border-box;
}

textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  resize: vertical;
}

#formStatus {
  font-weight: var(--fw-medium);
  transition: opacity 0.3s;
}

/* ==================== CONTACT PAGE ==================== */

/* Form Row Grid Layout */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 0px;
}

.half-width {
  flex: 1;
  min-width: 0;
}

/* Contact Form Styling */
.question-group input,
.question-group select,
.question-group textarea {
  background-color: #fcfcfc;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  box-sizing: border-box;
  font-size: 1rem;
}

/* ==================== LOGIN PAGE ==================== */

/* Page layout container */
.login-body {
  background-color: var(--gray-bg, #f4f7f6);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
}

/* The core split-screen box */
.login-wrapper {
  width: 80%;
  max-width: 100%;
  min-height: 650px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  overflow: hidden; /* Locks the image inside the rounded corners */
  margin: 40px auto 0;
}

/* Left Pane: Form Area */
.login-box {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: white;
}

.login-box form {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

#signin-section h2,
#signin-section p,
#signup-section h2,
#signup-section p {
  text-align: center;
  font-size: 1.5rem;
}

.input-group {
  margin-bottom: 15px;
}

.input-group > label {
  display: block;
  font-weight: var(--fw-semibold, 600);
  margin-bottom: 6px;
  color: var(--dark-teal, #123c69);
  font-size: 1.25rem;
}

.input-group input[type="email"],
.input-group input[type="password"],
.input-group input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fcfcfc;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 1.25rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.input-group input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(109, 185, 206, 0.12);
  border-color: var(--light-blue, #6db9ce);
}

/* Right Pane: Image Area */
.login-image-pane {
  flex: 1; /* Takes up exactly 50% of the space alongside the form */
  background-color: #f5f5f5;
  position: relative;
  display: none; /* Hidden entirely on mobile */
  overflow: hidden; /* Ensures the cropped image edges don't spill out */
}
.login-image-pane img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* THE MAGIC FIX: Crops to fill the space perfectly without stretching */
  object-position: center; /* Keeps the subject centered while cropping */
  display: block;
}

/* The floating text box over the image */
.image-overlay-text {
  width: 100%;
  height: 100%;
  display: block;
}

/* Buttons */
.btn-primary {
  background-color: var(--accent-orange, #ed8c72);
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: var(--fw-bold, 700);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
  text-decoration: none;
  text-align: center;
  font-size: 1.25rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(237, 140, 114, 0.3);
}

.full-width {
  width: 100%;
  display: block;
}

/* ==================== AUTH FORM CLASSES ==================== */

.auth-section-title {
  color: #123c69;
  margin-bottom: 5px;
  text-align: center;
}

.auth-section-subtitle {
  color: #666;
  margin-bottom: 25px;
  font-size: 1.25rem;
  text-align: center;
}

.auth-field-row {
  display: flex;
  gap: 10px;
}

.auth-field-col {
  flex: 1;
}

.auth-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.auth-checkbox-label {
  margin: 0;
  font-size: 1.25rem;
  font-weight: normal;
  color: #444;
  cursor: pointer;
}

.auth-form-divider {
  text-align: center;
  margin-top: 25px;
  font-size: 1.25rem;
  color: #555;
}

.auth-form-link {
  color: #6db9ce;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
  font-size: 1.25rem;
}

.auth-disclaimer {
  display: none;
  background: #f8f9fa;
  border-left: 4px solid #1565c0;
  padding: 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.auth-disclaimer p {
  font-size: 0.75rem;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

.auth-disclaimer strong {
  font-weight: var(--fw-bold);
}

/* Show the split screen only on tablets and desktops */
@media (min-width: 800px) {
  .login-image-pane {
    display: block;
  }
}

/* Force complete stacking for grids before uneven wrapping occurs */
@media (max-width: 900px) {
  .card-grid,
  .team-grid,
  .steps-container {
    flex-direction: column;
    align-items: center;
  }

  .card,
  .team-card,
  .step {
    flex: none;
    width: 50%;
    max-width: 500px;
  }
}

/* Responsive: shrink on smaller screens */
@media (max-width: 1000px) {
  .login-wrapper {
    width: 95%;
  }

  .login-image-pane {
    display: none !important;
  }
}
/* ==================== CATALOG PAGE ==================== */

.catalog-container {
  display: flex;
  max-width: 1200px;
  margin: 80px auto;
  padding: 20px;
  gap: 30px;
}

.filters-sidebar {
  width: 250px;
  flex-shrink: 0;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  height: fit-content;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.btn-text {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  text-decoration: underline;
  font-size: 1em;
}

.filter-group {
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group h4 {
  margin-bottom: 10px;
  font-size: 1.25em;
  text-transform: uppercase;
  color: #444;
  letter-spacing: 0.5px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 1.25em;
  color: #555;
  cursor: pointer;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 12px;
}

.search-bar input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  margin-left: 8px;
}

.product-feed {
  flex-grow: 1;
  max-width: 1000px;
}

.feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Catalog Products - List Layout */
.catalog-container .product-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog-container .product-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  padding: 25px;
  gap: 25px;
  transition: box-shadow 0.2s;
}

.catalog-container .product-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: #2563eb;
}

.card-icon-section {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background-color: #f0f7ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 2.5rem;
}

.card-main-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.35em;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.card-category {
  font-size: 0.75em;
  color: #2563eb;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.card-desc {
  font-size: 1.25em;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.card-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85em;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #4b5563;
}

.card-actions {
  flex-shrink: 0;
  width: 220px;
  border-left: 1px solid #eee;
  padding-left: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.price-tag {
  font-weight: 700;
  color: #1f2937;
  font-size: 1.1em;
}

.contact-card {
  background: #fafafa;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85em;
  color: #666;
}

.contact-card strong {
  display: block;
  color: #333;
  margin-bottom: 4px;
}

.btn-contact {
  background-color: #2563eb;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background 0.2s;
}

.btn-contact:hover {
  background-color: #1d4ed8;
}

/* ==================== RESULTS PAGE ==================== */

main .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
  width: 100%;
}

main .product-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

main .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.icon-box {
  background: #e0f2f1;
  color: #00695c;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

main .product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

.description {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8f9fa;
  color: #00695c;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.card-footer {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.full-width.centered {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.loading-state,
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
  background: white;
  border-radius: 12px;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #00695c;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Keep results cards visually static on hover */
main .product-grid .product-card:hover {
  transform: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  border-color: #f0f0f0 !important;
}

/* ==================== QUIZ PAGE - INLINE STYLES MOVED TO CSS ==================== */

.quiz-highlight-box {
  background-color: #e3f2fd;
  padding: 15px;
  border-radius: 8px;
  border-left: 4px solid var(--light-blue);
  margin-bottom: 20px;
}

.quiz-label-primary {
  color: var(--text-body);
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 10px;
}

.quiz-select-primary {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #90caf9;
  margin-bottom: 15px;
}

.followup-section {
  display: none;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px dashed #90caf9;
  text-align: left;
}

.followup-section.active {
  display: block;
}

.quiz-label-followup {
  color: #000;
  font-size: 1rem;
  margin-bottom: 10px;
  display: block;
  font-weight: 500;
}

.quiz-select-followup {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
}

.quiz-checkbox-grid-followup {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-checkbox-grid-followup label {
  font-size: 1rem;
  gap: 10px;
}

.quiz-disclaimer {
  font-size: 0.85em;
  color: #888;
  line-height: 1.5;
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-top: 15px;
}

.quiz-activity-grid {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-activity-grid label {
  font-size: 1rem;
  gap: 10px;
}

.text-center {
  text-align: center;
  font-size: 1.25rem;
}

/* ==================== RESPONSIVE MOBILE ==================== */

@media (max-width: 1000px) {
  /* Hero Section Mobile */
  .hero {
    padding: 60px 5% 80px 5%;
    align-items: flex-start;
  }

  .hero-content {
    padding-bottom: 40px;
  }

  .cta-group {
    margin-bottom: 60px;
  }

  .hero-image {
    padding: 0 15px;
    align-self: stretch;
  }

  .image-box {
    margin: 0 auto;
    min-height: 300px;
  }

  /* Navigation Mobile */
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 50%;
    background-color: var(--dark-teal);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10%;
    gap: 40px;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.4s ease-in-out,
      visibility 0.4s;
    z-index: 1000;
  }

  .nav-links a {
    color: #fff;
  }

  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links a:hover {
    color: var(--accent-orange);
  }

  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent-orange);
  }

  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent-orange);
  }

  /* Contact Form Mobile */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* Catalog Mobile */
  .catalog-container .product-card {
    flex-direction: column;
  }

  .card-actions {
    width: 100%;
    border-left: none;
    border-top: 1px solid #eee;
    padding-left: 0;
    padding-top: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

.mobile-filter-btn,
.filter-overlay,
.close-filter-btn {
  display: none;
}

/* Mobile Responsiveness */
@media (max-width: 1000px) {
  .catalog-container {
    flex-direction: column;
    margin: 80px auto 20px;
    padding: 15px;
  }

  /* 1. Fix the Product Cards stretching off screen */
  .catalog-container .product-card {
    flex-direction: column; /* Stack image, text, and pricing vertically */
    padding: 15px;
    gap: 15px;
  }

  .card-header-row {
    flex-direction: column;
    gap: 5px;
  }

  .card-actions {
    width: 100%;
    border-left: none;
    border-top: 1px solid #eee;
    padding-left: 0;
    padding-top: 15px;
  }

  /* 2. Style the Mobile Filter Button */
  .mobile-filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: var(--light-blue); /* Matches your contact button */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
  }

  /* 3. Convert Sidebar into a Slide-Up Menu */
  .filters-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 85vh; /* Takes up 85% of screen */
    background: #fff;
    z-index: 1001; /* High priority so it sits over everything */
    transform: translateY(100%); /* Hidden completely off the bottom */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px 24px 0 0;
    padding: 25px 20px 80px 20px;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
  }

  /* When JS adds the .active class, slide it up */
  .filters-sidebar.active {
    transform: translateY(0);
  }

  .close-filter-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #333;
    cursor: pointer;
    padding: 0;
  }

  /* The dark background behind the menu */
  .filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(2px);
  }

  .filter-overlay.active {
    display: block;
  }
}

@media (max-width: 600px) {
  /* Quiz Mobile Styles */
  .assessment-container {
    margin: 20px auto;
    padding: 0 15px;
  }

  .form-card {
    padding: 20px;
    margin-bottom: 25px;
  }

  .question-group > label {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .quiz-label-primary {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .quiz-select-primary {
    font-size: 1rem;
    padding: 12px;
    margin-bottom: 15px;
  }

  .quiz-label-followup {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .quiz-select-followup {
    font-size: 1rem;
    padding: 12px;
    margin-bottom: 15px;
  }

  select,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 1rem;
    padding: 12px;
  }

  .checkbox-grid label,
  .radio-options label {
    font-size: 1rem;
    gap: 10px;
  }

  .quiz-checkbox-grid-followup {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quiz-activity-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
  }
  .footer-logo {
    margin-bottom: 0;
  }
  .copyright {
    order: 2;
    margin: 0;
  }
  .socials {
    order: 3;
    justify-content: center;
  }
}

/* Container for the rationale text */
.rationale-text {
  font-size: 1.25rem;
  line-height: 1.5;
  color: #0d47a1;
}

/* Unified style for meta-info tags (Price, Setup, Partnership) */
.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f1f3f5;
  color: #334155;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.rationale-icon {
  vertical-align: middle;
  margin-right: 5px;
}

.btn-icon {
  vertical-align: middle;
}

/* Specific styling for the rationale box container */
.rationale-box {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #1565c0;
  font-size: 1rem;
  color: #0d47a1;
}

.results-header {
  margin-bottom: 40px;
  margin-top: 40px;
}

.retake-section {
  margin-top: 50px;
  margin-bottom: 50px;
}

.meta-info {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.setup-info {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #555;
}

.partnership-info {
  font-size: 0.7rem;
  font-weight: 700;
}
