/* ---------------------------- Portfolio Section (START) -------------------------- */

.portfolio-section {
    margin: 20px 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.portfolio-section::before, 
.portfolio-section::after {
    content: "";
    position: absolute;
    width: 200px;
    border-radius: 50px;
    height: 100%;
    background: #ffcccc;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
    filter: blur(50px);
}
.portfolio-section::before {
    left: 40px;
}
.portfolio-section::after {
    right: 40px;
}

.portfolio-section > h1 {
    z-index: 2;
    position: relative;
}

.view-box {
    margin: 70px 0;
    width: 581px;
    overflow: hidden;
    padding: 10px;
    height: 425px;
    transform: scale(1.2);
    z-index: 2;
    position: relative;
}

.view-box .slide {
    display: flex;
    gap: 10px;
    width: 1890px;
}

.view-box .box-wrap {
    border-radius: 8px;
    box-shadow: 1px 1px 10px -3px rgba(0,0,0,0.5);
    position: relative;
    flex-basis: 180px;
    width: 180px;
    height: 324px;
}

.view-box .box-wrap::before {
    border-radius: 8px;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(58, 58, 58, 0.497);
    opacity: 0;
    transition: 0.4s ease;
    z-index: 3;
}

.view-box .box-wrap.active::before {
    opacity: 1;
    transform: translateY(0);
}

.view-box .box {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
}

.view-box .box img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}


/* ---------------------------- Portfolio Section (END) -------------------------- */



/* ---------------------------- Services Section (START) -------------------------- */

.services-section {
    margin-top: 60px;
    padding-top: 120px;
    padding-bottom: 140px;

    background-color: var(--tertiary-color);
    background-image: linear-gradient(#f1464633 1px, transparent 1px), linear-gradient(90deg, #f1464633 1px, transparent 1px);
    background-size: 30px 30px;
    background-position: center center;
    position: relative;
}
.services-section::before {
    content: "";
    position: absolute;
    top: -2%;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
    background: #ffffff;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%);
}
.services-section::after {
    content: "";
    position: absolute;
    bottom: -2%;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 1;
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%);
}

.services-section > .h2 {
    text-align: center ;
    margin-bottom: 20px ;
    display: block;
}

.sliders {
    display: flex;
}

.content-slider {
    width: 50%;
    position: relative;
}

.image-slider {
    width: 50%;
    position: relative;
}

.content-slider::after,
.content-slider::before,
.image-slider::before,
.image-slider::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 3;
}
.content-slider::before {
    width: 40px;
    left: 0;
    background: linear-gradient(90deg, var(--tertiary-color) 0%, rgba(255, 255, 255, 0) 100%);
}
.content-slider::after {
    width: 13px;
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
}

.image-slider::before {
    width: 13px;
    left: 0;
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0) 100%);
}
.image-slider::after {
    width: 40px;
    right: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, var(--tertiary-color) 100%);
}


.services-section .swiper {
    height: 300px;
    position: relative;   
}

.services-section .swiper-wrapper {
    transition-timing-function: linear !important;
}

.services-section .swiper-slide {
    padding: 0 8px;
}

.content-slider .box {
    border: 2px solid #b3b3b3a7;
}

.services-section .box {
    background-color: #fff;
    height: 100%;
    border-radius: 10px;
    display: block;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000;
}

.services-section .box img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* ---------------------------- Services Section (END) -------------------------- */


/* ---------------------------- Faqs Section (START) -------------------------- */

.faqs-section {
    margin-top: 80px;
    margin-bottom: 80px;
}

.faq {
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    margin: 20px 0;
}

.faq-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--tertiary-color);
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.faq-head .plus-icon {
    transition: var(--transition-duration);
}

.answer {
    padding: 10px 18px;
    display: none;
}

/* ---------------------------- Faqs Section (END) -------------------------- */




@media screen and (max-width: 900px) {
    .view-box {
        transform: scale(1);
    }
}

@media screen and (max-width: 650px) {
    .view-box {
        margin: 30px 0;
        transform: scale(0.85);
    }
    .sliders {
        width: 400px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 500px) {    
    .view-box {
        transform: scale(0.7);
        margin: -30px 0;
    }


    .services-section .swiper-wrapper {
        pointer-events: none !important; /* Block all pointer events on wrapper */
    }

    .sliders {
        width: 100%;
    }

    .services-section .swiper-slide a,
    .services-section .swiper-slide button,
    .services-section .swiper-slide .clickable {
        pointer-events: none !important; /* Re-enable clicks on specific elements */
        cursor: pointer;
    }
}

@media screen and (max-width: 400px) {
    .view-box {
        transform: scale(0.6);
        margin: -50px 0;
    }
    
    
}