:root {
  --primary-color: #e85d3d;
  --secondary-color: #4a3f35;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --white: #ffffff;
  font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

#app {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Header & Navigation */
header {
  padding: 1rem 5%;
  background-image: url("/images/hero.jpeg");
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--secondary-color);
}

.logo span {
  color: var(--primary-color);
}

.nav-links a {
  margin: 0 1rem;
  text-decoration: none;
  color: var(--text-color);
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

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

.request-demo {
  color: var(--text-color);
  background-image: url("/images/hero.jpeg");
  border: 1px solid red;
  padding: 0.5rem 1rem;
  border-radius: 18px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  width: 100%;
  min-height: 100vh;
  background-image: url("/images/hero.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
  margin-top: 70px;
}

.hero {
  padding: 8rem 5% 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1420px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

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

.hero h1 span {
  color: var(--primary-color);
  display: block;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #666;
}

.app-buttons {
  display: flex;
  gap: 1rem;
}

.app-buttons a {
  border-radius: 5px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image {
  flex: 1;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Features Section */
span {
  font-size: 16px;
  text-align: center;
  color: #e2725b;
  text-transform: uppercase;
}
.features {
  padding: 4rem 5%;
  background: #f5f1e8;
  text-align: center;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 7rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 339px;
}

.feature-card img {
  width: 2.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

.feature-card p {
  text-align: left;
}

/* How It Works Section */
.how-it-works {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.how-it-works h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.video-container {
  display: flex;
  margin-bottom: 5rem;
  justify-content: space-between;
  gap: 2rem;
}

.fa-check {
  background-color: #e85d3d;
  border-radius: 50%;
  padding: 5px;
  margin-right: 5px;
}

.fauna-content {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: flex-start;
  text-align: left;
  gap: 1.5rem;
  flex: 1;
}

.placeholder-video {
  flex: 1;
}

.placeholder-video {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
}

.placeholder-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

.placeholder-video i {
  font-size: 4rem;
  color: white;
  cursor: pointer;
}

.benefits {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  text-align: center;
  flex-wrap: wrap;
}

.benefit-item {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
}

.benefit-item img {
  width: 5rem;
}

/* Why It Matters Section */
.why-matters h6 {
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
}

.why-matters {
  padding: 4rem 5%;
  background: #4a3b24;
  color: white;
}

.why-matters h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.why-matters p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.stats {
  max-width: 800px;
  margin: 0 auto;
  /* background-color: #ffffff;
  opacity: 0.1; */
}

.stat-p {
  text-align: left;
  font-weight: lighter;
}

.stat-item {
  margin-bottom: 2rem;
}

.progress-bar {
  background: rgba(255, 255, 255, 0.2);
  height: 10px;
  border-radius: 5px;
  margin-top: 0.5rem;
}

.progress-bar div {
  background: var(--primary-color);
  height: 100%;
  border-radius: 5px;
}

/* Journey Section */
.journey {
  padding: 4rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.journey h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--primary-color);
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
  padding-left: 50%;
}

.timeline-item:nth-child(even) {
  padding-left: 0;
  padding-right: 50%;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content p {
  text-align: left;
  margin-top: 1rem;
}

/* Team Member */
/* About */
#about {
  margin: 10px 0;
  margin-bottom: 100px;
}

h1 {
  text-align: center;
  font-weight: bold;
  letter-spacing: 2px;
  color: #333;
  padding-bottom: 10px;
}

h1:after {
  content: "";
  background-color: #333;
  display: block;
  height: 3px;
  width: 150px;
  margin: 10px auto;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.profile {
  border: none;
  padding: 3rem 4rem;
  text-align: center;
  background-color: #f5f1e8;
  box-shadow: 0 15px 10px rgba(106, 99, 99, 0.1);
}

.img-box {
  width: 220px;
  height: 220px;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 auto 15px;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-team {
  display: flex;
  text-align: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.5rem;
}

.social-team .fa-solid,
.social-team .fab {
  color: black;
  font-size: 1.5rem;
}

h2,
h3,
p {
  margin: 0;
}

/* CTA Section */
.signup-form {
  max-width: 100%;
  width: 50%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  padding: 2rem 3rem;
  margin-bottom: 4rem;
  border-radius: 10px;
}

.bg {
  background-color: #f5f1e8;
  padding: 5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.signup-form h2,
p {
  text-align: center;
}

.form-row {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.form-cta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.signup-form input,
.signup-form select {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #ededed;
  color: #333;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.signup-form select {
  background: #ededed;
  color: #333;
}

.signup-form button {
  width: 100%;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #e2725b;
  color: #ffffff;
  border: none;
  padding: 1rem 0;
}

.privacy-note {
  font-size: 0.9rem;
  color: #888;
  text-align: center;
  margin-top: 0.5rem;
}
.cta {
  padding: 4rem 5%;
  /* text-align: center; */
}

/* Footer */
footer {
  background: url("/images/footer.jpeg"), var(--secondary-color);
  background-size: cover;
  color: white;
  padding: 4rem 5%;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(70, 66, 66, 0.9);
  z-index: 2;
}

.footer-style {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  position: relative;
  z-index: 3;
}

.footer-content {
  z-index: 3;
  display: flex;
  justify-content: space-evenly;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
}

.p-tag p {
  text-align: left;
}

.footer-section a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  text-align: left;
}

.right {
  color: white;
  z-index: 3;
  font-weight: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.right-terms {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-links {
  display: flex;
  margin-top: 1rem;
  flex-direction: row;
  gap: 1.7rem;
  justify-content: flex-start;
}

.social-links a {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .social-links {
    justify-content: center;
    margin: 1.5rem auto;
  }

  .footer-section .social-links a {
    font-size: 1.8rem;
    padding: 0.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nav-links a::after {
    bottom: 0;
    height: 1px;
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .feature-card {
    width: 100%;
  }

  .video-container {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .fauna-content {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .placeholder-video {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/9;
  }

  .placeholder-video iframe {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 8rem 5% 4rem;
  }

  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .app-buttons {
    justify-content: center;
  }

  .hero-image {
    text-align: center;
  }

  .hero-image img {
    max-width: 80%;
  }

  .team-members {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 3%;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .benefits {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .benefit-item {
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .right {
    flex-direction: column;
    text-align: center;
    padding: 0;
  }

  .right-terms {
    justify-content: center;
    gap: 1rem;
  }

  .footer-section {
    align-items: center;
  }

  .footer-section a,
  .p-tag p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .app-buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-buttons img {
    max-width: 200px;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .form-row {
    flex-direction: column;
    gap: 1rem;
  }

  .form-cta {
    width: 100%;
  }

  .bg {
    padding: 4rem 1rem;
    min-height: auto;
  }

  .signup-form {
    width: 98%;
    padding: 2rem;
    margin: 0 auto 2rem;
  }

  .signup-form h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .signup-form p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .signup-form input,
  .signup-form select {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .signup-form button {
    padding: 0.8rem 0;
    font-size: 1rem;
  }

  .privacy-note {
    font-size: 0.8rem;
    margin-top: 1rem;
  }

  .how-it-works {
    padding: 2rem 3%;
  }

  .how-it-works h2 {
    font-size: 2rem;
  }

  .fauna-content h1 {
    font-size: 1.5rem;
  }

  .fauna-content p {
    font-size: 0.9rem;
  }

  .right-terms {
    flex-direction: column;
    gap: 0.5rem;
  }

  .right-terms p {
    margin: 0.25rem 0;
  }

  .benefit-item {
    padding: 1rem;
  }

  .benefit-item h3 {
    font-size: 1.2rem;
  }

  .benefit-item p {
    font-size: 0.9rem;
  }

  .bg {
    padding: 3rem 0.5rem;
  }

  .signup-form {
    width: 100%;
    padding: 1.5rem;
    margin: 0 auto 1rem;
  }

  .signup-form h2 {
    font-size: 1.5rem;
  }

  .signup-form p {
    font-size: 0.9rem;
  }

  .signup-form input,
  .signup-form select {
    padding: 0.7rem;
    font-size: 0.85rem;
  }

  .signup-form button {
    padding: 0.7rem 0;
    font-size: 0.9rem;
  }
}

/* Fix for hero section overlap */
.hero-section {
  margin-bottom: 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero {
  padding: 8rem 5% 2rem;
  width: 100%;
}

.features {
  position: relative;
  z-index: 1;
  margin-top: -2rem;
  padding-top: 6rem;
}

/* Mobile Navigation Menu */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.5rem;
    width: 100%;
    text-align: center;
  }

  .hero-section {
    margin-top: 140px;
    padding-top: 3rem;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-content {
    padding-top: 3rem;
    z-index: 2;
  }

  .hero h1 {
    margin-top: 2rem;
    font-size: 2.5rem;
  }

  header {
    background-color: white;
    padding: 1rem 3%;
  }

  nav {
    flex-direction: column;
    gap: 1.5rem;
    padding: 0.5rem 0;
  }

  .request-demo {
    margin: 1rem 0;
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    margin-top: 160px;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-top: 1.5rem;
  }
}

/* Additional fixes for feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-card {
  width: 100%;
  max-width: 339px;
  height: 100%;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  nav {
    position: relative;
  }
  
  .request-demo {
    margin-top: 1rem;
  }
}

/* Additional deployment safeguards */
img {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}