/* Brand Colors */
:root {
  --light-brown: #966C57;
  --leaf-green: #71AA34;
  --forest-green: #175E17;
  --dark-blue: #234E65;
  --cream: #d0f0c0; /* Tea Green replacing off-white color */
  --white: #FFFFFF;
  --black: #000000;
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

/* Header Styles */
header {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  min-height: 170px;
}

.logo {
  height: 150px;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--leaf-green);
}

/* Hero Section */
#hero {
  padding: 10rem 5% 5rem;
  text-align: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('hero/hero-image.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 78, 101, 0.4); /* Dark Blue with transparency */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#cta-button {
  background-color: var(--leaf-green);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#cta-button:hover {
  background-color: var(--forest-green);
}

/* Section Styles */
main {
  margin-top: 170px;
}

section {
  padding: 5rem 5%;
}

section h2 {
  text-align: center;
  color: var(--dark-blue);
  margin-bottom: 2rem;
  font-size: 2rem;
}

#about {
  background-color: var(--white);
}

.about-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text {
  flex: 1;
  text-align: justify;
}

.about-text p {
  text-align: justify;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

#services {
  background-image: url('hero/hero-image.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
  opacity: 0.5; /* More washed out effect */
}

#services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(208, 240, 192, 0.8); /* Tea Green with transparency */
  z-index: -1;
}

#faq {
  background-color: var(--white);
  padding: 5rem 5%;
}

#pricing {
  background-image: url('hero/hero-image.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  z-index: 1;
  opacity: 0.5; /* Washed out effect */
  padding: 5rem 5%;
  text-align: center;
}

#pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(208, 240, 192, 0.8); /* Tea Green with transparency */
  z-index: -1;
}

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

.pricing-table {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.pricing-plan {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  transition: transform 0.3s ease;
  position: relative;
}

.pricing-plan:hover {
  transform: translateY(-10px);
}

.pricing-plan.popular {
  border: 3px solid var(--leaf-green);
}

.pricing-plan.popular::before {
  content: "Popular";
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--leaf-green);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.pricing-plan h3 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--forest-green);
  margin-bottom: 1rem;
}

.plan-description {
  color: var(--black);
  margin-bottom: 1.5rem;
}

.pricing-info {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

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

.info-item h4 {
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}

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

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

.faq-item h3 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.service h3 {
  color: var(--leaf-green);
  margin-bottom: 1rem;
}

#contact {
  background-color: var(--white);
  text-align: center;
}

#contact-button {
  background-color: var(--leaf-green);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-button:hover {
  background-color: var(--dark-blue);
}

.button-link {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  line-height: normal;
}

/* Footer */
footer {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-right img {
  width: 120px;
  height: auto;
}

/* Contact Form Styles */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background-color: var(--cream);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-form {
  flex: 2;
  min-width: 300px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--leaf-green);
  box-shadow: 0 0 0 2px rgba(113, 170, 52, 0.2);
}

#submit-button {
  background-color: var(--light-brown);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#submit-button:hover {
  background-color: var(--dark-blue);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-message.loading {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 1rem;
    min-height: auto;
  }
  
  .logo {
    height: 100px;
    width: 100px;
    margin-bottom: 1rem;
  }
  
  nav ul {
    margin-top: 1rem;
  }
  
  nav ul li {
    margin: 0 0.5rem;
  }
  
  #hero {
    padding: 12rem 5% 5rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .services-container {
    flex-direction: column;
    align-items: center;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  main {
    margin-top: 120px;
  }

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