@import url(https://fonts.googleapis.com/css?family=Lato:100,100italic,300,300italic,regular,italic,700,700italic,900,900italic);
body {
  background: #eae6d6;
  font-family: "Lato";
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex-grow: 1;
}
.terms {
  padding-block: 80px;
}
.terms__title {
  color: #000;
  font-family: Lato;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 16px;
}
.terms p {
  color: #000;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
}
/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #333;
}

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

/* Header and Navigation */
.header {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 1rem 0;
}

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

.nav-logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

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

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #5a7c4f;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #000;
  background-image: url(../images/bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-content {
  padding-block: 20px;
  min-height: 420px;
  z-index: 2;
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.hero-content h1 {
  color: #fff;
  font-family: Lato;
  font-size: 76px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

/* About Section */
.about {
  padding: 6rem 0;
  text-align: center;
}

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

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
  font-weight: normal;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #666;
  line-height: 1.8;
}

/* Team Section */
.team {
  padding: 6rem 0;
}

.team h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.team-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 4rem;
  line-height: 1.8;
}

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

.team-member {
  text-align: center;
}

.member-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  background: #5a7c4f;
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
}

.member-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.member-info p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Philosophy Section */
.philosophy {
  padding: 6rem 0;
  background: #5a7c4f;
  background-image: url(../images/bg2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: white;
}

.philosophy h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.philosophy-intro {
  font-size: 1.1rem;
  margin-bottom: 4rem;
  line-height: 1.8;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.philosophy-item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.philosophy-item h3::after {
  content: "→";
  margin-left: 0.5rem;
  font-size: 1.2rem;
}

.philosophy-item p {
  line-height: 1.8;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
}

.contact-form-wrapper {
  max-width: 786px;
  margin: 0 auto;
}

.contact-form {
  border-radius: 10px;
  background: rgba(249, 249, 249, 0.42);
  padding: 30px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  color: #3a5a40;
  border: none;
  display: block;
  /* Heading Extra Small */
  font-family: "PT Sans";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border-radius: 10px;
  background: rgba(163, 177, 138, 0.42);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5a7c4f;
  background: white;
}

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

.submit-btn {
  width: 100%;
  background: #5a7c4f;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background: #4a6b42;
}

/* Footer */
.footer {
  color: #000;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
}

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

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

.footer-links a {
  display: block;
  text-decoration: none;
  color: #000;
  font-family: Lato;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
}

.footer-copyright p {
  font-size: 0.9rem;
  opacity: 0.7;
  text-align: center;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

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

  .nav-menu li {
    margin: 1rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .about-content h2,
  .team h2,
  .philosophy h2 {
    font-size: 2rem;
  }

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

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

  .contact-form {
    padding: 2rem;
    margin: 0 1rem;
  }

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

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

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 50px;
  }

  .about,
  .team,
  .philosophy,
  .contact {
    padding: 4rem 0;
  }

  .about-content h2,
  .team h2,
  .philosophy h2 {
    font-size: 1.8rem;
  }

  .member-image {
    width: 150px;
    height: 150px;
  }

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

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

  .contact-form {
    padding: 1.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
