*{
    margin:0;
    padding:0;
    font-family:'Poppins',sans-serif;
    font-weight: 400;
    font-size: normal;
    box-sizing: border-box;
    /* overflow: hidden; */
}

body{
    background-color: #f9f9f9;
}

:root {
    --section-padding: 3rem 1rem ;
    --section-padding-x2: 10rem 3rem ;
    --section-space: 7rem 0;
    --subsection-padding: 3rem 1rem;
    --subsection-padding-x2: 3rem 10rem;
    --intro-padding:3rem;
    --between-section-space: 3rem;
    --section-space-sides: 0 1rem ;
    --primary-color:#f5821f;
    --secondary-color:#4D4E4F;
    --third-color:#fac79a;
    --four-color:#ffffff;
  }

h1{
    text-align: center;
}
h2,h4{
    color:var(--secondary-color);
    /* font-size: 25px; */
    font-weight: 800;
    margin-bottom: 2rem;
 }

 a{
    text-decoration: none;
    color:#000;
}

 .content p{
    font-size: 15px;
}

.contenedor{
    width:100%;
    /* background-image:linear-gradient(rgba(0, 0, 0, 0.6),rgba(0, 0, 0, 0.7)),url(img/banner.jpg); */
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 500px;
    height: 100vh;
    /* padding: 10px 8%; */
    color:var( --text-main-color);
}

.container{
    width: 100%;
    margin: 0 auto;
    /* max-width: 1550px; */
    overflow: hidden;
}

/*-------------------------------------------- SERVICIOS------------------------------------------------------>
  -------------------------------------------- SERVICIOS------------------------------------------------------>
  -------------------------------------------- SERVICIOS------------------------------------------------------>*/
/* Diseño responsive para móviles primero */
.services {
    display: flex;
    flex-direction: column;
    /* padding: 20px; */
    padding: var(--section-padding);
    text-align: center;
}
  
.service-description {
    background-color: #f3f3f3;
    padding:5rem;
    border-radius: 10px;
    margin-bottom: 20px;
}
  
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
  
.service-box {
    background-color: #f3f3f3;
    padding: 15px;
    border-radius: 10px;
}

.service-box  h3{
  margin-bottom: 1rem;
}
  
.icon {
    font-size: 60px;
    color: #F8A35F; /* Puedes ajustar el color de los iconos */
    margin-bottom: 10px;
}

/*-------------------------------------------- ABOUT US------------------------------------------------------>
  -------------------------------------------- ABOUT US------------------------------------------------------>
  -------------------------------------------- ABOUT US------------------------------------------------------>*/
  /* Estilos para móviles */
.about-us {
    padding:var(--section-padding);
  }
  
  .about-image {
    position: relative;
    text-align: center;
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
  
  .about-text {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    top: 50%;
    
    transform: translateY(-50%);
    width: 100%;
    /* text-align: left; */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .about-text h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  
  .about-text p {
    font-size: 16px;
    color: #333;
  }
  .about-text .small-title {
    font-size: 0.9rem;
    color: #666;
    /* margin-bottom: 5px; */
  }
  
 /* Estilo para el recuadro circular del fundador dentro de la caja de texto */
.founder {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.founder-photo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

.founder-info {
  margin-left: 15px;
}

.founder-info h3 {
  font-size: 18px;
  margin: 0;
}

.founder-info p {
  font-size: 14px;
  color: #666;
}

/*<!--------------------------------------------LAST PROJECT------------------------------------------------------>
  <!--------------------------------------------LAST PROJECT------------------------------------------------------>
  <!--------------------------------------------LAST PROJECT------------------------------------------------------>*/
/* Estilos generales */
.latest-project {
  padding: var(--section-padding);
  text-align: center;
}

.project-header h3 {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.project-header p {
  font-size: 1.4rem;
  color:var(--secondary-color);
  margin-bottom: 20px;
}

/* Estructura de contenido */
.project-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-image img {
  width: 100%;
  border-radius: 10px;
}

.project-details {
  text-align: left;
}

.project-details h4 {
  font-size: 20px;
  color: #333;
  margin-bottom: 1rem;
}

.project-location {
  background-color:var(--third-color); /* Naranja pastel */
  padding: 10px;
  font-size: 16px;
  color: #333;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.project-details p {
  font-size: 14px;
  color: #555;
}


/* Estilo para pantallas de tablets */
@media(min-width: 768px) {
    .services {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
    }
  
    .service-description {
      width: 40%;
      text-align: left;
    }
  
    .services-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      width: 55%;
    }

      /*-------------------------------------------- ABOUT US------------------------------------------------------>
        -------------------------------------------- ABOUT US------------------------------------------------------>
        -------------------------------------------- ABOUT US------------------------------------------------------>*/
    .about-us {
        padding: 5rem 10rem;
      }
      .about-image img {
        right: 5%;
        width:50%;
        object-fit: cover;
        /* width: 563px;
        height: 563px; */
      }
    
      .about-text {
        width: 60%;
        height:80%;
        right: 5%;
      }

      

      .about-text p {
        text-align: left;
      }
      
      .about-text h2 {
        font-size: 1.8rem;
        text-align: left;
      }
    
      .founder-photo img {
        width: 80px;
        height: 80px;
      }
    
      .founder-info h3 {
        font-size: 20px;
      }
    
      .founder-info p {
        font-size: 16px;
      }
      /*<!--------------------------------------------LAST PROJECT------------------------------------------------------>
      <!--------------------------------------------LAST PROJECT------------------------------------------------------>
      <!--------------------------------------------LAST PROJECT------------------------------------------------------>*/

      
      .project-header p {
        font-size: 1.8rem;
      }

      .project-content {
        flex-direction: row;
        justify-content: space-between;
      }
    
      .project-image, .project-details {
        width: 50%;
      }
    
      .project-details {
        padding-left: 20px;
      }

      
}
@media (min-width:960px){

    .main-content h2{
        font-size: 42px;
     }

     .content h1{
        font-size: 40px;
     }

     
     .banner .content h2{
        font-size: 20px;
     }

   
    

    .intro{
        max-width: 1200px;
        margin: 0 auto;
        text-align: center;
        text-wrap: balance;
        margin-top:8rem;
        padding: 15% 0;
    
    }
    .portafolio{
        text-align: center;
    }
    .portafolio p{
        width:50%;
        margin: 0 auto;
        margin-bottom: 2rem;
    }
    
.contenedor .intro a{
    width:30%;
}
    
  
    /* .services .services-box{
        flex-direction: unset;
    } */

    footer .contact p{
        font-size: 20px;
    }
    
    footer .contact .contact-content{
        display: flex;
    }
}

@media screen and (min-width: 992px){
    
}

@media (min-width:1249px){
    
    .about{
        padding: 5rem 10rem; 
        margin:8rem 0;
    }

    .services {
      padding: 5rem 10rem;
      }
    
      .services-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    
      .service-box {
        padding: 20px;
      }
    
      /*-------------------------------------------- ABOUT US------------------------------------------------------>
      -------------------------------------------- ABOUT US------------------------------------------------------>
      -------------------------------------------- ABOUT US------------------------------------------------------>*/
   
      .about-text {
        width: 40%;
      }
    
      .founder-info h3 {
        font-size: 22px;
      }
    
      .founder-info p {
        font-size: 16px;
      }
     /*<!--------------------------------------------LAST PROJECT------------------------------------------------------>
      <!--------------------------------------------LAST PROJECT------------------------------------------------------>
      <!--------------------------------------------LAST PROJECT------------------------------------------------------>*/

      .latest-project {
        padding: 5rem 10rem; 
        /* padding: 40px; */
      }

    
      .project-header h3 {
        font-size: 22px;
      }
    
      .project-header p {
        font-size: 2rem;
      }
    
      .project-details h4 {
        font-size: 24px;
      }
    
      .project-location {
        font-size: 18px;
      }
    
      .project-details p {
        font-size: 16px;
      }
    /* footer{
        margin-top:8rem;
    }


    footer .contact {
        padding: 4rem 10rem; 
    } */
}