/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------
*/
#whatsapp {
  position: fixed;
  bottom: 20px;
  right:20px;
  padding: 10px 10px ;
  z-index: 999;
}
svg{
  width: 64px;
  background-color: #25d366;
  border-radius: 20px;
  padding: 16px;
}
circle {
  fill: #25d366;
}
path {
  fill: #fff;
}
/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #FFFFFF;
  --primary-color:                #008080;
  --section-bg-color:             #f9f9f9;
  --dark-color:                   #000000;
  --grey-color:                   #fcfeff;
  --text-secondary-white-color:   rgba(255, 255, 255, 0.98);
  --title-color:                  #565758;
  --p-color:                      #717275;

  --body-font-family:           'Noto Sans JP', sans-serif;

  --h1-font-size:               72px;
  --h2-font-size:               42px;
  --h3-font-size:               48px;
  --h4-font-size:               32px;
  --h5-font-size:               24px;
  --h6-font-size:               22px;
  --p-font-size:                20px;
  --copyright-text-font-size:   14px;
  --custom-link-font-size:      12px;

  --font-weight-light:          300;
  --font-weight-normal:         400;
  --font-weight-bold:           700;
  --font-weight-black:          900;
}
body,
html {
  height: 100%;
}
body {
    background: var(--white-color);
    font-family: var(--body-font-family);    
    position: relative;
}
/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/
h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6{
  font-family: 'Questrial', sans-serif;
  font-weight: var(--font-weight-bold);
}
h1,
h2{
  font-weight: var(--font-weight-black);
}
h1{
  font-size: var(--h1-font-size);
  line-height: normal;
}
h2{
  font-family: 'Cormorant', serif;
  font-size: var(--h2-font-size);
}
h3{
  font-size: var(--h3-font-size);
}
h4{
  font-size: var(--h4-font-size);
}
h5{
  font-size: var(--h5-font-size);
}
h6{
  font-size: var(--h6-font-size);
}
p{
  font-family: 'Questrial', sans-serif;
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  letter-spacing: 0.5px;
}
.text-secondary-white-color {
  color: var(--text-secondary-white-color);
}
a, 
button{
  touch-action: manipulation;
  transition: all 0.3s;
}
a{
  font-family: 'Questrial', sans-serif;
  color: var(--p-color);
  text-decoration: none;
}
a:hover {
  color: var(--primary-color);
}
::selection {
  background: var(--dark-color);
  color: var(--white-color);
}
.videoWrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 540px;
  z-index: -100;
}
.overlay {
  background: linear-gradient(to top, #000, transparent 90%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-links {
  max-width: 230px;
}
.custom-link {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
}
.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}
.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}
.custom-link:hover,
.custom-link:hover::after {
  color: var(--white-color);
}
b,
strong {
  font-weight: var(--font-weight-bold);
}
/*---------------------------------------
  NAVIGATION               
-----------------------------------------*/
.navbar {
  z-index: 999;
  right: 0;
  left: 0;
  padding-top: 15px;
  padding-bottom: 15px;
}
.navbar-brand {
  color: var(--primary-color);
  font-size: 24px;
  font-weight: var(--font-weight-bold);
}
.navbar-expand-lg .navbar-nav .nav-link {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-nav .nav-link::after {
  font-family: bootstrap-icons;
  display: inline-block;
  margin-left: 10px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.navbar-nav .nav-link:hover::after {
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}
.navbar-nav .nav-link {
  color: var(--p-color);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  position: relative;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
  color: var(--primary-color);
  opacity: 1;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  transform: translateY(0px);
}
.navbar-nav .nav-item.active .nav-link,
.nav-link:focus, 
.nav-link:hover {
  color: var(--primary-color);
  text-decoration:underline;
}
.link-portfolio{
  color: var(--white-color);
  border-bottom: 2px solid var(--white-color);
  padding-bottom: 4px;
}
.link-portfolio:hover{
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}
.nav-link:focus {
  color: var(--p-color);
}
.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}
.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}
.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}
.navbar-toggler .navbar-toggler-icon:before {
  top: -8px;
}
.navbar-toggler .navbar-toggler-icon:after {
  top: 8px;
}
/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
}
.heroText {
  position: absolute;
  z-index: 999;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  flex-direction: column;
}
.carousel {
  position: relative;
  width: 100%;
  height: calc(100% - 100px); /* Restamos 100px para dejar espacio para la sección superior */
  overflow: hidden;
  z-index: 0; /* Asegura que el carrusel esté detrás de la siguiente sección */
}
.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.carousel img.active {
  display: block;
}
.controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
}
.prev {
  left: 20px;
}
.next {
  right: 20px;
}
.hero-img{
  width: 100%;
  height: 100%;
}
/*---------------------------------------
  ABOUT & TEAM MEMBERS               
-----------------------------------------*/
.about-image,
.team-image {
  width: 100%;
  height: 100%;
  max-height: 635px;
  min-height: 475px;
  object-fit: cover;
}
/*---------------------------------------
  PORTFOLIO               
-----------------------------------------*/
.portfolio-thumb {
  position: relative;
  overflow: hidden;
}
.portfolio-info {
  margin: 20px;
}
/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.section-padding-2 {
  background-color: #000;
  padding-top: 7rem;
  padding-bottom: 7rem;
}
.section-padding-2 .row .logos {
  display: inline;
  text-align: center;
  padding: 0 10% 0 10%;
}
.section-padding-2 .row .logos img{
  padding: 2%;
}
.icon-contact{
  display: flex;
  justify-content: center;
}

/*---------------------------------------
  SITE FOOTER               
-----------------------------------------*/
.site-footer {
  background: #008080;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}
.site-footer .custom-link {
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--p-font-size);
}
.site-footer .custom-link:hover,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}
.copyright-text {
  color: rgba(255, 255, 255, 0.45);
  font-size: var(--copyright-text-font-size);
}
/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}
.social-icon li {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}
.social-icon-link {
  color: rgba(255, 255, 255, 0.45);
  font-size: 2rem;
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 15px;
}
.social-icon-link:hover {
  color: var(--primary-color);
}
/*---------------------------------------
  MENU ACORDEÓN STYLES               
-----------------------------------------*/
#accesos ul li a {
font-size: 24px;
display: block;
padding: 10px 10px 10px 20px;
border-bottom: 1px solid #008080;
text-decoration: none;
box-sizing: border-box;
color: #008080;
}
.ser1{
  width: 50%;
}
.ser2{
  width: 50%;
}
#accesos {
  box-sizing: border-box;
  transform: translate(0, 0);
  max-width: 100%;
  min-height: 100%;
  margin: 0;
  left: 0;
}
#accesos ul {
list-style: none;
perspective: 900;
padding: 0;
margin: 0;
}
#accesos ul li {
position: relative;
padding: 0;
margin: 0;
padding-bottom: 4px;
padding-top: 0;
}
#accesos ul li:nth-of-type(1) {
animation-delay: 0.5s;
}
#accesos ul li:nth-of-type(2) {
animation-delay: 0.75s;
}
#accesos ul li:nth-of-type(3) {
animation-delay: 1s;
}
#accesos ul li:last-of-type {
animation-delay: 1.25s;
padding-bottom: 0;
}
#accesos ul li i.chevron {
  position: absolute;
  transform: translate(-18px, 0);
  margin-top: 12px;
  right: 0;
}
#accesos ul li i.chevron:before, #accesos ul li i.chevron:after {
content: "";
position: absolute;
background-color:var(--primary-color);
width: 3px;
height: 9px;
}
#accesos ul li i.chevron:after {
transform: translate(2px, 0) rotate(-45deg);
}
#accesos ul li input[type=checkbox] {
position: absolute;
cursor: pointer;
width: 100%;
height: 100%;
z-index: 1;
opacity: 0;
background-color: coral;
}
#accesos ul li input[type=checkbox] h2 i {
background-color: teal;
color: teal;
}
#accesos ul li input[type=checkbox]:checked ~ div {
margin-top: 0;
max-height: 0;
opacity: 0;
transform: translate(0, 50%);
}
#accesos ul li input[type=checkbox]:checked ~ i:before {
transform: translate(2px, 0) rotate(45deg);
}
#accesos ul li input[type=checkbox]:checked ~ i:after {
transform: translate(-2px, 0) rotate(-45deg);
}
/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1600px) {
  .news-two-column {
    min-height: 232.5px;
  }
}
@media screen and (min-width: 992px) {
  .hero {
    height: 100vh;
  }
}
@media screen and (max-width: 991px) {
  .hero-img{
    height: 30em;
  }
  #accesos {
    min-height: 0;
    display: inline-block;
    position: relative;
    left: 50%;
    margin: 90px 0;
    transform: translate(-50%, 0);
    background-color: #fefffa;
    width: 100%;
    padding: 1em;
    max-width:960px;
  }
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 32px;
  }
  h4 {
    font-size: 28px;
  }
  h5 {
    font-size: 20px;
  }
  h6 {
    font-size: 18px;
  }
  .ser1{
    width: 100%;
  }
  .ser2{
    width: 100%;
  }
  .navbar{
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
@media screen and (max-width: 767px) {
  .news-detail-title {
    font-size: 36px;
  }
}
@media screen and (max-width: 360px) {
  h1 {
    font-size: 32px;
  }
  .heroText p {
    font-size: 14px;
  }
}