* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 0.7;
  background-color: #36563d;
}

.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
  background-color: transparent;
  /* Changed to transparent by default */
}

.menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100vw;
  right: -100vw;
  bottom: 0;
  background-color: transparent;
  z-index: -1;
  transition: background-color 0.3s ease;
}

.menu.scrolled::before {
  /* background-color: rgba(0, 0, 0, 9); Apply background when scrolled */
  background-color: #36563d;
}

.logo img {
  height: auto;
  width: auto;
}

.menu ul {
  display: flex;
  list-style-type: none;
  margin-bottom: 0;
  margin-top: 15px;
}

.menu ul li {
  margin-left: 2rem;
}

.menu ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.menu ul li a:hover {
  color: #FAF7E6 !important;
}

.menu ul li.active a {
  color: #c1531b !important;
  /* Este color se aplicará al enlace activo */
}

.menu-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}

.menu-line img {
  width: 100%;
  max-width: 1200px;
  /* Adjust this value based on your design preferences */
  height: auto;
}

.hero-image {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  position: relative;
  /* Changed from fixed to relative */
  z-index: -1;
}

.hero-text {
  position: absolute;
  /* Changed from fixed to absolute */
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  /* Added line-height for more interlineado */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* about section */
main {
  position: relative;
  z-index: 1;
  background-color: #36563d;
  margin-top: 0;
  padding-top: 0;
}

.about-text {
  padding: 2rem 2% 2rem 7%;
}

.about-image {
  padding: 0;
}

.about-section {
  padding: 0;
  overflow: hidden;
  min-height: 420px;
}

.about-content {
  display: flex;
  align-items: center;
  height: 100%;
}

.about-text {
  display: flex;
  align-items: center;
}

.about-text p {
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.about-image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

/*hectareas section*/
.hectareas-section {
  position: relative;
  width: 100%;
  height: 45vh;
  /* Reduced from 100vh to 70vh */
}

.hectareas-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("dapsa3/texto_hectarias_inicio.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hectareas-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  z-index: 1;
  width: 90%;
  max-width: 900px;
}

.hectareas-content p {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  /* Regular */
  font-size: 1.25rem;
  /* 20px */
  line-height: 1.6;
}

/*location section*/
.location-section {
  position: relative;
  width: 100%;
  height: 75vh;
  /* Reduced from 100vh to 70vh */
}

.location-content {
  display: flex;
  height: 100%;
}

.map-container,
.info-container {
  flex: 1;
  width: 50%;
  height: 100%;
  /* Ensure both containers have the same height */
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/*conct form*/
.info-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.contact-form {
  border: 1px solid #34563D;
  color: #5A5A5A;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  background-color: white;
  border-radius: 21px;
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  /* Increased from 400px to 500px */
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* Added drop shadow */
}

.contact-form h2 {
  color: #36563d;
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid #34563D;
  color: #5A5A5A;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  /* Added subtle drop shadow */
}

.contact-form textarea {
  height: 140px;
  resize: vertical;
}

.contact-form input[type=submit] {
  padding: 0;
  background-color: #c1531b;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  float: right;
  margin-top: 1rem;
  width: 156px;
  height: 38px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #FAF7E6;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.contact-form input[type=submit]:hover {
  background-color: #9e4216;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  /* Enhanced drop shadow on hover */
}

/*footer*/
.footer-logo {
  margin-top: 20px;
  margin-bottom: 20px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #c1531b;
}

.footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.footer-links a {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-links {
  gap: 80px;
  /* Further reduced gap */
  justify-content: center;
  /* Center the links */
}

.footer-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  /* Reduced top and bottom padding */
  gap: 30px;
  /* Reduced gap to decrease overall height */
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  /* Slightly reduced font size */
  color: white;
  line-height: 1.2;
  /* Added to reduce vertical space between lines */
}

.footer-info img[src*="Vector_line_footer.svg"] {
  width: 80%;
  /* Reduce the size of the Vector_line_footer.svg */
  height: auto;
  /* Maintain aspect ratio */
}

.fade-in-text {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 2s ease-in-out, transform 2s ease-in-out;
}

.fade-in-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/*nosotros section*/

/* Hide mobile elements by default */
.mobile-only {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
}

.footer-mobile {
  display: block;
  background-color: #36563d;
  color: white;
  padding: 20px 15px;
}

.footer-mobile-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-mobile-left,
.footer-mobile-right {
  width: 48%;
}

.footer-mobile-logo {
  margin-bottom: 15px;
}

.footer-mobile-logo img {
  height: 35px;
  width: auto;
}

.footer-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Desktop footer */
.footer-desktop {
  display: block;
}

/* Mobile footer */
.footer-mobile {
  display: none;
}

/*nosotros section*/

.timeline-item svg path {
  -webkit-animation: draw 3s linear forwards;
  -moz-animation: draw 3s linear forwards;
  -o-animation: draw 3s linear forwards;
  animation: draw 3s linear forwards;
}

.nosotros {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: 20px; */
  position: relative;
  animation: fadeIn 1s ease-in-out;
  /* Add fade-in animation */
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  /* Default direction for timeline items */
  margin: 0 auto;
  width: 100%;
  max-width: 950px;
  position: relative;
  animation: slideIn 1s ease-in-out;
  /* Add slide-in animation */
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.timeline-item:first-of-type {
  flex-direction: row-reverse;
  /* Switch sides of text and image for the first item */
}

.timeline-item:nth-of-type(5) {
  flex-direction: row-reverse;
  /* Switch sides of text and image for the fifth item */
}

.timeline-item img {
  width: 250px;
  height: 298px;
  object-fit: cover;
  /* Set height to 298px */
  border-radius: 19px;
  margin: 0 0 0 0;
  /* Correct margin: top 0, right 60px, bottom 0, left 0 */
  transition: transform 0.3s ease;
  /* Add transition for hover effect */
}

.timeline-item img:hover {
  transform: scale(1.1);
  /* Scale up image on hover */
}

.timeline-item img[alt="time_line_03"] {
  width: 250px;
  height: 298px;
  border-radius: 19px;
  margin: 0 60px 0 0;
  transition: transform 0.3s ease;
}

.timeline-item img[alt="time_line_03"]:hover {
  transform: scale(1.1);
}

/* Add this new CSS for the SVG animation */
.timeline-item img[alt="time_line_03"] path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 3s linear;
}

.timeline-item img[alt="time_line_03"]:hover path {
  stroke-dashoffset: 0;
}

.timeline-item svg path {
  stroke: #000;
  stroke-width: 2;
  fill: none;
  animation: draw 3s linear forwards, fillIn 1s ease-in forwards 3s;
}

@keyframes fillIn {
  from {
    fill-opacity: 0;
  }

  to {
    fill-opacity: 1;
  }
}

.timeline-item:first-of-type img,
.timeline-item:nth-of-type(5) img {
  margin-left: 0;
  /* Adjust margin to the left for the first and fifth items */
  margin-right: 0;
  /* Remove right margin for the first and fifth items */
}

.timeline-text {
  flex: 1;
  color: white;
  font-family: "Fredoka", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 540px;
  animation: fadeInText 1s ease-in-out;
  /* Add fade-in animation for text */
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.titulo-nosotros {
  font-size: 36px;
  line-height: 1.4;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: italic;
  color: white;
  margin-bottom: 0;
  text-align: center;
  animation: fadeInTitle 1s ease-in-out;
  /* Add fade-in animation for title */
}

@keyframes fadeInTitle {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nosotros img[alt="Rectangle 1"] {
  margin-top: 0;
  /* width: 78%;
  height: 80%;  */
  animation: fadeInImage 1s ease-in-out;
  /* Add fade-in animation for image */
}

@keyframes fadeInImage {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.timeline-text-3 {
  margin-top: 40px;
  margin-bottom: 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: white;
  font-family: "Fredoka", sans-serif;
  animation: fadeInText 1s ease-in-out;
  /* Add fade-in animation for text */
}

/* Default style for desktop (hide the line) */
.white-line-nosotros {
  display: none;
}

/*sostenibilidad section*/
/*filosofia*/
.filosofia-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: start;
  background-color: #36563d;
  min-height: 300px;
  padding: 60px 15px;
  width: 100%;
  margin: 0 auto;
  max-width: 1000px;
}

.filosofia-container h2 {
  order: -1;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
  font-weight: 400;
  opacity: 0;
  /* Start with the text hidden */
  animation: fadeIn 2s forwards;
  /* Add fade-in animation */
}

.filosofia-container p {
  max-width: 550px;
  font-family: "Open Sans", sans-serif;
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0;
  /* Start with the text hidden */
  animation: fadeIn 2s forwards 1s;
  /* Add fade-in animation with delay */
  order: 0;
  flex: 1;
}

.linea-filosofia {
  padding: 20px 40px;
  order: 0;
}

/*enfoque*/
.enfoque-container {
  background-color: #ffffff;
  transition: background-color 0.5s ease;
  /* Add transition effect */
}

.enfoque-container:hover {
  background-color: #e0e0e0;
  /* Change background color on hover */
}

.enfoque-container2 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  width: 100%;
  height: 380px;
  margin: 0 auto;
  max-width: 1100px;
  z-index: 1;
}

.enfoque-text h2 {
  max-width: 520px;
  margin-bottom: 40px;
  color: #BF531C;
  font-family: Montserrat;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  transition: color 0.5s ease;
  opacity: 0;
  animation: fadeIn 2s forwards;
}

.enfoque-text h2:hover {
  color: #BF531C;
}

.enfoque-text p {
  margin-bottom: 0;
  max-width: 535px;
  color: #585858;
  font-family: "Open Sans";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  transition: color 0.5s ease;
  opacity: 0;
  animation: fadeIn 2s forwards 1s;
}

.enfoque-text p:hover {
  color: #333;
  /* Change text color on hover */
}

.enfoque-image {
  width: 392px;
  height: 494px;
  transition: transform 0.5s ease;
  /* Add transition effect */
}

.enfoque-image:hover {
  transform: scale(1.05);
  /* Scale image on hover */
}

.enfoque-image img {
  object-fit: cover;
  border-radius: 19px;
}

/*practicas*/
.practica-cards {
  width: 100%;
  margin: 0 auto;
  max-width: 1170px;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 30px;

}

.practica-card {
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 268px;
  height: 305px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  /* Add transition for transform and box-shadow */
}

.practica-card:hover {
  transform: scale(1.05) rotate(3deg);
  /* Scale and rotate card on hover */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  /* Enhance shadow on hover */
}

.practica-card .card-icon {
  width: 67px;
  height: 67px;
  margin-bottom: 20px;
  transition: transform 0.3s ease-in-out;
}

.practica-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.practica-card p {
  margin-bottom: 0;
  color: #585858;
  font-family: "Open Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  text-align: start;
}

.practica {
  background: linear-gradient(to bottom, #36563d 85%, white 15%);
  padding: 60px 0;
}

.practica h2 {
  max-width: 649px;
  margin: 0 auto;
  color: #FFF;
  text-align: center;
  font-family: Montserrat;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 40px;
  margin-top: 40px;
  margin-bottom: 60px;
  opacity: 0;
  animation: fadeIn 2s forwards;
}

/*noticias*/
.news-section {
  padding-top: 50px;
  margin: 0 auto;
  max-width: 1100px;
  background-color: white;
  /* Change the background color to white */
}

.news-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.news-card {
  background-color: white;
  box-shadow: 0px 1px 4.2px 2px rgba(0, 0, 0, 0.20);
  overflow: hidden;
  transition: transform 0.2s;
  width: 339px;
  height: 385px;
  padding: 20px 20px 0 20px;
  margin-bottom: 50px;
  position: relative;
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
}

.news-date {
  color: #585858;
  font-family: "Open Sans";
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 12px;
}

.news-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 114px;
  height: 28px;
  background-color: #C1531B;
  color: #FAF7E6;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.news-button:hover {
  background-color: #fc6920;
}

.news-title {
  color: #36563D;
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 10px;
  margin-bottom: 10px;
}

.news-summary {
  margin-bottom: 0;
  color: #585858;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 17px;
}

/*noticia_01*/
.news-content {
  max-width: 1110px;
  background-color: white;
  margin: 0 auto;
  padding: 40px 20px;
}

.news-content .news-date {
  font-size: 14px;
  line-height: 14px;
  float: right;
}

.news-content .news-title {
  font-size: 30px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 20px;
}

.news-article {
  color: #585858;
  font-family: "Open Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}

.news-article p {
  margin-bottom: 20px;
}

.news-article img {
  max-width: 1006px;
  height: 366px;
  object-fit: cover;
  margin: 20px auto;
  border-radius: 11px;
  width: 100%;
  display: block;
}

.news-divider {
  border: none;
  border-top: 3px solid #999999;
  margin: 40px 0;
  border-radius: 10px;
}

.related-articles h2 {
  color: #36563D;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 20px;
}

.related-articles h3.news-title {
  font-size: 20px;
  font-weight: 700;
  text-align: start;
}

.related-articles .news-card img {
  width: 297px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

/* Center the back button */
.back-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
  margin-bottom: 0;
  padding-bottom: 40px;
}

.back-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.back-button:hover {
  color: #fd733c;
}

.back-button span {
  margin-top: 10px;
  font-weight: 600;
}

/*contacto*/
.contact-info {
  background: linear-gradient(to bottom, #36563d 60%, white 40%);
  width: 100%;
}

.contact-info-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Center the cards */
  gap: 20px;
  /* Further increased gap to separate the cards more */
  /* padding: 20px; */
  width: 90%;
  margin: 0 auto;
}

.contact-form-card {
  width: 70%;
}

.contact-info-card {
  width: 20%;
}

.contact-info-card,
.contact-form-card {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 0px;
  padding: 30px;
  height: auto;
  /* Add height to the cards */
  min-height: 400px;
  /* Increased minimum height */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 60px;
  /* Move the cards down */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* Added transition for transform and box-shadow */
}

.contact-form-card {
  padding: 30px 60px;
}

.contact-info-card:hover,
.contact-form-card:hover {
  transform: translateY(-10px);
  /* Move the card up on hover */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  /* Enhanced drop shadow on hover */
}

.contact-info-card h3,
.contact-form-card h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #585858;
  font-family: "Open Sans";
  font-weight: 600;
}

.contact-info-card p,
.contact-form-card p {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #585858;
  font-family: "Open Sans";
  font-weight: 400;
}

.contact-info-card p>strong {
  font-weight: 600;
}

.contact-info-card p:hover {
  color: #C1531B;
}

.contact-form-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  /* Add white background to the form card */
  animation: fadeIn 1s ease-in-out;
  /* Added fade-in animation */
}

.contact-form-card label {
  margin-bottom: 5px;
  line-height: 1.6;
  /* Added line-height for better interlineado */
}

.contact-form-card input,
.contact-form-card textarea {
  border: 1px solid #34563D;
  color: #5A5A5A;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 4px;
  width: 100%;
  /* Ensure inputs take full width */
  box-sizing: border-box;
  /* Include padding and border in element's total width and height */
}

.contact-form-card textarea {
  height: 181px;
}

.contact-form-card input[type=submit] {
  padding: 0;
  background-color: #c1531b;
  color: #FAF7E6;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  /* Added transition for box-shadow */
  margin-top: 1rem;
  width: 156px;
  height: 38px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  /* Added drop shadow */
  font-family: Montserrat;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.contact-form-card input[type=submit]:hover {
  background-color: #9e4216;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  /* Enhanced drop shadow on hover */
}

.contact-info-card img {
  transition: transform 0.3s ease, filter 0.3s ease;
  /* Added transition for transform and filter */
}

.contact-info-card img:hover {
  transform: scale(1.1);
  /* Scale up the icon on hover */
  filter: brightness(1.2);
  /* Brighten the icon on hover */
}

.contact-form-card-title {
  color: #751010;
  /* Change the text color to black */
  font-size: 1.5rem;
  /* Different font size for the form h2 */
  font-weight: bold;
  /* Make the form h2 bold */
  margin-bottom: 1rem;
  /* Add margin below the form h2 */
}

.contact-info-container>p {
  color: #ffffff;
  /* Change the text color */
}

/* Keyframes for fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.timeline-item img.punto-naranja-derecha {
  width: 85px;
  height: 85px;
  border-radius: 0;
  position: absolute;
  right: 85px;
  top: -20px;
}

.timeline-item img.punto-naranja-izquierda {
  width: 85px;
  height: 85px;
  border-radius: 0;
  position: absolute;
  left: 85px;
  bottom: -20px;
}

.timeline-item img.punto-naranja-derecha2 {
  width: 85px;
  height: 85px;
  border-radius: 0;
  position: absolute;
  right: 85px;
  bottom: -20px;
}

.timeline-item img.punto-naranja-izquierda2 {
  width: 85px;
  height: 85px;
  border-radius: 0;
  position: absolute;
  left: 85px;
  top: -20px;
}

img.timeline-estilos {
  width: 700px;
  height: auto;
  border-radius: 0;
  margin-top: 20px;
  margin-bottom: 20px;
}

.timeline-text-3 {
  font-size: 18px;
}

.video-box {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#video {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.play-button {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #C1531B;
  border: none;
  color: white;
  width: 60px;
  height: 60px;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.play-button:hover {
  background-color: #9e4216;
}