/* ================= GLOBAL ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

/* ================= SERVICE INTRO SECTION ================= */
.service-intro {
    padding: 140px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 140px 0 120px;
}

/* Base overlay in case style attribute is used but we want to make sure it's readable */
.service-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.98) 0%,
        rgba(13, 27, 51, 0.9) 50%,
        rgba(13, 43, 82, 0.8) 80%,
        rgba(255, 255, 255, 1) 100%
    );
    z-index: 1;
}

.service-intro-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.service-label {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}


.service-intro-title {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.service-intro-title .word {
    display: inline-block;
    margin-right: 8px;
}

.service-intro-title .highlight {
    color: #ffffff;
}

.service-intro-text {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-size: 14px;
    color: #ffffff;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.7;
    margin: 0 auto;
}

.hero-decoration {
    margin: 40px auto 0;
    height: 3px;
    width: 80px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

/* ================= MAIN SERVICES SECTION ================= */

.main-services {
    padding: 60px 0 50px 0;
    background: #ffffff;
    position: relative;
}

.services-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #0d2b52;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 15px;
    color: #767f8c;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

/* ================= SERVICE BUTTONS (TANPA ANIMASI) ================= */

.main-btn {
    padding: 15px 12px;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    border: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    font-size: 13px;
    min-height: 100px;
    transition: all 0.3s ease;
}

.main-btn .btn-icon i {
    color: #0d2b52;
    transition: all 0.3s ease;
}

.btn-icon {
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.btn-text {
    display: block;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    line-height: 1.2;
}

.btn-arrow {
    font-size: 12px;
    display: none;
    z-index: 2;
}

/* HOVER EFFECTS */
.main-btn:hover {
    background: #ffffff;
    border-color: #0d2b52;
    color: #0d2b52;
    box-shadow: 0 8px 15px rgba(13, 43, 82, 0.1);
    transform: translateY(-2px);
}

.main-btn:hover .btn-icon i {
    color: #0d2b52;
}

/* ACTIVE STATE */
.main-btn.active {
    background: #0d2b52;
    border-color: #0d2b52;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(13, 43, 82, 0.25);
}

.main-btn.active .btn-icon i {
    color: #ffffff;
}

.main-btn.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #0d2b52;
}

/* FOCUS STATE */
.main-btn:focus {
    outline: 2px solid #0d2b52;
    outline-offset: 2px;
}

/* ================= SERVICE DETAIL SECTION ================= */

.service-detail {
    padding: 50px 0 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f5f6f8 50%, #e8ecf1 100%);
    position: relative;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 80px;
}

/* LEFT SIDE */
.detail-left {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.main-service-title {
    font-size: 26px;
    font-weight: 700;
    color: #0d2b52;
}

.main-service-title span {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: #767f8c;
    margin-top: 10px;
}

.main-line {
    width: 0;
    height: 4px;
    background: #0d2b52;
    margin-top: 20px;
    border-radius: 2px;
    transition: width 0.5s ease;
}

.main-line.active {
    width: 160px;
}

/* RIGHT SIDE */
.service-content {
    background: #ffffff;
    display: none;
    padding: 45px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8eaed;
}

.service-content.active {
    display: block;
}

/* Sub Service Items */
.sub-service {
    border-bottom: 1px solid #e8eaed;
    margin-bottom: 0;
}

.sub-service:last-child {
    border-bottom: none;
}

.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-weight: 600;
    cursor: pointer;
    color: #0d2b52;
    transition: color 0.3s ease;
    font-size: 15px;
}

.sub-header:hover {
    color: #1a3f73;
}

.sub-header::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 2px solid #0d2b52;
    border-bottom: 2px solid #0d2b52;
    transform: rotate(-45deg);
    transition: 0.3s ease;
    flex-shrink: 0;
}

.sub-header.active {
    color: #0d2b52;
}

.sub-header.active::after {
    transform: rotate(45deg);
}

.sub-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
    padding: 0 0;
    margin: 0;
}

.sub-body.open {
    max-height: 600px;
    padding: 16px 0 16px 0;
}

.sub-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-body li {
    padding: 8px 0 8px 28px;
    color: #5a5f69;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
}

.sub-body li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #0d2b52;
    font-weight: bold;
    font-size: 18px;
}

.sub-body p {
    color: #5a5f69;
    font-size: 14px;
    line-height: 1.7;
    padding: 8px 0;
}

/* ================= RESPONSIVE DESIGN ================= */

@media (max-width: 1024px) {
    .detail-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .detail-left {
        position: static;
    }

    .service-intro-title {
        font-size: 26px;
    }

    .service-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .main-btn {
        min-height: 90px;
        padding: 15px;
    }

    .btn-icon {
        font-size: 20px;
    }

    .btn-text {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .container {
        padding: 0 30px;
    }

    .service-intro {
        padding: 100px 0 70px;
        min-height: auto;
    }

    .service-intro-container {
        padding: 0 30px;
    }

    .service-intro-title {
        font-size: 24px;
    }

    .service-intro-text {
        font-size: 13.5px;
    }

    .main-service-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 32px;
    }

    .service-content {
        padding: 30px;
    }
}

@media (max-width: 640px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr); /* Tetap 2 kolom agar tidak terlalu panjang kebawah */
        gap: 12px;
    }

    .main-services {
        padding: 40px 0;
    }

    .container {
        padding: 0 15px;
    }

    .service-intro {
        padding: 80px 0 60px;
    }

    .service-intro-title {
        font-size: 22px;
        padding: 0 10px;
    }

    .service-intro-text {
        font-size: 13px;
        padding: 0 15px;
    }

    .service-content {
        padding: 15px;
    }

    .sub-header {
        font-size: 14px;
        line-height: 1.4;
    }
}

@media (max-width: 400px) {
    .service-grid {
        grid-template-columns: 1fr; /* 1 kolom untuk HP sangat kecil */
    }
}