/* Home Page Styles */

/* Step arrow mobile styles */
.step-arrow-m-2 {
    margin-left: 40px !important;
    width: 40px !important;
}

/* Text link styles */
.text-link {
    text-decoration: none;
}

/* Modal centering styles */
#jobSearchModal .modal-dialog {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    max-width: 800px;
    width: 90%;
}

@media (min-width: 576px) {
    #jobSearchModal .modal-dialog {
        min-height: calc(100% - 3.5rem);
    }
}

#jobSearchModal .modal-content {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: transparent;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#jobSearchModal .modal-body {
    padding: 2rem;
}

#jobSearchModal .input-group {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background-color: transparent;
    backdrop-filter: blur(5px);
}

#jobSearchModal .form-control {
    border: none;
    border-radius: 0;
}

#jobSearchModal .btn {
    border-radius: 0;
    border: none;
}

body {
    background-color: #fff;
}

/* Mengatur ukuran gambar hero agar tidak terlalu besar */
#hero-banner .hero-01 .col-md-6 img,
#hero-banner .hero-02 .col-md-6 img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* Hero image smooth animations */
.hero-image {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(30px) scale(0.95);
    opacity: 0;
    filter: blur(2px);
}

.hero-image.animate {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
}

/* Enhanced fade-in-right animation for hero section */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(1px);
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

/* Smooth hover effects for hero image */
.hero-image:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Staggered animation for hero elements */
.hero-01 .fade-in-left {
    transition-delay: 0.2s;
}

.hero-01 .fade-in-right {
    transition-delay: 0.4s;
}

/* Hero-02 animations */
.hero-02 .fade-in-left {
    transition-delay: 0.1s;
}

.hero-02 .fade-in-right {
    transition-delay: 0.3s;
}

/* Enhanced fade-in-left animation */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(1px);
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
}

/* Smooth text animations */
.hero-02 .title {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
}

.hero-02 .title.animate {
    transform: translateY(0);
    opacity: 1;
}

.hero-02 .subtitle {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
    opacity: 0;
    transition-delay: 0.2s;
}

.hero-02 .subtitle.animate {
    transform: translateY(0);
    opacity: 1;
}

/* Ensure text is visible if JavaScript fails */
.hero-02 .fade-in-right.animate .title,
.hero-02 .fade-in-right.animate .subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback for text visibility */
@media (prefers-reduced-motion: reduce) {
    .hero-02 .title,
    .hero-02 .subtitle {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure text is visible by default after a short delay */
.hero-02 .title,
.hero-02 .subtitle {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Only apply initial hidden state if JavaScript is available */
.js-loaded .hero-02 .title,
.js-loaded .hero-02 .subtitle {
    opacity: 0;
    transform: translateY(20px);
}

.js-loaded .hero-02 .title.animate,
.js-loaded .hero-02 .subtitle.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    #hero-banner .hero-01 .col-md-6 img,
    #hero-banner .hero-02 .col-md-6 img {
        max-height: 300px;
    }
}

/* Property Categories Styles */
.property-card {
    background: white;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    width: 100px;
    margin: 4px;
    /* Add zoom responsiveness */
    min-width: 90px;
    max-width: 120px;
    flex: 0 0 auto;
}

/* Container responsive adjustments for property categories */
@media (min-width: 1200px) and (max-width: 1399px) {
    #property-categories .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    #property-categories .property-card {
        flex: 0 0 auto;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #property-categories .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    #property-categories .property-card {
        flex: 0 0 auto;
    }
}

/* Zoom responsiveness - ensure cards adapt to browser zoom */
@media screen and (max-resolution: 96dpi) {
    .property-card {
        transform: scale(0.9);
        transform-origin: center;
    }
}

@media screen and (min-resolution: 120dpi) {
    .property-card {
        transform: scale(1.1);
        transform-origin: center;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .property-card {
        transform: scale(1.05);
        transform-origin: center;
    }
}

/* Ensure cards maintain proper spacing when zoomed */
@media (max-width: 1400px) {
    #property-categories .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: clamp(4px, 1vw, 8px);
    }
}

/* Responsive font sizes for zoom */
@media (max-width: 1400px) {
    .property-title {
        font-size: clamp(10px, 2vw, 13px);
    }

    .property-subtitle {
        font-size: clamp(8px, 1.5vw, 10px);
    }
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.property-card:hover .property-icon {
    background: #f0f6fe;
}

.property-card:hover .property-icon i {
    transform: scale(1.1);
    color: #0056b3;
}

.property-card:hover .property-icon .category-image {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.property-card:hover .property-icon .category-placeholder {
    transform: scale(1.1);
    color: #0056b3;
}

.property-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f0f6fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    color: #009987;
    font-size: 24px;
}

.property-icon i {
    font-size: 2.5rem;
    color: #007bff;
    transition: all 0.3s ease;
}

.property-icon .category-image {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
    border-radius: 13px;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.property-icon .category-placeholder {
    width: 4.5rem;
    height: 4.5rem;
    color: #007bff;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 2rem;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .property-icon .category-image {
        width: 4rem;
        height: 4rem;
    }

    .property-icon .category-placeholder {
        width: 4rem;
        height: 4rem;
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .property-icon .category-image {
        width: 3.5rem;
        height: 3.5rem;
    }

    .property-icon .category-placeholder {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.6rem;
    }
}

.property-icon .fire-emoji {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px;
}

.property-icon .currency {
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    color: #007bff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.property-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.property-title {
    font-size: 12px;
    color: #333;
    margin: 0;
    line-height: 1.2;
    margin-top: 0.5rem;
}

.property-subtitle {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

/* Responsive heading styles */
#property-categories h3 {
    color: #009987;
    font-weight: bold;
}

@media (max-width: 768px) {
    #property-categories h3 {
        font-size: 18px;
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    #property-categories h3 {
        font-size: 16px;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    #property-categories h3 {
        font-size: 14px;
        padding: 0 8px;
    }
}

@media (max-width: 375px) {
    #property-categories h3 {
        font-size: 12px;
        padding: 0 5px;
    }
}

/* Special icon positioning */
.property-icon.verified .fa-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 12px;
    background: #28a745;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-icon.new-house .fa-star {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 12px;
    color: #ffc107;
}

.property-icon.land .fa-square:first-child {
    position: absolute;
    top: 2px;
    left: 2px;
    font-size: 16px;
}

.property-icon.land .fa-square:last-child {
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 16px;
}

.property-icon.direct .fa-key {
    position: absolute;
    bottom: -2px;
    right: -2px;
    font-size: 12px;
}

/* Responsive adjustments */
/* Large screens (1200-1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .property-card {
        width: 110px;
        padding: 14px 10px;
        margin: 5px;
        min-width: 100px;
        max-width: 120px;
    }

    .property-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin: 0 auto 12px;
    }

    .property-title {
        font-size: 13px;
        line-height: 1.3;
    }

    .property-subtitle {
        font-size: 10px;
    }
}

/* iPad/Tablet specific styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .property-card {
        width: 95px;
        padding: 12px 8px;
        margin: 4px;
        min-width: 85px;
        max-width: 105px;
    }

    .property-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin: 0 auto 10px;
    }

    .property-title {
        font-size: 12px;
        line-height: 1.2;
    }

    .property-subtitle {
        font-size: 9px;
    }

    /* Ensure proper centering for iPad */
    #property-categories .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }

    #property-categories .property-card {
        flex: 0 0 auto;
    }

    /* Ensure proper centering for iPad landscape */
    @media (orientation: landscape) {
        #property-categories .d-flex {
            justify-content: center;
            gap: 10px;
        }
    }

    /* Ensure proper centering for iPad portrait */
    @media (orientation: portrait) {
        #property-categories .d-flex {
            justify-content: center;
            gap: 6px;
        }
    }
}

/* Medium screens (768-1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .property-card {
        width: 90px;
        padding: 11px 7px;
        margin: 4px;
        min-width: 80px;
        max-width: 100px;
    }

    .property-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
        margin: 0 auto 10px;
    }

    .property-title {
        font-size: 12px;
        line-height: 1.2;
    }

    .property-subtitle {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .property-card {
        width: 100px;
        padding: 12px 8px;
        margin: 5px;
        min-width: 90px;
        max-width: 110px;
    }

    .property-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
        margin: 0 auto 8px;
    }

    .property-title {
        font-size: 11px;
        line-height: 1.2;
    }

    .property-subtitle {
        font-size: 9px;
    }
}

@media (max-width: 576px) {
    .property-card {
        width: 90px;
        padding: 10px 6px;
        margin: 4px;
    }

    .property-icon {
        width: 50px;
        height: 50px;
        font-size: 22px;
        margin: 0 auto 7px;
    }

    .property-title {
        font-size: 10px;
        line-height: 1.1;
    }

    .property-subtitle {
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .property-card {
        width: 80px;
        padding: 8px 5px;
        margin: 3px;
    }

    .property-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin: 0 auto 6px;
    }

    .property-title {
        font-size: 9px;
        line-height: 1.1;
    }

    .property-subtitle {
        font-size: 7px;
    }
}

@media (max-width: 375px) {
    .property-card {
        width: 70px;
        padding: 7px 4px;
        margin: 3px;
    }

    .property-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin: 0 auto 5px;
    }

    .property-title {
        font-size: 8px;
        line-height: 1.1;
    }

    .property-subtitle {
        font-size: 6px;
    }
}

/* Mobile button responsiveness */
@media (max-width: 768px) {
    .btn-register {
        font-size: 16px;
        padding: 12px 20px;
    }

    .btn-mitra-responsive {
        width: 48%;
        font-size: 14px;
        padding: 12px 16px;
        margin-bottom: 10px;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .btn-mitra-responsive {
        width: 48%;
        font-size: 13px;
        padding: 10px 14px;
        margin-bottom: 8px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .btn-mitra-responsive {
        width: 48%;
        font-size: 12px;
        padding: 8px 12px;
        margin-bottom: 6px;
        display: inline-block;
    }
}

@media (max-width: 375px) {
    .btn-mitra-responsive {
        width: 48%;
        font-size: 11px;
        padding: 7px 10px;
        margin-bottom: 5px;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .btn-register {
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media (max-width: 375px) {
    .btn-register {
        font-size: 13px;
        padding: 8px 12px;
    }
}

/* Mobile button stacking */
.mobile-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mobile-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.mobile-buttons .btn:last-child {
    margin-bottom: 0;
}

/* Smooth scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Different animation delays for staggered effect */
.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

/* Fade in from left animation */
.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease-out;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Fade in from right animation */
.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease-out;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Scale animation for cards */
.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Property card animations */
.property-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.property-card:hover .property-icon {
    background: #f0f6fe;
}

.property-card:hover .property-icon i {
    color: #FFA336;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #009987, #00b894);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 153, 135, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, #00b894, #009987);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 153, 135, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Custom text color */
.text-custom-primary {
    color: #009987 !important;
}

/* Apply custom color to specific elements */
.counting .card h3,
.counting .card p {
    color: #009987 !important;
}

.counting .card .text-muted {
    color: #b7b7b7 !important;
}

/* Custom styling for "Terdaftar di Aplikasi Ini" text */
.counting .card .text-muted.small {
    color: #6c757d !important;
    margin-bottom: 0.5rem !important;
}

/* Add margin bottom 2 to the text container */
.counting .card .text-center.mt-2 {
    margin-bottom: 0.5rem !important;
}

/* Add margin below the "Terdaftar di Aplikasi Ini" text */
.counting .card .text-center.mt-2 p {
    margin-bottom: 0.5rem !important;
}

/* Increase card height */
.counting .card {
    min-height: 140px;
    padding: 1.5rem;
}

.counting .card-body {
    padding: 1rem;
}

/* Logo Scroll Animation Styles */
.logo-scroll-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.logo-scroll-wrapper {
    display: flex;
    align-items: center;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}

.logo-item {
    flex-shrink: 0;
    margin: 0 50px;
    text-align: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    min-width: 200px;
}

.logo-item:hover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.logo-item img {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: brightness(1.1);
}

.logo-item:not(:has(img)) {
    width: 150px;
    height: 100px;
    background: linear-gradient(135deg, #009987, #00b894);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    border-radius: 8px;
    margin: 0 50px;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.logo-scroll-container:hover .logo-scroll-wrapper {
    animation-play-state: paused;
}

/* Informal Partners Animation - Scroll from left to right */
.informal-scroll-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.informal-scroll-wrapper {
    display: flex;
    align-items: center;
    animation: scrollInformal 25s linear infinite;
    width: max-content;
}

@keyframes scrollInformal {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Pause animation on hover for informal partners */
.informal-scroll-container:hover .informal-scroll-wrapper {
    animation-play-state: paused;
}

/* Responsive adjustments for informal partners */
@media (max-width: 768px) {
    .informal-scroll-wrapper {
        animation-duration: 18s;
    }
}

@media (max-width: 576px) {
    .informal-scroll-wrapper {
        animation-duration: 15s;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-item {
        margin: 0 30px;
        min-width: 140px;
    }

    .logo-item img {
        max-width: 120px;
        max-height: 70px;
    }

    .logo-item:not(:has(img)) {
        width: 100px;
        height: 70px;
        font-size: 28px;
        margin: 0 30px;
    }

    .logo-scroll-wrapper {
        animation-duration: 20s;
    }
}

@media (max-width: 576px) {
    .logo-item {
        margin: 0 25px;
        min-width: 120px;
    }

    .logo-item img {
        max-width: 100px;
        max-height: 60px;
    }

    .logo-item:not(:has(img)) {
        width: 85px;
        height: 60px;
        font-size: 24px;
        margin: 0 25px;
    }

    .logo-scroll-wrapper {
        animation-duration: 15s;
    }
}

/* Service Cards Styles */
.service-card {
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f6fe;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    position: relative;
    color: #009987;
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-card-blue:hover .service-icon {
    background: #007a6e;
}

.service-card-blue:hover .service-icon i {
    color: white;
}

.service-card-green:hover .service-icon {
    background: #007a6e;
}

.service-card-green:hover .service-icon i {
    color: white;
}

.service-text {
    flex: 1;
    min-width: 0;
}

.service-title {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
}

.service-arrow {
    color: #666;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-card:hover .service-arrow {
    transform: translateX(5px);
    color: #333;
}

/* Service Card Color Themes - Soft Colored Backgrounds */
.service-card-blue {
    background: #e6f7f6;
    border-color: #b3e5e0;
    box-shadow: 0 2px 8px rgba(0, 153, 135, 0.15);
}

.service-card-blue .service-icon {
    background: #009987;
}

.service-card-blue .service-icon i {
    color: white;
}

.service-card-blue .service-title {
    color: #009987;
}

.service-card-blue .service-subtitle {
    color: #009987;
}

.service-card-blue .service-arrow {
    color: #009987;
}

.service-card-green {
    background: #e6f7f6;
    border-color: #b3e5e0;
    box-shadow: 0 2px 8px rgba(0, 153, 135, 0.15);
}

.service-card-green .service-icon {
    background: #009987;
}

.service-card-green .service-icon i {
    color: white;
}

.service-card-green .service-title {
    color: #009987;
}

.service-card-green .service-subtitle {
    color: #009987;
}

.service-card-green .service-arrow {
    color: #009987;
}

/* Responsive adjustments for service cards */
@media (max-width: 768px) {
    .service-card {
        padding: 1rem 1.25rem 0.75rem 1.25rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .service-title {
        font-size: 1rem;
    }

    .service-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 0.75rem 1rem 0.5rem 1rem;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .service-title {
        font-size: 0.95rem;
    }

    .service-subtitle {
        font-size: 0.8rem;
    }

    .service-card-content {
        gap: 0.75rem;
    }

    .service-text {
        gap: 0.2rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 0.625rem 0.875rem 0.375rem 0.875rem;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .service-title {
        font-size: 0.9rem;
    }

    .service-subtitle {
        font-size: 0.75rem;
    }

    .service-card-content {
        gap: 0.5rem;
    }
}

/* Image Slider Styles */
.image-slider-container {
    position: relative;
    overflow: hidden;
}

.image-slider {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-item.active {
    opacity: 1;
    transform: translateX(0);
}

.slider-item.prev {
    transform: translateX(-100%);
    opacity: 0;
}

.slider-images-container {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 15px;
    padding: 15px;
}

.slider-image-wrapper {
    flex: 1;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-image-wrapper:hover {
    /* Hover effects removed */
}

.slider-image-wrapper:active {
    /* Active effects removed */
}

/* Enhanced sliding animation */
.slider-item {
    will-change: transform, opacity;
}

.slider-item.active {
    z-index: 2;
}

.slider-item.prev {
    z-index: 1;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 15px;
    background: #f8f9fa;
}

.slider-image:hover {
    /* Hover effects removed */
}

.slider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin: 20px;
    backdrop-filter: blur(5px);
}

.slider-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-content p {
    font-size: 1rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 16px;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Responsive adjustments for image slider */
@media (max-width: 1200px) {
    .image-slider {
        height: 180px;
    }

    .slider-images-container {
        gap: 12px;
        padding: 12px;
    }
}

@media (max-width: 992px) {
    .image-slider {
        height: 160px;
    }

    .slider-images-container {
        gap: 10px;
        padding: 10px;
    }

    .slider-image-wrapper {
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .image-slider {
        height: 140px;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slider-images-container {
        gap: 8px;
        padding: 8px;
    }

    .slider-image-wrapper {
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    .image-slider {
        height: 120px;
    }

    .slider-images-container {
        gap: 6px;
        padding: 6px;
    }

    .slider-image-wrapper {
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .image-slider {
        height: 100px;
    }

    .slider-controls {
        padding: 0 8px;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .slider-dots {
        bottom: 15px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .slider-images-container {
        gap: 4px;
        padding: 4px;
    }

    .slider-image-wrapper {
        border-radius: 6px;
    }
}

/* Multiline ellipsis for testimoni */
.testimoni-ellipsis {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  min-height: 3.6em; /* optional: to keep height consistent */
}

@media (max-width: 576px) {
  .testimoni-item .title {
    font-size: 1rem !important;
  }
  .testimoni-item .description,
  .testimoni-item .testimoni-ellipsis {
    font-size: 0.85rem !important;
  }
}

.slide-image {
    width: 100%;
    height: 160px !important; /* ubah sesuai keinginan */
    object-fit: cover;
    border-radius: 8px; /* opsional */
}

#service-cards {
    margin-top: -30px !important;
}

@media (min-width: 768px) {
    #service-cards {
        margin-top: -80px !important;
    }
}
