body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #F2E9DE;
  padding: 20px 40px;
}

/* Logo section: image plus text */
.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 50px; /* Adjust as needed */
  margin-right: 10px;
}

.logo-text h1,
.logo-text h4 {
  margin: 0;
}

/* Right-side container: navigation + language selector */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

header nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

/* Style for language selector */
#lang-switch {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.hero {
  position: relative;
  background: url('https://via.placeholder.com/1500x500') no-repeat center center/cover;
  height: 400px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 2.5em;
  margin: 0;
}

.hero p {
  font-size: 1.2em;
}

.hero button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #a06768;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.content {
  display: flex;
  gap: 20px;
  padding: 40px;
}

.content .text {
  flex: 1;
}

.content .image img {
  max-width: 100%;
  border-radius: 10px;
}

.container {
  text-align: center;
  margin-top: 50px;
}

/* About Me Section */
#about-me {
  padding: 60px 5%;
  background-color: #faf4ef;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

/* Flexbox to Keep Image at the Top */
.about-container {
  display: flex;
  text-align: justify;
  text-justify: inter-word;
  max-width: 1400px;
  margin: auto;
}

/* Text Stretches Full Width */
.about-text {
  flex: 1;
  max-width: 900px;
}

/* Image Stays at the Top */
.about-image {
  flex: 0.3;
  text-align: right;
  display: flex;
  align-items: flex-start; /* Forces the image to align at the top */
  justify-content: flex-end;
  margin-top: 30px; /* Adds spacing from the header */
}

.about-image img {
  width: 250px;
  border-radius: 15px;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.12);
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-container {
      flex-direction: column;
      text-align: center;
  }

  .about-image {
    margin-bottom: 60px;
    position: static !important;
    top: 0 !important;
  }

  .about-image img {
      width: 180px;
  }
}


/* Title Styling */
.about-text h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #b57e79;
  border-bottom: 3px solid #b57e79;
  display: inline-block;
  padding-bottom: 5px;
}

/* Text Styling */
.about-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
}

.about-text strong {
  color: #b57e79;
}

/* Quote Styling */
blockquote {
  font-style: italic;
  font-size: 18px;
  margin: 20px 0;
  padding: 15px;
  background: #fff6f3;
  border-left: 4px solid #b57e79;
  color: #555;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08);
  width: 95%; /* Stretch quotes for balance */
}

blockquote span {
  display: block;
  font-weight: bold;
  font-size: 16px;
  margin-top: 8px;
  color: #b57e79;
}

/* Signature */
.signature {
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  color: #222;
}

/* Responsive Design */
@media (max-width: 900px) {
  .about-container {
      flex-direction: column;
      text-align: center;
      gap: 30px;
  }

/* Move the image down */
.about-image {
  flex: 0.3;
  text-align: right;
  position: relative; /* Allows precise positioning */
  top: 80px; /* Pushes the image down */
}


  .about-image img {
      width: 180px;
  }

  .about-text {
      max-width: 100%;
  }

  blockquote {
      width: 100%;
  }
}






button {
  padding: 15px 30px;
  font-size: 18px;
  cursor: pointer;
  background-color: #f4e9ea;
  color: white;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2980b9;
}

.testimonial-slider {
  width: 95%;
  max-width: 900px;
  margin: 40px auto;
  background: #fffefc;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  position: relative;
  transition: all 0.3s ease-in-out;
}

.testimonial-slider h3 {
  color: #a35d5d;
  font-size: 1.6rem;
  margin-bottom: 30px;
  font-weight: bold;
}

.testimonial {
  font-style: italic;
  font-size: 1.2rem;
  color: #444;
  position: relative;
  padding: 0 20px;
  line-height: 1.7;
}

.testimonial::before,
.testimonial::after {
  content: "“";
  font-size: 3rem;
  color: #d8a7a2;
  position: absolute;
  top: -10px;
}

.testimonial::before {
  left: -10px;
}

.testimonial::after {
  content: "”";
  right: -10px;
}

.author {
  margin-top: 15px;
  font-size: 1rem;
  color: #888;
  font-style: normal;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
}

.nav-arrow {
  font-size: 28px;
  color: #a35d5d;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-arrow:hover {
  color: #7a3e3e;
}

.dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 6px;
}

.dot {
  width: 12px;
  height: 12px;
  background: #e3c4c4;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #a35d5d;
}


footer {
  text-align: center;
  background-color: #F2E9DE;
  padding: 20px;
  margin-top: 40px;
}
  
.video-container {
  position: relative;
  width: 100%;
  height: 500px; /* Adjust to fit your design */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

#background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  object-fit: cover;
}

.video-container h1, .hero p, .hero button {
  position: relative;
  z-index: 1;
}

.video-container h1 {
  font-size: 3em;
  margin: 0;
}

.video-container button {
  padding: 10px 20px;
  border: none;
  background-color: #a35d5d;
  color: white;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
}

.video-container button:hover {
  background-color: #804848;
}

#quote {
  font-style: italic;
  font-weight: bold;
  font-size: 1.2rem;
  color: #a35d5d;
}

#author {
  margin-top: 10px;
  font-size: 1rem;
  color: #333;
}

#consultas_image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


.container_appointment {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

#appointment4 {
  max-width: 100%;
  height: auto;
  display: block;
}

#formButton {
  position: absolute;
  bottom: 4em; /* scalable to image height */
  left: 50%;
  transform: translateX(-50%);
  background-color: #a35d5d;
  color: white;
  padding: 10px 25px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  z-index: 1;
}

#formButton:hover {
  background-color: #804848;
}

@media (max-width: 768px) {
  #formButton {
    bottom: 2.5em;
  }
}

@media (max-width: 480px) {
  #formButton {
    bottom: 2em;
  }
}







/* Contact Section */
#contact {
  padding: 50px 5%;
  background-color: #faf4ef;
  color: #333;
  font-family: 'Poppins', sans-serif;
  max-width: 800px;
  margin: auto;
}

#contact-title {
  font-size: 26px;
  font-weight: bold;
  color: #8b5e5a;
  margin-bottom: 10px;
}

#contact-description {
  font-size: 18px;
  margin-bottom: 20px;
  margin-left: 20px;
}

/* Contact Form */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

#contact-form label {
  font-weight: bold;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#contact-form textarea {
  height: 100px;
  resize: none;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Send Button */
#send-button {
  background-color: #d8a7a2;
  color: white;
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  cursor: not-allowed;
}

#send-button.active {
  background-color: #8b5e5a;
  cursor: pointer;
}

/* Contact Information */
.contact-info {
  margin-top: 20px;
  margin-left: 20px;
  font-size: 16px;
}

.contact-info a {
  color: #8b5e5a;
  text-decoration: none;
  font-weight: bold;
}

.contact-info a:hover {
  text-decoration: underline;
}



/* FAQ Section */
.faq-container {
  max-width: 850px;
  margin: 60px auto;
  padding: 30px;
  background: #fcfcfc;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

/* FAQ Title */
.faq-container h1 {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #8b5e5a;
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: 2px solid #d8a7a2;
  display: inline-block;
}

/* FAQ Item */
.faq-item {
  border-bottom: 1px solid #ddd;
  overflow: hidden;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: background 0.3s ease-in-out;
}


.faq-question {
  background-color: #fff6f3;
  color: #3a3a3a; /* softened black */
  width: 100%;
  padding: 16px 20px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  outline: none;
  cursor: pointer;
  text-align: left;
  border-radius: 5px;
  position: relative;
  transition: background-color 0.3s ease-in-out;
}

.faq-question:hover {
  background-color: #f1c5bc; /* softer hover */
}

.faq-question.active {
  background-color: #d08c87;
  color: white;
}

.faq-question .arrow {
  position: absolute;
  right: 20px;
  transition: transform 0.3s ease;
  color: #3a3a3a; 
}

.faq-question.active .arrow {
  transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  background: #fff;
  padding: 0 20px;
  border-left: 3px solid #d08c87;
  border-radius: 0 0 5px 5px;
}

/* FAQ Answer Text */
.faq-answer p {
  padding: 15px 10px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.faq-answer p,
.faq-answer a {
  display: inline;  /* Makes both <p> and <a> inline */
  padding: 0; /* Remove unnecessary padding that might create spacing */
  margin: 0; /* Remove margin to ensure continuous text */
}

.faq-question {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.single-line-footer {
  background-color: #f4ece2;
  padding: 20px 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.footer-section a {
  margin: 0 8px;
  text-decoration: underline;
  color: #000;
}

.footer-logo {
  height: 40px;
  margin: 0 5px;
  vertical-align: middle;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: #fff;
  padding: 30px;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px #00000033;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.hidden {
  display: none;
}

.quote-section {
  background-color: #ffffff;
  padding: 20px 0;
  display: flex;
  justify-content: center;
}

.quote-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.quote-block {
  background-color: #fff6f3;
  padding: 20px;
  border-left: 4px solid #b57e79;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  text-align: center;
}

.quote-text {
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.quote-author {
  font-weight: bold;
  color: #b67878;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .quote-container {
    padding: 0 20px;
  }

  .quote-text {
    font-size: 1rem;
  }
}

#subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #8b5e5a;
  margin-top: 4px;
}

/* === Responsive Styles === */
img {
  max-width: 100%;
  height: auto;
}

/* === SLIDING MOBILE MENU === */
.hamburger {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #a35d5d;
  z-index: 1001;
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;              /* reduced width */
  max-width: 150px;        /* tighter cap */
  height: 100vh;
  background-color: #faf4ef;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.2);
  padding: 30px 15px;      /* smaller padding */
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}


.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu a {
  text-decoration: none;
  color: #3a3a3a;
  font-weight: bold;
  font-size: 18px;
}

.mobile-menu select {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  z-index: 1000;
  transition: opacity 0.3s ease-in-out;
}

.mobile-menu.show {
  transform: translateX(0);
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .logo-img {
    height: 36px;
  }

  .logo-text h1 {
    font-size: 1rem;
    margin: 0;
    line-height: 1.2;
  }

  .logo-text h4#subtitle {
    font-size: 0.8rem;
    margin: 0;
    color: #8b5e5a;
    font-weight: normal;
  }

  .hamburger {
    display: block;
    font-size: 1.8rem;
    color: #a35d5d;
    padding: 5px;
    margin-left: auto;
  }

  .desktop-nav {
    display: none;
  }

  .logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Remove flex-direction: column from nav! */
  nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .logo-text {
    border-bottom: 1px solid #d8a7a2;
    padding-bottom: 10px;
    margin-bottom: 10px;
  }

  .container {
    padding: 1rem;
  }

  .hero {
    height: auto;
    padding: 40px 20px;
  }

  .content {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image {
    justify-content: center;
    margin-top: 20px;
  }

  .about-image img {
    width: 180px;
  }

  .video-container h1 {
    font-size: 2em;
  }

  .testimonial-slider {
    padding: 20px 15px;
  }

  .faq-container {
    padding: 20px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  #formButton {
    bottom: 1em;
    padding: 3px 8px;
    font-size: 10px;
    max-width: 110px;
    white-space: nowrap;
    border-radius: 4px;
    line-height: 1;
  }

  .container_appointment {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}


@media (max-width: 900px) {
  #formButton {
    max-width: 150px;
    font-size: 11px;
    padding: 10px 20px;
    bottom: 2.5em;
    white-space: nowrap;
    border-radius: 4px;
    line-height: 1;
  }
}
