/* Compiled from scss/make.scss */

/* Sección "¿Qué podemos enseñar?" */
.teaching-section{
  background-color:#000;
  padding:100px 0;
  position:relative;
  overflow:hidden;
}
.teaching-section::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:radial-gradient(circle at 30% 50%, rgba(233, 69, 96, 0.1), transparent 70%), radial-gradient(circle at 70% 30%, rgba(15, 52, 96, 0.1), transparent 70%);
  pointer-events:none;
}
.teaching-section .teaching-title{
  font-size:3.5rem;
  text-align:center;
  margin-bottom:80px;
  color:white;
  font-weight:700;
  position:relative;
}
.teaching-section .teaching-title::after{
  content:'';
  position:absolute;
  bottom:-20px;
  left:50%;
  transform:translateX(-50%);
  width:100px;
  height:4px;
  background:linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  border-radius:2px;
}
.teaching-section .teaching-content{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:60px;
}
@media (max-width: 992px){
  .teaching-section .teaching-content{
    flex-direction:column;
    gap:40px;
  }
}
.teaching-section .text-animation-container{
  flex:1;
  max-width:600px;
}
.teaching-section .animated-text{
  margin-bottom:40px;
  min-height:60px;
}
.teaching-section .animated-text .word{
  display:inline-block;
  opacity:0;
  transform:translateY(20px);
  font-size:2.2rem;
  font-weight:600;
  margin-right:10px;
  margin-bottom:10px;
  color:white;
  position:relative;
}
@media (max-width: 768px){
  .teaching-section .animated-text .word{
    font-size:1.8rem;
  }
}
@media (max-width: 576px){
  .teaching-section .animated-text .word{
    font-size:1.5rem;
  }
}
.teaching-section .animated-text .word::after{
  content:'';
  position:absolute;
  bottom:-5px;
  left:0;
  width:0;
  height:3px;
  background-color:var(--accent-color);
  transition:width 0.5s ease;
}
.teaching-section .animated-text .word.active::after{
  width:100%;
}
.teaching-section .spheres-container{
  flex:1;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:30px;
  max-width:500px;
}
.teaching-section .spheres-container .sphere{
  width:140px;
  height:140px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  box-shadow:0 10px 30px rgba(0,0,0,0.3);
  transition:transform 0.3s;
}
@media (max-width: 768px){
  .teaching-section .spheres-container .sphere{
    width:120px;
    height:120px;
  }
}
.teaching-section .spheres-container .sphere:hover{
  transform:scale(1.05);
}
.teaching-section .spheres-container .sphere::before{
  content:'';
  position:absolute;
  top:-10px;
  left:-10px;
  right:-10px;
  bottom:-10px;
  border-radius:50%;
  background:conic-gradient(from 0deg, var(--accent-color), var(--secondary-color), var(--accent-color));
  z-index:-1;
  animation:rotate 3s linear infinite;
  opacity:0.7;
}
.teaching-section .spheres-container .sphere .sphere-content{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:90%;
  height:90%;
  border-radius:50%;
  background-color:rgba(26,26,46,0.9);
  color:white;
  z-index:2;
}
.teaching-section .spheres-container .sphere .sphere-content i{
  font-size:2.5rem;
  margin-bottom:10px;
  color:var(--accent-color);
}
@media (max-width: 768px){
  .teaching-section .spheres-container .sphere .sphere-content i{
    font-size:2rem;
  }
}
.teaching-section .spheres-container .sphere .sphere-content span{
  font-size:0.9rem;
  font-weight:600;
  text-align:center;
  padding:0 10px;
}
.teaching-section .spheres-container .sphere-1{
  animation:float 4s ease-in-out infinite;
}
.teaching-section .spheres-container .sphere-1::before{
  animation-delay:0s;
}
.teaching-section .spheres-container .sphere-2{
  animation:float 4s ease-in-out infinite 0.5s;
}
.teaching-section .spheres-container .sphere-2::before{
  animation-delay:0.5s;
}
.teaching-section .spheres-container .sphere-3{
  animation:float 4s ease-in-out infinite 1s;
}
.teaching-section .spheres-container .sphere-3::before{
  animation-delay:1s;
}
.teaching-section .spheres-container .sphere-4{
  animation:float 4s ease-in-out infinite 1.5s;
}
.teaching-section .spheres-container .sphere-4::before{
  animation-delay:1.5s;
}

@keyframes rotate{
  0%{transform:rotate(0deg);}100%{transform:rotate(360deg);}
}

@keyframes float{
  0%,100%{transform:translateY(0);}50%{transform:translateY(-20px);}
}

/* Sección de empresas */
.companies-section{
  background-color:var(--dark-color);
  padding:80px 0;
}
.companies-section .companies-title{
  font-size:2.5rem;
  text-align:center;
  margin-bottom:60px;
  color:white;
  font-weight:700;
  position:relative;
}
.companies-section .companies-title::after{
  content:'';
  position:absolute;
  bottom:-15px;
  left:50%;
  transform:translateX(-50%);
  width:80px;
  height:3px;
  background-color:var(--accent-color);
  border-radius:2px;
}
.companies-section .companies-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
}
@media (max-width: 768px){
  .companies-section .companies-grid{
    grid-template-columns:repeat(2,1fr);
    gap:30px;
  }
}
@media (max-width: 576px){
  .companies-section .companies-grid{
    grid-template-columns:1fr;
  }
}
.companies-section .company-logo{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:20px;
  padding:30px 20px;
  background-color:rgba(255,255,255,0.05);
  border-radius:10px;
  transition:transform 0.3s, background-color 0.3s;
}
.companies-section .company-logo:hover{
  transform:translateY(-10px);
  background-color:rgba(255,255,255,0.1);
}
.companies-section .company-logo:hover .construction-icon{
  filter:brightness(1.2);
  transform:scale(1.05);
}
.companies-section .company-logo .construction-icon{
  width:100%;
  max-width:200px;
  height:auto;
  transition:filter 0.3s, transform 0.3s;
}
.companies-section .company-logo .company-name{
  font-size:1.2rem;
  font-weight:600;
  color:white;
  text-align:center;
}

/* Ajustes responsivos */
@media screen and (max-width: 992px){
  .teaching-section .teaching-title{font-size:2.8rem;}
  .teaching-section .teaching-content{flex-direction:column;}
  .teaching-section .animated-text .word{font-size:1.8rem;}
  .companies-section .companies-title{font-size:2.2rem;}
}

@media screen and (max-width: 768px){
  .teaching-section{padding:70px 0;}
  .teaching-section .teaching-title{font-size:2.3rem;margin-bottom:60px;}
  .teaching-section .animated-text .word{font-size:1.6rem;}
  .teaching-section .spheres-container .sphere{width:130px;height:130px;}
  .companies-section{padding:60px 0;}
  .companies-section .companies-title{font-size:2rem;}
}

@media screen and (max-width: 576px){
  .teaching-section{padding:50px 0;}
  .teaching-section .teaching-title{font-size:2rem;}
  .teaching-section .animated-text .word{font-size:1.4rem;}
  .teaching-section .spheres-container{gap:20px;}
  .teaching-section .spheres-container .sphere{width:120px;height:120px;}
  .companies-section .companies-title{font-size:1.8rem;}
  .companies-section .company-logo{padding:20px 15px;}
}
