/* =============================================
   SERVICES.CSS — Section layanan Nexa
   Mengatur tampilan showcase layanan, benefit grid, cloud card visual.
   ============================================= */

/* --- Services Section Container --- */
.services {
    padding: var(--section-padding) 0;
    position: relative;
    background: linear-gradient(180deg, var(--sky-200) 0%, var(--sky-100) 50%, var(--sky-50) 100%);
}

/* --- Service Showcase (layout 2 kolom: visual + content) --- */
.service-cloud-showcase {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.service-cloud-visual {
    display: flex;
    justify-content: center;
}

/* --- Cloud Card Visual (bentuk awan besar animasi) --- */
.cloud-card-main {
    position: relative;
    width: 300px;
    height: 280px;
}

.cloud-card-shape {
    position: absolute;
    inset: 0;
    background: var(--cloud-white);
    border-radius: 60% 60% 50% 50% / 50% 50% 60% 60%;
    box-shadow: var(--shadow-cloud);
    animation: cloudCardFloat 6s ease-in-out infinite;
}

@keyframes cloudCardFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(3deg);
    }
}

.cloud-card-inner {
    position: absolute;
    inset: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-main {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-button);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.service-icon-main svg {
    color: var(--cloud-white);
}

/* --- Floating Bubbles di Cloud Card --- */
.floating-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-bubbles span {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, var(--sky-200), var(--sky-300));
    border-radius: 50%;
    animation: floatingBubble ease-in-out infinite;
}

.floating-bubbles span:nth-child(1) {
    width: 20px;
    height: 20px;
    top: 10%;
    left: 10%;
    animation-duration: 4s;
}

.floating-bubbles span:nth-child(2) {
    width: 15px;
    height: 15px;
    top: 20%;
    right: 15%;
    animation-duration: 5s;
    animation-delay: -1s;
}

.floating-bubbles span:nth-child(3) {
    width: 12px;
    height: 12px;
    bottom: 25%;
    left: 15%;
    animation-duration: 4.5s;
    animation-delay: -2s;
}

.floating-bubbles span:nth-child(4) {
    width: 18px;
    height: 18px;
    bottom: 15%;
    right: 10%;
    animation-duration: 5.5s;
    animation-delay: -0.5s;
}

.floating-bubbles span:nth-child(5) {
    width: 10px;
    height: 10px;
    top: 50%;
    left: 5%;
    animation-duration: 4s;
    animation-delay: -1.5s;
}

@keyframes floatingBubble {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(10px, -20px) scale(1.2);
        opacity: 1;
    }
}

/* --- Service Content (judul, deskripsi, tags) --- */
.service-cloud-content {
    padding: 20px 0;
}

.service-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.service-desc {
    font-size: 18px;
    color: var(--sky-900);
    line-height: 1.8;
    margin-bottom: 32px;
}

/* --- Service Tags (pill tags) --- */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.cloud-tag {
    padding: 12px 24px;
    background: var(--cloud-white);
    color: var(--sky-600);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
}

.cloud-tag:hover {
    background: var(--sky-500);
    color: var(--cloud-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-cloud);
}

/* --- Benefits Grid (3 kartu keuntungan) --- */
.benefits-cloud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-cloud {
    background: var(--cloud-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-cloud);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Garis gradient di atas kartu saat hover */
.benefit-cloud::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-button);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.benefit-cloud:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-cloud-hover);
}

.benefit-cloud:hover::before {
    transform: scaleX(1);
}

.benefit-num {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 16px;
}

.benefit-cloud h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 12px;
}

.benefit-cloud p {
    font-size: 15px;
    color: var(--sky-800);
}