@import url("global.css");

/* INTRO VIDEO */
.intro {
  position: relative;
  height: 90vh;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.intro video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Overlay opaco */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55); /* Negro translúcido */
  z-index: 2;
}

/* CONTENIDO SOBRE EL VIDEO */
.intro-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.intro-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.intro-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
}

/* Botones */
.intro-content .btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.intro-content .btn {
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-white {
  background: white;
  color: #000;
}

.btn-white:hover {
  background: #ddd;
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}
.contact{
  border: 1px solid white !important;
  background-color: transparent !important;
}

.btn-outline:hover {
  background: white;
  color: white;
}

.section {
  padding: 80px 10%;
  background: linear-gradient(135deg, #21A59A, #178078);
  color: white;
}
section{
  padding: 80px 10%;
  
}

.practice-header {
  text-align: center;
  margin-bottom: 50px;
}

.practice-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.practice-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.practice-card {
  background: white;
  color: #333;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.practice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.imgPractice{
  width: 40px;
}

.practice-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #21A59A;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.practice-card h3 {
  font-size: 1.3rem;
  color: #21A59A;
  margin: 0;
}

.practice-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
}

.practice-btn {
  display: block;
  text-align: center;
  margin: 50px auto 0;
  padding: 12px 30px;
  background: white;
  color: #21A59A;
  border: 2px solid white;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  width: fit-content;
}

.practice-btn:hover {
  background: transparent;
  color: white;
}

    /* Responsivo */
@media (max-width: 1024px) {
  .practice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .practice-grid {
    grid-template-columns: 1fr;
  }
}

.team {
padding: 80px 10%;
background: #f9f9f9;
text-align: center;
}

.team-header h2 {
font-size: 2.5rem;
font-weight: bold;
color: #21A59A;
margin-bottom: 15px;
}

.team-header p {
font-size: 1.1rem;
color: #555;
max-width: 700px;
margin: 0 auto 50px;
}

.team-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}

.team-card {
background: white;
border-radius: 12px;
padding: 25px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transition: all 0.3s ease;
border: 2px solid transparent;
}

.team-card:hover {
transform: translateY(-5px);
border-color: #21A59A;
box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.team-card img {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 20px;
border: 4px solid #21A59A;
}

.team-card h3 {
font-size: 1.2rem;
color: #21A59A;
margin-bottom: 10px;
}

.team-card p {
font-size: 0.95rem;
color: #555;
line-height: 1.4;
}

.team-btn {
display: inline-block;
margin-top: 50px;
padding: 12px 30px;
background: #21A59A;
color: white;
font-weight: bold;
border-radius: 8px;
text-decoration: none;
transition: background 0.3s;
}

.team-btn:hover {
background: #178078;
}

/* Responsivo */
@media (max-width: 1024px) {
.team-grid {
  grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {
.team-grid {
  grid-template-columns: 1fr;
}
}

@media (max-width: 768px) {
  .slide {
    height: auto;
    flex-direction: column;
  }

  /* .slide img {
    height: 250px !important;
  } */

  .content h2 {
    font-size: 14px !important;
  }

  .content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .contacto .container {
    grid-template-columns: 2fr !important;
    text-align: center;
  }

  .formulario form input,
  .formulario form textarea,
  .formulario form button {
    width: 100%;
  }
}

.carousel {
  position: relative;
  width: 95%;   /* no ocupa el 100% */
  /* max-width: 900px;   */
  margin: 40px auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slideContent {
text-align: center;
}

.slideContent h2 {
font-size: 2.5rem;
font-weight: bold;
color: #21A59A;
margin-bottom: 15px;
}

.slideContent p {
font-size: 1.1rem;
color: #555;
max-width: 700px;
margin: 0 auto 50px;
}


.slide {
  min-width: 100%;
  height: 400px;
  position: relative;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.content {
  position: absolute;
  text-align: center;
  padding: 20px;
  max-width: 80%;
}

.content h2 {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.content p {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 15px;
}

.btn {
  padding: 10px 20px;
  background: #21A59A;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: 0.3s;
}

.btn:hover {
  background: #178378;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
}

.prev { left: 15px; }
.next { right: 15px; }

.contacto {
  background: linear-gradient(135deg, #21A59A, #0D1B2A);
  padding: 60px 20px;
  color: white;
}

.contacto .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
}

.contacto h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.contacto p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: #f0f0f0;
}

.contacto ul {
  list-style: none;
  padding: 0;
}

.contacto ul li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.contacto ul li a {
  color: #fff;
  font-weight: bold;
  text-decoration: underline;
}

