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

:root {
  --primary-color: #16a34a;
  --primary-dark: #15803d;
  --secondary-color: #22c55e;
  --accent-color: #4ade80;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f0fdf4;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 4px rgba(22, 163, 74, 0.1);
  --shadow-md: 0 4px 8px rgba(22, 163, 74, 0.15);
  --shadow-lg: 0 8px 16px rgba(22, 163, 74, 0.2);
  --bg-secondary: #f8faf9;
}

/* Page Transition */
@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageFadeIn 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

body.page-leaving {
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.3s cubic-bezier(0.55, 0, 1, 0.45),
    transform 0.3s cubic-bezier(0.55, 0, 1, 0.45);
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Navigation */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 100px;
  width: auto;
  display: block;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  transition: all 0.3s;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu > li {
  position: relative;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  display: block;
  padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-white);
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  border-bottom: 1px solid var(--border-color);
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu a {
  padding: 1rem 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.3s;
  border-radius: 0;
}

.dropdown-menu li:first-child a {
  border-radius: 8px 8px 0 0;
}

.dropdown-menu li:last-child a {
  border-radius: 0 0 8px 8px;
}

.dropdown-menu a:hover {
  background: var(--primary-color);
  color: white;
}

/* Hero Section */
.hero {
  background:
    linear-gradient(
      135deg,
      rgba(22, 163, 74, 0.85) 0%,
      rgba(21, 128, 61, 0.85) 100%
    ),
    url("assets/pexels-pixabay-209224.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 0;
  text-align: center;
}

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

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

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

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* Mission Section */
.mission {
  background: var(--bg-light);
}

.mission-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Services Section */
.services {
  background: var(--bg-white);
}

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

.service-card {
  background: var(--bg-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-description {
  color: var(--text-light);
  line-height: 1.6;
}

.services-cta {
  text-align: center;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-light);
}

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

.testimonial-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-style: italic;
}

.testimonial-author {
  border-top: 2px solid var(--border-color);
  padding-top: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.author-position {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Why Choose Section */
.why-choose {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 2rem;
  gap: 2.5rem;
}

.feature-card {
  text-align: center;
}

.feature-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.feature-description {
  color: var(--text-light);
  line-height: 1.6;
}

/* CTA Section */
.cta {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  padding: 80px 0;
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-logo img {
  height: 100px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
  cursor: pointer;
}

.footer-contact a:hover {
  color: white;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

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

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Field validation error styles */
.form-input-error {
  border-color: #dc3545 !important;
  background-color: #fff5f5;
}

.form-input-error:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

.field-error-msg {
  display: none;
  color: #dc3545;
  font-size: 0.825rem;
  margin-top: 0.35rem;
  font-weight: 500;
}

[data-theme="dark"] .form-input-error {
  background-color: rgba(220, 53, 69, 0.08);
}

/* 404 Page Styles */
.error-404-section {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
}

.error-404-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-404-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  animation: floatIcon 3s ease-in-out infinite;
}

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

.error-404-code {
  font-size: 8rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.error-404-title {
  font-size: 1.75rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.error-404-description {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.error-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.error-404-links {
  padding: 1.5rem 2rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  display: inline-block;
}

.error-404-links p {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.error-404-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.error-404-links a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.error-404-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .error-404-code {
    font-size: 5rem;
  }

  .error-404-title {
    font-size: 1.35rem;
  }

  .error-404-description {
    font-size: 1rem;
  }

  .error-404-links ul {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Page Specific Styles */
.page-header {
  background:
    linear-gradient(
      135deg,
      rgba(22, 163, 74, 0.85) 0%,
      rgba(21, 128, 61, 0.85) 100%
    ),
    url("assets/pexels-yankrukov-7693103.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-description {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

.content-section {
  padding: 80px 0;
}

.content-grid {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.content-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.content-card h2 {
  margin-bottom: 2.5rem;
}

.content-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.content-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.content-card ul {
  list-style-position: inside;
  color: var(--text-light);
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  .theme-toggle {
    order: 3;
    margin-left: auto;
    margin-right: 0.75rem;
  }

  .mobile-menu-btn {
    order: 4;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu > li:last-child {
    border-bottom: none;
  }

  .nav-menu > li > a {
    padding: 1rem 0;
  }

  /* Dropdown mobile */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0.5rem;
    padding-left: 1rem;
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .dropdown-menu a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
  }

  .dropdown > a::after {
    content: " ▼";
    font-size: 0.7rem;
    margin-left: 0.5rem;
  }

  .dropdown.active > a::after {
    content: " ▲";
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem; /* espaço adicional em cima */
    margin-bottom: 3rem;
  }
  .testimonials-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }

  section {
    padding: 50px 0;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scroll behaviour for in-page navigation */
html {
  scroll-behavior: smooth;
}

/* Testimonials logos carousel — infinite */
.testimonials-logos {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.logo-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 140px;
  padding: 16px;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.logo-btn {
  display: none;
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Service Detail Pages */
.content-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: var(--text-light);
  line-height: 1.8;
}

.service-detail {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.service-detail h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-detail h4 {
  color: var(--text-dark);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.service-detail p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.service-detail ul {
  margin-left: 1.5rem;
  margin-top: 1rem;
}

.service-detail li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--bg-light);
  border-radius: 12px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.benefit-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.benefit-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Process Section */
.process-section {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--bg-white);
  border-radius: 12px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.process-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
  transition: transform 0.3s;
}

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

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

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.process-step p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Methodology Section */
.methodology-section {
  margin-top: 4rem;
  text-align: center;
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.methodology-step {
  padding: 2rem 1rem;
  background: var(--bg-light);
  border-radius: 12px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.methodology-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.methodology-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.methodology-step p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Warning Section */
.warning-section {
  margin-top: 4rem;
  padding: 3rem;
  background: #fff3cd;
  border-radius: 12px;
  border: 2px solid #ffc107;
}

.warning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.warning-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.warning-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.warning-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.warning-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Recovery Timeline */
.recovery-timeline {
  margin-top: 2rem;
  position: relative;
  padding-left: 2rem;
}

.recovery-timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 3rem;
}

.timeline-marker {
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: var(--shadow-md);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--bg-light);
  border-radius: 12px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.team-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-color);
  font-weight: 600;
}

.team-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Additional responsive adjustments for new sections */
@media (max-width: 768px) {
  .benefits-grid,
  .process-steps,
  .methodology-steps,
  .warning-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .recovery-timeline {
    padding-left: 1rem;
  }

  .recovery-timeline::before {
    left: 10px;
  }

  .timeline-item {
    padding-left: 2.5rem;
  }

  .service-detail {
    padding: 1.5rem;
  }

  .benefits-section,
  .process-section,
  .methodology-section,
  .warning-section,
  .team-section {
    padding: 2rem 1.5rem;
  }
}

/* ===================== */
/* Dark Mode Toggle Btn  */
/* ===================== */
.theme-toggle {
  position: relative;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--bg-light);
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.3s;
  font-size: 1.2rem;
  line-height: 1;
  margin-left: 1rem;
  flex-shrink: 0;
}

.theme-toggle:hover {
  transform: scale(1.1);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
  position: absolute;
}

.theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0);
}
.theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}
[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(90deg) scale(0);
}

/* ===================== */
/*   Dark Mode Theme     */
/* ===================== */
[data-theme="dark"] {
  --text-dark: #e4e4e7;
  --text-light: #a1a1aa;
  --bg-light: #1e1e22;
  --bg-white: #27272a;
  --border-color: #3f3f46;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
  --bg-secondary: #2a2a2e;
}

[data-theme="dark"] body {
  background: #18181b;
  color: var(--text-dark);
}

[data-theme="dark"] .header {
  background: #1f1f23;
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .mobile-menu-btn span {
  background: var(--text-dark);
}

[data-theme="dark"] .nav-menu a {
  color: var(--text-dark);
}

[data-theme="dark"] .dropdown-menu {
  background: #2a2a2e;
}

[data-theme="dark"] .dropdown-menu a:hover {
  background: var(--primary-color);
  color: #fff;
}

[data-theme="dark"] .dropdown-menu li {
  border-color: var(--border-color);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .content-card,
[data-theme="dark"] .logo-item,
[data-theme="dark"] .benefit-item,
[data-theme="dark"] .team-item {
  background: #2a2a2e;
}

[data-theme="dark"] .process-section {
  background: #2a2a2e;
}

[data-theme="dark"] .footer {
  background: #111113;
}

[data-theme="dark"] .footer-logo img {
  filter: brightness(0) invert(1);
}

[data-theme="dark"] .form-input,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .form-select {
  background: #1e1e22;
  color: var(--text-dark);
  border-color: var(--border-color);
}

[data-theme="dark"] .form-input::placeholder,
[data-theme="dark"] .form-textarea::placeholder {
  color: var(--text-light);
}

[data-theme="dark"] .warning-section {
  background: #332d1a;
  border-color: #665a20;
}

[data-theme="dark"] .warning-item {
  background: #2a2a2e;
}

[data-theme="dark"] .timeline-marker {
  border-color: #18181b;
}

[data-theme="dark"] .logo-img {
  filter: brightness(0) invert(1);
}

/* Mobile nav dark */
@media (max-width: 768px) {
  [data-theme="dark"] .nav-menu {
    background: #1f1f23;
  }

  [data-theme="dark"] .nav-menu > li {
    border-color: var(--border-color);
  }

  [data-theme="dark"] .dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
  }
}
