/* Our Services Section - Block Styles */

/* Import Swiper CSS */
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

/* Section Base */
.our-service-section {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 60px 0px;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* max-width: 1440px; */
    margin: 0 auto;
    background-color: #f4f7fa;
    font-family: "Poppins", sans-serif;
    position: relative;
}


.our-service-section *,
.our-service-section *::before,
.our-service-section *::after {
    box-sizing: border-box;
}

/* Container */
.our-service-section .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* Wrapper */
.our-service-section__wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.our-service-section__cta-wrapper {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease;
}

.our-service-section__cta-wrapper.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
/* On small screens, reduce gap to unify header and slider */
@media (max-width: 768px) {
    .our-service-section__wrapper {
        gap: 0;
    }
}

/* Header */
.our-service-section__header {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1240px;
}

/* On small screens, reduce gap and add bottom padding to unify with slider */
@media (max-width: 768px) {
    .our-service-section__header {
        gap: 20px;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

/* Title Wrapper */
.our-service-section__title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* Title */
.our-service-section__title {
    font-size: clamp(32px, 3vw, 44px);
    font-weight: 300;
    text-align: center;
    color: #112446;
    margin: 0;
    line-height: 1.2;
}

/* Tabs Container */
.our-service-section__tabs-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 1240px;
}

/* On small screens, reduce gap to unify with slider */
@media (max-width: 768px) {
    .our-service-section__tabs-container {
        gap: 12px;
        margin-bottom: 0;
    }
}

/* Tabs Row */
.our-service-section__tabs-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tab Button Base */
.our-service-section__tab {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    padding: 0 20px;
    border-width: 1px;
    border-color: #313F58;
    border-style: solid;
    border-radius: 20px;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.our-service-section__tab:focus{
	border-color: #313F58;
    background-color: transparent;
	color: #313F58;
}

/* Tab Active State */
.our-service-section__tab.our-service-section__tab--active,
.our-service-section__tab.our-service-section__tab--active:focus{
    background-color: #13367d;
    border-color: #13367d;
}

/* Tab Text */
.our-service-section__tab-text {
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    color: #313F58;
    white-space: nowrap;
}
.our-service-section__tab--active:focus .our-service-section__tab-text {
    color: #313F58;
}

.our-service-section__tab.our-service-section__tab--active .our-service-section__tab-text,
.our-service-section__tab.our-service-section__tab--active:focus .our-service-section__tab-text{
    color: #ffffff;
}


.our-service-section__tab:hover:not(.our-service-section__tab--active) {
    background-color: rgba(19, 54, 125, 0.1);
}

/* Slider Section - Swiper Container */
.our-service-section__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: auto;
    padding: 20px 0;
}

/* On small screens, reduce top padding to unify with header */
@media (max-width: 768px) {
    .our-service-section__slider {
        padding-top: 0;
        margin-top: 0;
    }
}

.our-service-section__slider .swiper {
    overflow: visible;
    padding: 0 100px;
}

@media (max-width: 1024px) {
    .our-service-section__slider .swiper {
        padding: 0 80px;
    }
}

@media (max-width: 768px) {
    .our-service-section__slider .swiper {
        padding: 0 60px;
    }
}

/* Swiper Wrapper */
.our-service-section__slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
    width: 100%;
}

/* Swiper Slide */
.our-service-section__slider .swiper-slide {
    width: 85%;
    max-width: 1160px;
    height: auto;
    display: flex;
    flex-direction: column;
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease;
}

@media (min-width: 768px) {
    .our-service-section__slider .swiper-slide {
        width: 80%;
    }
}

@media (min-width: 1024px) {
    .our-service-section__slider .swiper-slide {
        width: 75%;
    }
}

/* Blur effect for non-active slides */
.our-service-section__slider .swiper-slide-blurred {
    filter: blur(2px);
    opacity: 1;
    transform: scale(0.95);
}

/* Active slide styling */
.our-service-section__slider .swiper-slide-active-custom {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
}

/* Ensure active slide from Swiper also has no blur */
.our-service-section__slider .swiper-slide-active {
    filter: blur(0) !important;
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Slider Fade - Positioned absolutely to not affect layout */
.our-service-section__slider-fade {
    width: 100px;
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 15;
    pointer-events: none;
    display: none;
}

@media (min-width: 1024px) {
    .our-service-section__slider-fade {
        display: none;
    }
}

.our-service-section__slider-fade-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/bca4cc106efacedaf6c2d538cd3001899ab551e5.png);
    background-size: cover;
    background-position: center;
}

.our-service-section__slider-fade--left {
    left: 0;
}

.our-service-section__slider-fade--right {
    right: 0;
}

.our-service-section__slider-fade--left .our-service-section__slider-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.00) 100%);
}

.our-service-section__slider-fade--right .our-service-section__slider-fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0.00) 100%);
}

/* Content Card */
.our-service-section__content-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 50px 40px;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: 100%;
    max-width: 1160px;
    background-color: #daeef8;
    border-radius: 6px;
    margin: 0 auto;
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}


/* Content Inner */
.our-service-section__content-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: 990px;
}

/* Service Header */
.our-service-section__service-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Service Title */
.our-service-section__service-title {
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 400;
    text-align: center;
    color: #112446;
    margin: 0;
}

/* Content Columns */
.our-service-section__content-columns {
    display: flex;
    flex-direction: row;
    gap: 60px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Logos Column */
.our-service-section__logos-column {
    display: flex;
    flex-direction: column;
    gap: 26px;
    flex-shrink: 0;
}

/* Logos Row */
.our-service-section__logos-row {
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: center;
}

.our-service-section__logos-row:nth-child(2) {
    gap: 21px;
}

.our-service-section__logos-row:nth-child(3) {
    gap: 15px;
}

/* Logo Item */
.our-service-section__logos-row .our-service-section__logo-item {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    width: 350px;
    height: 350px;
}

/* Features Column */
.our-service-section__features-column {
    flex: 1;
    max-width: 496px;
}

/* Features List */
.our-service-section__features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Feature Item */
.our-service-section__feature-item {
    display: flex;
    flex-direction: row;
    gap: 11px;
    align-items: flex-start;
}

/* Feature Icon */
.our-service-section__feature-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    background-size: 15px;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 5px;
}

/* Feature Text */
.our-service-section__feature-text {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    color: #313f58;
    line-height: 1.5;
}

/* Feature Title (bold part before colon) */
.our-service-section__feature-title {
    font-weight: 600;
    color: #313f58;
}

/* Feature Description (normal weight after colon) */
.our-service-section__feature-desc {
    font-weight: 400;
    color: #313f58;
	display: block;
}

/* Navigation Buttons */
.our-service-section__nav-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.our-service-section__nav-btn:hover {
    transform: translateY(-50%) scale(1.1);
}

.our-service-section__nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}
.our-service-section__nav-btn:after{
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    color: #112446;
}

.our-service-section__nav-btn svg{
    display: none;
}
.our-service-section__nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.our-service-section__nav-btn--prev {
        left: 100px;
    }
    
.our-service-section__nav-btn--prev:hover,
.our-service-section__nav-btn--next:hover,
.our-service-section__nav-btn--prev:focus,
.our-service-section__nav-btn--next:focus {
    background-color: transparent;
}

.our-service-section__nav-btn--next {
    right: 100px;
}

.our-service-section__nav-btn--next::after {
    padding-left: 5px;
}

.our-service-section__nav-btn--prev::after {
    padding-right: 5px;
}

/* @media (min-width: 768px) {
    .our-service-section__nav-btn--prev {
        left: 40px;
    }

    .our-service-section__nav-btn--next {
        right: 40px;
    }
}

@media (min-width: 1024px) {
    .our-service-section__nav-btn--prev {
        left: 60px;
    }

    .our-service-section__nav-btn--next {
        right: 60px;
    }
} */

.our-service-section__nav-btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 50%;
}

.our-service-section__nav-btn-icon {
    position: relative;
    width: 24px;
    height: 24px;
    z-index: 1;
}

.our-service-section__nav-btn:hover .our-service-section__nav-btn-bg {
    background-color: #fff;
}

/* CTA Wrapper */
.our-service-section__cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: max-content;
    margin: 60px auto 0;
}

/* CTA Button */
.our-service-section__cta-btn {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 13px 30px;
    justify-content: center;
    align-items: center;
    background-color: #13367d;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.our-service-section__cta-btn:hover {
    background-color: #0f2a63;
}

/* CTA Text */
.our-service-section__cta-text {
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    color: #ffffff;
}

@media (max-width: 1200px) {
    .our-service-section__nav-btn--prev {
        left: 50px;
    }

    .our-service-section__nav-btn--next {
        right: 50px;
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .our-service-section {
        padding: 50px 0px;
    }

    .our-service-section__content-columns {
        gap: 50px;
    }

    .our-service-section__slider-fade {
        width: 60px;
    }

    .our-service-section__nav-btn--prev {
        left: 20px;
    }

    .our-service-section__nav-btn--next {
        right: 20px;
    }
}

@media (max-width: 991px) {
    .our-service-section__content-columns {
        flex-direction: column;
        gap: 30px;
    }
    .our-service-section__logos-column{
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .our-service-section{
        display: none;
    }
    .our-service-section {
        padding: 40px 0px;
    }

    /* Unify header and slider visually */
    .our-service-section__header {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .our-service-section__tabs-container {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .our-service-section__tabs-row {
        flex-wrap: wrap;
    }

    .our-service-section__tab {
        height: 32px;
        padding: 0 16px;
    }

    .our-service-section__tab-text {
        font-size: 14px;
    }

    /* Slider should connect seamlessly with tabs */
    .our-service-section__slider {
        margin-top: 0;
        padding-top: 0;
    }

    .our-service-section__slider-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .our-service-section__slider-fade {
        display: none;
    }

    .our-service-section__logos-column {
        align-items: center;
    }

    .our-service-section__logos-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .our-service-section__features-column {
        max-width: 100%;
    }

    .our-service-section__nav-btn {
        position: static;
        margin: 10px;
    }

    .our-service-section__cta-btn {
        width: 100%;
        max-width: 320px;
    }

    .our-service-section__content-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .our-service-section {
        padding: 50px 0px;
    }

    .our-service-section__title {
        font-size: 28px;
    }

    .our-service-section__service-title {
        font-size: 22px;
    }

    .our-service-section__tab {
        height: 30px;
        padding: 0 12px;
    }

    .our-service-section__tab-text {
        font-size: 12px;
    }

    .our-service-section__feature-text {
        font-size: 14px;
    }

    .our-service-section__cta-text {
        font-size: 14px;
    }
}
[type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover{
    background-color: #13367d;
    border-color: #13367d;
}
