@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body{
    background-color:#f4f4f4;
    font-family:
    'Poppins',
    Gill Sans,
    Gill Sans MT,
    Myriad Pro,
    DejaVu Sans Condensed,
    Helvetica,
    Arial,
    'sans-serif';
}
html {
    scroll-behavior: smooth;
  }

/*..................................NAVIGATION...............................*/

/* Estilos base */
.menu-container {
    max-width: 100%;
    height: 70px;
    margin: auto;
    background-color: white;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    padding: 0 20px;
}

.logo {
    height: 60px;
    width: 80px;
    margin-right: 10px;
}

.logo_name {
    display: flex;
    align-items: center;
    color: #576c54;
    font-weight: 600;
}

/* Contenedor del menú hamburguesa */
.hamburger-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Estilos del botón hamburguesa */
.menu-toggle {
    display: none;
}

.hamburger-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px; /* Más pequeño */
    height: 18px; /* Más pequeño */
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1001;
    margin-left: auto; /* Empuja a la derecha */
}

.hamburger-line {
    width: 100%;
    height: 2px; /* Líneas más delgadas */
    background-color: #576c54;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Menú de navegación principal (escritorio) */
.main-nav ul.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav ul.nav-list li {
    margin-left: 20px;
}

.main-nav ul.nav-list li a {
    font-size: 16px;
    font-weight: 600;
    color: #576c54;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.main-nav ul.nav-list li a:hover {
    color: rgb(140, 158, 145);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex; /* Mostrar solo en móvil */
    }
    
    .main-nav {
        position: absolute;
        top: 100%; /* Justo debajo del botón */
        right: 0; /* Alineado a la derecha */
        width: 200px; /* Ancho compacto */
        background-color: white;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transform: translateY(-10px) scaleY(0);
        transform-origin: top;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 1000;
        border-radius: 0 0 0 8px;
    }
    
    .menu-toggle:checked ~ .main-nav {
        transform: translateY(0) scaleY(1);
        opacity: 1;
    }
    
    .main-nav ul.nav-list {
        flex-direction: column;
        padding: 5px 0; /* Menos padding */
    }
    
    .main-nav ul.nav-list li {
        margin: 0;
        text-align: center; /* Alineado a la derecha */
    }
    
    .main-nav ul.nav-list li a {
        padding: 10px 15px; /* Más compacto */
        font-size: 14px; /* Texto más pequeño */
    }
}

/*..................................SERVICES CONTACT US...............................*/

.services {
    padding: 8rem 5%;
}

.services h2 {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 40px;
    color: white;
    background-color: #307230;
    border-radius: 7px;
    margin-left: 290px;
    width: 50%;
}

.service-line {
    width: 80px;
    height: 4px;
    background: #008000;
    margin: 0 auto 2rem;
}

.section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    color: #666;
}

@media (max-width: 1000px) {
    .menu .navbar ul {
        margin-left: 200px; /* Ajuste progresivo */
    }
    .services h2 {
        margin-left: 200px; /* Ajuste proporcional */
        width: 60%; /* Ligero ajuste */
    }
}
@media (max-width: 768px) {
    .menu .navbar ul {
        display: none; /* Ocultamos la navegación normal */
    }
    .services h2 {
        margin-left: 100px;
        width: 70%;
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .services h2 {
        margin-left: 20px;
        width: 90%;
        font-size: 26px;
    }
    .services {
        padding: 6rem 5%;
    }
}
/*..................................CONTACT US CARD ...............................*/


.contact-card-container {
    max-width: 700px;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: -100px auto;

  }
  
  .contact-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
    transition: transform 0.3s ease;
    width: 100%;
    margin: 0 auto;
  }
  
  .logo-container {
    margin: 0 auto 30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
  }
  
  .company-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .company-name {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: -50px;
    color: #333333;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
  }
  
  .contact-icon{
    width: 24px;
    height: 24px;
    margin-right: 10px;
  }
  
  .contact-text {
    font-size: 20px;
    color: #333333;
  }
  
  .social-links-card {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
  }
  .social-links-card {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-icon-card {
    width: 40px;
    height: 40px;
    background: #008000 !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008000 !important;
    text-decoration: none;
    transition: all 0.3s ease; /* Transición suave para todos los cambios */
}

.social-icon-card svg, 
.social-icon-card i {
    width: 20px;
    height: 20px;
    color: white;
    transition: transform 0.3s ease; /* Transición específica para el transform */
}

.social-icon-card:hover {
    background: #008000 !important;
}

.social-icon-card:hover svg,
.social-icon-card:hover i {
    transform: scale(0.8); /* Reduce el tamaño al 80% */
}
  
  @media (max-width: 640px) {
    .contact-card {
      padding: 30px;
    }
    
    .logo-container {
      width: 150px;
      height: 150px;
    }
    
    .company-name {
      font-size: 24px;
    }
    
    .contact-text {
      font-size: 16px;
    }
    
    .social-link {
      width: 50px;
      height: 50px;
    }
  }

/*..................................FOOTER...............................*/

footer {
    background: #1a1a1a;
    color: white;
    padding: 4rem 5% 2rem;
    margin-top: 200px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-icon {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease; 
}

.social-icon svg, 
.social-icon i {
    width: 20px;
    height: 20px;
    color: white;
    transition: transform 0.3s ease; 
}

.social-icon:hover {
    background: #008000;
}

.social-icon:hover svg,
.social-icon:hover i {
    transform: scale(0.8); /* Reduce el tamaño al 80% */
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #008000;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}
