/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); */
@import url("../plugins/bootstrap-5.3.8/css/bootstrap-reboot.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}
html {
    scroll-behavior: smooth;
}

/* MISELANEAS */

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.bg-secondary {
    background-color: var(--bs-secondary) !important;
}
.bg-light {
    background-color: #f8fafc !important;
}
.bg-transparent-primary::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(82, 0, 248, 0.7) !important;
    z-index: 0;
}
.bg-transparent-secondary::before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 176, 0, 0.7) !important;
    z-index: 0;
}

.text-primary {
    color: var(--bs-primary) !important;
}
.text-secondary {
    color: var(--bs-secondary) !important;
}

.borderless {
    border: none !important;
}

.btn:hover .animate-arrow {
    display: inline-block;
    animation: moveRight 1s infinite ease-in-out;
}

@keyframes moveRight {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}

/* BUTTONS */

.btn-primary {
    background-color: var(--bs-primary);
    border-color: transparent;
}

.btn-outline-primary {
    color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}
.btn-outline-primary:hover {
    color: #fff;
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}
.btn-outline-secondary {
    color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}
.btn-outline-secondary:hover {
    color: var(--bs-primary);
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler {
    transition: all 0.3s ease;
    transform: skewX(-25deg);
}
.navbar-toggler:hover {
    transform: skewX(0deg);
}

/* NAVBAR */
.logo-header {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    height: 80px;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background-color: transparent !important;
    /* background-color: var(--bs-primary) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    transition: all 0.3s ease;
}
.navbar{
    padding-left: 1rem;
    padding-right: 1rem;
}
.navbar > div {
    transition: all 0.3s ease;
}
.navbar.scrolled > div {
    background-color: var(--bs-primary) !important;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding-left: 2rem;
    padding-right: 2rem;
    transition: all 0.3s ease;
}
.navbar .navbar-toggler {
    border: none;
}
.navbar-nav {
    color: white !important;
    gap: 10px;
}
.offcanvas {
    background-clip: inherit;
}
.offcanvas.offcanvas-end {
    border-left: none;
}
@media (max-width: 992px) {
    .logo-header {
        height: 60px;
    }
    .navbar .nav-link {
        color: #000 !important;
    }
}

/* CAROUSEL */

.carousel-caption {
    color: #001a57;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.6s ease;
    left: 5%;
    right: 5%;
    z-index: 3;
}
@media (min-width: 1200px) {
    .carousel-caption h1 {
        font-size: calc(2.5rem + 1.5vw);
    }

    .carousel-caption p {
        font-size: 2rem;
    }
}
.carousel-item.active .carousel-caption {
    opacity: 1;
    transform: translateY(30px);
}
.carousel-item {
    position: relative;
}
.carousel-item img {
    aspect-ratio: 16/6;
    object-fit: cover;
}
.carousel-item.filter::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: contrast(50%);
    background-color: #011c5a2c;
    pointer-events: none;
    z-index: 2;
}
.carousel-item.gradient::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    filter: none;
    background: linear-gradient(to right, rgb(255, 255, 255), transparent);
    pointer-events: none;
    z-index: 2;
}
.carousel-indicators {
    z-index: 4;
}
.carousel-indicators [data-bs-target] {
    background-color: var(--bs-primary);
}

/* CONTAINER */

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1170px;
    }
}

/* FEATURES SECTION */

.features-section .features-item {
    background-color: #f6f6f6;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}
.features-section .features-item:hover {
    border-bottom-color: 4px solid var(--bs-primary);
}

/* BANNER PARIMARY */
.section-banner-primary {
    min-height: 100vh;
    background: url("../img/images/background/bg-banner-primary.jpeg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: multiply;
    margin-top: -110px;
    padding-top: 120px;
    overflow: hidden;
}
.img-bg-banner {
    padding-top: 100px;
    transform: translateX(-120px) !important;
}
@media (max-width: 1500px) {
    .img-bg-banner {
        transform: translateX(-120px) !important;
    }
}
@media (max-width: 1200px) {
    .section-banner-primary {
        min-height: auto !important;
        padding-top: calc(5rem + 120px) !important;
        padding-bottom: 5rem;
    }
    .section-banner-primary::after {
        content: "";
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, #5200f8, transparent);
    }
    .img-banner-primary {
        transform: translateX(0px) scale(1.2) !important;
    }
    .img-bg-banner {
        transform: translateX(-80px) !important;
    }
}
@media (max-width: 992px) {
    .img-banner-primary {
        transform: translateX(0px) scale(1) !important;
        background-position: inherit;
    }
    .img-bg-banner {
        margin-right: -200px;
    }
}
@media (max-width: 768px) {
    .section-banner-primary::after {
        background: rgba(82, 0, 248, 0.7) !important;
    }
    .text-banner-primary {
        text-align: center;
        width: 100%;
    }
}

/* LOGO SLIDER */
.logo-slider {
    overflow-x: hidden;
}
.logo-slider img {
    filter: grayscale(100%);
    transition: all 0.3s ease;
    opacity: 0.8;
    width: auto;
    max-height: 6rem;
}
.logo-slider img:hover {
    filter: grayscale(0%);
    opacity: 1;
}
.slick-slide img {
    margin: auto;
}

/* LOADER */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease;
}
#loader-logo {
    width: 120px;
    animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0.9;
    }
}


/* CARDS */
.img-card-services {
    object-fit: cover;
    aspect-ratio: 1/1.2;
    z-index: 0;
}
.icon-card-services {
    display: flex;
    font-size: 2rem;
    margin-top: -40px;
    color: var(--bs-secondary);
    justify-content: center;
    align-items: center;
    margin-inline: auto;
    
}
.icon-card-services i{
    z-index: 1;
}
.icon-card-services::before {
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    background-color: var(--bs-primary);
    box-shadow: var(--bs-box-shadow-lg) !important;
}