/* Reset básico */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
}

/* Estilo del botón */
#scrollToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 10px;
  background-color: #146d12;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  line-height: 10px;
  cursor: pointer;
  display: none;
  transition: opacity 0.3s, transform 0.3s ease;
  border-radius: 100%;
}

#scrollToTopBtn:hover {
  background-color: #053405;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  #scrollToTopBtn {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

/* Menu */
header {
  width: 100%;
}

.menu-bar {
  background-color: #f7f7f7;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-top: 50px solid #0f610e;
  position: fixed;
  width: 100%;
  z-index: 10;
  padding: 10px 0;
}

.menu-bar nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.nav-links li a {
  text-decoration: none;
  font-size: 17px;
  color: #333;
  font-weight: 500;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: #0f610e;
  border-bottom: 2px solid #0f610e;
}

.phone-number a {
  font-size: 17px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 0px;
}

.menu-toggle .bar {
  height: 3px;
  width: 25px;
  background-color: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .menu-toggle .bar {
    margin: 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    z-index: 5;
    justify-content: center;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li a:hover {
    border-bottom: none;
  }
}

/* Banner principal */
.hero-section {
  background-image: url('../img/about-us3.jpg');
  background-size: cover;
  background-position: center 20%;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
}

.hero-section h1 {
  font-size: 48px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #f0f5ff;
}

/* About Us */

.about-info {
    width: 100%;
    padding: 50px;
    background-color: #ffffff;
    text-align: center;
}


.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.about-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.about-text, .about-image {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}

.about-image img {
    width: 90%;
    border-radius: 10px;
}

.features {
    margin-top: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.features ul {
    list-style: none;
    padding-left: 0;
}

.features ul li {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}


.centered-title-container {

  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  padding: 20px;
}

h2.services-title {
  font-size: 40px;
  color: #011304;
  position: relative;
  margin: 40px;
}

h2.services-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background-color: #0eb91a;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Footer */

.footer {
  background-color: #013a1b;
  color: #ffffff;
  padding: 60px 0 30px;
}

.container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 0 15px 30px 15px;
}

.footer-logo {
  font-size: 36px;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-logo span {
  color: #00cc41;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-section p,
.footer-section a {
  font-size: 16px;
  color: #ffffff;
  line-height: 1.6;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 20px;
}

.social-icon {
  display: inline-block;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 38px;
  margin-right: 10px;
  color: #ffffff;
  transition: all 0.3s;
  overflow: hidden;
}

.social-icon:hover {
  background-color: #ffffff;
  color: #00662e;
}

.social-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  background-color: #238040;
  padding: 20px 0;
  text-align: center;
  margin-top: 30px;
}

.footer-bottom p {
  margin: 0;
  font-size: 16px;
  color: #ffffff;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-bar {
    width: 100%;
  }

  .about-row {
    flex-direction: column;
    align-items: center;
  }

            
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text,
  .features {
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  .about-image img {
    max-width: 90%;
  }

  .container {
    flex-direction: column;
  }

  .footer-section {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .nav-links li a {
    font-size: 16px;
  }

  .hero-section {
    height: 300px;
  }

  .hero-section h1 {
    font-size: 28px;
  }

  .about-info h2 {
    font-size: 28px;
  }

  .price {
    font-size: 36px;
  }

  .footer-logo {
    font-size: 28px;
  }
}
