/* Fonts */
@font-face {
  font-family: "Bauhaus Soft";
  src: url("assets/BAUHAUS SOFT/BauhausSoftDisplay2.0-Regular.woff2")
      format("woff2"),
    url("assets/BAUHAUS SOFT/BauhausSoftDisplay2.0-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-primary: #2a361e;
  --color-primary-light: #3d4f2c;
  --color-accent: #c55e2a;
  --color-accent-hover: #d66a35;
  --color-bg-light: #f9faf8;
  --color-bg-subtle: #e8ede4;
  --color-text-main: #2a361e;
  --color-text-muted: #5c6b50;
  --color-white: #ffffff;

  --font-heading: "Bauhaus Soft", cursive;
  --font-body: "Quicksand", sans-serif;

  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 8px 30px rgba(42, 54, 30, 0.06);
  --shadow-hover: 0 15px 40px rgba(42, 54, 30, 0.12);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-light);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: normal;
  color: var(--color-primary);
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
}
h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
p {
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 4rem 0; /* Compact padding as requested */
  position: relative;
  overflow: hidden;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(197, 94, 42, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 94, 42, 0.4);
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(var(--glass-blur));
  transition: all 0.3s ease;
  box-shadow: var(--shadow-soft);
}

.navbar .logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
}

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

.nav-links a {
  color: var(--color-text-main);
  font-weight: 500;
  font-size: 1rem;
}

.nav-links a:not(.btn-primary):hover {
  color: var(--color-accent);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1002;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-color: var(--color-primary);
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.video-background .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(42, 54, 30, 0.4),
    rgba(42, 54, 30, 0.8)
  );
}

.hero-content {
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: 5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Sections General */
/* welcome section redesign styles */
.welcome-section {
  position: relative;
  padding: 6rem 0;
}

.blob-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(
    circle,
    rgba(61, 79, 44, 0.1) 0%,
    rgba(249, 250, 248, 0) 70%
  );
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: -1;
  animation: pulseBlob 10s infinite alternate;
}

@keyframes pulseBlob {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.welcome-text h2 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.lead-text {
  font-size: 1.3rem;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.welcome-image {
  position: relative;
  text-align: center;
}

.organic-shape {
  overflow: hidden;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: var(--shadow-hover);
  transition: all 0.5s ease;
}

.organic-shape img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.organic-shape:hover img {
  transform: scale(1.05);
}

/* TMS Section Redesign */
.tms-section {
  background-color: var(--color-white);
}

.tms-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.glass-frame {
  position: relative;
  padding: 1rem;
  background: rgba(42, 54, 30, 0.03);
  border: 1px solid rgba(42, 54, 30, 0.1);
  border-radius: var(--radius-lg);
}

.glass-frame img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

.floating-badge {
  position: absolute;
  bottom: 2rem;
  right: -1rem;
  background: var(--color-white);
  color: var(--color-primary);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  box-shadow: var(--shadow-hover);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  border: 1px solid rgba(42, 54, 30, 0.1);
  animation: floatBadge 3s infinite ease-in-out;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.tms-text-col {
  padding-left: 1rem;
}

.tms-text-col .subtitle {
  text-align: left;
  margin-bottom: 1.5rem;
}

.tms-text-col .description {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  background: #f0f4ef;
}

.feature-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.feature-item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.feature-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.btn-link {
  font-weight: 700;
  color: var(--color-accent);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link:hover {
  gap: 0.8rem;
  color: var(--color-accent-hover);
}

.subtitle {
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-top: -1rem;
  margin-bottom: 3rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.text-block p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.placeholder-image {
  width: 100%;
  height: 300px;
  background-color: #e0e5df;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-weight: 500;
  background-image: linear-gradient(
    135deg,
    #e0e5df 25%,
    #f0f4ef 25%,
    #f0f4ef 50%,
    #e0e5df 50%,
    #e0e5df 75%,
    #f0f4ef 75%,
    #f0f4ef 100%
  );
  background-size: 20px 20px;
}

/* Feature List */
.feature-list {
  margin-top: 1.5rem;
}

.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.feature-list li::before {
  content: "•";
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-size: 1.5rem;
  line-height: 1;
  top: -2px;
}

/* Dark Section */
.dark-section {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.dark-section h2,
.dark-section p {
  color: var(--color-white);
}

.dark-section p {
  color: rgba(255, 255, 255, 0.8);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.card h3 {
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* Conditions Pills */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.pill {
  background: var(--color-white);
  color: var(--color-primary);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  box-shadow: var(--shadow-soft);
  font-weight: 600;
  transition: all 0.3s ease;
}

.pill:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.05);
}

/* Founder */
.circle-frame {
  border-radius: 50%;
  overflow: hidden;
  width: 300px;
  height: 300px;
  margin: 0 auto;
  border: 5px solid var(--color-accent);
  box-shadow: var(--shadow-soft);
}

.circle-frame .placeholder-image {
  height: 100%;
  border-radius: 50%;
  background-size: cover;
}

/* Accordion */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(42, 54, 30, 0.1);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 0;
  font-size: 1.2rem;
  font-family: var(--font-heading);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* .accordion-header::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-header.active::after {
  transform: rotate(45deg);
} */

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  padding-bottom: 1.5rem;
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, #f4f7f2 0%, #e8ede4 100%);
}

.glass-panel {
  background: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  margin-top: 2rem;
  text-align: left;
}

.form-group {
  margin-bottom: 1.2rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fafafa;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
}

.full-width {
  width: 100%;
}

/* Footer */
footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 0 1rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-bottom {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

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

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2rem;
  }

  .content-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-split.reverse {
    display: flex;
    flex-direction: column-reverse;
  }

  .circle-frame {
    width: 200px;
    height: 200px;
  }
}

/* ===== Review Cards: uniform height + read more ===== */
.review-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}

.review-text.is-expanded {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

.review-more {
  display: none;
  align-self: flex-start;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.review-more:hover {
  opacity: 0.7;
}

.review-more.is-visible {
  display: inline-flex;
}

/* ===== Mobile Menu ===== */
/* Open/closed state lives here rather than on Tailwind's translate utilities:
   the CDN build only generates classes it finds in the served HTML, so the
   "open" class the script adds at runtime was not always available. */
#mobile-menu-overlay {
  transform: translateX(100%);
}

#mobile-menu-overlay.is-open {
  transform: translateX(0);
}

/* Hamburger → X. The button is visible up to the lg breakpoint, so the
   animation has to be too (it used to stop at 768px). */
@media (max-width: 1023px) {
  #nav-hamburger.toggle span {
    width: 1.5rem;
  }

  #nav-hamburger.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  #nav-hamburger.toggle span:nth-child(2) {
    opacity: 0;
  }

  #nav-hamburger.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* Mobile menu accordions (mirror the desktop dropdowns) */
#mobile-menu-overlay summary {
  list-style: none;
}

#mobile-menu-overlay summary::-webkit-details-marker {
  display: none;
}

#mobile-menu-overlay details[open] > summary .acc-chevron {
  transform: rotate(180deg);
}
