/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Navbar */
.navbar {
    top: 0;
    background-color: #27ae60 !important;
    padding: 0.5rem 1rem;
}

.navbar .navbar-brand img {
    max-height: 100px;
    width: auto;
}

.navbar-nav .nav-item .nav-link {
    color: white !important;
    font-size: 1rem;
}


/* Hero Section */
.hero {
    background: url('../images/logos/hero.webp') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Overlay for dimming */
    z-index: 1;
    transition: background-color 0.5s ease;
}

.hero:hover::before {
    background-color: rgba(0, 0, 0, 0.7); /* Darker overlay on hover */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
    transition: transform 0.5s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    transition: transform 0.5s ease;
}

.hero-content:hover h1, .hero-content:hover p {
    transform: scale(1.1);
}

.hero-content .btn-primary {
    background-color: #27ae60;
    color: white;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 5px;
    z-index: 2;
    border: none;
}

.hero-content .btn-primary:hover {
    background-color: #2ecc71;
}

/* Hero Scroll Effect */
.hero {
    transition: transform 0.5s ease;
}

.hero.scrolled {
    transform: scale(1.05);
}

/* About section*/
.about {
    padding: 2rem 0;
    background-color: white;
    margin-bottom: 3rem;
    border-radius: 5px;
    /* text-align: center; */
}

/* Contenedor de columnas dentro de la sección "about" */
.about-row {
    margin-top: 2rem;
}

/* Imagen del logo */
.logo-about {
   
    max-width: 80%; 
    height: auto;
}

.about-text p {
    text-align: left;     
    margin: 0;           
    line-height: 1.6;
}

/* Productos Section */
.productos .product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    height: 100%;
    margin-bottom: 2rem;
}

.productos .product-image {
    width: auto;
    max-width: 150px;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.productos .product-image:hover {
    transform: scale(1.1);
}

.productos h3 {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    color: #2c3e50;
}

.productos p {
    font-size: 1rem;
    color: #666;
}

/* Certificados Section */
.certificados {
    padding: 2rem 0;
    background-color: white;
    margin-bottom: 1rem;
    border-radius: 5px;
    text-align: center;
}

.certificados .cert-image {
    width: auto;
    height: 200px;
    border-radius: 10px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certificados h3 {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    color: #2c3e50;
}

.certificados p {
    margin-top: 0rem;
    font-size: 1rem;
    color: #666;
}

/* Contact Form */
form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    display: inline-block;
    background-color: #27ae60;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background-color: #2ecc71;
}

/* Footer */
footer {
    position: sticky;
    bottom: 0;
    background-color: #27ae60;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 1rem;
}

footer p {
    font-size: 0.9rem;
}
