*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root {
--primary: #fafbfd;
--secondary: white;
--secondary-light:rgb(173, 173, 173);
--dark1:#222222;
--grey:#808080;
--MidnightBlue:#474973;
}

header {
    background-color: var(--dark1);
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 5px 0;
}

body {
    font-size: 18px;
    font-family: 'Signika', sans-serif;
    color: var(--secondary);
}

container {
    max-width: 1200px;
    margin: 0 auto;
}

.navbar {
    display: flex;
    justify-content: flex-end;
    position: sticky;
    top: 0;
    z-index: 40;
}

.navbar ul {
    display: flex;
    list-style: none;

}

.navbar a {
    font-size: 1.5rem;
    padding: 10px;
    text-decoration: none;
    color: var(--secondary);
    margin: 10px;
    }  

.navbar a:hover {
    border-bottom: var(--grey) solid;
} 


.hero {
    background-color: var(--MidnightBlue);
    position: relative;
}

.hero img{
    width: 100%;
    height: 530px;
    opacity: 0.35;
}

span {
    color: var(--secondary-light);
}

/*circle prolife*/

.prolife div{
    position: absolute;
}

.prolife {
    display : flex;
    justify-content: center;
}

.square {
    width: 320px;
    height: 450px;
    background-color: var(--dark1);
    opacity: 0.7;
    z-index: 10;
    top: 70px;
}

.circle-trans {
    width: 290px;
    height: 290px;
    border-radius: 50%;
    border: solid 30px var(--primary);
    opacity: .2;
    z-index: 19;
    top: 90px;
}

.circle {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    border: solid 15px var(--primary);
    z-index: 21;
    top: 120px;
}

.prolife-img {
    top: 134px;
    z-index: 20;
}

.prolife-img img {
    width: 202px;
    height: 202px;
    border-radius: 50%;
} 

.square-text {
    font-size: 1.9rem;
    color: var(--secondary);
    top: 380px;
    z-index: 11;
}

.square-text-2 {
    font-size: 1rem;
    color: var(--secondary);
    top: 418px;
    z-index: 11;  
}

.square-text-3 {
    font-size: 1.3rem;
    color: var(--secondary-light);
    top: 490px;
    z-index: 11;
}

.square-text-3:hover {
    border-bottom: var(--primary) solid;
}

.square-text-3 a {
    color: var(--secondary-light);
    text-decoration: none;
}

.contact-icon {
    top: 450px;
    z-index: 11;
}

.contact-icon img {
    width: 40px;
    margin: 0 10px;
}

.contact-icon img:hover {
    transform: scale(1.2);
}

/*portfolio section*/

.portfolio-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
  }
  
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
  }
  
.section-subtitle {
    color: #666;
    margin-bottom: 40px;
  }
  
.briefcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
  }
  
.service-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  }
  
.service-card h3 {
    font-size: 1.2rem;
    color: #0f172a; 
    margin-bottom: 10px;
  }
  
.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /*about*/

.about {
    background-color: var(--MidnightBlue);
  }
  
.about-flex {
    display: flex;
    width: 90%;
    margin: 0 auto;
    padding: 50px 0 200px;
  }

.about p {
    font-size: 1.5rem;
    width: 90%;
    margin: 0 auto;
    line-height: 2.5rem;
    color: var(white);
}

.social {
    border-left: var(--dark1) 5px solid;
    padding-left: 50px;
  }

.social img {
    width: 60px;
    margin: 0 10px;
  }

.social img:hover {
    transform: scale(1.2);

  }
  
/*footer*/

footer {
    background-color: var(--dark1);
    text-align: center;
    padding: 20px 0;
    color: var(--secondary-light);
    font-size: 1rem;
  }

/* === MODAL (eins-modal) === */
/* Sobrescribir estilos de la librería eins-modal */
.eins-modal {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  z-index: 1000 !important;
  display: none !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  transform: none !important;
  -webkit-transform: none !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  margin: 0 !important;
}

.eins-modal.eins-modal-open {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.eins-modal-content {
  position: relative !important;
  background-color: #1c1c1c !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 2rem !important;
  width: 90% !important;
  max-width: 400px !important;
  text-align: center !important;
  margin: 0 auto !important;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  transform: scale(0.9) !important;
  -webkit-transform: scale(0.9) !important;
  transition: transform 0.3s ease !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  flex-shrink: 0 !important;
  border: 0 solid #000 !important;
  -ms-filter: none !important;
  filter: none !important;
  -moz-opacity: 1 !important;
  -khtml-opacity: 1 !important;
  opacity: 1 !important;
}

.eins-modal.eins-modal-open .eins-modal-content {
  transform: scale(1) !important;
  -webkit-transform: scale(1) !important;
}

/* Botón cerrar */
.eins-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  transition: transform 0.2s ease, color 0.2s ease;
  z-index: 50;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eins-modal-close:hover {
  color: #ff5252;
  transform: scale(1.2);
}

/* === FORMULARIO === */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.form label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background-color: #333;
  color: #fff;
  margin-top: 5px;
}

.form textarea {
  resize: none;
  height: 100px;
}

.form button {
  background-color: #474973;
  border: none;
  color: white;
  padding: 10px 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.form button:hover {
  background-color: #5a5f8a;
}
  