@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

.font-outfit {
    font-family: 'Outfit', sans-serif;
    font-style: normal;
}
.bg-home {
    background-image: url('/images/Redesign/Bg-Desktop2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.bg-white-page {
    background-color: #FFFFFF;
    background-size: auto;
    background-repeat: repeat;
    background-position: top left;
}
.main-nav {
    border-radius: 24px;
    border: 1px solid #FFF;
    box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.19),
    0 0 0 1px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease-in-out;
}

.navbar-transparent {
    background: rgba(255, 255, 255, 0);
    border-color: white;
}

.navbar-transparent #dropdown,
.navbar-transparent #user-dropdown {
    border-color: white;
}

.navbar-blue {
    background: linear-gradient(90deg, #1E42FA 0%, #2958D9 34.13%, #00307F 100%);
    border-color: #004ee1;
}

.navbar-blue #dropdown,
.navbar-blue #user-dropdown {
    border-color: #004ee1;
}
.testimonial-gradient {
    background: linear-gradient(
            90deg,
            #0072f6 0%,
            #2243f0 55%,
            #203ddf 71%,
            #1e34c3 92%
    );
}
.full-width-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.fade-in {
    opacity: 0;
    animation: fade-in 0.5s ease-out forwards;
    animation-delay: 1s;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in {
        animation: none;
        opacity: 1;
    }
}
/*animacion card section4*/
.card {
    transition: all 0.5s ease-out;
}

.card.left {
    transform: translateX(-320px) scale(0.85);
    opacity: 0.5;
    z-index: 1;
}

.card.center {
    transform: translateX(0) scale(1.15);
    opacity: 1;
    z-index: 3;
}

.card.right {
    transform: translateX(320px) scale(0.85);
    opacity: 0.5;
    z-index: 1;
}

@media (max-width: 1023px) {
    .card.left {
        transform: translateX(-120px) scale(0.8);
        opacity: 0.4;
        z-index: 1;
    }

    .card.center {
        transform: translateX(0) scale(1);
        opacity: 1;
        z-index: 3;
    }

    .card.right {
        transform: translateX(120px) scale(0.8);
        opacity: 0.4;
        z-index: 1;
    }
}

@media (max-width: 640px) {
    .card.left {
        transform: translateX(-70px) scale(0.8);
        opacity: 0.3;
        z-index: 1;
    }

    .card.center {
        transform: translateX(0) scale(1);
        opacity: 1;
        z-index: 3;
    }

    .card.right {
        transform: translateX(70px) scale(0.8);
        opacity: 0.3;
        z-index: 1;
    }
}
/*splide*/
@media (max-width: 640px) {
    #courses .splide__track {
        padding: 0 20px;
    }

    #courses .splide__slide {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

#chatWidgetButton {
    background-color: #002f75 !important;
}

#chatWidget {
    border: none !important;
}

.bg-cesa-blue {
    background-color: #002f75 !important;
}

@media (max-width: 576px) {
    #chatWidget {
        width: calc(100vw - 100px) !important;
        height: calc(100vh - 400px) !important;
        right: 50px !important;
        bottom: 50px !important;
        left: 50px !important;
    }

    #chatWidgetButton {
        bottom: 15px !important;
        right: 15px !important;
    }
}

/* Smooth scrolling for messages */
#chatMessages {
    scroll-behavior: smooth;
}

/* Input focus styling */
#chatInput:focus {
    box-shadow: none;
    background-color: #fff;
}

/* Send button hover effect */
#chatSendButton:hover {
    opacity: 0.9;
}

.conversemos-button {
    transition: all 0.3s ease;
}

.conversemos-button:hover {
    transform: translateX(-5px);
    box-shadow: -5px 4px 31px 0px rgba(75, 122, 201, 0.5);
}

@keyframes conversemosGlow {
    0%, 100% {
        box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.25),
        0px 0px 0px 1px rgba(0, 0, 0, 0.08),
        0px 0px 15px 2px rgba(0, 65, 242, 0.5),
        0px 0px 30px 5px rgba(0, 65, 242, 0.2);
    }
    50% {
        box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.25),
        0px 0px 0px 1px rgba(0, 0, 0, 0.08),
        0px 0px 20px 3px rgba(0, 65, 242, 0.7),
        0px 0px 40px 8px rgba(0, 65, 242, 0.3);
    }
}

@keyframes conversemosGlowWhite {
    0%, 100% {
        box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.25),
        0px 0px 0px 1px rgba(0, 0, 0, 0.08),
        0px 0px 15px 2px rgba(255, 255, 255, 0.5),
        0px 0px 30px 5px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 0px 4px 8px -2px rgba(0, 0, 0, 0.25),
        0px 0px 0px 1px rgba(0, 0, 0, 0.08),
        0px 0px 20px 3px rgba(255, 255, 255, 0.7),
        0px 0px 40px 8px rgba(255, 255, 255, 0.3);
    }
}

.truncate-single-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.truncate-two-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
}
.truncate-one-line-cardplans {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 160px;
}
.truncate-two-lines-cardplans {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2;
}