:root {
    --primary-color: #ff3131;
    --secondary-color: #c98361;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --text-color: #333;
}

body {
    font-family: "Raleway", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.site-header {
    background-color: #000000;
}

.post, .page {
    margin: 0;
}

.top-header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    position: relative;
    padding: 5px 15px;
}

.custom-link {
    color: white !important;

}

.navbar-toggler-icon {
    color: #ffffff !important;
}

a:visited {
    text-decoration: none;
    color: #000000 !important;

}
/* Seccion Inicio*/
.section-inicio {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    padding-bottom: 5rem;
}

.text-bienvenido {
    font-size: 25px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: "Raleway", sans-serif;
    font-weight: 550;

}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: "Raleway", sans-serif;
    

}

.hero-content h3 {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.inicio-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.inicio-image:hover {
    transform: scale(1.02);
}

.section-inicio h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-inicio h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.section-inicio h3 {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
}
/* Seccion Inicio*/

/* Seccion titulo servicios*/
.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    padding-top: 100px;
    text-align: center;
    font-weight: 550;
}


.seccion-servicios {
    background-color: var(--light-color);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}
/* Seccion servicios*/

/* Seccion Quienes Somos*/
.about-section {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    color: white;
}

.section-title-about {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    text-align: center;
    font-weight: 550;
}

.section-title-about::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-text {
    font-size: 1.1rem;

}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.about-list i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.why-us-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem;
    height: 89%; /* Esto puede causar problemas, mejor cambiarlo */
    position: relative; /* Añadido para mejor control */
    overflow-y: auto; /* Añade scroll vertical si el contenido es muy largo */
    height: 550px; /* Establece una altura máxima */
}

.why-us-card h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.why-us-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
}

.why-us-item p {
    margin-bottom: 0;
}
/* Seccion Quienes Somos*/


/* Seccion Colaborador*/
.section-title-colab {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    padding-top: 50px;
    text-align: center;
    font-weight: 550;
}

.section-title-colab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}
/* Seccion Colaborador*/


/*Seccion Proyectos*/

.section-title-projects {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    padding-top: 100px;
    text-align: center;
    font-weight: 550;
}

.section-title-projects::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    
}

.projects-section {
    padding: 1rem 0;
    background-color: var(--light-color);
}

.carousel-item img {
    border-radius: 10px;
    height: 500px;
    object-fit: cover;
}


/*Seccion Proyectos*/
.contact-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.contact-form-container {
    background-color: var(--primary-color);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-form-header {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

label {
    color: #f6efef;
    font-weight: bold;
}

.contact-form-header h4 {
    font-size: 1.25rem;
    font-weight: 400;
}

.form-control, .form-select {
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 49, 49, 0.25);
}

.btn-outline-light {
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background-color: white;
    color: #212529 !important;
}

.btn-submit {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}
/* Contacto */

/* Informacion de Contacto */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
    justify-content: center;
}

.titulo-contacto {
    font-family: "Inter", sans-serif;
    font-weight: 300;
}

.contact-info-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.25rem;
}

.contact-info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-info-card p {
    margin-bottom: 0;
}


.footer1 {
    color: rgb(255, 255, 255);

    
}

.site-footer {
    background-color: var(--primary-color);
    padding-top: 50px;
    padding-bottom: 30px;
}
/* RESPONSIVO */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.25rem;
    }
    
    .hero-content h3 {
        font-size: 1.1rem;
    }
    
    .contact-info-container {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .section-title::after {
        width: 60px;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer .col-md-6 {
        text-align: center !important;
    }
}


/* RESPONSIVO */