﻿/*

Template 2075 Digital Team

http://www.tooplate.com/view/2075-digital-team

*/



body {
    background: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    position: relative;
  }


.fisioterapia-section {
    display: flex;
    align-items: center;
    text-align: justify;
    justify-content: center;
    text-justify: inter-word;
    gap: 30px; /* espacio entre imagen y texto */
    margin: 40px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.fisioterapia-section img {
    width: 45%;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.fisioterapia-section p {
    width: 55%;
    font-size: 16px;
    text-align: justify;
    line-height: 1.6;
    text-justify: inter-word; /* 🔹 Distribuye espacios de forma uniforme */
}

.iso-box2 img {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.iso-box2 {
    min-height: 100px;
}

.iso-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.iso-box {
    min-height: 130px;
}

.image-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* espacio entre las imágenes */
}

 .image-row img {
        height: 250px; /* mismo alto para todas */
        width: 400px; /* mismo ancho para todas */
        object-fit: cover; /* recorta para que no se deformen */
        border-radius: 8px;
        transition: transform 0.3s ease;
    }

.image-row img:hover {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .image-row img {
        width: 45%; /* siguen una al lado de otra pero más pequeñas */
    }
}

.service-icon img {
    width: 80px; /* tamaño del icono */
    height: 80px;
    filter: brightness(0) saturate(100%) invert(68%) sepia(44%) saturate(1324%) hue-rotate(139deg) brightness(99%) contrast(102%);
}

.service-text {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify; /* 🔹 Justifica el texto a ambos lados */
    text-justify: inter-word; /* 🔹 Distribuye espacios de forma uniforme */
    justify-content: center;
}



.services-section {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 50px auto;
}

.service-box {
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background-color: #ffffff /* #D9D9D9;  fondo oscuro elegante */
    color: #ffffff;
    transition: all 0.3s ease; /* suaviza el cambio */
}

    .service-box:hover {
        transform: translateY(-8px); /* eleva ligeramente la tarjeta */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* sombra más intensa */
        background-color: #E6E6E6; /* un toque más claro al pasar el ratón */
    }

.service-icon {
    font-size: 70px;
    color: #00C6D7;
    margin-bottom: 20px;
}

.review-cta {
    text-align: center;
    margin: 40px 0;
}

.review-cta .service-box {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 15px;
    background-color: #D9D9D9; /* gris claro elegante */
    color: #1A1A1A;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.review-cta .service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    background-color: #E6E6E6;
}


html, body {
    width: 100%;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: bold;
  letter-spacing: 2px;
}

.heading {
  font-size: 20px;
}
.subheading {
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 60px;
}
.bold {
  font-weight: bold;
}

p {
  line-height: 28px;
  font-size: 15px;
}

a {
  outline: none !important;
}

hr {
  width: 180px;
  border-color: #CCC;
}

.section-title strong {
	color: #00C6D7;
  	font-size: 56px;
}

.section-title h1 {
	font-size: 24px;
}

.section-title {
  padding-bottom: 32px;
}

.medium-icon {
  font-size: 32px !important;
}

#work, #about, #specialities, #about2, #team,
#portfolio, #pricing, #contact {
    padding-top: 100px;
    padding-bottom: 100px;
}


/* ==========================================================================
preloader section
========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row nowrap;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    background: none repeat scroll 0 0 #fff;
}
.sk-spinner-circle.sk-spinner {
  width: 22px;
  height: 22px;
  position: relative; }
.sk-spinner-circle .sk-circle {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0; }
.sk-spinner-circle .sk-circle:before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 20%;
  height: 20%;
  background-color: #00c6d7;
  border-radius: 100%;
  -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out;
          animation: sk-circleBounceDelay 1.2s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both; }
.sk-spinner-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
          transform: rotate(30deg); }
.sk-spinner-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
          transform: rotate(60deg); }
.sk-spinner-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg); }
.sk-spinner-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
          transform: rotate(120deg); }
.sk-spinner-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
          transform: rotate(150deg); }
.sk-spinner-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg); }
.sk-spinner-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
          transform: rotate(210deg); }
.sk-spinner-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
          transform: rotate(240deg); }
.sk-spinner-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
          transform: rotate(270deg); }
.sk-spinner-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
          transform: rotate(300deg); }
.sk-spinner-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
          transform: rotate(330deg); }
.sk-spinner-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
          animation-delay: -1.1s; }
.sk-spinner-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
          animation-delay: -1s; }
.sk-spinner-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
          animation-delay: -0.9s; }
.sk-spinner-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
          animation-delay: -0.8s; }
.sk-spinner-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
          animation-delay: -0.7s; }
.sk-spinner-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
          animation-delay: -0.6s; }
.sk-spinner-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
          animation-delay: -0.5s; }
.sk-spinner-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
          animation-delay: -0.4s; }
.sk-spinner-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
          animation-delay: -0.3s; }
.sk-spinner-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
          animation-delay: -0.2s; }
.sk-spinner-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
          animation-delay: -0.1s; }

@-webkit-keyframes sk-circleBounceDelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0); }

  40% {
    -webkit-transform: scale(1);
            transform: scale(1); } }

@keyframes sk-circleBounceDelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
            transform: scale(0); }

  40% {
    -webkit-transform: scale(1);
            transform: scale(1); } }


/* ==========================================================================
navigation section
========================================================================== */
.custom-navbar {
    background: #4B4B4B;
    margin-bottom: 0;
}
.custom-navbar .navbar-brand  {
  color: #00c6d7;
  font-weight: 600;
  font-size: 24px;
}
.custom-navbar .navbar-brand .navbar-toggle {
    background: #00c6d7;
    padding: 4px 6px;
    font-size: 16px;
    color: #fff;
    }
.custom-navbar .nav li a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    }
.custom-navbar .nav li a:hover {
  	background: transparent;
   color: #eeeeee;
}
.custom-navbar .nav > li > a:focus {
  background-color: transparent;
  color: #ffffff;
  outline: none;
}
.custom-navbar .nav li.active > a {
      color: #00c6d7;
    }
.custom-navbar .navbar-toggle {
        border: none;
        padding-top: 10px;
    }
.custom-navbar .navbar-toggle .icon-bar {
        background: #00c6d7;
        border-color: transparent;
    }
@media(min-width:768px){
    .custom-navbar {
            background: #4B4B4B;
            padding: 10px;
            border-bottom: 0;
            background: 0 0;
         }
    .custom-navbar.top-nav-collapse {
            padding: 8px;
            background: #4B4B4B;
        }
}


/* ==========================================================================
home section
========================================================================== */
#home {
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
      align-items: center;
  height: 100vh;
  text-align: center;
}
#home h1 {
  font-size: 40px;
}
#home h3 {
  font-size: 14px;
}
#home hr {
  width: 240px;
}
#home .btn {
  background: transparent;
  border: 4px solid #ffffff;
  border-radius: 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 12px 42px;
  margin-top: 40px;
  margin-right: 16px;
  transition: all 0.4s ease-in-out;
}
#home .btn:hover {
  background: #00c6d7;
  border-color: transparent;
}
#home .btn-danger {
  background: #00c6d7;
  border-color: transparent;
}
#home .btn-danger:hover {
	border: 4px solid #ffffff;
  	border-radius: 0;
	background: transparent;
  	color: #ffffff;
}

/* ==========================================================================
work section
========================================================================== */
#work {
    text-align: center;
}
#work .col-md-4 {
  padding: 28px;
  position: relative;
  transition: all 0.4s ease-in-out;
}
#work .col-md-4:hover {
  background-color: #ffffff;
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.20);
}
#work h3 {
  font-size: 18px;
}


/* ==========================================================================
specialities section
========================================================================== */

#specialities {
    text-align: center;
}

    #specialities .col-md-4 {
        padding: 28px;
        position: relative;
        transition: all 0.4s ease-in-out;
    }

        #specialities .col-md-4:hover {
            background-color: #ffffff;
            box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.20);
        }

    #specialities h3 {
        font-size: 18px;
    }

/* ==========================================================================
about section
========================================================================== */
#about {
  background: #3B3B3B;
  color: #ffffff;
}
.nav-tabs {
  margin-top: 20px;
  border-bottom: 1px solid #606060;
}
.nav-tabs > li {
  float: left;
  margin-bottom: -1px;
}
.nav-tabs > li > a {
	display: block;
  	color: #ffffff;
  	font-size: 16px;
  	padding: 10px 20px;
  	border: 0;
  	border-radius: 0;
}
.nav-tabs > li > a:hover {
  background-color: transparent;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: #00c6d7;
  cursor: default;
  background-color: transparent;
  border: 1px solid transparent;
  border-bottom-color: transparent;
}
.tab-content {
  padding-top: 20px;
}

.tab-content a {
	color: #0CC;
}

.tab-content a:hover, .tab-content a:link {
	color: #FF0;
	text-decoration: none;
}


/* ==========================================================================
about2 section
========================================================================== */
#about2 {
    background: #3B3B3B;
    color: #ffffff;
}

.nav-tabs {
    margin-top: 20px;
    border-bottom: 1px solid #606060;
}

    .nav-tabs > li {
        float: left;
        margin-bottom: -1px;
    }

        .nav-tabs > li > a {
            display: block;
            color: #ffffff;
            font-size: 16px;
            padding: 10px 20px;
            border: 0;
            border-radius: 0;
        }

            .nav-tabs > li > a:hover {
                background-color: transparent;
            }

        .nav-tabs > li.active > a,
        .nav-tabs > li.active > a:hover,
        .nav-tabs > li.active > a:focus {
            color: #00c6d7;
            cursor: default;
            background-color: transparent;
            border: 1px solid transparent;
            border-bottom-color: transparent;
        }

.tab-content {
    padding-top: 20px;
}

    .tab-content a {
        color: #0CC;
    }

        .tab-content a:hover, .tab-content a:link {
            color: #FF0;
            text-decoration: none;
        }

/* ==========================================================================
team section
========================================================================== */
#team {
  text-align: center;
}

#team h3 {
  color: #00c6d7;
  font-size: 14px;
  font-weight: bold;
}
#team .col-md-3 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.team-wrapper {
    position: relative;
    overflow: hidden;
}

    .team-wrapper img {
        width: 100%;
        height: 900px; /* altura uniforme para desktop */
        object-fit: cover; /* recorta proporcionalmente la imagen */
        display: block;
        border-radius: 8px;
    }


#team .team-des {
  padding: 25px 30px;
  background-color: rgba(00,00,00,0.6);
  position: absolute;
  color: #ffffff;
  opacity: 0;
  max-width: 1600px;
  width: 100%;
  height: 100%;
  text-align: justify;
  vertical-align: middle;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: all 0.4s ease-in-out;
  margin: 0 auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
}
#team .team-des:hover {
 opacity: 1;
}
#team img {
  margin: 0 auto;
}

#team .social-icon li a {
  color: #fff;
}

#team .social-icon li a:hover {
  color: #00c6d7;
}

/* ==========================================================================
portfolio section
========================================================================== */
#portfolio {
  background-color: #f6f6f6;
  text-align: center;
  }
#portfolio .container {
  width: 100%;
  padding: 0;
  margin: 0;
}
#portfolio img {
  width: 100%;
  transition: all 0.4s ease-in-out;
}
#portfolio img:hover {
  opacity: 0.5;
}
/* FILTER CSS */
.filter-wrapper {
    width: 100%;
    margin: 40px 0 24px 0;
    overflow: hidden;
    text-align: center;
}
.filter-wrapper li {
    display: inline-block;
    margin: 4px;
}
.filter-wrapper li a {
    color: #999999;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 17px;
    display: block;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}
.filter-wrapper li .selected,
.filter-wrapper li a:focus,
.filter-wrapper li a:hover {
    color: #00c6d7;
    outline: none;
  }

/* ISOTOPE BOX CSS */
.iso-box-section {
    width: 100%;
}
.iso-box-wrapper {
    width: 100%;
    padding: 0;
    clear: both;
    position: relative;
}
.iso-box {
    position: relative;
    min-height: 50px;
    float: left;
    overflow: hidden;
    margin-bottom: 20px;
}
.iso-box > a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.iso-box > a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.fluid-img {
  width: 100%;
  display: block;
}

/* ==========================================================================
pricing section
========================================================================== */
#pricing {
  text-align: center;
}
#pricing h2 {
  font-size: 52px;
}
#pricing h3 {
  font-size: 16px;
}
#pricing .plan {
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.20);
  padding-top: 40px;
  padding-bottom: 80px;
  margin-bottom: 32px;
}
#pricing .plan span {
	font-size: 16px;
}
#pricing .plan .plan_title {
  font-weight: 300;
  letter-spacing: 2px;
  padding: 30px;
  margin-bottom: 20px;
}
#pricing .medium-icon {
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.20);
  border-radius: 50%;
  font-size: 52px;
  width: 120px;
  height: 120px;
  line-height: 120px;
  text-align: center;
  margin-bottom: 32px;
}
#pricing .plan ul {
  padding: 0px;
}
#pricing .plan ul li {
  display: block;
  font-weight: 500;
  padding: 12px 0px;
}
#pricing .plan .btn {
  border: none;
  border-radius: 0px;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  padding: 16px 60px;
  transition: all 0.4s ease-in-out;
  margin-top: 20px;
  text-transform: uppercase;
}
#pricing .plan-one .btn {
  background-color: #00c6d7;
}
#pricing .plan-two .btn {
  background-color: #ffa400;
}
#pricing .plan-three .btn {
  background-color: #009988;
}
#pricing .plan .btn:hover {
  background-color: #3B3B3B;
}


/* ==========================================================================
contact section
========================================================================== */
#contact {
  background: #3B3B3B no-repeat center center;
  background-size: cover;
  color: #ffffff;
}
#contact h2 {
  padding-bottom: 20px;
}
#contact h3 {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
}
#contact .medium-icon {
  padding-top: 10px;
  padding-right: 10px;
}
#contact .contact-info div {
  padding-top: 14px;
  padding-bottom: 14px;
}
#contact form {
  padding-top: 60px;
}
#contact .form-control {
  border: 2px solid #ffffff;
  border-radius: 0;
  box-shadow: none;
  margin-top: 10px;
  margin-bottom: 10px;
  transition: all 0.4s ease-in-out;
}
#contact input {
  height: 40px;
}
#contact input[type="submit"] {
  background: #00c6d7;
  border: 3px solid #00c6d7;
  letter-spacing: 1px;
  margin-top: 18px;
  height: 50px;
  color: #ffffff;
}
#contact input[type="submit"]:hover {
  color: #000000;
}

/* ==========================================================================
footer section
========================================================================== */
footer {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
footer p {
  padding-top: 20px;
}
.social-icon {
  padding: 0;
  margin: 0;
}
.social-icon li {
  list-style: none;
  display: inline-block;
  padding: 6px;
}
.social-icon li a {
  box-shadow: 0px 2px 8px 0px rgba(50, 50, 50, 0.09);
  color: #808080;
  font-size: 20px;
  width: 56px;
  height: 56px;
  line-height: 60px;
  text-align: center;
  text-decoration: none;
  transition: all 0.4s ease-in-out;
}
.social-icon li a:hover {
  color: #00c6d7;
}

/* =====================================================
   MEDIA QUERIES UNIFICADAS
===================================================== */

/* Desktop grande: portfolio */
@media screen and (min-width: 992px) {
    @-moz-document url-prefix() {
        #portfolio .col-lg-4,
        #portfolio .col-md-4 {
            width: 33.333%;
        }
    }
}

/* General: imágenes y cajas adaptables para móviles y tablets */
@media (max-width: 768px) {
    img, .service-box, .team-wrapper, .team-des, .fisioterapia-section img, .image-row img {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }
}

/* Servicios / Specialities: apilado vertical */
@media (max-width: 768px) {
    .services-section {
        display: flex !important; /* usamos flex para apilar */
        flex-direction: column !important; /* columnas se vuelven filas */
        gap: 20px; /* separación entre boxes */
        padding: 0 20px;
    }

    .service-box {
        width: 100% !important;
        margin-bottom: 0; /* ya hay gap */
        box-sizing: border-box;
    }
}


/* Fisioterapia section */
@media (max-width: 768px) {
    .fisioterapia-section {
        flex-direction: column;
        text-align: left;
        gap: 20px;
        padding: 0 20px;
    }

        .fisioterapia-section img,
        .fisioterapia-section p {
            width: 100%;
        }
}

/* Image rows */
@media (max-width: 768px) {
    .image-row {
        flex-direction: column;
        gap: 20px;
    }

        .image-row img {
            width: 100% !important;
            height: auto !important;
        }
}

/* Team section */
/* Móvil: altura flexible pero igual para todas */
@media (max-width: 768px) {
    .team-section {
        display: flex;
        flex-wrap: wrap; /* permite varias columnas si hay espacio */
        gap: 20px;
    }

    .team-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch; /* obliga a que todas las columnas tengan la misma altura */
        width: 100%; /* cada team-wrapper ocupa toda la fila */
    }

        .team-wrapper img {
            width: 100%; /* ocupa todo el ancho del contenedor */
            height: 800px; /* altura mayor en móvil */
            object-fit: cover; /* mantiene proporción y recorta si es necesario */
            border-radius: 8px;
        }

    .team-des {
        width: 100%;
        padding: 10px;
        text-align: left;
    }




    /* Home buttons */
    @media (max-width: 576px) {
        #home .btn {
            display: block;
            width: 85%;
            margin: 10px auto;
        }
    }

    /* Iframe maps */
    @media (max-width: 576px) {
        iframe {
            max-width: 100%;
        }
    }

    /* Home ajustes muy pequeños (≤440px) */
    @media (max-width: 440px) {
        #home {
            padding-top: 320px;
            padding-bottom: 320px;
        }

            #home h1 {
                font-size: 22px;
            }

            #home h3 {
                font-size: 12px;
            }
    }

    /* Hover fixes en dispositivos táctiles */
    @media (hover: none) and (pointer: coarse) {
        .service-box:hover {
            transform: none;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            background-color: inherit;
        }

        .team-des {
            position: relative;
            opacity: 1;
            background: #3B3B3B;
        }

        .team-wrapper:hover .team-des {
            opacity: 1;
        }
    }


