/*
Theme Name: megacorptheme
Author: You
Version: 1.0
Description: Minimal Elementor Pro shell theme
*/
html, body {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    max-width: 100%;
}

body.product-details-open {
    overflow: hidden;
}

/* HOME START */
/* Our Services */
.our-service-text {
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    transition: border-color 0.35s ease;
}

.our-service-text::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #FCDE40 !important;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 0;
    pointer-events: none;
    border-radius: 10px 0px 0px 10px;
}

.our-service-text > .our-service-img, .our-service-text > .our-service-desc {
    position: relative;
    z-index: 1;
}

.our-service-list:hover .our-service-text {
    border-color: #FCDE40 !important;
}

.our-service-list:hover .our-service-text::after {
    transform: scaleX(1);
}

.our-service-img svg path,
.our-service-img svg rect {
    transition: fill 0.35s ease, stroke 0.35s ease;
}

.our-service-list:hover .our-service-img svg path,
.our-service-list:hover .our-service-img svg rect {
    fill: #000 !important;
    stroke: #000;
}

.our-service-arrow svg {
    transition:
        fill 0.35s ease,
        transform 0.35s ease;
}

.our-service-list:hover .our-service-arrow svg {
    fill: #FCDE40 !important;
    transform: translateX(5px);
}

@media (max-width: 767px) {
    .our-service-text::after {
        border-radius: 10px 10px 0px 0px;
    }
}

/* Testimonials */
.testimonials-carousel .swiper-pagination-bullet {
    opacity: 1 !important;
    position: relative;
}
.testimonials-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: transparent !important;
    border: 1px solid #000;
}
.testimonials-carousel .swiper-pagination-bullet:hover {
    background-color: transparent !important;
    border: 1px solid #000;
}
.testimonials-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    content: "";
    position: absolute;
    top: -8px;
    left: -7px;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #000;
}

.testimonials-carousel .swiper-pagination-bullet:hover:before {
    content: "";
    position: absolute;
    top: -7px;
    left: -7px;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #000;
}

/* Why Mega Corporate */
.why-mega-corporate-carousel .swiper-pagination-bullet {
    opacity: 1 !important;
    position: relative;
}
.why-mega-corporate-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    content: "";
    position: absolute;
    top: -7px;
    left: -7px;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #000;
}
.why-mega-corporate-carousel .swiper-pagination-bullet:hover:before {
    content: "";
    position: absolute;
    top: -7px;
    left: -7px;
    right: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #000;
}
.why-mega-corporate-box {
    position: relative;
    z-index: 1;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.why-mega-corporate-box::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -15px;
    height: 30px;
    background: #ffc400;
    border-radius: 0 0 15px 15px;
    z-index: -1;

    opacity: 0;
    transform: translateY(15px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.why-mega-corporate-list:hover .why-mega-corporate-box::after {
    opacity: 1;
    transform: translateY(0);
}

/* BACK TO TOP START */
.pxl-scroll-top {
    width: 48px;
    height: 48px;
    position: fixed;
    bottom: 40px;
    right: 40px;
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    background-color: #FDC500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pxl-scroll-top .pxl-arrow-top {
    width: 20px;
    height: 20px;
}

.pxl-scroll-top.pxl-on {
    bottom: 80px;
    right: 20px;
    opacity: 1;
    visibility: visible;
}
@media (max-width: 500px) {
    .pxl-scroll-top.pxl-on {
        bottom: 120px;
    }
}