:root {
  /* Color Palette */
  --color-warm-alabaster: #FAF9F6;
  --color-soft-stone: #E1DFD6;
  --color-cool-platinum: #E5E4E2;
  --color-golden-ochre: #DAA520; /* Refined golden ochre */
  --color-deep-burgundy: #6D0C22;
  --color-deep-burgundy-hover: #8C112C;
  --color-midnight-navy: #151E2D;
  --color-midnight-navy-light: #1D2A40;

  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 100px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(21, 30, 45, 0.05);
  --shadow-md: 0 8px 24px rgba(21, 30, 45, 0.08);
  --shadow-lg: 0 16px 40px rgba(21, 30, 45, 0.12);
  --shadow-glow: 0 0 20px rgba(218, 165, 32, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-warm-alabaster);
  color: var(--color-midnight-navy-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-deep-burgundy);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

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

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  padding: 0 5%;
  z-index: 1000;
  background-color: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-cool-platinum);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  height: 120px;
}

.nav-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-deep-burgundy);
  letter-spacing: -0.5px;
}

.nav-brand span {
  color: var(--color-golden-ochre);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-midnight-navy);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-golden-ochre);
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-deep-burgundy);
}

.nav-dropdown {
  position: relative;
  display: inline-block;
  padding: 10px 0;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(255, 255, 255, 0.98);
  min-width: 250px;
  box-shadow: 0 15px 35px rgba(21, 30, 45, 0.1);
  border-radius: 12px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--color-cool-platinum);
  backdrop-filter: blur(10px);
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  color: var(--color-midnight-navy);
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-content a:hover {
  background-color: var(--color-warm-alabaster);
  color: var(--color-deep-burgundy);
}

.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.cart-icon {
  font-size: 1.4rem;
  color: var(--color-midnight-navy);
  transition: color var(--transition-fast);
}

.cart-icon:hover {
  color: var(--color-golden-ochre);
}

.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: none;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-deep-burgundy), #5A0A1C);
  color: white;
  box-shadow: 0 4px 14px rgba(109, 12, 34, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(109, 12, 34, 0.4);
  color: white;
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-deep-burgundy);
  border: 2px solid var(--color-deep-burgundy);
}

.btn-secondary:hover {
  background-color: var(--color-deep-burgundy);
  color: white;
}

/* Navbar Logo */
.nav-logo {
  height: 96px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* Helps if logo has white background */
  transition: height var(--transition-normal);
}

.navbar.scrolled .nav-logo {
  height: 60px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 249, 246, 0.35); /* Reduced frosting */
  backdrop-filter: blur(1.5px);
  z-index: 1;
}

.hero .container.hero-centered {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: calc(var(--nav-height) + 15vh);
  width: 100%;
}

.hero-content {
  max-width: 800px;
  margin: 0;
}

.hero-content h1 {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-midnight-navy);
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--color-deep-burgundy);
  position: relative;
  display: inline-block;
}

.hero-content h1 span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: var(--color-golden-ochre);
  opacity: 0.3;
  z-index: -1;
}

.hero-content p {
  font-size: 1.35rem;
  color: var(--color-midnight-navy-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: 0;
  margin-right: auto;
  font-weight: 400;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
}

/* Content Sections */
.content-section {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--color-warm-alabaster);
}

.bg-white {
  background-color: #ffffff;
}

/* Quiz Container */
.quiz-container {
  max-width: 700px;
  margin: 0 auto 3rem;
  min-height: 400px;
}

.quiz-box {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(21, 30, 45, 0.08);
  border: 1px solid var(--color-cool-platinum);
  text-align: center;
}

.quiz-progress {
  width: 100%;
  height: 6px;
  background-color: var(--color-warm-alabaster);
  border-radius: 10px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background-color: var(--color-golden-ochre);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.quiz-question {
  font-size: 1.6rem;
  margin-bottom: 2rem;
  color: var(--color-deep-burgundy);
  line-height: 1.4;
}

.quiz-options {
  display: grid;
  gap: 1rem;
}

.quiz-option-btn {
  background: var(--color-warm-alabaster);
  border: 1px solid var(--color-cool-platinum);
  padding: 1.2rem;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-midnight-navy);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.quiz-option-btn:hover {
  background: white;
  border-color: var(--color-golden-ochre);
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.15);
  transform: translateY(-2px);
}

.quiz-back-btn {
  background: none;
  border: none;
  color: var(--color-midnight-navy-light);
  font-size: 0.9rem;
  margin-top: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.quiz-back-btn:hover {
  color: var(--color-deep-burgundy);
}

.quiz-results p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-midnight-navy-light);
}

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

.resource-cta {
  text-align: center;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--color-cool-platinum);
}

.resource-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.resource-cta p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-midnight-navy);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-midnight-navy-light);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Global Product Card Styles --- */
.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(21, 30, 45, 0.05);
  border: 1px solid var(--color-cool-platinum);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(21, 30, 45, 0.1);
}

.product-image-wrapper {
  width: 100%;
  height: 280px;
  background: var(--color-warm-alabaster);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-info {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--color-midnight-navy);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-deep-burgundy);
}

.btn-add {
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  background: var(--color-deep-burgundy);
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-add:hover {
  background: #4a1525;
}

/* --- Carousel Styles --- */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.carousel-track-container {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-slide {
  min-width: 300px;
  max-width: 300px;
  margin-right: 32px;
  flex-shrink: 0;
}

.carousel-btn {
  background: white;
  border: 1px solid var(--color-cool-platinum);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  color: var(--color-midnight-navy);
  z-index: 10;
  position: absolute;
}

.carousel-btn:hover {
  background: var(--color-warm-alabaster);
  color: var(--color-deep-burgundy);
  transform: scale(1.05);
}

.prev-btn {
  left: -25px;
}

.next-btn {
  right: -25px;
}

/* --- Report Grid Responsive --- */
.report-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

@media(max-width: 768px) {
  .report-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Consultation Layout Responsive --- */
@media(max-width: 900px) {
  .consultation-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Call to Action Banner */
.cta-banner {
  padding: 7rem 0;
  background: linear-gradient(135deg, var(--color-midnight-navy), var(--color-midnight-navy-light));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.1);
}

.cta-banner h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-primary {
  background-color: var(--color-golden-ochre);
  color: var(--color-midnight-navy);
}

.cta-banner .btn-primary:hover {
  background-color: white;
}

/* Footer */
footer {
  background-color: var(--color-midnight-navy);
  color: white;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-brand span {
  color: var(--color-golden-ochre);
}

.footer-brand p {
  opacity: 0.7;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--color-golden-ochre);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.footer-col ul li a {
  opacity: 0.7;
  font-size: 0.9rem;
  transition: opacity var(--transition-fast);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--color-golden-ochre);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  opacity: 0.5;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-normal);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes slideInLeftDelayed {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

.slide-in-left-delayed {
  opacity: 0;
  animation: slideInLeftDelayed 1s ease 0.5s forwards;
}

/* Responsive */
@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
  .hero-content p {
    margin: 0 auto 2rem;
  }
  .hero-btns {
    justify-content: center;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile menu needed */
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}
