@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body{
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

h2{
  font-weight: bold;
  color: #2c6297;
}

i{
  font-weight: bold;
}

/* Contenedor principal de la sección de contacto */
.seccion-contacto {
    max-width: 1100px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
}

.contenedor-contacto {
    display: flex; 
    flex-wrap: wrap; 
}

/* Estilos para la mitad de la información */
.info-contacto {
    flex: 1; 
    background: #2A3F54;
    color: #fff;
    font-weight: bold;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logocontacto{
    display: block;
    margin-bottom: 20px;
    width: 180px; 
    height: auto;
    object-fit: contain;
}

.info-contacto h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.info-contacto p {
    line-height: 1.6;
    font-size: 1.1em;
}

.detalle-info {
    display: flex; 
    align-items: center;
    margin-top: 20px;
}

.detalle-info i {
    font-size: 20px;
    margin-right: 15px;
    width: 25px; 
    text-align: center;
}

.detalle-info p {
    margin: 0; 
    font-size: 1.1em;
}

/*ESTILO DE BOTON DE WHATHSAAP*/
.btn-wha{
  margin-top: 10px;
}

.Btn {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: 0.3s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.199);
  background-color: #00d757;
}

.sign {
  width: 100%;
  transition-duration: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign svg {
  width: 25px;
}

.sign svg path {
  fill: white;
}
.text {
  position: absolute;
  right: 0%;
  width: 0%;
  opacity: 0;
  color: white;
  font-size: 1.0em;
  font-weight: 600;
  transition-duration: 0.3s;
}

.Btn:hover {
  width: 150px;
  border-radius: 40px;
  transition-duration: 0.3s;
}

.Btn:hover .sign {
  width: 30%;
  transition-duration: 0.3s;
  padding-left: 10px;
}

.Btn:hover .text {
  opacity: 1;
  width: 70%;
  transition-duration: 0.3s;
  padding-right: 10px;
}
.Btn:active {
  transform: translate(2px, 2px);
}

/* ESTILOS PARA LA MITAD DEL FORMULARIO */
.formulario-contacto {
    flex: 1; 
    padding: 40px;
    background-color: #fff;
}

.grupo-input {
    margin-bottom: 20px;
}

.grupo-input input,
.grupo-input textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; 
}

.grupo-input textarea {
    resize: vertical; 
}

.btn-enviar {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #2c6297;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-enviar:hover {
    background-color: #2a3d46;
}

/* ESTILOS DE LOS ICONOS DE REDES SOCIALES */
.social-icons {
  text-align: center;
  margin-top: 30px;   
}

.social-icons p {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff; 
  margin-bottom: 20px; 
}

.cardfooter {
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  background-color: transparent; 
  box-shadow: none; 
}

.socialContainer {
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background-color: rgb(42, 61, 70);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: 0.3s;
}

/* Instagram */
.containerOne:hover {
  background-color: #d62976;
  transition-duration: 0.3s;
}

/* TikTok */
.containerTwo:hover {
  background-color: #25f4ee;
  transition-duration: 0.3s;
}

/* Facebook */
.containerThree:hover {
  background-color: #1877f2;
  transition-duration: 0.3s;
}

/* WhatsApp */
.containerFour:hover {
  background-color: green;
  transition-duration: 0.3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: 0.3s;
}

.socialSvg {
  width: 19px;
}

.largeIcon {
  width: 27px; 
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ESTILOS PARA VISTA MOVIL  */
@media (max-width: 768px) {
    .contenedor-contacto {
        flex-direction: column; 
    }

    .info-contacto, .formulario-contacto {
        padding: 30px;
    }

}

