/* About Hero Section */
.about-hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-image-stack {
    position: relative;
    height: 500px;
}

.stacked-image {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stacked-image:hover {
    transform: translateY(-5px);
    z-index: 999;
}

.stacked-image-1 {
    top: 0;
    left: 0;
    width: 70%;
    z-index: 3;
}

.stacked-image-2 {
    top: 25%;
    left: 40%;
    width: 70%;
    z-index: 2;
    opacity: 0.9;
}

.stacked-image-3 {
    top: 50%;
    left: 10%;
    width: 70%;
    z-index: 1;
    opacity: 0.8;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: url(../img/service-background.svg) no-repeat center center;
    background-size: cover;
}

.services-section::before{
    content: unset;
}


.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 9;
}
.service-card::before {
    content: "";
    position: absolute;
    background: url(../img/header-hero.svg) center/cover;
    mask-composite: exclude;
    opacity: 0.5;
    padding: 20px;
    inset: 0;
    border-radius: 15px;
    z-index: -1;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: linear-gradient(135deg, #181864 0%, #6E8EFB 100%);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: white;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 15px;
}

/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.partner-item {
    flex: 0 0 calc(20% - 16px);
    max-width: calc(20% - 16px);
    text-align: center;
    margin-bottom: 30px;
}

.partner-logo {
    max-width: 100%;
    height: auto;
}

.swiper-slide {
    border-radius: 24px;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 1;
    transform: scale(1);
}
.swiper-pagination-2{
    text-align: center;
}
.swiper-pagination-bullet-active {
    background-color: #000 !important;
}
.swiper-pagination-bullet{
    background-color: #000 !important;
}


.about-title {
    font-size: 7.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
    font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
    background: linear-gradient(
        to bottom,
        rgb(24 24 100 / 35%) 30%,
        rgb(255 255 255 / 0%) 76%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.carousel-container {
    width: 100%;
    height: 450px;
    position: relative;
    perspective: 1000px;
    margin-top: 80px;
}

.carousel-track {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
    position: absolute;
    width: 280px;
    height: 380px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
    z-index: 10;
    transform: scale(1.1) translateZ(0);
}

.card.center img {
    filter: none;
}

.card.left-2 {
    z-index: 1;
    transform: translateX(-400px) scale(0.8) translateZ(-300px);
    opacity: 0.7;
}

.card.left-2 img {
    filter: grayscale(100%);
}

.card.left-1 {
    z-index: 5;
    transform: translateX(-200px) scale(0.9) translateZ(-100px);
    opacity: 0.9;
}

.card.left-1 img {
    filter: grayscale(100%);
}

.card.right-1 {
    z-index: 5;
    transform: translateX(200px) scale(0.9) translateZ(-100px);
    opacity: 0.9;
}

.card.right-1 img {
    filter: grayscale(100%);
}

.card.right-2 {
    z-index: 1;
    transform: translateX(400px) scale(0.8) translateZ(-300px);
    opacity: 0.7;
}

.card.right-2 img {
    filter: grayscale(100%);
}

.card.hidden {
    opacity: 0;
    pointer-events: none;
}

.member-info {
    text-align: center;
    margin-top: 40px;
    transition: all 0.5s ease-out;
}

.member-name {
    color: rgb(24, 24, 100);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.member-name::before,
.member-name::after {
    content: "";
    position: absolute;
    top: 100%;
    width: 100px;
    height: 2px;
    background: rgb(8, 42, 123);
}

.member-name::before {
    left: -120px;
}

.member-name::after {
    right: -120px;
}

.member-role {
    color: #848696;
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 0;
    margin-top: -15px;
    position: relative;
}
.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(8, 42, 123, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgb(8, 42, 123);
    transform: scale(1.2);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(24, 24, 100, 0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    border: none;
    outline: none;
    padding-bottom: 4px;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
    left: 20px;
    padding-right: 3px;
}

.nav-arrow.right {
    right: 20px;
    padding-left: 3px;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 65px;
    }

    .card {
        width: 200px;
        height: 280px;
    }

    .card.left-2 {
        transform: translateX(-250px) scale(0.8) translateZ(-300px);
    }

    .card.left-1 {
        transform: translateX(-120px) scale(0.9) translateZ(-100px);
    }

    .card.right-1 {
        transform: translateX(120px) scale(0.9) translateZ(-100px);
    }

    .card.right-2 {
        transform: translateX(250px) scale(0.8) translateZ(-300px);
    }

    .member-name {
        font-size: 2rem;
    }

    .member-role {
        font-size: 1.2rem;
    }

    .member-name::before,
    .member-name::after {
        width: 50px;
    }

    .member-name::before {
        left: -70px;
    }

    .member-name::after {
        right: -70px;
    }

    .hero-title{
        font-size: 20px;
    }

    .lead {
        font-size: 18px;
    }

    .about-hero .row{
        flex-direction: column-reverse;
    }

    .stacked-image-2 {
        top: 25%;
        left: 30%;
    }

    .stacked-image-3 {
        top: 50%;
        left: 5%;
    }

    .btn-hero {
        width: 150px;
    }
}
