/* google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rough+Owl&display=swap');
/* css variables to reuse same color 
----------++---------- */
:root {
  --clr-primary: #2c541d;
  --clr-secondary: #74a84a;

  --clr-white: #fefefe;
  --clr-black: #000000;
}

::selection {
  background-color: #74a84a;
  color: #000000;
}



/* base style 
----------++---------- */
body {
 font-family: 'Poppins', sans-serif;

 position: relative;
 overflow-x: hidden;
}



i {vertical-align: middle;}



/* reused styles 
----------++---------- */
.container {
  width: 1180px;
  max-width: 95%;
  margin: 0 auto;
  padding: 0 10px;
}

.btn-fill {
  background-color: var(--clr-white);
  color: var(--clr-black);
  padding: 10px 48px;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: 0.3s background-color;
}

.btn-fill:is(:focus, :hover) {
  background-color: #ffbc03;
}

/* header section style 
----------++----------  */
header {
  width: 100%;
  padding: 32px 0;

  position: fixed;
  top: 0px;
  right: 0px;
  left: 0px;
  z-index: 4;

  transition-duration: .3s;
  transition-property: padding background-color box-shadow;
}

header.sticky {
  padding: 24px 0;
  background-color: #dbdbdb2b;

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
header.sticky {
  padding: 24px 0;
  background-color: rgba(0, 0, 0, 0.671); /* fondo blanco semitransparente */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* sombra para diferenciar */
  z-index: 15; /* asegura que quede encima del nav-mobile */
}




header .container {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}


header .logo img {
  width: 100px;
}

header .right, 
header nav {
  display: flex;
  gap: flex;
  gap: 32px;
}
header nav a {
  color: var(--clr-white);
}

header nav a:is(:focus, :hover) {
  color: #ffbc03;
}

header .hamb, 
.nav-mobile {
  display: none;
}

/* adding internal media queries so that it will be easier to understand for you :) */
@media screen and (max-width: 650px) {
  header .hamb,
  .nav-mobile {
    display: block;
  }

  header .hamb #icon {
    font-size: 2rem;
    cursor: pointer;
    position: relative; 
    z-index: 10;
  }

  header .nav-desktop {
    display: none;
  }

  .nav-mobile {
    display: grid;
    gap: 32px;

    background-color: var(--clr-secondary);
    padding: 100px 50px;
    width: 80%;

    position: fixed;
    right: 0px;
    top: -100%;
    z-index: 5;

    transition: 0.3s top;
  }

  .nav-mobile.active {
    top: 80px;
  }
  .nav-mobile  a {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--clr-white);

    transition: 0.3s color;
  }
  .nav-mobile  a:is(:focus, :hover) {
    color: var(--clr-black);
  }
}

/* hero section style 
----------++---------- */
.hero {
  width: 100%;
  height: 100vh;
  padding-top: 150px;

  background-color: var(--clr-secondary);
  background-image: url(../img/Banner.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;

  background-attachment: fixed;
}

.hero .container {
  text-align: center;
}

.hero .title {
  font-size: 5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--clr-primary);
}
/*titulo DIVERSIDAD*/
.titulo { font-family: 'Rough Owl', cursive; 
font-size: 90px; 
font-weight: bold; 
 
} 
.letra1 { color: red; } 
 .letra2 { color: purple; } 
 .letra3 { color: green; } 
 .letra4 { color: orange; } 
 .letra5 { color: yellow; } 
 .letra6 { color: blue; } 
 .letra7 { color: pink; } 
 .letra8 { color: teal; } 
 .letra9 { color: brown; } 
 .letra10 { color: magenta; }

/* Borde blanco con sombra */ 
.titulo img {
  width: 700px;
  height: 171px;
 /* letter-spacing: 3px;
 /* text-shadow: 
 /* -2px -2px 0 #ffffff, /* arriba izquierda */ 
 /* 2px -2px 0 #ffffff, /* arriba derecha */ 
 /* -2px 2px 0 #ffffff, /* abajo izquierda */ 
 /* 2px 2px 0 #ffffff, /* abajo derecha */ 
 /* 0px -2px 0 #ffffff, /* arriba */ 
 /* 0px 2px 0 #ffffff, /* abajo */ 
 /* -2px 0px 0 #ffffff, /* izquierda */ 
 /* 2px 0px 0 #ffffff; /* derecha */

  /*-5px -5px 2px #ffffff,   arriba izquierda */
  /*5px -5px 2px #ffffff,  arriba derecha */
 /*-5px  5px 2px #ffffff,   abajo izquierda */
  /*5px  5px 2px #ffffff,  abajo derecha */
  /*6px  6px 6px rgba(0,0,0,0.7);*/
   }
  
@media screen and (max-width: 750px){
  .titulo img{
    width: 300px;
  height: 73px;
 
  }
}

.hero .subtitle {
  font-size: 4.5rem;
  font-weight: 400;
  text-transform: uppercase;
  margin: 1px 0 32px;
}

.hero .subtitle1 {
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  margin: 16px 0 2px;
  color: var(--clr-white);
}
/* PARA EL TITULO FUNCIONAL*/
.subtitle { font-size: 2.5rem; font-weight: 400; 
  text-transform: uppercase; margin: 16px 0 32px; 
  color: var(--clr-white); 
  /* color principal de la letra */ /* Contorno blanco sólido alrededor */ 
  text-shadow: 0 0 6px #000000; 
  
 }

 @media screen and (max-width: 750px){
  .hero .subtitle {
     font-size: 2.5rem;
 
  }
  .hero .subtitle1 {
     font-size: 1rem;
 
  }
}

 /*CONTENIDO*/
.contenido {
  display: flex;
  font-size: 3rem;
  font-weight: bold;
  color: #0e0341;
  text-align:left;
  margin-left: 17%;
  margin-bottom: 1%;
}
/* services section style 
----------++---------- */
.services {
  padding: 100px 0;

}
.services .container {
  display: grid;
  gap: 32px;
  justify-items: center;
  grid-template-columns: repeat(3, 1fr);
}
.services p {
  text-align: justify;
}
@media screen and (max-width: 750px){
  .services .container {
    grid-template-columns: 1fr;
  }
} 
  
.services .card {
  max-width: 350px;
}

.services img {
  transition: .3s transform;
}

.services img:hover {
  transform: scale(0.9);
}
/* about us section style 
----------++---------- */
.about {

  background: linear-gradient(to right, #dadada, #f5f4f4, #dbdbdb); 
  
  padding: 20px;


  padding: 10px 0;
  background-color: #dad9d9;
}

.about .container {
  
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  text-align: justify;
}

/* PRECIO */
.precio {
  padding: 10px 0;
  background-color: #973f05;
  background: linear-gradient(5deg, #03467a,  #0797bb, #074163);
}

.precio .container {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  text-align: justify;
}

/*PROMOCION*/


  .promo-box { background: linear-gradient(135deg, #ff6f61, #ffcc70); color: #fff; padding: 30px; border-radius: 15px; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,0.2); max-width: 400px; } .promo-box h1 { font-size: 28px; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; } .promo-box p { font-size: 18px; margin-bottom: 20px; } .price { font-size: 36px; font-weight: bold; background: #fff; color: #ff6f61; padding: 10px 20px; border-radius: 10px; display: inline-block; } .btn { display: inline-block; margin-top: 20px; padding: 12px 25px; background: #fff; color: #ff6f61; font-weight: bold; border-radius: 8px; text-decoration: none; transition: 0.3s; } .btn:hover { background: #ff6f61; color: #fff; }



@media screen and (max-width: 850px) {
  .about .container {
  flex-wrap: wrap;
  justify-content: center;
  }
}
.about .content {
  width: 480px;
  max-width: 100%;
}

.about img{
  width: 530px;
}


.about h3{
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
}
/* PRECIO */
@media screen and (max-width: 850px) {
  .precio .container {
  flex-wrap: wrap;
  justify-content: center;
  }
}
.precio .content {
  width: 480px;
  max-width: 100%;
}

.precio img{
  width: 530px;
}


.precio h3{
  font-size: 2rem;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* DIRIGIDO us section style */
.dirigido {
  padding: 50px 0 50px;
  background: linear-gradient(180deg, #02afff, #0498dd, #02afffe0);
    background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.dirigido .container{
  max-width: 530px;
  width: 100%;
  margin: 0 auto;
  text-align: center;


  font-weight: bold; color: #ffffff; /* Azul elegante */ 
  padding: 2px 6px; 
  border-radius: 4px;

}

.dirigido h3 {
  font-size: 3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  word-spacing: 3px;
  color: #ffffff;
}

.dirigido p {
  margin: 10px 0 32px;

  font-size: 15px; 
  text-align: center; /* Centrado en la línea */ 
  color: #ffffff;;
}

@media screen and (max-width: 650px) {
  .dirigido p {
  font-size: 12px;
  }
}


/* contact us section style 
----------++---------- */
.contact {
  padding: 150px 0 200px;


  background-color: var(--clr-secondary);
  background-image: url(../img/Call-to-action1.jpg);
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}

.contact .container{
  max-width: 530px;
  width: 100%;
  margin: 0 auto;
  text-align: center;


  font-weight: bold; color: #2980b9; /* Azul elegante */ 
  padding: 2px 6px; 
  border-radius: 4px;

}

.contact h3 {
  font-size: 3rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  word-spacing: 3px;
  color: var(--clr-white)
}

.contact p {
  margin: 16px 0 32px;

  font-size: 18px; text-align: center; /* Centrado en la línea */ color: #333;
}

.whatsapp { margin-top: 20px; text-align: center; } 
.whatsapp a { display: inline-flex; align-items: center; gap: 8px; /* espacio entre icono y número */ 
              font-size: 18px; font-weight: bold; color: #25D366; /* verde oficial de WhatsApp */ 
              text-decoration: none; background: #fff; padding: 10px 15px; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); transition: 0.3s; } 
.whatsapp a:hover { background: #25D366; color: #fff; } 
.whatsapp i { font-size: 24px; /* tamaño del ícono */ }



/* footer style 
----------++---------- */

footer {
  padding: 40px 0;
}

footer .container {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

footer img {
  width: 100px;
}
footer .end {
  display: flex;
  gap: 32px;
  align-items: center;
}

footer .end .to-top {
  font-size: 2rem;
  color: var(--clr-primary);

  transition-duration: .3s;
  transition-property: color transform;
}
footer .end .to-top:is(:focus, :hover) {
  color: var(--clr-secondary);
  transform: translate(-5px);
}
.end .terminos {
  font-size: 0.9rem;
  color: var(--clr-primary);
  text-decoration: none;
  transition: 0.3s color;
}

.end .terminos:hover {
  color: var(--clr-secondary);
  text-decoration: underline;
}