html {
  scroll-behavior: smooth;
}

body {
    background-color: #0C2C2C !important;
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif !important;
}
/*Para hacer una seccion 100%*/
.h-100dvh {
  height: 100dvh;
}
.navbar-toggler{
  background-color: #00b289 !important;
  border: none !important;
}
.navbar-toggler:focus{
  box-shadow: none !important;
}


.navbar-nav .nav-item > .nav-link {
  font-size: 15px;
  letter-spacing: 2px;
  color: #04A383;
  font-weight: 400;
  position: relative;
  z-index: 1;
  text-decoration: none;
  transition: color 0.3s ease;
}
.navbar-nav .nav-item > .nav-link::before {
  position: absolute;
  content: "";
  width: calc(100% - 1px);
  height: 1px;
  background: #04A383;
  bottom: -6px;
  left: 0;
  transform: scale(0, 1);
  transform-origin: right center;
  transition: transform 0.3s ease;
}
.navbar-nav .nav-item > .nav-link:hover::before,
.navbar-nav .nav-item > .nav-link.active::before {
  transform: scale(1, 1);
  transform-origin: left center;
}

.navbar-nav .dropdown-menu{
  background-color: #04A383;
}
.navbar-nav .dropdown-menu .dropdown-item {
  color: #fff; 
  transition: background-color 0.3s ease; 
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #0C2C2C; 
  color: #fff;
}

nav li a {
    color: white !important;
}
.navbar-nav .nav-item {
    margin-right: 25px; 
}

.navbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.42, 0, 0.58, 1), opacity 0.5s ease;
}

.navbar-scrolled {
  background-color: rgba(0, 0, 0, 0.7) !important;
  transition: background-color 0.8s cubic-bezier(0.42, 0, 0.58, 1);
}

/*Hero section*/
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100dvh !important; 
  flex-direction: column;
  margin-top: -60px;
}
.text {
  margin-top: 0; 
}


.hero .green {
    color: #04A383;
    padding: 2px;
}
.green{
    color:#04A383 !important;
}

.hero .white {
    color: white;
    padding: 2px;
}
.white{
  color: white !important;
  padding: 2px;
}
.hero h1{
    font-size: 3.5rem;
    font-weight: bolder;
}
.font-weight-bolder{
  font-weight: bolder;
}
.hero p{
    font-size: large;
    color: #F7F6F6;
    font-family: 'Montserrat', sans-serif;
}

.text{
    width: 800px;
    margin: 0 auto;
    text-align: left;
}
.fim{
    font-size: 1.5rem;
    color: white;
  }
  .fim:hover{
    color: #00b894;
  }
  .lgs{
    margin-left: 20px;
    margin-bottom: 15px;
  }
  footer ul li a {
    font-size: 16px;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
  }
  footer ul li a:hover {
    color: #00b894 !important;
  }
  .lgs a::before {
    content: ""; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px; 
    height: 35px;
    background-color: #00b894;
    border-radius: 50%; 
    z-index: -1; 
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .lgs a:hover::before {
    background-color: #ffffff;
  }
  
  .lgs a i {
    font-size: 20px;
    color: #ffffff;
    transition: color 0.3s ease;
  }
  
  .lgs a:hover i {
    color: #00b894; 
  }



.btn-contact {
    background-color: #00b894;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    margin-top: 20px;
    font-weight: bold;
    border-color: #00b894;
    border-width: 3px;
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

.btn-contact:hover {
    background-color: #0C2C2C;
    color: #fff;
}

/* Mision y Vision */
.custom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
  }

  .custom-card {
    background-color: #1b8e73;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    height: auto;
  }
  .custom-card p{
    font-size: large;
    font-family: 'Montserrat', sans-serif;
  }
  
  .custom-card h3 {
    font-size: 2.2rem;
    font-weight: bold;

  }
  .custom-card .white {
    color: white;
    padding: 2px;
  }
  .custom-card .green {
    color: #0C2C2C;
    padding: 2px;
  }
  .custom-svg {
    max-width: 400px;
  }

  .reverse-order {
    flex-direction: row-reverse;
  }

  @media (max-width: 768px) {
    .custom-container {
      flex-direction: column;
      text-align: center;
    }

    .reverse-order {
      flex-direction: column;
    }

    .custom-svg {
      margin-bottom: 20px;
    }
  }

/* Valores */
.values-section {
  text-align: center;
  margin: 50px 0;
}

.values-section .green-h2{
  font-weight: bold;
  color: #1b8e73;
  font-size: 3rem;
}
.white-span  {
    font-weight: bold;
    color: #ffffff;
    font-size: 3rem;
  }

.values-section p {
    font-size: large;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
}

.value-card {
  background-color: #111;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  color: #ffffff;
}

.value-card h4 {
  font-weight: bold;
  margin-top: 15px;
}

.value-card p {
  color: #c0c0c0;
}

.value-card i {
  font-size: 2.3rem;
  color: #1b8e73;
}
/* Idea section */
.idea-section {
    background-color: #1b8e73;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 50px auto;
    max-width: 1200px;
  }

  .idea-content {
    max-width: 600px;
  }

  .idea-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
  }
  .idea-title .idea-green{
    color: #0C2C2C;
  }

  .idea-description {
    font-size: large;
    font-family: 'Montserrat', sans-serif;
    margin: 20px 0;
    color: white;
  }

  .idea-button {
    background-color: #0C2C2C;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    margin-top: 20px;
    font-weight: bold;
    border-color: #0C2C2C;
    max-width: 300px;
    border-width: 3px;
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .idea-button:hover {
    background-color: #00b894;
    color: #fff;
  }

  .idea-image {
    max-width: 400px;
  }




  @media (max-width: 768px) {
    .idea-section {
      flex-direction: column;
      text-align: center;
    }

    .idea-image {
      margin-top: 20px;
    }
  }

/*Servicios*/
  .service-section {
    display: none;
}
.service-green{
  color: #1b8e73;
}
.service-section.active {
    display: block;
}
.nav-pills .nav-link.active{
  background-color: #04A383 !important;
}
.service-section {
  display: none;
}

.service-section.active {
  display: block;
}
.card-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.card-content img {
  width: 40%;
  height: 300px;
  border-radius: 8px;
  border: 2px solid white;
  object-fit: cover; 
  object-position: center; 
}


.card-content div {
  width: 30%;
}

.card p {
  margin-top: 1rem;
}

.card {
  margin: 20px 0;
  background-color: #0C2C2C !important;
  border: none !important;
}

/*Equipo*/
.carousel .card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #0C2C2C;
  border-radius: 80%;
  width: 40px !important;
  height: 40px !important;
  background-size: 60% !important;
}
.card-img {
  overflow: hidden !important; 
  height: 100% !important; 
  width: 100% !important; 
}

.carousel-item {
  display: flex;
  justify-content: center;
}

.equipo{
  background-color: #1B8E73;
}
.card-img img {
  object-fit: cover !important; 
  width: 100% !important;       
  height: 100% !important;     
  border-radius: 50px !important; 
  object-position: center !important;
}
.equipo-green{
  color: #0C2C2C;
}

footer .green{
  font-size: large;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}

.bouncing-button {
  position: absolute;
  bottom: 20px; 
  left: 50%; 
  transform: translate(-50%, 0) !important;
  text-decoration: none;
  z-index: 10;
}


.bouncing-button .circle {
  width: 50px;
  height: 50px;
  background-color: #00b894; 
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  animation: bounce 1.5s infinite;
}


.arrow-down {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid #fff;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
  }
  40% {
      transform: translateY(-10px);
  }
  60% {
      transform: translateY(-5px);
  }
}

/* Beneficios section */
.beneficio-img {
  max-width: 400px;
  max-height: 300px;
}

@media (max-width: 768px) {

  .beneficio-img {
    margin-top: 20px;
  }
}
.image-container {
  width: 100%;
  height: 300px !important;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-img-top {
  width: 90% !important;
  height: 100%;
  object-fit:contain;
}

/* Clientes */
.idea-title .clientes-green{
  color: #1b8e73;
}

/*Equipo*/
.team-card {
  text-align: center;
  margin-bottom: 2rem;
}
.team-card img {
  border: 3px solid #00b289;
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit:cover;
  margin-bottom: 1rem;
}
.team-card h5 {
  font-size: 1.25rem !important;
  font-weight: bold;
}
.team-card p {
  margin-bottom: 0.5rem;
  color: #b0b0b0;
}
.team-card a {
  color: #00b289;
  font-size: 1.5rem;
}
.team-card a:hover {
  color: #ffffff;
}
/*Colaboradores */
.collaborators-title {
  text-align: center;
  margin: 40px 0;
  font-size: 2rem;
}

.collaborator-container.izquierda {
  left: 0;
}

.collaborator-container.derecha {
  right: 0;
  transform: scaleX(-1);
  animation: fadeLeft 1.5s ease forwards;
  position: relative;
  opacity: 0;
}
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: scaleX(-1) translateX(-20%);
  }
  to {
    opacity: 1;
    transform: scaleX(-1) translateX(0);
  }
}

.collaborator-card.izquierda, .collaborator-card.derecha{
  width: 50%;
  background-color: #00b894;
  border-radius: 10px;
  padding: 5px;
  color: #fff;
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.flip{
    -moz-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

.collaborator-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 10px;
  object-fit:cover;
}

.collaborator-card h4 {
  font-size: 1.2rem;
  margin: 10px 0 5px;
}

.collaborator-card p {
  font-size: 0.9rem;
  margin: 5px 0;
}

.linkedin-logo {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-top: 10px;
}

.linkedin-logo img {
  width: 100%;
  height: auto;
}

.btn-link{
  color: #0C2C2C;
  font-size: 1.5rem;
}
.btn-link:hover{
  color: #fafafa;
}

.sub-title{
  font-size: 1.25rem;
  font-weight: bold;
}
.oscuro{
  color: #0C2C2C;
}

.lgs a {
  position: relative;
  display: inline-block; 
}

.colab-desc{
  font-size: medium;
  color: #F7F6F6;
  font-family: 'Montserrat', sans-serif;
}

/* Contactanos */
.contact-section {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  color: white;
  align-items: stretch;
}

.contact-info {

  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info .card {
  display: flex;
  align-items: center;
  background-color: #111 !important;
  padding: 20px;
  border-radius: 8px;
}

.contact-info .card .icon {
  font-size: 2.5rem;
  color: #00b894;
  margin-right: 15px;
}

.contact-form {
  background-color: #00b894;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  margin-top: 20px;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  border-radius: 4px;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-form textarea {
  resize: none;
  height: 100px;
}

.contact-form .submit-btn {
  margin-top: 15px;
  background-color: #002b36;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form .submit-btn:hover {
  background-color: #012d34;
}

.collaborator-container a :hover{
  color: white;
}


/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
    font-size: 14px;
  }

  .hero {
    height: auto !important;
    margin-top: 0;
    padding: 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
  .circle{
    display: none !important;
  }
  .white{
    font-size: 1.5rem !important;
  }
  .hero p {
    font-size: 1rem !important;
    width: auto;
    margin: 10px auto;
    text-align: center;
  }
  .green{
    font-size: 1.5rem !important;
  }

  .text {
    margin: 0 auto;
    width: auto;
    padding: 10px;
  }

  /* Navbar */
  .navbar-nav .nav-item {
    margin-right: 10px;
  }
  .navbar-toggler{
    background-color: #00b289 !important;
    border: none !important;
  }

  .navbar-nav .nav-item > .nav-link {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .con{
    text-align: center;
  }

  .pro{
    text-align: center;
  }
  .navbar-nav .dropdown-menu {
    font-size: 14px;
  }

  .h-100dvh {
    height: auto;
  }

  .green {
    font-size: 1rem;
  }

  .white {
    font-size: 1rem;
  }

  .navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(0, 0, 0, 0.9);
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  .navbar-hidden,
  .navbar-scrolled {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  .custom-container {
    flex-direction: column;
    margin-bottom: 30px;
  }

  .custom-card {
    width: 90%;
    margin-bottom: 20px;
    padding: 15px;
  }

  .custom-svg {
    width: 90%;
    margin: 0 auto;
  }

  .custom-card h3 {
    font-size: 1.5rem;
  }

  .custom-card p {
    font-size: 1rem;
  }

  .values-section {
    margin: 30px 0;
  }

  .values-section .green-h2,
  .white-span {
    font-size: 1.5rem !important;
  }

  .values-section p {
    font-size: 1rem;
  }


  .idea-section {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }

  .idea-content {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .idea-title {
    font-size: 1.8rem;
  }

  .idea-description {
    font-size: 1rem;
  }

  .idea-button {
    font-size: 0.9rem;
    padding: 8px 16px;
    margin-top: 15px;
  }

  .idea-image {
    max-width: 90%;
    margin: 0 auto;
  }

  /* Services Section */
  .service-section {
    padding: 10px;
  }

  .card-content {
    flex-direction: column;
    gap: 10px;
  }

  .card-content img {
    width: 200px !important;
    height: 200px !important;
    height: auto;
  }

  .card-content div {
    width: 90%;
    text-align: center;
  }

  .card p {
    font-size: 0.9rem;
  }


  .carousel .card {
    width: 90%;
    margin: 10px auto;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 30px !important;
    height: 30px !important;
  }

  .card-img img {
    border-radius: 20px !important;
  }
  .collaborators-title {
    margin: 20px 0;
    font-size: 1.5rem;
  }

  .collaborator-container.derecha {
    position: relative;
    animation: fadeLeft 1.5s ease forwards; 
    opacity: 0; 
  }

  .collaborator-card.izquierda,
  .collaborator-card.derecha {
    width: 90%; 
    margin: 10px auto;
    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%); 
    padding: 10px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #00b894; 
  }

  .collaborator-card img {
    width: 80px; 
    height: 80px;
    margin-bottom: 10px;
    object-fit: cover; 
  }
  .ar{
    margin-top: 60px;
  }

  .collaborator-card h4 {
    font-size: 1rem; 
    margin: 5px 0;
  }

  .collaborator-card p {
    font-size: 0.8rem; 
  }

  .collaborator-container.derecha {
    transform: scaleX(-1); 
    animation: fadeLeft 1.5s ease forwards; 
  }

  body .team-section{
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding: 0 !important;
  }
}