.card-service {
    position: relative;
    width: 380px;
    height: 440px;
    background-color: #282828;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 12px 12px 24px rgba(0,136,255,0.35),
                -6px -6px 16px rgba(0,136,255,0.15),
                inset -4px -4px 12px rgba(0,136,255,0.55);
    display: flex;
    flex-direction: column;
}
@media (min-width: 768px) and (max-width: 1024px) {
	.card-service {
		height: 520px;
	}
}


.card-service:hover {
    transform: translateY(-5px);
}

.img-box-card-service {
    width: 100%;
    height: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,136,255,0.55);
}

.img-box-card-service i {
    font-size: 50px;
    color: #33aaff;
}

.card-service-content {
    padding: 10px;
    margin-top: 20px;
    text-align: center;
    color: #d0e4f8;
}

.card-service-content h3 {
    color: #33aaff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.card-service-content h3 span {
    display: block;
    font-size: 16px;
    color: #a3b9cc;
    font-weight: 500;
    text-transform: none;
}

.card-service-content p {
    font-size: 15px;
    color: #c0d8ee;
    margin: 10px 0 20px;
    text-transform: none !important;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #33aaff;
    color: #fff;
    font-size: 1.2em;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-arrow:hover {
    background: #0d85e0;
}

/* Team */
.card-team {
    position: relative;
    width: 380px;
    height: 600px;
    background-color: #1c1c1f;
    padding: 20px;
    box-shadow: 12px 12px 24px rgba(0,136,255,0.35),
                -6px -6px 16px rgba(0,136,255,0.15),
                inset -4px -4px 12px rgba(0,136,255,0.55);
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.card-team:hover {
    transform: scale(1.05);
}

.img-box-card {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: visible;
    border-radius: 12px;
    cursor: pointer;
}

.img-box-card img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transition: transform 0.4s ease;
}

.card-team:hover .img-box-card img {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1.1);
}

.team-social {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(0,136,255,0.12);
    padding: 6px 8px;
    border-radius: 12px;
    pointer-events: none;
}

.img-box-card:hover .team-social {
    opacity: 1;
}

.team-social a {
    height: auto !important;
    height: 20px;
    display: grid;
    place-items: center;
    background-color: #33aaff;
    color: #fff;
    border-radius: 8px;
    box-shadow: 4px 4px 8px rgba(0,136,255,0.45),
                inset -2px -2px 6px rgba(0,136,255,0.8);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.team-social a:hover {
    background-color: #0677cc;
    color: #d0e8ff;
}

.team-social a i {
    font-size: 1em;
}

/* Claymorphism text content */
.card-team-content {
    width: 100%;
    padding: 15px 15px 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.card-team-content h3 {
    color: #33aaff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    line-height: 1.2;
    font-size: 1.5rem;
}

.card-team-content h3 span {
    font-weight: 600;
    text-transform: none;
    font-size: 1rem;
    color: #a3b9cc;
    display: block;
    margin-top: 5px;
}

.card-team-content p {
    font-weight: 500;
    color: #c0d8ee;
    line-height: 1.4;
}

.social-linkedin {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.card-team:hover .social-linkedin {
    opacity: 1;
    pointer-events: auto;
}

.social-linkedin:hover {
    color: #0077b5;
}


@media (max-width: 767px) {
    .card-service {
        width: 90%;
        max-width: 300px;
        max-height: 370px;
        padding: 12px;
        margin: 12px auto;
        box-shadow: 6px 6px 16px rgba(0,136,255,0.2), -3px -3px 8px rgba(0,136,255,0.1), inset -3px -3px 10px rgba(0,136,255,0.3);
    }
    .card-service-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
        white-space: normal;
    }
    .card-service-content h3 span {
        font-size: 14px;
        white-space: normal;
    }
    .card-service-content p {
        font-size: 14px;
        line-height: 20px;
        word-wrap: break-word;
        white-space: normal;
    }
    .img-box-card-service {
        height: 120px;
    }
    .img-box-card {
        height: 180px;
    }
    .btn-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    #home-services-desktop {
        display: none;
    }

    #home-services-mobile {
        display: block;
        width: 100%;
        padding: 16px 0;
    }

    .swiper {
        width: 100%;
    }

    .swiper-slide {
        display: flex;
        justify-content: center;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: #000;
    }
}