@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600');

body {
  background: #ffffff;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/*---------------------------------------
    TYPOGRAPHY
-----------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: inherit;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -1px;
}

h5 {
  font-weight: 500;
}

h1 {
  color: #252525;
  font-size: 5em;
}

h2 {
  color: #272727;
  font-size: 3em;
  padding-bottom: 10px;
}

h3 {
  font-size: 1.8em;
  line-height: 1.2em;
  margin-bottom: 0;
}

h4 {
  color: #454545;
  font-size: 1.8em;
  padding-bottom: 2px;
}

h6 {
  letter-spacing: 0;
  font-weight: normal;
}

p {
  color: #757575;
  font-size: 14px;
  font-weight: normal;
  line-height: 24px;
}


/*---------------------------------------
    GENERAL
-----------------------------------------*/

html {
  -webkit-font-smoothing: antialiased;
}

a {
  color: #252525;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none !important;
}

a:hover,
a:active,
a:focus {
  color: #a5c422;
  outline: none;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  background: #000000;
}

.section-title {
  padding-bottom: 20px;
}

.section-title h2 {
  margin-top: 0;
}

.section-btn {
  background: #a5c422;
  border: 0;
  border-radius: 3px;
  color: #ffffff;
  font-size: inherit;
  font-weight: 500;
  padding: 14px 20px;
  transition: transform 0.1s ease-in;
  transform: translateX(0);
}

.section-btn:hover {
  transform: translateY(-5px);
}

.text-align-right {
  text-align: right;
}

.text-align-center {
  text-align: center;
}

.border-top {
  border-top: 1px solid #f2f2f2;
  margin-top: 4em;
  padding-top: 2.5em;
}

.btn-gray {
  background: #393939;
}

.btn-blue {
  background: #4267b2;
}

.news-thumb {
  background: #ffffff;
  border-radius: 10px;
}

.news-thumb img {
  border-radius: 10px 10px 0 0;
}

.news-info {
  padding: 30px;
  text-align: left;
}

.news-info span {
  display: block;
  letter-spacing: 0.5px;
}

.news-info h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.author {
  border-top: 1px solid #f0f0f0;
  padding-top: 1.5em;
  margin-top: 2em;
}

.author img,
.author .author-info {
  display: inline-block;
  vertical-align: top;
}

.author-info h5 {
  margin-bottom: 0;
}

.author img {
  border-radius: 100%;
  width: 50px;
  height: 50px;
  margin-right: 10px;
}


#team,
#news,
#news-detail {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

#news,
#service {
  text-align: center;
}

/*---------------------------------------
      PRE LOADER
-----------------------------------------*/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  background: none repeat scroll 0 0 #ffffff;
}

.spinner {
  border: 1px solid transparent;
  border-radius: 3px;
  position: relative;
}

.spinner:before {
  content: '';
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 45px;
  height: 45px;
  margin-top: -10px;
  margin-left: -10px;
  border-radius: 50%;
  border: 1px solid #575757;
  border-top-color: #ffffff;
  animation: spinner .9s linear infinite;
}

@-webkit-@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}



/*---------------------------------------
    MENU
-----------------------------------------*/

header {
  background: #ffffff;
  border-bottom: 1px solid #f2f2f2;
  display: flex;
  height: 45px;
}

header .col-md-8 {
  padding-right: 0;
}

header p,
header span {
  font-size: 12px;
  line-height: 24px;
  padding-top: 12px;
}

header a,
header span {
  color: #747474;
}

header span {
  font-weight: 500;
  display: inline-block;
  padding: 11px 15px;
}

header span.date-icon {
  border-left: 1px solid #f2f2f2;
  border-right: 1px solid #f2f2f2;
  padding-right: 19px;
  padding-left: 19px;
}

header span i {
  color: #a5c422;
  margin-right: 5px;
}



/*---------------------------------------
    MENU
-----------------------------------------*/

.navbar-default {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .075);
  border: none;
  margin-bottom: 0;
  padding: 10px;
}

.navbar-default .navbar-brand {
  color: #393939;
  font-weight: 500;
}

.navbar-default .navbar-brand .fa {
  color: #a5c422;
}

.navbar-default .navbar-nav li.appointment-btn {
  margin: 3px 0 0 20px;
}

.navbar-default .navbar-nav li.appointment-btn a {
  background: #a5c422;
  border-radius: 3px;
  color: #ffffff;
  font-weight: 600;
  padding-top: 12px;
  padding-bottom: 12px;
}

.navbar-default .navbar-nav li.appointment-btn a:hover {
  background: #4267b2;
  color: #ffffff !important;
}

.navbar-default .navbar-nav li a {
  color: #555555;
  font-size: 12px;
  font-weight: 500;
  padding-right: 20px;
  padding-left: 20px;
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.navbar-default .navbar-nav>li a:hover {
  color: #393939 !important;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus {
  color: #555555;
  background-color: transparent;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  color: #393939;
  background-color: transparent;
}

.navbar-default .navbar-toggle {
  border: none;
  padding-top: 10px;
}

.navbar-default .navbar-toggle .icon-bar {
  background: #393939;
  border-color: transparent;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: transparent;
}



/*---------------------------------------
    HOME
-----------------------------------------*/

#home h1 {
  color: #ffffff;
  padding-bottom: 10px;
  margin-top: 0;
}

#home h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: normal;
  line-height: inherit;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0;
}

.slider .container {
  width: 100%;
}

.slider .owl-dots {
  position: absolute;
  top: 575px;
  width: 100%;
  justify-content: center;
}

.owl-theme .owl-dots .owl-dot span {
  width: 8px;
  height: 8px;
  margin: 5px 7px;
  border: 2px solid #d9d9d9;
  background: transparent;
  display: block;
  -webkit-backface-visibility: visible;
  transition: opacity 200ms ease;
  border-radius: 30px;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #ffffff;
  border-color: transparent;
}

.slider .caption {
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  background-color: rgba(20, 20, 20, 0.2);
  height: 100%;
  color: #fff;
  cursor: e-resize;
}

.slider .item {
  background-position: inherit;
  background-repeat: no-repeat;
  background-attachment: local;
  background-size: cover;
  height: 100vh;
  min-height: 600px;
}

.slider .item-second {
  background-image: url(../images/fondo-ecosistema.jpg);
}

.slider .item-third {
  background-image: url(../images/nature.jpg);
}


/*---------------------------------------
    ABOUT
-----------------------------------------*/

#about {
  background-size: cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
}

@media only screen and (max-width: 767px) {
  #about {
    height: auto;
    min-height: auto;
    display: block;
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

#about .vertical-center-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.about-image {
  text-align: right;
  width: 100%;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.about-image img {
  display: inline-block;
  max-width: 90%;
  width: 65%;
}

.about-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px; /* Bordes redondeados modernos */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra suave */
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid transparent;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-bottom: 4px solid #a5c422;
}

.about-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.about-logo img {
    max-height: 140px;
    width: auto;
    margin: 0 auto;
}

/* Estilo del Título */
.about-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-card h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #a5c422;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8; /* Más espacio entre líneas para leer mejor */
    color: #666;
    margin-bottom: 15px;
}

#about h6 {
  color: #858585;
  margin: 0;
}

@media only screen and (max-width: 992px) {

  #about .vertical-center-row {
    display: block;
  }

  .about-image {
    text-align: center;
    margin-top: 40px;
  }

  .about-image img {
    width: 70%;
  }
}


/*---------------------------------------
    SERVICE
-----------------------------------------*/

#service {
  background: #a5c422;
}

#service h2,
#service h4 {
  color: #ffffff;
}

#service p {
  color: #d9d9d9;
}

#service .service-thumb {
  padding: 0 22px;
}

#service .fa {
  font-size: 50px;
  margin-bottom: 10px;
  background: #ffffff;
  color: #a5c422;
  width: 120px;
  height: 120px;
  line-height: 120px;
  border-radius: 100%;
}


/*---------------------------------------
    NEWS & NEWS DETAIL
-----------------------------------------*/

#news,
#news-detail {
  background: #f9f9f9;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 80px;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

#news-detail blockquote {
  margin: 30px 0;
  padding: 20px;
  border-left: 5px solid #a5c422;
  background: #fff;
  font-style: italic;
  color: #555;
}

.news-detail-thumb .news-image img {
  border-radius: 10px;
  width: 100%;
  height: auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-detail-thumb h3 {
  margin-bottom: 15px;
  margin-top: 25px;
  font-weight: 600;
}

.news-image {
  margin-bottom: 30px;
  position: relative;
}

.news-detail-thumb ul {
  margin: 20px 0;
  padding-left: 20px;
}

.news-detail-thumb ul li {
  list-style: none;
  font-weight: normal;
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
}

.news-detail-thumb ul li::before {
  content: '•';
  color: #a5c422;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

.news-sidebar {
  margin-top: 16px;
  position: sticky;
  top: 90px;
}

.news-author,
.recent-post {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 30px;
}

.news-social-share {
  text-align: center;
  padding-top: 22px;
}

.news-social-share .btn {
  border-radius: 50px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  margin: 5px;
  padding: 8px 18px;
  transition: transform 0.2s;
}

.news-social-share .btn:hover {
  transform: translateY(-3px);
}

.news-social-share .btn-primary {
  background: #3b5998;
}

.news-social-share .btn-success {
  background: #1da1f2;
}

.news-social-share .btn-danger {
  background: #dd4b39;
}

.news-social-share a .fa {
  padding-right: 6px;
}

.recent-post {
  padding-top: 20px;
  padding-bottom: 20px;
}

.recent-post .media {
  margin-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 15px;
}

.recent-post .media:last-child {
  border-bottom: none;
}

.recent-post .media img {
  border-radius: 10px;
  width: 70px;
  height: 70px;
  margin-right: 15px;
  object-fit: cover;
}

.recent-post .media-heading {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 0;
}

.recent-post .media-heading a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.recent-post .media-heading a:hover {
  color: #a5c422;
}

/* --- TAGS & CATEGORÍAS --- */
.news-tags h4 {
  padding-bottom: 15px;
}

.news-categories li,
.news-tags li {
  list-style: none;
  display: inline-block;
  margin: 0 4px 8px 0;
}

.news-tags li a {
  background: #fff;
  border: 1px solid #ddd;
  color: #555;
  border-radius: 50px;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 14px;
  transition: all 0.3s ease;
}

.news-tags li a:hover {
  background: #a5c422;
  border-color: #a5c422;
  color: #ffffff;
}

@media only screen and (max-width: 767px) {
  .news-sidebar {
    margin-top: 40px;
    position: static;
  }

  #news,
  #news-detail {
    padding-top: 60px;
  }
}

/*---------------------------------------
    APPOINTMENT
-----------------------------------------*/
#appointment label {
  color: #393939;
  font-weight: 500;
}

#appointment .form-control {
  background: #f9f9f9;
  border: none;
  border-radius: 3px;
  box-shadow: none;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 15px;
  transition: all ease-in-out 0.4s;
}

#appointment input,
#appointment select {
  height: 45px;
}

#appointment button#cf-submit {
  background: #a5c422;
  color: #ffffff;
  font-weight: 600;
  height: 55px;
}

#appointment button#cf-submit:hover {
  background: #393939;
  color: #ffffff;
}

#appointment {
  padding-top: 100px;
  height: auto;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #f9f9f9;
}

.team-card {
  background: #ffffff;
  padding: 30px 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
  border-bottom: 3px solid transparent;
}

.team-card:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid #a5c422;
}

.team-icon {
  display: inline-block;
  width: 80px;
  height: 80px;
  line-height: 80px;
  background: #a5c422;
  color: #ffffff;
  border-radius: 50%;
  font-size: 32px;
  margin-bottom: 20px;
}

.team-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.team-content .role {
  display: block;
  font-size: 14px;
  color: #a5c422;
  /* Texto verde */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.team-content p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}


/*---------------------------------------
    FOOTER
-----------------------------------------*/

footer {
  padding-bottom: 40px;
}

footer h4 {
  padding-bottom: 5px;
}

footer a {
  color: #757575;
}

footer a:hover {
  color: #4267b2;
}

.contact-info {
  padding-top: 10px;
}

.contact-info .fa {
  background: #393939;
  border-radius: 100%;
  color: #ffffff;
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  margin-right: 5px;
  margin-bottom: 2px;
}

.latest-stories {
  margin-bottom: 20px;
}

.stories-image,
.stories-info {
  display: inline-block;
  vertical-align: top;
}

.stories-image img {
  border-radius: 100%;
  width: 65px;
  height: 65px;
}

.stories-info {
  margin-left: 15px;
}

.stories-info h5 {
  margin-bottom: 2px;
}

.stories-info span {
  color: #858585;
  font-size: 12px;
}

.opening-hours p {
  line-height: 18px;
}

.opening-hours span {
  font-weight: 500;
  display: inline-block;
  padding-left: 10px;
}

.copyright-text p,
.footer-link a {
  color: #858585;
  font-size: 12px;
  font-weight: 500;
}

.footer-link a {
  font-size: 12px;
  display: inline-block;
  padding: 0 10px;
  margin-top: 4px;
}

.angle-up-btn {
  position: relative;
  bottom: 4em;
  display: block;
}

.angle-up-btn a {
  background: #ffffff;
  border: 1px solid #f2f2f2;
  border-radius: 3px;
  font-size: 20px;
  color: #393939;
  display: inline-block;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 38px;
  transition: transform 0.1s ease-in;
  transform: translateX(0);
}

.angle-up-btn a:hover {
  background: #4267b2;
  color: #ffffff;
  transform: translateY(-5px);
}


/*---------------------------------------
    SOCIAL ICON
-----------------------------------------*/

.social-icon {
  position: relative;
  padding: 0;
  margin: 0;
}

.social-icon li {
  display: inline-block;
  list-style: none;
}

.social-icon li a {
  border-radius: 100px;
  color: #464646;
  font-size: 15px;
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-decoration: none;
  text-align: center;
  transition: all 0.4s ease-in-out;
  position: relative;
}

.social-icon li a:hover {
  background: #4267b2;
  color: #ffffff;
}


/*---------------------------------------
    RESPONSIVE STYLES
-----------------------------------------*/

@media only screen and (max-width: 1200px) {
  h1 {
    font-size: 4em;
  }

  h2 {
    font-size: 2.5em;
  }

  h3 {
    font-size: 1.5em;
  }

  header {
    height: inherit;
  }

  header span.date-icon {
    border: 0;
    padding-right: 0;
    padding-left: 0;
  }

  header span.email-icon {
    padding-top: 0;
  }

  .navbar-default .navbar-nav li a {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media only screen and (max-width: 992px) {
  .slider .item {
    background-position: center;
  }

  header {
    padding-bottom: 10px;
  }

  header .text-align-right {
    text-align: left;
  }

  header span {
    padding-top: 0;
    padding-left: 0;
    padding-bottom: 0;
  }
}

@media only screen and (max-width: 767px) {

  .navbar-default .navbar-collapse,
  .navbar-default .navbar-form {
    border-color: transparent;
  }

  .navbar-default .navbar-nav li.appointment-btn {
    margin-left: 15px;
  }

  .navbar-default .navbar-nav li a {
    display: inline-block;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .news-sidebar {
    margin-top: 2em;
  }

  #appointment-form {
    padding-top: 4em;
    padding-bottom: 4em;
  }

  footer {
    padding-top: 60px;
    padding-bottom: 0;
  }

  .footer-thumb {
    padding-bottom: 10px;
  }

  .border-top {
    text-align: center;
  }

  .copyright-text {
    margin-top: 10px;
  }

  .angle-up-btn {
    bottom: 10em;
  }
}

@media only screen and (max-width: 639px) {
  h1 {
    font-size: 3em;
    line-height: 1.2em;
  }

  h2 {
    font-size: 2.1em;
  }

  h4 {
    font-size: 1.4em;
  }

  #home h3 {
    font-size: 11px;
    letter-spacing: 1px;
  }

}