.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;
}

.service-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.service-btn .whatsapp-btn {
    background: #25d366;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.service-btn .whatsapp-btn:hover {
    background: #1ebe5e;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
    color: white;
    text-decoration: none;
}

.service-btn .whatsapp-btn i {
    font-size: 18px;
}

/* Styling untuk gambar lokasi */
.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.project-image figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

/* Team Swiper Styling */
.team-swiper {
    padding: 20px 0 60px 0;
    position: relative;
}

.team-next,
.team-prev {
    color: #333 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 50px !important;
    height: 50px !important;
    margin-top: -25px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.team-next:hover,
.team-prev:hover {
    background: #fff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.team-next::after,
.team-prev::after {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.team-pagination {
    bottom: 20px !important;
    text-align: center !important;
}

.team-pagination .swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(51, 51, 51, 0.3) !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

.team-pagination .swiper-pagination-bullet-active {
    background: #333 !important;
    transform: scale(1.2) !important;
}

/* Layanan Swiper Styling */
.layanan-swiper {
    padding: 20px 0 60px 0;
    position: relative;
}

.layanan-next,
.layanan-prev {
    color: #333 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.layanan-next:hover,
.layanan-prev:hover {
    background: #fff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.layanan-next::after,
.layanan-prev::after {
    font-size: 16px !important;
    font-weight: 600 !important;
}

.layanan-pagination {
    bottom: 10px !important;
    text-align: center !important;
}

.layanan-pagination .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(51, 51, 51, 0.3) !important;
    opacity: 1 !important;
    margin: 0 4px !important;
    transition: all 0.3s ease !important;
}

.layanan-pagination .swiper-pagination-bullet-active {
    background: #333 !important;
    transform: scale(1.2) !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .team-next,
    .team-prev {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
    }

    .team-next::after,
    .team-prev::after {
        font-size: 14px !important;
    }

    .team-swiper .swiper-slide .row .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .layanan-next,
    .layanan-prev {
        width: 32px !important;
        height: 32px !important;
        margin-top: -16px !important;
    }

    .layanan-next::after,
    .layanan-prev::after {
        font-size: 13px !important;
    }
}

@media (max-width: 576px) {
    .team-swiper .swiper-slide .row .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Header hd-1 floating overlay */
.header.hd-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

.header.hd-1 .navbar > .container {
    background-color: var(--color-white);
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Footer logo un-stretch fix */
.footer-logo img,
.footer-area .footer-logo img,
.footer-area.ft-2 .footer-logo img {
    width: auto !important;
    max-width: 220px !important;
    max-height: 65px !important;
    height: auto !important;
    object-fit: contain !important;
    margin-bottom: 0 !important;
}

/* Checklist icon sizing fix */
.about-list li img,
.about-right .about-list li img,
.about-content .about-list li img,
.about-text .about-list li img,
.about-info .about-list li img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    min-width: 22px !important;
    flex-shrink: 0 !important;
    display: inline-block;
    margin-right: 8px;
}

.about-list li,
.about-right .about-list li,
.about-content .about-list li,
.about-text .about-list li,
.about-info .about-list li {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 10px !important;
    color: var(--color-dark);
    font-size: 16px;
    font-weight: 500;
}

.about-list li p,
.about-right .about-list li p,
.about-content .about-list li p,
.about-text .about-list li p,
.about-info .about-list li p {
    margin: 0 !important;
    line-height: 1.5;
}

.hero-info li img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    margin-right: 8px;
    display: inline-block;
}

/* Service Card Redesign - Full Rectangular Image & Aligned Content */
.service-item {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 22px !important;
    border-radius: 20px !important;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(12, 75, 160, 0.06);
    border: 1px solid rgba(12, 75, 160, 0.08);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(12, 75, 160, 0.15);
}

.service-item .service-img-box {
    position: relative;
    width: 100%;
    height: 210px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 22px;
    flex-shrink: 0;
}

.service-item .service-img-box a {
    display: block;
    width: 100%;
    height: 100%;
}

.service-item .service-img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.5s ease;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    border-radius: 14px;
}

.service-item:hover .service-img-box img {
    transform: scale(1.06);
}

.service-item .service-img-box .count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(12, 75, 160, 0.9);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    z-index: 2;
    margin: 0;
}

.service-img {
    mask-image: none !important;
    -webkit-mask-image: none !important;
    border-radius: 14px !important;
    margin: 0 !important;
    width: 100% !important;
}

.service-item .service-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-item .service-content h4 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.35;
    min-height: 56px;
    display: flex;
    align-items: flex-start;
}

.service-item .service-content h4 a {
    color: var(--color-dark);
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-item .service-content p {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
    color: var(--body-text-color);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 98px;
}

.service-item .service-bottom {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-info-color);
    position: relative;
    z-index: 10;
}

.service-item .service-bottom a,
.service-item .service-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--theme-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer !important;
}

.service-item:hover .service-content h4 a,
.service-item:hover .service-content p,
.service-item:hover .service-bottom a,
.service-item:hover .service-link {
    color: var(--color-white) !important;
}

/* Footer text shape overflow & click blocking fix */
.main {
    position: relative;
    z-index: 2;
}

.footer-area {
    overflow: hidden !important;
}

.footer-area .text-shape {
    pointer-events: none !important;
    user-select: none !important;
    white-space: nowrap !important;
}

/* Feature / Keunggulan Equal Height & Alignment */
.feature-wrap .row {
    align-items: stretch !important;
}

.feature-item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.feature-item .feature-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.feature-item .feature-info {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.feature-item .feature-info h4 {
    min-height: 56px;
    display: flex;
    align-items: flex-start;
}

.feature-item .feature-info p {
    margin-bottom: 0 !important;
    line-height: 1.7;
    flex-grow: 1;
}

/* Hero Box Badge & Call Icon Alignment */
.hs-1 .hero-item-box {
    padding: 30px 28px !important;
}

.hs-1 .hero-item-box .hero-item-badge {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.hs-1 .hero-item-box .title {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 0 !important;
}

.hs-1 .hero-item-box .call-box {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    margin-top: 22px !important;
    padding-top: 22px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.hs-1 .hero-item-box .call-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    border-radius: 50% !important;
    background: var(--theme-color) !important;
    box-shadow: 0 4px 15px rgba(12, 75, 160, 0.4) !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.hs-1 .hero-item-box .call-icon img {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    object-fit: contain !important;
    filter: brightness(0) invert(1) !important;
    display: block !important;
    margin: 0 !important;
}

.hs-1 .hero-item-box .call-info span {
    font-size: 13px !important;
    margin-bottom: 5px !important;
    opacity: 0.85;
}

.hs-1 .hero-item-box .call-info a {
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
}

/* =======================================================
   Card Equal Height & Symmetrical Layouts (Blog, Service, Portfolio)
   ======================================================= */

/* Blog Cards Equal Height */
.blog-area .row {
    align-items: stretch !important;
}

.blog-item {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    border-radius: 25px !important;
    padding: 16px !important;
}

.blog-item .blog-img {
    height: 220px !important;
    flex-shrink: 0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
}

.blog-item .blog-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.blog-item .blog-meta {
    flex-shrink: 0 !important;
    padding: 20px 14px 10px 14px !important;
}

.blog-item .blog-info {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    margin-top: 14px !important;
}

.blog-item .blog-info .blog-title {
    margin-bottom: 10px !important;
    min-height: 54px !important;
    display: flex !important;
    align-items: flex-start !important;
}

.blog-item .blog-info .blog-title a {
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}

.blog-item .blog-info p {
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 74px !important;
    color: var(--body-text-color) !important;
}

.blog-item .blog-info .theme-btn {
    margin-top: auto !important;
    align-self: flex-start !important;
}

/* Portfolio Cards Equal Height in Beranda */
.portfolio-wrap .item {
    min-height: 600px !important;
}

.portfolio-wrap .portfolio-content {
    min-height: 185px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    margin: 12px !important;
}

.portfolio-wrap .portfolio-content .title {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    min-height: 52px !important;
    display: flex !important;
    align-items: flex-start !important;
}

.portfolio-wrap .portfolio-content .title a {
    font-size: 19px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* Portfolio Page Panel Alignment */
.portfolio-panel .pin-panel {
    min-height: 280px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
}

.portfolio-panel .pin-panel .portfolio-info .title a {
    font-size: 20px !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.portfolio-panel .pin-panel p {
    font-size: 15px !important;
    line-height: 1.65 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin-bottom: 0 !important;
}
