@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

:root {
  --green: rgb(121, 161, 47);
  --light-green: #95c24b;
  --beige: #e9e4d1;
  --gray: rgb(214, 205, 171);
  --dark: rgb(105, 101, 84);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--dark);
  background: #f8f9f7;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* HEADER */
header {
  background: var(--beige);
}

.header-info {
  display: flex;
  justify-content: space-between;
  margin: auto;
  width: 90%;
  padding: 1rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text h1 {
  font-size: 1.5rem;
  color: var(--green);
}

.logo-text p {
  font-size: 1rem;
  color: #555;
}

.header-buttons .btn.gray {
  background: var(--gray);
  color: rgb(105, 101, 84);
  padding: 0.5rem 1rem;
  margin-left: 0.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
}

.header-buttons .btn.gray:hover {
  background: var(--green);
  color: white;
}

.header-button-div {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.navbar {
  margin-top: 1rem;
}

.navbar ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
}

.navbar ul li {
  margin: 0.5rem 1rem;
}

.navbar a {
  text-decoration: none;
  color: #b49074;
  font-weight: 100;
  letter-spacing: 1px;
}

.navbar a.active,
.navbar a:hover {
  color: black;
}

/* HAMBURGER BUTTON */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #996a42;
  padding: 0.5rem 1rem;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
  align-items: center;
}

.hero img {
  width: 100%;
  border-radius: 8px;
}

.hero-text h2 {
  font-size: 1.7rem;
  color: rgb(153, 105, 68);
  margin-bottom: 1rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
  font-style: normal;
}

.hero-text p {
  margin-bottom: 1.5rem;
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.hero-slider .slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.hero-slider img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 8px;
}

/* SLIDER BUTTONS */
.hero-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  border-radius: 50%;
}

.hero-slider .prev {
  left: 10px;
}

.hero-slider .next {
  right: 10px;
}

.hero-slider button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.btn.green {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  border-radius: 5px;
}

.btn.green:hover {
  background: rgb(180, 144, 116);
}

/* NEWS */
.news-title {
  color: var(--green);
  margin-bottom: 1rem;
  font-family: "droid-serif", serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.news-box {
  background: var(--beige);
  padding: 1rem;
  border-radius: 5px;
}

.news-item {
  margin-bottom: 1rem;
}

.news-item h4 {
  color: rgb(153, 105, 68);
  margin-bottom: 0.5rem;
  font-family: "droid-serif", serif;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  font-weight: 300;
}

.news-item a {
  text-decoration: underline;
}

/* ABOUT */
.about-title {
  color: var(--green);
  margin: 2rem 0 1rem;
  font-family: "droid-serif", serif;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.about-box {
  background: var(--beige);
  padding: 1rem;
  border-radius: 5px;
}

.about-box em {
  font-style: italic;
}

/* FOOTER */
.footer {
  background: var(--green);
  color: white;
  margin-top: 2rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.footer-left {
  flex: 1;
  min-width: 220px;
}

.footer-left p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin: 0.3rem 0;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-right {
  flex: 1;
  min-width: 220px;
  font-size: 1rem;
  letter-spacing: .2px;
  color: #f5f2e8;
}
.footer-right strong {
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.footer-left strong {
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.footer-bottom {
  background: #5a832f;
  text-align: center;
  padding: 0.8rem;
  font-size: 1rem;
  margin-top: 1rem;
}

/* Overlay background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show state */
.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* Popup box */
.popup-content {
  background: white;
  border: 3px solid var(--green);
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.4s ease;
}

.popup-content h2 {
  color: rgb(153, 105, 68);
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
}

.popup-divider {
  border: none;
  border-top: 2px solid #ccc;
  margin: 1rem auto;
  width: 50%;
}

.popup-content p {
  font-size: 1.1rem;
  color: #624c40;
  margin-bottom: 1rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
}

.popup-link {
  color: #624c40;
  font-weight: bold;
  text-decoration: underline;
  font-family: "droid-serif", serif;
  font-weight: 400;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

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

.initial-visit {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
  margin: 3rem auto;
  padding: 1rem;
}

.initial-visit h2 {
  color: var(--green);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
}

.initial-visit ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.initial-visit ul li {
  margin-bottom: 0.6rem;
}

.visit-text p {
  margin-bottom: 1rem;
  color: var(--dark);
}

.visit-side img {
  max-width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.visit-note {
  background: var(--beige);
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: 0.5px;
  font-family: "droid-serif", serif;
  color: rgb(153, 105, 68);
}

.visit-note a {
  text-decoration: underline;
}

.providers {
  margin: 3rem auto;
  padding: 1rem;
}

.providers h2 {
  color: var(--green);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.providers .intro {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark);
}

.provider-card {
  display: flex;
  gap: 1.5rem;
  background: var(--beige);
  padding: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.provider-card img {
  width: 320px;
  height: auto;
  flex-shrink: 0;
}

.provider-info h3 {
  color: rgb(153, 105, 68);
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.provider-info p {
  margin-bottom: 1rem;
  color: var(--dark);
  line-height: 1.6;
}

.services {
  margin: 3rem auto;
  padding: 1rem;
}

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

.services h2 {
  color: var(--green);
  margin-bottom: 1rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 1.8rem;
}

.services p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: rgb(105, 101, 84);
}

/* Slider */
.services-slider {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  max-height: 260px;
}

.services-slider .slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.services-slider img {
  width: 100%;
  border-radius: 6px;
  flex-shrink: 0;
}

.services-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 0.5rem 0.8rem;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
}

.services-slider .prev {
  left: 10px;
}

.services-slider .next {
  right: 10px;
}

/* Beige feature box */
.services-features {
  background: var(--beige);
  padding: 1.5rem;
  margin: 3rem 0;
  border-radius: 6px;
  text-align: center;
}

.services-features h3 {
  color: rgb(105, 101, 84);
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.features-grid h4 {
  color: rgb(153, 105, 68);
  margin-bottom: 0.5rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}

.features-grid p {
  font-size: 0.9rem;
  line-height: 1.4;
  color: rgb(105, 101, 84);
}

/* Extra section */
.services-extra {
  margin-top: 2rem;
}

.services-extra p {
  color: rgb(151, 145, 125);
}

.services-extra h4 {
  margin-top: 1.4rem;
  color: rgb(153, 105, 68);
  font-family: "droid-serif", serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 1.2rem;
}

.services-extra ul {
  list-style: disc;
  margin: 0.5rem 0 0 1.5rem;
}

.contact {
  margin: 3rem auto;
  padding: 1rem;
}

.contact h2 {
  color: var(--green);
  margin-bottom: 1rem;
  font-family: "droid-serif", serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 1.8rem;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-info h3,
.office-hours h3 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-info p,
.office-hours p {
  margin: 0.3rem 0;
  color: var(--dark);
}

.map-container {
  width: 100%;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }

  .contact-info,
  .office-hours {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .provider-card {
    flex-direction: column;
    text-align: left;
  }

  .provider-card img {
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .initial-visit {
    grid-template-columns: 1fr;
  }

  .visit-side {
    margin-top: 1.5rem;
  }
}

/* Responsive text */
@media (max-width: 480px) {
  .popup-content h2 {
    font-size: 1.4rem;
  }
  .popup-content p {
    font-size: 1rem;
  }
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    align-items: center;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar ul {
    flex-direction: column;
  }
}

/* MOBILE STYLES */
@media (max-width: 768px) {
  .header-buttons {
    display: flex;
    align-items: baseline;
    position: relative;
  }
  .header-info {
    flex-direction: column;
    align-items: flex-end;
  }

  .menu-toggle {
    display: block;
    text-align: right;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f5f2e8;
    padding: 1rem 0;
    z-index: 10;
  }

  .navbar ul.show {
    display: flex;
  }

  .navbar ul li {
    margin: 1rem 0;
    text-align: center;
  }
  .navbar {
    background-color: #d8d2b3;
    position: absolute;
    width: 100%;
    margin-top: 4rem;
  }
}


/*Popup*/
.popup-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

/*Popup*/