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

/* Fonts */
@font-face {
  font-family: 'HelveticaNeueCondensedBlack';
  src: url('fonts/HelveticaNeueCondensedBlack.ttf') format('woff2');
}

@font-face {
  font-family: 'HelveticaNeue-Medium';
  src: url('fonts/HelveticaNeueBold.ttf') format('woff2');

}

@font-face {
  font-family: 'HelveticaNeueCondensedBold';
  src: url('fonts/HelveticaNeueCondensedBold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

body,
html {
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
}

/* Apply the background to the entire website */
body {
  margin: 0;
  padding: 0;
  background-image: url('img/fondoPrincipalS2.jpg');
  /* Path to your background image */
  /* background-size: cover; */
  /* Ensure the background covers the entire viewport */
  background-position: 0% 30%; 
  background-repeat: no-repeat;
  /* Do not repeat the background */
  background-attachment: scroll;
  /* Allow it to scroll with the content */
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  background-image: url('img/paraHeader.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  text-align: center;
  padding: 0 5%;
  z-index: 2;
}

.hero-1-small, .hero-1-engsmall {
  display: none;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top right, #244e91, #B7DBFF);
  opacity: 0.7;
  z-index: 1;
}


#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  z-index: 100;
  background-color: rgb(36, 78, 145);
  transition: background-color 0.3s ease;
}

/* Logo */
#logo {
  width: 91px;
}

/* Nav Links for Large Screens */
#nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  font-size: 16px;
  position: absolute;
  top: 50%;
  /* Vertically aligned */
  left: 50%;
  /* Center horizontally */
  transform: translate(-50%, -50%);
  /* Center in both directions */
}

#nav-links li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

#nav-links li a:hover,
#nav-links li a.active, span.active {
  color: #2CFCDD;
  /* Hover and active state color */
}

#language-link {
  display: none;
}

/* Language Switcher for large screens (outside nav) */
#language-switcher-large {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
}

#language-switcher-large:hover {
  color: #2CFCDD;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 2rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
}

/* Close button for mobile menu */
#close-menu {
  display: none;
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

#hero h1 {
  font-family: 'HelveticaNeueCondensedBlack', sans-serif;
  font-size: 4.3rem;
  /* font-size: 3.2vw; */
  line-height: 1.2;
  text-align: left;
  letter-spacing: 1px;
}

#hero button {
  padding: 1rem 2rem;
  background-color: #02ffe1 ;
  border: none;
  border-radius: 60px;
  color:#244E91;
  cursor: pointer;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  text-transform: uppercase;
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 10;
}

.hero-text {
  /* flex: 1; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  /* margin-left: 7vw; */
}
.hero-text a{
  text-decoration: none !important;
}
/* .hero-logo {
  flex: 0.5; 
} */

.hero-logo img {
  width: 100%;
  max-width: 300px;
  margin-left: 11vw;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top right, #244E91, #B7DBFF);
  opacity: 0.7;
  z-index: 1;
}

/* Hero Y NAV Media Queries for Mobile */

@media screen and (max-width: 1280px) {
  
  #hero h1 {
    font-size: 5vw;
  }
  .hero-logo img {
    width: 80%;
    margin-left: 11vw;
  }
  .hero-content {
    width: 80%;
    margin: 0 auto;
  }
  .hero-1-engsmall{
    display: block;
  }
  .hero-1-englarge{
    display: none;
  }

}

@media screen and (max-width: 768px) {

  #nav-links {
    position: fixed;
    left: auto;
    right: 0;
    /* Keep the right side fixed */
    top: 0;
    height: 100vh;
    width: 100vw;
    /* Initial width of the menu */
    background-color: #244E91;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding-top: 5rem;
    padding-left: 2rem;
    transform: translateX(200%);
    /* Hide the menu initially off-screen */
    transition: transform 0.3s ease, width 0.3s ease;
    /* Smooth transition for both sliding and width */
    overflow-x: hidden;
  }

  #nav-links.show {
    transform: translateX(0);
    /* Slide the menu in from the right */
  }

  #nav-links li {
    margin: 1.5rem 0;
  }

  #nav-links a {
    color: white;
    font-size: 1.5rem;
  }

  /* Remove large screen language switcher and show inside mobile menu */
  #language-switcher-large {
    display: none;
  }

  #language-link {
    display: list-item;
    margin-bottom: 1rem;
  }

  /* Hamburger Menu */
  .hamburger {
    display: flex;
  }

  /* Close button for mobile */
  #close-menu {
    display: none;
  }

  #nav-links.show+#close-menu {
    display: block;
  }

  #hamburger-menu.hide {
    display: none;
  }

  .hero-text {
    width: 100%;
    margin-left: 0;
  }
  #hero h1 {
    font-size: 7vw;
  }
  .hero-logo img {
    display: none;
  }

  #hero button {
    width: 60vw;
    padding: .5rem 1rem;
    background-color: #02ffe1 ;
    border: none;
    border-radius: 60px;
    color:#244E91;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 5px;
    text-transform: uppercase;
  }

  body {
    /* background-image: url('img/fondoMainSmall.jpg'); */
    background-position: 50% 20%;
  }
}

@media screen and (max-width: 480px) {
  body {
    /* background-image: url('img/fondoMainSmall.jpg'); */
    background-position: 0 0;
  }
  #hero h1{
    font-size: 36px;
  }
  .hero-1-small{
    display: block;
  }
  .hero-1-large{
    display: none;
  }
}



/* Nosotros Section */
#nosotros, #about {
  padding: 50px;
  display: flex;
  justify-content: center;
  /* flex-wrap: wrap; */
  margin-top: 250px;
}

.overlap-container {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  max-width: 1000px;
}

/* Green Rectangle */
.green-rectangle {
  background-color: #02ffe1;
  /* Green background */
  padding: 20px;
  padding-bottom: 35px;
  max-width: 284px;
  max-height: 192px;
  z-index: 1;
  border-radius: 25px;
  grid-column: 1 / 6;
  grid-row: 1 / 5;
  justify-self: left;
  margin-right: 60px;
}

.green-rectangle p span {
  font-size: 34px;
}

.green-rectangle p {
  font-family: 'HelveticaNeueCondensedBlack', sans-serif;
  font-size: 50px;
  /* 50px equivalent in rem */
  color: #244E91;
  line-height: 1;
  font-weight: bold;
  font-kerning: normal;
  text-align: center;
}

/* Blue Rectangle */
.blue-rectangle {
  background-color: #244E91;
  /* Blue background */
  padding: 20px;
  width: 279px;
  height: 199px;
  z-index: 2;
  border-radius: 25px;
  grid-column: 3 / 8;
  grid-row: 5 / 9;
  position: relative;
  bottom: 15px;
  margin-right: 20px;
}

.blue-rectangle ul {
  list-style: none;
  padding: 10px 0;
  text-align: left;
}

.blue-rectangle li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-family: 'HelveticaNeueCondensedBold';
  font-size: 1.1rem;
  /* 20px equivalent in rem */
  color: #ABF7E5;
  font-kerning: normal;
  letter-spacing: 1px;
}

.blue-rectangle li img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  /* Spacing between ornament and text */
}

.blue-rectangle li img:nth-child(1) {
  margin-top: 0;
}

.blue-rectangle li img:nth-child(2) {
  margin-top: 0;
}

.blue-rectangle li img:nth-child(3) {
  margin-top: 0;
}

/* Text Content */

/* Container for h2 with gradient and rounded corners */
.h2-container {
  display: inline-block;
  background: linear-gradient(65deg, #02ffe1 45%, transparent 85%);
  padding: 10px 10px;
  border-radius: 60px;
  margin-bottom: 40px;
  max-width: 710px;
  max-height: 90px;
  grid-column: 7 / 14;
  grid-row: 1 / 3;
  box-shadow: -12px 10px 10px rgba(0, 0, 0, 0.2);
}

/* Style for the h2 inside the container */
.h2-container h2 {
  font-family: 'HelveticaNeueCondensedBlack', sans-serif;
  font-size: 3.125rem;
  color: #244E91;
  padding-left: 60px;
}

.overlap-container>p {
  font-family: Arial, Helvetica, sans-serif;
  min-width: 300px;
  text-align: justify;
  grid-column: 8 / 15;
  grid-row: 3 / 11;
}

/* Nosotros Media Queries */
@media screen and (max-width: 1280px) {
  #nosotros, #about {
   justify-content: right;
  }
}

@media screen and (max-width: 960px) {
  .h2-container h2 {
    padding-left: 40px;
  }
}

@media screen and (max-width: 760px) {
  #nosotros, #about {
    flex-direction: column;
    /* Stack content vertically */
    padding: 20px;
  }

  .overlap-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .h2-container {
    width: 350px;
    grid-column: 1/ -1;
    grid-row: 1 / 3;
    justify-self: center;
  }

  .h2-container h2 {
    font-family: 'HelveticaNeueCondensedBlack', sans-serif;
    font-size: 2.8rem;
    color: #244E91;
    padding-left: 60px;
  }

  .green-rectangle {
    grid-column: 1 / -1;
    grid-row: 3/ 7;
    justify-self: center;
    margin-right: 0;
    max-width: 242px;
  }

  .green-rectangle p span {
    font-size: 30px;
  }

  .green-rectangle p {
    font-family: 'HelveticaNeueCondensedBlack', sans-serif;
    font-size: 44px;
    /* 50px equivalent in rem */
    color: #244E91;
    line-height: .9;
    font-weight: bold;
    font-kerning: normal;
    text-align: center;
  }

  .blue-rectangle {
    grid-column: 1 / -1;
    grid-row: 7 / 11;
    justify-self: center;
    margin-right: 0;
    margin-bottom: 40px;
    max-width: 260px;

  }

  .blue-rectangle li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-family: 'HelveticaNeueCondensedBold';
    font-size: 1rem;
    /* 20px equivalent in rem */
    color: #ABF7E5;
    font-kerning: normal;
    letter-spacing: 1px;
  }

  .blue-rectangle ul {
    list-style: none;
    padding: 5px 0 0 0;
    text-align: left;
  }

  .blue-rectangle li img {
    width: 16px;
    height: 16px;
    margin-right: 10px;
    /* Spacing between ornament and text */
    justify-content: center;
    align-items: flex-start;
  }

  .blue-rectangle li:nth-child(1) img {
    margin-top: 10px;
  }

  .blue-rectangle li:nth-child(2) img {
    margin-top: 10px;
  }

  .overlap-container>p {
    grid-column: 1 / -1;
    grid-row: 12 / 21;
    justify-self: center;
    max-width: 480px;
  }

}

@media screen and (max-width: 480px) {
  #nosotros, #about{
    padding: 10px;
    margin-bottom: 30%;
    margin-top: 180px;
  }
  .overlap-container>p {
    min-width: 80%;
    width: 80%;
  }
  
}
@media screen and (max-width: 380px) {
  .h2-container {
    width: 300px;
  }
  .h2-container h2 {
    padding-left: 30px;
  }
  .overlap-container>p {
    min-width: 80%;
    width: 80%;
  }
}



/* Servicios Section */
#servicios, #services {
  padding: 50px 5%;
  margin-top: 200px;
}

.servicios-content {
  max-width: 1330px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
  margin-bottom: 80px;
}

.servicios-header {
  display: flex;
  flex-direction: column;
  max-width: 30%;
  /* Paragraph takes 25% of the space */
  margin-right: 60px;
}

.servicios-header-container {
  width: 100%;
  background: linear-gradient(-65deg, #02ffe1 45%, transparent 85%);
  padding: 10px;
  border-radius: 60px;
  margin-bottom: 40px;
}

.servicios-header-container h2 {
  font-family: 'HelveticaNeueCondensedBlack', sans-serif;
  font-size: 3.1rem;
  color: #244E91;
  text-align: center;
}

.servicios-header p {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: black;
  text-align: justify;
  line-height: 1.5;
}

/* Carousel Container */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease;
 
  /* Allow items to fit dynamically, no fixed width */
}

.carousel-item {
  flex: 1 0 calc(33.333%);
  /* Ensure 3 items fit in view with padding */
  padding: 0 5px;
  /* 5px padding on each side */
  box-sizing: border-box;
}

.carousel-item img {
  width: 100%;
  height: auto;
  /* Keep the image responsive */
  display: block;
  border-radius: 10px;
}

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* font-size: 2rem;
  color: #244E91; */
  cursor: pointer;
  /* background: none;
  border: none; */
  z-index: 10;
}

.carousel-control-prev {
  left: 5px;
}

.carousel-control-next {
  right: 5px;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.indicator {
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.indicator.active {
  background-color: #244E91;
}

/* Servicios List Styling */
.servicios-list-container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  /* margin-left: 200px; */
}

.servicios-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  /* Responsive grid layout */
  gap: 20px;
  padding-top: 20px;
  text-align: center;
  /* width: 90%; */
  /* margin: 0 auto; */
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.service-item img {
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
}

.service-item p {
  font-family: 'HelveticaNeueCondensedBold';
  font-size: 1.4rem;
  color: #244E91;
  text-align: left;
}

/* Mobile layout for "Servicios" section */
@media screen and (max-width: 1440px) {
  /* #servicios, #services {
    padding: 0;
  } */

  .servicios-content {
    width: 1330px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 80px;
  }
  
  .servicios-header{
    max-width: 80%;
    margin: 0;
  }

  .servicios-header-container {
    width:50%;
    margin-bottom: 40px;
  }

  .servicios-header p {
    width:80%;
    margin-left: 10px;
    margin-bottom: 20px;
  }

  .carousel-container {
    width:80%;
  }
  /* .servicios-list-container {
    margin-left: 160px;
  } */
  
}

@media screen and (max-width: 1280px) {
  .carousel-container {
    width:80%;
  }
  .servicios-content {
    width: 1000px;
  }
  /* .servicios-list-container {
    margin-left: 150px;
  } */
  .service-item{
    justify-self: start;
  }
  .service-item img {
    width: 62px;
    height: 62px;
    margin-bottom: 10px;
  }
  .service-item p {
    font-size: 1.2rem;
    
}
}

@media screen and (max-width: 1025px) {
  .carousel-container {
    width:65%;
  }
  .servicios-list-container{
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .servicios-content {
    width: 900px;
  }
  .servicios-header p {
    margin: 0 auto;
    margin-bottom: 30px;
  }
  
}
@media screen and (max-width: 768px) {

/* Stack the elements vertically */
  .servicios-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width:100%;
  }

  .servicios-header-container {
    width: 60%;
  }

  .servicios-header {
    max-width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .servicios-header h2 {
    font-size: 3.1rem;
    padding: 5px 5px 5px 50px;

  }

  .servicios-header p {
    margin: 0 auto;
  }

  /* Adjust the carousel to show one image at a time */
  .carousel-item {
    flex: 1 0 100%;
    /* One item fills the entire width */
    padding: 0;
    /* Remove padding for better fit */
  }

  .carousel-inner {
    display: flex;
    transition: transform 0.3s ease;
    /* Smooth transition */
    width: 100%;
  }

  /* Adjust the carousel controls for smaller screens */
  .carousel-control-prev,
  .carousel-control-next {
    font-size: 1.5rem;
    top: 50%;
    width: 30px;
  }

  /* Stack the servicio-list-container below carousel */
  .servicios-list-container {
    margin-top: 30px;
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-left: 0;
  }

  .servicios-list {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    /* Adjust grid for small screens */
    /* max-width: 100%; */
    /* padding: 20px; */
    margin-left: 0;
  }



  /* Hide previous and next buttons on mobile */
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  /* Display one carousel item at a time */


  .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
  }

  .service-item img {
    width: 48px;
    height: 48px;
  }

  .service-item p {
    font-family: 'HelveticaNeueCondensedBold';
    font-size: .9rem;
    color: #244E91;
    text-align: center;
  }
}
@media screen and (max-width: 480px) {
  #servicios, #services {
    margin-bottom: 100px;
    margin-top: 150px;
  }
  .servicios-header-container{
    width: 90%;
    padding:0;
  }
  .service-item img{
    width: 52px;
  }
  .servicios-list{
    grid-gap: 20px 5px;
    /* width: 100%; */
  }
  .service-item p{
    font-size: .9rem;
  }
}

/* Clientes */
#clientes, #clients {
  padding: 50px 5%;
  text-align: center;
  margin-top: 250px;
}

.clientes-header {
  display: inline-block;
  background-image: url('img/headerBG2.svg');
  background-size: cover;
  background-position: center;
  position: relative;
  /* background: -webkit-linear-gradient(40deg, #2CFCDD 10%,rgba(255, 255, 255, 0.001)); */
  /* Green to transparent gradient */
  padding: 15px 190px;
  border-radius: 60px;
  /* Rounded corners */
  margin: 0 200px 150px 0;
  /* Space below the rectangle */
}

#clientes h2, #clients h2 {
  font-family: 'HelveticaNeueCondensedBlack', sans-serif;
  /* Apply the font */
  font-size: 3.1rem;
  /* 50px equivalent in rem */
  color: #244E91;
  /* Text color is white */
  padding: 0 10px;
  position: relative;
  left: 70px;
}

/* Adjusted grid layout to display 3 logos in the first row, and 2 in the second */
.clientes-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  /* First row has 3 columns */
  grid-template-rows: auto auto;
  /* Two rows */
  row-gap: 60px;
  max-width: 760px;
  margin: 0 auto;
}

.cliente-item img {
  width: 100%;
  /* object-fit: contain; */
  /* padding: 10px; */
}
.infonavit {
  width: 189px;
  grid-column: 1 / 4;
  align-self: end;
}


.rtt {
  width: 255px;
  grid-column: 9 / 12;
  align-self: end;
}

.cecytea {
  width: 164px;
  grid-column: 5 / 8;
  grid-row: 1;
  align-self: end;
}


.aqua {
  width: 159px;
  grid-column: 3 / 6;
  /* grid-row: 2; */
  align-self: end;
}

.also {
  width: 153px;
  grid-column: 7 / 10;
  justify-self: left;
}

/* CLIENTES Responsive adjustment for mobile */
@media (max-width: 768px) {
  #clientes, #clients {
    margin-top: 150px;
  }

  .clientes-header {
    padding: 20px 90px;
    /* Rounded corners */
    margin: 0 0 90px 0;
    /* Space below the rectangle */
  }

  #clientes h2, #clients h2 {
    font-size: 3rem;
    left: 15px;
  }

  .clientes-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }

  .cecytea {

    grid-row:unset;
   
  }

  .cliente-item {
    grid-column: 1 / -1;
    justify-self: center;
    align-self: center;
  }

  .cliente-item img {
    width: 70%;
  }
}
@media (max-width: 480px) {
  .clientes-header {
    padding: 10px 60px;

  }
}

/* Contact Form */

.valores-contacto {
  display: flex;
  justify-content: center;
  padding: 0 0 420px 0;
  background-color: #36A9E1;
}

.valores-vacio {
  
  margin-right: 50px;
} 

#contacto, #contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 250px;
}

/* .valores {
  position: relative;
  bottom: -100px;
  z-index: 1;
} */

.valores-container {
  background-color: #244E91;
  /* background-color: #244E91; */
  /* max-width: 412px;
  height: 484px; */
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2.6vw;
  /* box-shadow: 50px 25px #ABF7E5; */
}

.valores-container::before {
  content: '';
  background-color: #ABF7E5;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  position: absolute;
  left: 25px;
  top: 20px;
  z-index: -1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.valores-container p {
  font-family: 'HelveticaNeueCondensedBlack', sans-serif;
  font-size: 50px;
  /* 50px equivalent in rem */
  color: #ABF7E5;
  line-height: 1.1;
  letter-spacing: 1px;
  text-align: left;
  margin-bottom: 20px;
}

.valores-container ul {
  list-style: none;
  padding: 10px 0;
  text-align: left;
}

.valores-container li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-family: 'HelveticaNeueCondensedBold';
  font-size: 1.1rem;
  /* 20px equivalent in rem */
  color: #ABF7E5;
  font-kerning: normal;
  letter-spacing: 1px;
}

.valores-container li img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  /* Spacing between ornament and text */
}

.form-info {
  width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contacto-title {
  display: inline-block;
  background: linear-gradient(50deg, #02ffe1 45%, transparent 85%);
  padding: 10px 10px;
  border-radius: 60px 0 0 60px;
  margin-bottom: 40px;
  width: 60%;
  box-shadow: -10px 20px 10px rgba(0, 0, 0, 0.2);
}

.form-info p {
  color: white;
}

.contacto-title h2 {
  font-family: 'HelveticaNeueCondensedBlack', sans-serif;
  font-size: 3.125rem;
  color: #244E91;
  text-align: center;
  padding-right: 40px;
}

.form-container {
  width: 100%;
  max-width: 600px;
  margin: auto;
  padding: 20px;
  border-radius: 8px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

textarea::placeholder,input::placeholder{
  font-family: sans-serif;
  color: lightgray;
}

input {
  width: 48%;
  /* Two inputs per row, with space between them */
  padding: 10px;
  border: 1px solid white;
  border-radius: 4px;
  font-size: 16px;
  height: 45px;
  margin: 5px;
  margin-bottom: 15px;
  /* Space between rows */
}

textarea {
  width: 98%;
  /* Full-width textarea */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  margin: 5px;
  margin-bottom: 15px;
  min-height: 120px;
  resize: vertical;
  /* Allow resizing vertically */
}

/* Submit button (optional styling for completeness) */
.form-container button {
  width: 100%;
  padding: 10px;
  background-color: #244E91;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  margin: 5px;
}

button:hover {
  background-color: #0056b3;
}
.vvVert{
  background-color: #244E91;
  /* background-color: #244E91; */
  /* max-width: 412px;
  height: 484px; */
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2.6vw;
  /* box-shadow: 50px 25px #ABF7E5; */
}

.contact-info{
  width: 100%;
}
.contact-info ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.contact-info li{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px;
}
.contact-info li img{
  margin-right: 15px;
}
/* CONTACTO Section MEDIA QUERIES */
@media screen and (max-width: 1440px) {


  .valores-container li {
    font-size: 1.3vw;
  }
  
  .valores-container li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    /* Spacing between ornament and text */
  }
  .valores-container p {
    font-size: 3.4vw;
  }
  .valores{
    margin-left: 20px;
  }
}

@media screen and (max-width: 1025px) {

  .valores-vacio {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 100px;
    }

    .valores-container {
    background-color: #244E91;
    /* background-color: #244E91; */
    /* max-width: 412px;
    height: 484px; */
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* padding: 2.6vw; */
    /* box-shadow: 50px 25px #ABF7E5; */
  }
  .valores-container::before {
    content: '';
    background-color: #ABF7E5;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    position: absolute;
    left: 25px;
    top: 20px;
    z-index: -1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }
  .valores-container p {
    font-family: 'HelveticaNeueCondensedBlack', sans-serif;
    font-size: 50px;
    /* 50px equivalent in rem */
    color: #ABF7E5;
    line-height: 1.1;
    letter-spacing: 1px;
    text-align: left;
    margin-bottom: 20px;
  }
  
  .valores-container ul {
    list-style: none;
    padding: 10px 0;
    text-align: left;
  }
  
  .valores-container li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-family: 'HelveticaNeueCondensedBold';
    font-size: 1.1rem;
    /* 20px equivalent in rem */
    color: #ABF7E5;
    font-kerning: normal;
    letter-spacing: 1px;
  }
  
  .valores-container img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    /* Spacing between ornament and text */
  }

  .valores-contacto {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 0 400px 0;
  }

  
  .valores-container{
     /* width:400px; */
     padding: 50px;
   }

   .valores-container p {
    font-size: 50px;
  }
 
  .valores-container li {
    font-size: 1.1rem;
  }
  .valores-container li img{
    width: 8%;
  }
  
   
}
@media screen and (max-width: 768px) {
  #contacto, #contact{
    margin-top: 200px;
   }
  
  .contacto-title{
    width:80%;
  }
  .valores-contacto {
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 50px 0 400px 0;
  }

  .valores {
      margin-bottom: 30px;
      width: 100%;
      max-width: 80%;
      margin-left: 20px;
  }
  
  .form-info {
      /* width: 100%; */
      max-width: 80%;
      /* margin-top: 30px; */
  }

  .form-container form {
      display: flex;
      flex-direction: column;
      width: 100%;
      max-width: 100%;
  }

  .form-container input,
  .form-container textarea,
  .form-container button {
      width: 100%;
      margin-bottom: 15px;
  }
}

/* Smaller screens: full width */
@media screen and (max-width: 480px) {
 
  .contacto-title{
    width:100%;
  }
  .contacto-title h2{
    padding-right: 0;
  }

  .form-info p {
    width: 85%;
    text-align: center;
}

  .vvVert{
    width: 80vw;
    padding: 8vw;
  }

  .valores-container p{
   font-size: 30px;
 }

 .valores-container li {
   font-size: 16px;
   margin-right: 45px;
 }
 .vvVert li img{
   width: 8%;
 }

  .form-container form {
      width: 100%;
      padding: 0 10px;
  }

  .form-container input,
  .form-container textarea,
  .form-container button {
      width: 100%;
      margin-bottom: 10px;
  }

  .form-container button {
      padding: 0.5rem;
  }
  .contact-info ul{
    justify-content: flex-start;
    margin-left: 20px;
    
  }
}
