h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none !important;
}

p,
span,
div,
button {
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
}

.poppins {
    font-family: 'Poppins', sans-serif;
}

.raleway {
    font-family: 'Raleway', sans-serif;
}

.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
}

.farsan {
    font-family: "Farsan", serif;
    font-optical-sizing: auto;
}

.nav-link {
    font-weight: 500;
}

.nav-strip {
    font-size: 14px;
}

.nav-main {
    font-size: 18px;
    background-color: #F2F2F2 !important;
}
section.hero {
    background-color: #F2F2F2 !important;
    padding-bottom: 8rem;
}

section.hero .hero-title {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500;
}
section.hero .hero-title > span {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500;
    position: relative;
    z-index: 5;
}
/* section.hero .hero-title > span::before {
    content: " ";
    position: absolute;
    width: 70%;
    height: 6px;
    bottom: -5px;
    right: 0;
    background-color: var(--bs-primary);
    transform: skewX(-20deg);

} */

section.hero .hero-title > span::after {
    content: " ";
    position: absolute;
    width: 110%;
    height: 6px;
    bottom: 0px;
    right: -5%;
    background-color: var(--bs-primary);
    z-index: 1;
    transform: skewX(-40deg);
}

section.hero .hero-img {
    position: relative;
}

section.hero .hero-img::before {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

section.hero .hero-img-content * {
    position: relative;
    z-index: 10;
}

.bg-gray {
    background-color: #f2f4f3;
}

#carouselHero .carousel-caption {
    transform: translateY(50%);
    background-color: rgba(0, 0, 0, .2);
    width: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    top: 50%;
    animation: slideDown 2s ease-in-out forwards;

}

#carouselHero .caption-title {
    font-size: 4rem !important;
}

#carouselHero .caption-subtitle {
    font-size: 1.5rem !important;
    margin-bottom: 0;
}

#carouselHero .caption-link a {
    border-radius: 1.4rem;
    font-size: 1.2rem !important;
}

#carouselHero .carousel-item img {
    object-position: center;
}

.company-stats-icons {
    width: 4rem;
    height: 4rem;
}

.company-stats-icons::before {
    line-height: 4rem;
}

/* General animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

/* General animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(50%);
    }

    to {
        opacity: 1;
        transform: translateY(-50%);
    }
}

/* General animation */
@keyframes slideDown2 {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

.animated-text {
    opacity: 0;
    transform: translateX(-100px);
    /* animation: none; /* Ensure it doesn't animate on load */
    animation: slideDown2 1s ease-in-out forwards;

}

.intro-subtitle {
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 770px) {
    .under-hero > div {
        background-color: #F2F2F2 !important;
        border-bottom-left-radius: 2.5rem;
        border-bottom-right-radius: 2.5rem;
        box-shadow: 0 0 0 0 !important;
        padding-bottom: 2rem;

    }

    .topnav a,
    .topnav-address {
        font-size: 13px !important;
    }
}

@media screen and (max-width: 1200px) {

    .topnav a,
    .topnav-address {
        font-size: 13px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
    .topnav .topnav-address {
        flex-basis: 100%;
    }
}

@keyframes subtitleBoxesAfter {
    from {
        opacity: 0;
        transform: translateX(-150%);
    }

    to {
        opacity: 1;
        transform: translateX(0%);
    }
}

@keyframes subtitleBoxesBefore {
    from {
        opacity: 0;
        transform: translateX(150%);
    }

    to {
        opacity: 1;
        transform: translateX(0%);
    }
}

@media screen and (min-width: 770px) {
    .intro-subtitle::after {
        content: " ";
        position: absolute;
        width: 1rem;
        height: 1rem;
        top: 0rem;
        left: -1.5rem;
        border-top-right-radius: 0.3rem;
        background-color: rgba(65, 64, 192, 0.5);
        animation: subtitleBoxesAfter 2s forwards;
    }

    .intro-subtitle::before {
        content: " ";
        position: absolute;
        width: 1rem;
        height: 1rem;
        top: -1rem;
        left: 0;
        border-bottom-left-radius: 0.3rem;
        background-color: rgba(65, 64, 192, 0.5);
        animation: subtitleBoxesBefore 2s forwards;
    }

    .video-dots::before {
        content: " ";
        position: absolute;
        width: 1rem;
        height: 1rem;
        top: 5rem;
        left: -1.5rem;
        border-top-right-radius: 0.3rem;
        background-color: rgba(65, 64, 192, 0.5);
        animation: subtitleBoxesBefore 2s forwards;
    }

    .video-dots::after {
        content: " ";
        position: absolute;
        width: 1rem;
        height: 1rem;
        top: 4rem;
        left: 0;
        border-bottom-left-radius: 0.3rem;
        background-color: rgba(65, 64, 192, 0.5);
        animation: subtitleBoxesBefore 2s forwards;

    }
}



.d-star {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='105' viewBox='0 0 80 105'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='death-star' fill='%23ededed' fill-opacity='0.09'%3E%3Cpath d='M20 10a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm15 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zM20 75a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zm30-65a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm0 65a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zM35 10a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zM5 45a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zm60 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.title-dots .slick-dots {
    display: flex;
    flex-direction: row;
    column-gap: 1.2rem;
    justify-content: center;
}

.title-dots .slick-dots li a {
    color: var(--bs-dark);
}

.title-dots .slick-dots li {
    display: inline-block;
    width: auto !important;
    position: relative;
    flex: 1;
    max-width: 15vw;
    text-align: center;
}

@media screen and (max-width: 770px) {
    .title-dots .slick-dots li {
        max-width: calc(100vw / 4);
    }

}

.title-dots .slick-dots li::before {
    content: " ";
    left: 0;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--bs-dark);
    top: -.5rem;
}

.title-dots .slick-dots .slick-active::before {
    background-color: var(--bs-primary);
}

.title-dots .slick-dots .slick-active a {
    color: var(--bs-primary);
}

.under-hero > div {
    background-color: var(--bs-light);
    margin-top: -5rem;
    border-radius: 2.5rem;
}

.under-hero::after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    opacity: 0.1;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='105' viewBox='0 0 80 105'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='death-star' fill='%23ededed' fill-opacity='0.09'%3E%3Cpath d='M20 10a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm15 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zM20 75a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zm30-65a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V10zm0 65a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V75zM35 10a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zM5 45a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10zm60 35a5 5 0 0 1 10 0v50a5 5 0 0 1-10 0V45zm0-35a5 5 0 0 1 10 0v20a5 5 0 0 1-10 0V10z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

@media screen and (min-width: 1200px) {


    .partners-section {
        position: relative;
        z-index: 2;
    }

    .partners-section>div * {
        z-index: 2;
    }

    .partners-section::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 30%;
        height: 100%;
        background: #F2F2F2;
        transform-origin: top left;
        z-index: 1;
    }

    .partners-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 80%;
        height: 100%;
        background: #F2F2F2;
        transform: skewX(-50deg);
        transform-origin: top left;
        z-index: 1;
    }

    .partner-logo {
        margin: 15px;
    }
}
.underline-title {
    font-weight: 500;
}
.underline-title span {
    position: relative;
    font-weight: 500;
}

.underline-title span::before {
    content: " ";
    position: absolute;
    width: 110%;
    height: 6px;
    bottom: 0px;
    right: -5%;
    background-color: var(--bs-primary);
    z-index: 1;
    transform: skewX(-40deg);
}
