.ellipsis_1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis_2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis_3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis_4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* whatsapp */
.containers {
    bottom: 24px;
    position: fixed;
    margin: 1em;
    left: 33px;
    z-index: 9999;
}

.buttons {
    background: #25d366;
    box-shadow: 0px 5px 11px -2px rgba(0, 0, 0, 0.18),
        0px 4px 12px -7px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    display: block;
    width: 56px;
    height: 56px;
    margin: 20px auto 0;
    position: relative;
    -webkit-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
}

.buttons:active,
.buttons:focus,
.buttons:hover {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.28);
}

.buttons:not(:last-child) {
    width: 40px;
    height: 40px;
    margin: 20px auto 0;
    opacity: 0;
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
}

.containers:hover .buttons:not(:last-child) {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    margin: 15px auto 0;
}


.buttons:nth-last-child(1) {
    -webkit-transition-delay: 25ms;
    transition-delay: 25ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

.buttons:not(:last-child):nth-last-child(2) {
    -webkit-transition-delay: 50ms;
    transition-delay: 20ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

.buttons:not(:last-child):nth-last-child(3) {
    -webkit-transition-delay: 75ms;
    transition-delay: 40ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}

.buttons:not(:last-child):nth-last-child(4) {
    -webkit-transition-delay: 100ms;
    transition-delay: 60ms;
    background-image: url(/assets/defaults/gambar/whatsapp.png);
    background-size: contain;
}


[tooltip]:before {
    bottom: 25%;
    font-family: arial;
    font-weight: 600;
    border-radius: 2px;
    background: #585858;
    color: #fff;
    content: attr(tooltip);
    font-size: 12px;
    visibility: hidden;
    opacity: 0;
    padding: 5px 7px;
    margin-left: 12px;
    position: absolute;
    left: 100%;
    white-space: nowrap;
}

[tooltip]:hover:before,
[tooltip]:hover:after {
    visibility: visible;
    opacity: 1;
}

.text-black {
    color: #000;
}

.text-hijau {
    color: #348e38;
}

.header-title-produk {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hover-image {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .hover-image:hover {
    transform: scale(1.1); 
    opacity: 0.8;
  }

  .imageCard__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.imageCard:hover .imageCard__play {
    opacity: 1;
    visibility: visible;
}

.plyr {
    height: 100%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    /* Pastikan latar belakang terlihat */
    display: block;
}


.fancybox__content {
    background: transparent;
}

.fancybox__content video,
.fancybox__content iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.plyr__controls {
    opacity: 1 !important;
    visibility: visible !important;
}

/* contact */

/* .contact-info-section {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    margin: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: #f0f4ff;
}

.contact-card.phone .icon-wrapper {
    background: #ffe8e8;
}

.contact-card.email .icon-wrapper {
    background: #e8fff0;
}

.contact-card.address .icon-wrapper {
    background: #fff3e8;
}

.contact-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
} */

/* style kontak baru */

/* Custom spacing for contact sections */
.contact-map-large {
    width: 100%;
    height: 380px;  /* Dikurangi dari 450px */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Add margin to the contact form section */
.layout-pt-lg.layout-pb-lg.bg-accent-2 {
    margin-top: 60px;
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Adjust spacing for the contact form container */
.contactForm {
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Responsive margins */
@media (max-width: 991px) {
    .layout-pt-lg.layout-pb-lg.bg-accent-2 {
        margin-top: 40px;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .contact-map-large {
        height: 320px;  /* Dikurangi dari 350px */
        margin-bottom: 15px;
    }
    
    .contactForm {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .layout-pt-lg.layout-pb-lg.bg-accent-2 {
        margin-top: 30px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .contact-map-large {
        height: 280px;  /* Dikurangi dari 300px */
        margin-bottom: 10px;
    }
    
    .contactForm {
        padding: 20px;
    }
}

/* Custom style untuk map di footer */
.footer-map {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

.contact-map-large iframe,
.footer-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.house-type-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.house-type-image img {
    transition: transform 0.3s ease;
    border-radius: 8px;
    width: 100%; 
    height: 100%;
    object-fit:cover;
}

.house-type-image:hover img {
    transform: scale(1.1);
}

.house-type-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 100%;
    padding: 0 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0; 
}

.house-type-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
    transition: opacity 0.3s ease; 
}

.house-type-image:hover::after {
    opacity: 0;
}