:root {
    --primary: #4752b3;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;

}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 20px;
    color: black;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 7, 28, 0.30);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: 20px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(14, 40, 79, 0.325), rgba(9, 30, 62, 0.254)), url(../img/about/banner1.png) center center no-repeat;
    background-size: cover;

}

.hero-header2 {
    background: linear-gradient(rgba(14, 40, 79, 0.325), rgba(9, 30, 62, 0.254)), url(../img/about/banner1.png) center center no-repeat;
    background-size: cover;

}

.hero-header3 {
    background: linear-gradient(rgba(14, 40, 79, 0.325), rgba(9, 30, 62, 0.254)), url(../img/about/banner1.png) center center no-repeat;
    background-size: cover;

}

.hero-header4 {
    background: linear-gradient(rgba(14, 40, 79, 0.325), rgba(9, 30, 62, 0.254)), url(../img/about/banner1.png) center center no-repeat;
    background-size: cover;

}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(3, 17, 106, 0.7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
    background-color: rgba(0, 0, 0, 0.5);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius: 100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background: linear-gradient(rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url(../img/Banner.jpg) center center no-repeat;
    background-size: cover;

}

.offer-text {
    background: rgba(48, 6, 218, 0.85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.text-justified {

    text-align: justify;
}

.bg-header {

    background-color: #0303b5;
}

.bg-header2 {

    background-color: #3c5ee4;
}

.content-book {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#magazine {
    width: 60em;
    height: 32em;
    align-items: center;
    justify-content: center;
    display: flex;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

#magazine .turn-page {
    background-color: #ccc;
    background-size: 100% 100%;
}

.buttonB {
    font-size: 30px;
    border: none;
    background-color: transparent;
    margin: 20px;
    cursor: pointer;
    transition: transform 0.5s;
}

.buttonB:focus {
    outline: none;
}

.buttonB:hover i {
    color: rgb(208, 205, 205);
}

.carousel-img {
    width: 100%;
    height: 500px;
    filter: brightness(1.4) contrast(1.1);
    object-fit: cover;
}

.section-title h1 {
    text-align: center;
}

.text-body {
    text-align: justify;
}

.wow.zoomIn {
    animation: zoomIn 1s;
}

.carousel-container {
    width: 100%;
    height: auto;
    margin-top: auto;
}

.divider {
    height: 1px;
    width: 100%;
    background-color: #e0e0e0;
    margin: 50px 0;
}

.products-section {
    background-color: #f7f7f7;
    padding: 40px 0;
}

.products-section h1 {
    margin-top: 10px;
}

.modal-image-portada {
    max-width: 70%;
    height: auto;
}

.modal-image {
    max-width: 40%;
    height: auto;
}

#prevBtn,
#nextBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

#prevBtn {
    left: 10px;
}

#nextBtn {
    right: 10px;
}

.lorem-text {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 16px;
}

.lorem-text-side {
    width: 35%;
    padding-left: 20px;
    text-align: left;
}

ol {
    text-align: left;
    padding-left: 40px;
}

.modal-image-portada2 {
    max-width: 45%;
    height: auto;
}

#prevBtn2,
#nextBtn2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

#prevBtn2 {
    left: 10px;
}

#nextBtn2 {
    right: 10px;
}

.modal-image-portada3 {
    max-width: 45%;
    height: auto;
}

#prevBtn3,
#nextBtn3 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
}

#prevBtn3 {
    left: 10px;
}

#nextBtn3 {
    right: 10px;
}

.contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background-color: #00549f;
    padding: 40px;
    color: white;
    border-radius: 10px;
}

.contact-text {
    width: 45%;
    margin-right: 20px;
    color: #848589;
}

.contact-text h3 {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: white;
}

.contact-text p {
    font-size: 1.1em;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.contact-button {
    padding: 15px 25px;
    color: white;
    border: none;
    border-radius: 15px;
    text-align: center;
    font-size: 1.2em;
    text-decoration: none;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
}

.whatsapp-button {
    background-color: #25D366;
}

.whatsapp-button:hover {
    background-color: #1EBE57;
}

.email-button {
    background-color: #007BFF;
}

.email-button:hover {
    background-color: #0069D9;
}

.comment-button {
    background-color: #FFC107;
    color: black;
}

.comment-button:hover {
    background-color: #E0A800;
}

.hidden-form {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.hidden-form input,
.hidden-form textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
}

.hidden-form button {
    padding: 12px;
    background-color: #FFC107;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hidden-form button:hover {
    background-color: #E0A800;
}