/*FONT FAMILY*/
@font-face {
    font-family: 'Goudy STM';
    src: url('../fonts/GoudyStM.otf');
}

@font-face {
    font-family: 'Canterbury';
    src: url('../fonts/Canterbury.ttf');
}

/*END FONT FAMILY*/
html,
body {
    font-family: 'Goudy STM';
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

header {
    width: 100%;
    position: relative;
    z-index: 1000; /* Asegurar que el header esté por encima del contenido */
}

.wrapper {
    margin: 0 auto;
    width: 100%;
}

.container {
    width: 100%;
}

.row {
    margin-bottom: 5px;
}

.logo {
    max-width: 100px;
    height: auto;
}

.navbar-collapse {
    justify-content: flex-end;
}

.navbar-collapse.show {
    text-align: center;
    width: 100%;
    padding: 20px 0; /* Add padding to make it more clickable */
}

.navbar-nav .nav-link {
    color: #fff;
}

.collapse:not(.show) {
    display: none;
}

.collapse.show {
    display: block;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    background-color: #FFFFFF;
    opacity: .90;
    z-index: 1050;
}

/*EFFECTS*/
.quick-links {
    text-align: center;
    /* text-transform: uppercase; */
    font-weight: 500;
}
.quick-links * {
    box-sizing: border-box;
}
.quick-links a {
    color: #FFFFFF;
    opacity: 0.5;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 15px;
    font-weight: 500;
}
.quick-links li {
    display: inline-block;
    list-style: outside none none;
}
.quick-links a:before,
.quick-links a:after {
    color: #834105;
    text-decoration: none;
    display: inline-block;
    opacity: 0;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.2s;
       -moz-transition: -moz-transform 0.3s, opacity 0.2s;
            transition: transform 0.3s, opacity 0.2s;
}
.quick-links a:before {
    color: #834105;
    text-decoration: none;
    margin-right: 10px;
    content: '[';
    -webkit-transform: translateX(20px);
       -moz-transform: translateX(20px);
            transform: translateX(20px);
}
.quick-links a:after {
    color: #834105;
    text-decoration: none;
    margin-left: 10px;
    content: ']';
    -webkit-transform: translateX(-20px);
       -moz-transform: translateX(-20px);
            transform: translateX(-20px);
}
.quick-links a:hover::before,
.quick-links a:hover::after,
.quick-links a:focus::before,
.quick-links a:focus::after {
    text-decoration: none;
    color: #834105;
    white-space: nowrap;
    text-decoration: none;
    opacity: 1;
    -webkit-transform: translateX(0px);
       -moz-transform: translateX(0px);
            transform: translateX(0px);
    
}

.home-readmore-3 {
    font-size: 18px;
    display: inline-block;
    padding: 0 35px;
    border: 2px solid #834105;
    background-color: #834105;
    line-height: 50px;
    color: #FFFFFF;
    opacity: .9;
    text-decoration: none;
    -webkit-transition: 0.3s;
       -moz-transition: 0.3s;
            transition: 0.3s;
    border-radius: 8px;
}
.home-readmore-3:hover {
    background-color: transparent;
    border: 2px solid #834105;
    color: #834105;
    opacity: .9;
    text-decoration: none;
    -webkit-transition: 0.3s;
       -moz-transition: 0.3s;
            transition: 0.3s;
    border-radius: 8px;
}
/*END EFFECTS*/

/*CAROUSEL*/
.custom-carousel .carousel-item img {
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.carousel-logo {
    max-width: 150px; /* Ajusta el tamaño según lo que necesites */
    margin-bottom: 10px; /* Espacio entre la imagen y el texto */
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.carousel-title {
    font-size: 5vw;
    font-family: 'Goudy STM';
    font-weight: bold;
}

.carousel-subtitle {
    font-size: 3vw;
    font-family: 'Goudy STM';
}

.carousel-caption h3 {
    font-size: 3vw;
}

.carousel-caption h4 {
    font-size: 2vw;
}

.carousel-caption h3, .carousel-caption p .carousel-caption h4 {
    z-index: 2;
    position: relative;
}

.filosofia-image .carousel-caption {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.metodologia-image .carousel-caption {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.nosotros-image .carousel-caption {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.propone-image .carousel-caption {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.contacto-image .carousel-caption {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}
/*END CAROUSEL*/

.hero {
    position: relative;
    background-color: #7A491E; /* Color de fondo */
    padding: 80px 15px; /* Ajuste de padding */
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/home-4.png'); /* Ruta de la imagen */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
    opacity: 0.3; /* Ajuste de opacidad */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* Asegura que el contenido esté sobre la imagen difuminada */
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
}

.hero-filosfia {
    background-color: #263E42;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* height: 50vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-filosfia h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-filosfia p {
    font-size: 1.2rem;
}

.hero-white {
    background-color: #FFFFFF;
    padding: 50px 0;
    position: relative;
}

.hero-white .form-header {
    text-align: center;
    margin-bottom: 20px;
}

.hero-white .form-logo {
    max-width: 100px;
    height: auto;
}

.hero-white h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #263E42;
}

.hero-white p {
    font-size: 1.2rem;
}

.hero-white form {
    font-size: 20px;
}

.hero-white .form-title {
    color: #834105; /* Color de texto similar al de la imagen */
    font-size: 24px;
    font-weight: bold;
}

.hero-white .form-subtitle {
    color: #263E42;
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-white .form-container {
    border: 4px solid #834105; /* Borde exterior en color similar */
    border-radius: 10px;
    padding: 30px;
    background-color: #FFFFFF; /* Color de fondo similar al interior del formulario */
    position: relative;
}

.hero-white .form-control {
    background-color: #FFFAF3; /* Color de fondo similar para los campos */
    border: 1px solid #834105;
    border-radius: 0;
    padding: 10px;
}

.hero-white .form-label {
    color: #263E42;
    font-weight: normal;
}

.hero-white .contact-section .btn-primary {
    background-color: #834105; /* Color del botón similar al borde */
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.hero-white .contact-section .btn-primary:hover {
    background-color: #834105; /* Oscurecer un poco el color en hover */
}

.filosofia-image {
    padding-top: 80px;
    padding-bottom: 50px;
    background-image: url(../images/home-5.png) !important;
    position: relative;
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    display: flex; /* Para centrar el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    align-items: center; /* Centra verticalmente el contenido */
    min-height: 400px; /* Define una altura mínima para la sección */
}

.metodologia-image {
    padding-top: 80px;
    padding-bottom: 50px;
    background-image: url(../images/home-4.png) !important;
    position: relative;
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    display: flex; /* Para centrar el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    align-items: center; /* Centra verticalmente el contenido */
    min-height: 400px; /* Define una altura mínima para la sección */
}

.nosotros-image {
    padding-top: 80px;
    padding-bottom: 50px;
    background-image: url(../images/home-3.png) !important;
    position: relative;
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    display: flex; /* Para centrar el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    align-items: center; /* Centra verticalmente el contenido */
    min-height: 400px; /* Define una altura mínima para la sección */
}

.propone-image {
    padding-top: 80px;
    padding-bottom: 50px;
    background-image: url(../images/home-3.png) !important;
    position: relative;
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    display: flex; /* Para centrar el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    align-items: center; /* Centra verticalmente el contenido */
    min-height: 400px; /* Define una altura mínima para la sección */
}

.contacto-image {
    padding-top: 80px;
    padding-bottom: 50px;
    background-image: url(../images/home-8.jpg) !important;
    position: relative;
    background-position: center center; /* Centra la imagen horizontal y verticalmente */
    background-repeat: no-repeat !important;
    background-size: cover !important;
    display: flex; /* Para centrar el contenido */
    justify-content: center; /* Centra horizontalmente el contenido */
    align-items: center; /* Centra verticalmente el contenido */
    min-height: 400px; /* Define una altura mínima para la sección */
}

/* Additional styling for smaller screens */
@media (max-width: 768px) {
    .logo {
        max-width: 120px;
    }

    .carousel-logo {
        max-width: 65px; /* Tamaño más pequeño para dispositivos móviles */
    }

    .carousel-caption {
        top: 50%; /* Center on smaller screens */
    }

    .carousel-caption h3 {
        font-size: 4vw;
    }

    .carousel-caption h4 {
        font-size: 3vw;
    }

    .carousel-title {
        font-size: 6vw; /* Smaller font on smaller screens */
    }

    .carousel-subtitle {
        font-size: 4vw;
    }

    .filosofia-image .carousel-caption {
        top: 50%; /* Center on smaller screens */
    }

    .filosofia-image .carousel-caption h3 {
        font-size: 8vw;
    }

    .metodologia-image .carousel-caption {
        top: 50%; /* Center on smaller screens */
    }

    .metodologia-image .carousel-caption h3 {
        font-size: 8vw;
    }

    .nosotros-image .carousel-caption {
        top: 50%; /* Center on smaller screens */
    }

    .nosotros-image .carousel-caption h3 {
        font-size: 8vw;
    }

    .propone-image .carousel-caption {
        top: 50%; /* Center on smaller screens */
    }

    .propone-image .carousel-caption h3 {
        font-size: 8vw;
    }

    .contacto-image .carousel-caption {
        top: 50%; /* Center on smaller screens */
    }

    .contacto-image .carousel-caption h3 {
        font-size: 8vw;
    }

    /* .hero {
        height: 50vh;
    } */

    .hero h1 {
        font-size: 2rem;
    }

    .hero-filosfia h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-filosfia p {
        font-size: 1rem;
    }

    .filosofia-image {
        padding-top: 60px;
        padding-bottom: 40px;
        min-height: 300px; /* Altura mínima ajustada para pantallas más pequeñas */
    }

    .metodologia-image {
        padding-top: 60px;
        padding-bottom: 40px;
        min-height: 300px; /* Altura mínima ajustada para pantallas más pequeñas */
    }

    .nosotros-image {
        padding-top: 60px;
        padding-bottom: 40px;
        min-height: 300px;
    }

    .propone-image {
        padding-top: 60px;
        padding-bottom: 40px;
        min-height: 300px;
    }

    .contacto-image {
        padding-top: 60px;
        padding-bottom: 40px;
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .logo {
        max-width: 100px;
    }

    .carousel-caption {
        top: 33%; /* Slightly lower for very small screens */
    }

    .carousel-caption h3 {
        font-size: 4vw;
    }

    .carousel-caption h4 {
        font-size: 3vw;
    }

    .carousel-title {
        font-size: 7vw; /* Further reduce font size on very small screens */
    }

    .carousel-subtitle {
        font-size: 5vw;
    }

    .filosofia-image .carousel-caption {
        top: 60%; /* Center on smaller screens */
    }

    .filosofia-image .carousel-caption h3 {
        font-size: 8vw;
    }

    .metodologia-image .carousel-caption {
        top: 60%; /* Center on smaller screens */
    }

    .metodologia-image .carousel-caption h3 {
        font-size: 8vw;
    }

    .nosotros-image .carousel-caption {
        top: 60%; /* Center on smaller screens */
    }

    .nosotros-image .carousel-caption h3 {
        font-size: 8vw;
    }

    .propone-image .carousel-caption {
        top: 60%; /* Center on smaller screens */
    }

    .propone-image .carousel-caption h3 {
        font-size: 8vw;
    }

    .contacto-image .carousel-caption {
        top: 60%; /* Center on smaller screens */
    }

    .contacto-image .carousel-caption h3 {
        font-size: 8vw;
    }

    /* .hero {
        height: 40vh;
    } */

    .hero h1 {
        font-size: 2rem;
    }

    .hero-filosfia h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-filosfia p {
        font-size: 1rem;
    }
}

@media (max-width: 992px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        opacity: .90;
        text-align: center;
        padding: 20px 0;
        z-index: 1050;
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
    }
}
