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

/* Ensure form elements inherit the LINE Seed Sans font */
input, textarea, button, select {
  font-family: 'LINE Seed Sans TH', sans-serif;
}

/* Ensure placeholders also use LINE Seed Sans */
input::placeholder,
textarea::placeholder {
  font-family: 'LINE Seed Sans TH', sans-serif;
}

body {
  /* Use LINE Seed Sans TH for both Thai and Latin characters */
  font-family: 'LINE Seed Sans TH', sans-serif;
  line-height: 1.6;
  /* CI cream background and primary text colour */
  background-color: #f8f6ec;
  color: #6e4941;

  /* Add top padding equal to navbar height to prevent content from being hidden
     behind the fixed navigation bar. Adjust this value if you change navbar height. */
  padding-top: 80px;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  /* CI light pink for header */
  background-color: #efb4b4;
  /* Always float at the top of the viewport */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
}

/* Language toggle styles */
/* Language toggle container */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1rem;
  font-size: 0.8rem;
  user-select: none;
}
/* Language labels */
.lang-label {
  font-weight: bold;
  color: #6e4941;
}
/* Custom switch */
.switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 18px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #efb4b4;
  transition: 0.4s;
  border-radius: 20px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #ef7c8e;
}
input:checked + .slider:before {
  transform: translateX(18px);
}

.logo {
  /* Keep logo styling similar to original header but align image properly */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  /* Match the global brown colour for the logo text */
  color: #6e4941;
}

/* Style the logo image to fit nicely within the navbar
   maintain reasonable height so that header layout remains similar */
.logo img {
  height: 48px;
  width: auto;
}

/* Navigation links container: display items horizontally across the navbar */
.nav-links {
  list-style: none;
  display: flex;
  /* Prevent the items from stacking vertically by disabling wrap */
  flex-wrap: nowrap;
  /* Allow the navigation list to grow and occupy the space between the logo and language/order buttons */
  flex-grow: 1;
  gap: 1.2rem;
  align-items: center;

  /* Add margin to separate the navigation list from the logo */
  margin-left: 2rem;
}

/* Add underline animation on nav links for desktop */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #ef7c8e;
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a {
  text-decoration: none;
  color: #6e4941;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  /* On hover, change nav text to cream to match the header background */
  color: #f8f6ec;
}

.order-btn {
  /* CI dark pink for primary button */
  background-color: #ef7c8e;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.order-btn:hover {
  background-color: #d96c7c;
}

/* Mobile navigation toggle (hamburger) */
.nav-toggle {
  background: none;
  border: none;
  color: #6e4941;
  cursor: pointer;
  width: 28px;
  height: 24px;
  display: none;
  position: relative;
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

.nav-toggle .hamburger {
  top: 50%;
  transform: translateY(-50%);
}

.nav-toggle .hamburger::before {
  top: -8px;
}

.nav-toggle .hamburger::after {
  bottom: -8px;
}

.nav-toggle.open .hamburger {
  transform: scale(0);
}

.nav-toggle.open .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive navigation menu */
@media (max-width: 768px) {
  /* Show the toggle button on small screens and position it at the far right */
  .nav-toggle {
    display: block;
        margin-left: auto;
    order: 3;
  }
  /* Ensure language switcher and order button appear before the toggle */
  .lang-toggle {
    order: 1;
  }
  .order-btn {
    order: 2;
  }
  /* Mobile drawer menu */
  .nav-toggle {
    position: relative;
    z-index: 2002;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 75%;
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    gap: 1rem;
    background-color: #efb4b4;
    z-index: 2001;
    transition: right 0.3s ease;
    display: flex;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    text-align: left;
  }
  .nav-links {
    margin-left: 0;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
  }
  .nav-overlay.active {
    display: block;
  }
}

/* Hero section */
.hero {
  /* Use the same cream colour as the body to blend seamlessly */
  background-color: #f8f6ec;
  padding: 4rem 1rem;
}

/* Container for hero content: two columns on desktop */
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Text column of hero */
.hero-text {
  flex: 1;
  max-width: 50%;
}
.hero-text h1 {
  /* Large heading size for desktop hero to mirror design */
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #ef7c8e;
  line-height: 1.1;
}
.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #6e4941;
}

/* Image column of hero */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
}

/* Responsive adjustments for hero */
@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-text, .hero-image {
    max-width: 100%;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-image {
    margin-top: 1.5rem;
  }
}

.cta-btn {
  background-color: #ef7c8e;
  color: #fff;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Larger CTA button styling for the hero section */
.hero .cta-btn {
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  border-radius: 32px;
}

.cta-btn:hover {
  background-color: #d96c7c;
}

/* About section */
.about {
  padding: 3rem 1rem;
  text-align: center;
}
.about h2 {
  margin-bottom: 1.5rem;
  color: #6e4941;
}
/* Container for image and text within About section */
.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Left image column */
.about-image {
  flex: 1;
}
.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Right text column */
.about-text {
  flex: 1;
  max-width: 50%;
  text-align: left;
  line-height: 1.6;
}
.about-text p {
  margin-bottom: 1rem;
  /* Use the same brown tone across the site */
  color: #6e4941;
}

/* Responsive adjustments for About section */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-image, .about-text {
    max-width: 100%;
  }
  .about-text {
    text-align: center;
    margin-top: 1.5rem;
  }
}

/* Why SoFresh section */
.why {
  padding: 3rem 1rem;
  text-align: center;
}
.why h2 {
  margin-bottom: 2rem;
  color: #6e4941;
}

.why-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.why-image {
  flex: 1;
  text-align: center;
}
.why-image img {
  width: 100%;
  height: auto;
  max-width: 400px;
}

.why-text {
  flex: 1;
  max-width: 50%;
  text-align: left;
}

.why-item {
  margin-bottom: 1.2rem;
}
.why-item h3 {
  font-size: 1.2rem;
  color: #ef7c8e;
  margin-bottom: 0.3rem;
}
.why-item p {
  font-size: 1rem;
  color: #6e4941;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .why-container {
    flex-direction: column;
    text-align: center;
  }
  .why-text, .why-image {
    max-width: 100%;
  }
  .why-text {
    text-align: center;
  }
}

/* Our Services section */
.services {
  padding: 3rem 1rem;
  text-align: center;
}
.services h2 {
  margin-bottom: 2rem;
  color: #6e4941;
}
.services-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
/* Stack all service items vertically by default so they appear one below another.
   This prevents them from forming a two‑column layout and instead aligns each
   service section in its own row. */
.service-row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.service-item {
  display: flex;
  flex: 1;
  align-items: flex-start;
  /* Increase gap to accommodate larger icons */
  gap: 1.5rem;
}
.service-item.full-width {
  flex-basis: 100%;
}
.service-icon img {
  /* Increase icon size for prominent display */
  width: 160px;
  height: 160px;
}
.service-content h3 {
  font-size: 1.2rem;
  color: #ef7c8e;
  margin-bottom: 0.5rem;
}
.service-content h3 .small {
  font-weight: normal;
  font-size: 0.8rem;
  color: #ef7c8e;
}
.service-content ul {
  list-style: disc;
  margin-left: 1rem;
  color: #6e4941;
  line-height: 1.6;
  padding-left: 0;
}
.service-content ul li {
  margin-bottom: 0.4rem;
}

/* Consent container styling (used as a label wrapper for checkbox and text) */
.consent {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  /* Slight gap between checkbox and text */
  gap: 0.25rem;
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #6e4941;
  font-family: 'LINE Seed Sans TH', sans-serif;
}
.consent input[type="checkbox"] {
  margin-top: 0.3rem;
}
/* Allow the bilingual consent text to break onto a new line */
.consent span {
  display: block;
  /* Allow the consent text to occupy available space so it wraps nicely */
  flex: 1;
}

/* On larger screens, align consent text inline next to the checkbox */
@media (min-width: 769px) {
  .consent {
    align-items: center;
  }
  .consent span {
    display: inline;
    flex: initial;
  }
}

/* Style links inside the consent message to match the primary text colour */
.consent a {
  color: #6e4941;
  text-decoration: underline;
}
.consent a:hover {
  color: #ef7c8e;
}

/* Center the submit button inside the modal form and add some vertical spacing */
.modal-content form button {
  display: block;
  margin: 0.8rem auto 0;
}

@media (max-width: 768px) {
  .service-row {
    flex-direction: column;
  }
  .service-item {
    flex-basis: 100%;
  }
  .service-icon img {
    width: 60px;
    height: 60px;
  }
  .service-content {
    text-align: left;
  }

  /* Reduce modal size and padding on mobile for a more compact form */
  .modal-content {
    width: 95%;
    max-width: 90%;
    padding: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-content input,
  .modal-content textarea {
    font-size: 0.9rem;
    padding: 0.5rem;
    margin-bottom: 0.8rem;
  }
  .modal-content button {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  /* Compact consent text on mobile */
  .consent {
    font-size: 0.7rem;
    gap: 0.2rem;
    margin-bottom: 0.3rem;
  }
}

/* Intro text under section heading */
.intro {
  margin-top: -1rem;
  margin-bottom: 2rem;
  color: #6e4941;
  font-size: 1rem;
}

/* Packaging Categories section */
.packaging-categories {
  padding: 3rem 1rem;
  text-align: center;
}
.packaging-categories h2 {
  margin-bottom: 2rem;
  color: #6e4941;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.category-item {
  background-color: #f8f6ec;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.category-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}
.category-item h3 {
  font-size: 1rem;
  color: #6e4941;
}
.category-item h3 span {
  display: inline-block;
}
@media (max-width: 768px) {
  /* Switch to horizontal scroll gallery on mobile */
  .categories-grid {
      display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    gap: 1rem;
    scroll-snap-type: x mandatory;
  }
  .category-item {
    flex: 0 0 auto;
    width: 160px;
    scroll-snap-align: center;
  }
}
@media (max-width: 480px) {
.category-item {
    width: 140px;
  }
}

/* Reduce padding and image size for category cards on small screens */
@media (max-width: 768px) {
  .category-item {
    padding: 0.6rem;
  }
  .category-item img {
    border-radius: 10px;
    /* Limit the height of category images on mobile to prevent them from appearing too large */
    max-height: 150px;
    object-fit: cover;
  }
}

/* Call-to-action section */
.cta-section {
  padding: 3rem 1rem;
  /* Same cream background as body */
  background-color: #f8f6ec;
  text-align: center;
}

/* Download button container in CTA */
.cta-download {
  margin-bottom: 1rem;
}
.cta-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.cta-logo img {
  width: 200px;
  height: auto;
  margin-bottom: 1rem;
}

/* Tagline below the CTA logo */
.cta-tagline {
  font-size: 2.5rem;
  color: #6e4941;
  margin-bottom: 1rem;
}
.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
.cta-buttons a {
  text-decoration: none;
  font-weight: bold;
  padding: 0.6rem 1.8rem;
  border-radius: 32px;
  transition: background-color 0.3s ease;
  color: #fff;
  width: auto;
  display: inline-block;
}
.download-btn {
  background-color: #ef7c8e;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 32px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}
.download-btn:hover {
  background-color: #d96c7c;
}
.get-started-btn {
  background-color: #ef7c8e;
  /* Make Get Started button smaller than the primary CTA */
  padding: 0.6rem 1.6rem;
  font-size: 1rem;
}
.get-started-btn:hover {
  background-color: #d96c7c;
}

/* Footer styles */
footer {
  /* Use light pink for the main footer background to align with the new CI */
  background-color: #efb4b4;
  padding: 2rem 1rem;
  color: #6e4941;
}

/* Divider between logo and contact details in footer */
/* Left and right sections in the footer */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Left side container for QR and contact details */
.footer-left-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Style the QR code */
.footer-qr {
  width: 90px;
  height: 90px;
  border-radius: 12px;
}

/* Contact details styling */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: #f8f6ec;
}
.contact-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #f8f6ec;
  margin-bottom: 0.3rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  color: #f8f6ec;
}
/* Ensure contact links (phone/email) inherit the white colour and remove default link styling */
.contact-item a {
  color: inherit;
  text-decoration: none;
}

.contact-icon {
  width: 20px;
  height: 20px;
  /* Do not invert colours for contact icons because the footer now uses a light background */
  filter: none;
}

/* Footer logo on the right */
.footer-logo img {
  width: 140px;
  height: auto;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.footer-logo img {
  width: 120px;
  height: auto;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer-qr {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}
/* Footer info line containing copyright and privacy link */
.footer-info {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: #6e4941;
}
.footer-info a {
  color: #6e4941;
  text-decoration: underline;
}
.footer-info a:hover {
  color: #ef7c8e;
}
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .footer-logo {
    order: 1;
  }
  .footer-left {
    order: 2;
  }
  .footer-left-inner {
    flex-direction: row;
    align-items: center;
  }
  .footer-info {
    flex-direction: column;
    align-items: center;
  }
}

/* Categories section */
.categories {
  padding: 3rem 1rem;
  text-align: center;
}

.categories h2 {
  margin-bottom: 2rem;
  color: #6e4941;
}

.category-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.category {
  /* Soft pink box for category */
  /* Not used, but update to CI cream for consistency */
  background-color: #f8f6ec;
  padding: 1.5rem;
  border-radius: 12px;
  width: 180px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.category:hover {
  transform: translateY(-4px);
}

.icon-placeholder {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  color: #ef7c8e;
}

.category h3 {
  font-size: 1.1rem;
  color: #6e4941;
}

/* Features section */
.features {
  /* Replace unused pink backgrounds with light cream for consistency */
  background-color: #f8f6ec;
  padding: 3rem 1rem;
  text-align: center;
}

.features h2 {
  margin-bottom: 2rem;
  color: #6e4941;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.feature {
  background-color: #f8f6ec;
  padding: 1.5rem;
  border-radius: 12px;
  width: 220px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.feature i {
  color: #ef7c8e;
  margin-bottom: 0.6rem;
}

.feature h3 {
  margin-bottom: 0.4rem;
  color: #6e4941;
}

.feature p {
  font-size: 0.95rem;
  color: #6e4941;
}

/* Process section */
.process {
  padding: 3rem 1rem;
  text-align: center;
}

.process h2 {
  margin-bottom: 2rem;
  color: #6e4941;
}

.process-steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.step {
  /* unify process card background to a very light pink */
  background-color: #f8f6ec;
  padding: 1.5rem;
  border-radius: 12px;
  width: 200px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.step:hover {
  transform: translateY(-4px);
}

.circle {
  background-color: #ef7c8e;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  font-weight: bold;
}

.step h4 {
  margin-bottom: 0.4rem;
  color: #6e4941;
}

.step p {
  font-size: 0.9rem;
  color: #6e4941;
}

/* Contact section */
.contact {
  /* light cream background for contact section */
  background-color: #f8f6ec;
  padding: 3rem 1rem;
  text-align: center;
}

.contact h2 {
  margin-bottom: 1.5rem;
  color: #56372a;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.line-button {
  background-color: #06c755;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 24px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}

.line-button:hover {
  background-color: #05b44e;
}

.contact button {
  /* Align contact button with new CI dark pink colour (unused section) */
  background-color: #ef7c8e;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 24px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #d96c7c;
}


/* Modal form */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
}

/* When modal has .open class, display it as a flex container */
.modal.open {
  display: flex;
}

.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.modal-content h3 {
  margin-bottom: 1rem;
  color: #6e4941;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
}

.modal-content button {
  background-color: #ef7c8e;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 24px;
  cursor: pointer;
  font-weight: bold;
}

/* Style for modal close button (the × icon) */
.modal-content .modal-close {
  position: sticky;
  top: 0.5rem;
  right: 1rem;
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6e4941;
  z-index: 1;

}

/* Privacy Policy modal specific styling */
.privacy-modal {
  /* allow content to scroll if long */
  max-height: 80vh;
  overflow-y: auto;
}

.privacy-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #6e4941;
}

.privacy-content h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #6e4941;
}

.privacy-content p {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #6e4941;
  line-height: 1.5;
}

.privacy-content ul {
  margin-left: 1.2rem;
  margin-bottom: 0.8rem;
  list-style-type: disc;
  color: #6e4941;
}

.privacy-content li {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.privacy-content hr {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid #ddd;
}

/* Ensure sections do not get hidden underneath the fixed navbar when scrolled to via anchor links */
section {
  scroll-margin-top: 90px;
}

/* Privacy Policy modal specific styling */
.privacy-modal {
  /* allow content to scroll if long */
  max-height: 80vh;
  overflow-y: auto;
}

.privacy-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #56372a;
}

.privacy-content h3 {
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #56372a;
}

.privacy-content p {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  color: #6f4a42;
  line-height: 1.5;
}

.privacy-content ul {
  margin-left: 1.2rem;
  margin-bottom: 0.8rem;
  list-style-type: disc;
  color: #6f4a42;
}

.privacy-content li {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.privacy-content hr {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid #ddd;
}

/* Footer */
footer {
  background-color: #f8cfcf;
  color: #56372a;
  padding: 1.5rem 1rem;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  text-decoration: none;
  color: #56372a;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.4rem;
  }
  .category-grid {
    gap: 3rem;
  }
  .feature-grid {
    gap: 3rem;
  }
  .process-steps {
    gap: 3rem;
  }
}
