.landscape-container {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.fill-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .client-item {
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    height: 140px !important;
    background-color: var(--surface-color);
    border-radius: 8px;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients .client-item img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease-in-out;
    filter: none;
    opacity: 1;
}

.clients .client-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.clients .client-item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.05);
}


@media (max-width: 1199px) {
    .clients .client-item {
        padding: 1.25rem;
    }
}

@media (max-width: 767px) {
    .clients .client-item {
        padding: 1rem;
    }
}

.services .service-item.si-profile {
    height: auto;
}

.services .service-item.si-team {
    height: 90%;
}

h1.sitename {
    font-size: 21px !important;
}

.bg-accent-color {
    background-color: #113a6c !important;
}

.featured-services .service-item.bg-accent-color i,
.featured-services .service-item.bg-accent-color h4,
.featured-services .service-item.bg-accent-color a,
.featured-services .service-item.bg-accent-color p {
    color: white !important;
}

.featured-services .service-item.bg-accent-color:hover h4 a,
.featured-services .service-item.bg-accent-color:hover .icon i,
.featured-services .service-item.bg-accent-color:hover p {
    color: #113a6c !important;
}

.featured-services .service-item.bg-accent-color:hover:before {
    background: white;
    inset: 0;
    border-radius: 0px;
}

@media (max-width: 768px) {
    .portfolio {
        padding: 64px 0;
    }
}

.portfolio .filters-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .portfolio .filters-wrapper {
        margin-bottom: 32px;
    }
}

.portfolio .portfolio-filters {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    margin: 0;
    list-style: none;
    background: var(--surface-color);
    border-radius: 50px;
    box-shadow: 0 4px 20px color-mix(in srgb, var(--default-color) 8%, transparent);
}

@media (max-width: 768px) {
    .portfolio .portfolio-filters {
        border-radius: 16px;
        padding: 8px;
        gap: 6px;
    }
}

.portfolio .portfolio-filters li {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: var(--default-color);
    background: transparent;
}

@media (max-width: 768px) {
    .portfolio .portfolio-filters li {
        padding: 10px 16px;
        font-size: 13px;
    }
}

.portfolio .portfolio-filters li:hover {
    color: var(--accent-color);
    background: color-mix(in srgb, var(--accent-color) 10%, transparent);
}

.portfolio .portfolio-filters li.filter-active {
    background: var(--accent-color);
    color: var(--contrast-color);
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color) 40%, transparent);
}

.portfolio .project-card {
    background: var(--surface-color);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio .project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.12);
}

.portfolio .project-card:hover .image-wrapper img {
    transform: scale(1.08);
}

.portfolio .project-card:hover .image-wrapper .hover-overlay {
    opacity: 1;
    visibility: visible;
}

.portfolio .project-card.featured .image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color) 20%, transparent), transparent);
    z-index: 1;
    pointer-events: none;
}

.portfolio .project-card .image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

@media (max-width: 576px) {
    .portfolio .project-card .image-wrapper {
        height: 200px;
    }
}

.portfolio .project-card .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio .project-card .image-wrapper .hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--default-color) 80%, transparent) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio .project-card .image-wrapper .hover-overlay .overlay-actions {
    display: flex;
    gap: 12px;
}

.portfolio .project-card .image-wrapper .hover-overlay .action-btn {
    width: 48px;
    height: 48px;
    background: var(--surface-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.portfolio .project-card .image-wrapper .hover-overlay .action-btn:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    transform: scale(1.1);
}

.portfolio .project-card .image-wrapper .category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    background: var(--surface-color);
    color: var(--accent-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.portfolio .project-card .image-wrapper .featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 14px;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color) 70%, #ff6b6b));
    color: var(--contrast-color);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--accent-color) 50%, transparent);
    z-index: 2;
}

.portfolio .project-card .image-wrapper .featured-badge i {
    font-size: 10px;
}

.portfolio .project-card .project-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 71px;
}

@media (max-width: 576px) {
    .portfolio .project-card .project-info {
        padding: 20px;
    }

    .mt-3-sm {
        margin-top: 31px;
    }
}

.portfolio .project-card .project-info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 8px;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.portfolio .project-card .project-info p {
    font-size: 14px;
    color: color-mix(in srgb, var(--default-color) 70%, transparent);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.portfolio .project-card .project-info .project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid color-mix(in srgb, var(--default-color) 10%, transparent);
}

.portfolio .project-card .project-info .project-meta .tech-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.portfolio .project-card .project-info .project-meta .tech-tags span {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 50px;
    background: color-mix(in srgb, var(--accent-color) 12%, transparent);
    color: var(--accent-color);
}

.portfolio .project-card .project-info .project-meta .year {
    font-size: 13px;
    font-weight: 600;
    color: color-mix(in srgb, var(--default-color) 50%, transparent);
}

/*--------------------------------------------------------------
# Hero Carousel Background Styles
--------------------------------------------------------------*/
.hero-carousel-bg {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-carousel-bg .carousel-inner,
.hero-carousel-bg .carousel-item {
    height: 100%;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: none !important;
    padding: 0 !important;
}

#hero:before {
    display: none !important;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(17, 58, 108, 0.85) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10 !important;
    padding-top: 120px;
    padding-bottom: 120px;
    width: 100%;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff !important;
}

.hero-content h1 span {
    color: #FFC107;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ffffff !important;
}

.hero-iso-logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@media (max-width: 991px) {
    .hero-iso-logo {
        max-width: 200px;
        margin-top: 30px;
    }
}


#heroCarousel .carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    opacity: 0.5;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#heroCarousel .carousel-indicators button.active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

#heroCarousel .carousel-control-prev {
    left: 20px;
}

#heroCarousel .carousel-control-next {
    right: 20px;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    #hero {
        min-height: 500px;
    }

    .hero-content {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    #heroCarousel .carousel-indicators {
        bottom: 20px;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #heroCarousel .carousel-control-prev {
        left: 10px;
    }

    #heroCarousel .carousel-control-next {
        right: 10px;
    }
}

/*--------------------------------------------------------------
# Stats and Clients Swiper Carousel
--------------------------------------------------------------*/
.stats-swiper,
.clients-swiper {
    position: relative;
}

.clients-swiper {
    padding-bottom: 60px;
}

.stats-swiper .swiper-pagination {
    bottom: 10px;
}

.clients-swiper .swiper-pagination {
    bottom: 10px;
    margin-top: 20px;
}

.stats-swiper .swiper-pagination-bullet,
.clients-swiper .swiper-pagination-bullet {
    background-color: var(--accent-color);
    opacity: 0.5;
}

.stats-swiper .swiper-pagination-bullet-active,
.clients-swiper .swiper-pagination-bullet-active {
    opacity: 1;
}

.stats-swiper .swiper-button-next,
.stats-swiper .swiper-button-prev {
    color: var(--accent-color);
}

.stats-swiper .swiper-button-next:after,
.stats-swiper .swiper-button-prev:after {
    font-size: 24px;
}

@media (max-width: 768px) {

    .stats-swiper .swiper-button-next,
    .stats-swiper .swiper-button-prev {
        display: none;
    }
}

/* Ensure swiper slides have proper height */
.clients-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.stats-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* Ensure equal height for all client cards */
.clients-swiper .swiper-wrapper {
    align-items: stretch;
}

/* Ensure equal height for all stats cards */
.stats-swiper .swiper-wrapper {
    align-items: stretch;
}

/* Ensure wrapper inside slide takes full width */
.stats-swiper .swiper-slide>div {
    width: 100%;
}

.stats .stats-item {
    min-height: 180px !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hide pagination for stats and clients carousel */
.stats-swiper .swiper-pagination,
.clients-swiper .swiper-pagination {
    display: none !important;
}

/*--------------------------------------------------------------
# WhatsApp Floating Button
--------------------------------------------------------------*/
/* Hide scroll-top button */
.scroll-top {
    display: none !important;
}

.whatsapp-float {
    position: fixed !important;
    right: 31px !important;
    bottom: 31px !important;
    z-index: 99999 !important;
    background-color: #25D366 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: all 0.4s;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.whatsapp-float i {
    font-size: 28px;
    color: #ffffff;
    line-height: 0;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 70px;
        right: 12px;
    }

    .whatsapp-float i {
        font-size: 24px;
    }
}

/* =========================================
   ORG CHART CSS (COMPACT VERSION)
   ========================================= */

/* 1. CONTAINER */
.org-tree-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 30px;
    text-align: center;
    background: #fff;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.org-tree {
    display: inline-block;
    min-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.org-tree * {
    box-sizing: border-box;
}

.org-tree ul {
    padding-top: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    margin: 0;
    padding-left: 0;
}

.org-tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    padding: 10px 4px 0 4px;
    /* GAP ANTAR KOTAK DIPERSEMPIT (Kiri Kanan 4px) */
}

/* =========================================
   2. GARIS PENGHUBUNG (LEBIH PENDEK)
   ========================================= */

/* Garis Vertikal (Turun dari Parent) */
.org-tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #999;
    /* Warna garis sedikit lebih soft */
    width: 0;
    height: 10px;
    /* LEBIH PENDEK (sebelumnya 20px) */
}

.org-tree ul ul.grass::before {
    border: 0;
}

.org-tree ul.grass {
    padding-top: 0;
    border: 2px dashed rgba(0, 61, 121, 0.7);
    padding: 20px;
    border-radius: 7px;
}

/* Garis Horizontal & Vertikal ke Node */
.org-tree li::before,
.org-tree li::after {
    content: '';
    position: absolute;
    top: 0;
    right: 50%;
    border-top: 2px solid #999;
    width: 50%;
    height: 10px;
    /* LEBIH PENDEK */
}

.org-tree li::after {
    right: auto;
    left: 50%;
    border-left: 2px solid #999;
}

/* =========================================
   3. MEMBERSIHKAN GARIS SISA
   ========================================= */
.org-tree li:first-child::before {
    border: 0 none;
}

.org-tree li:last-child::after {
    border: 0 none;
}

.org-tree li:last-child::before {
    border-right: 2px solid #999;
    border-radius: 0 4px 0 0;
    /* Radius diperkecil */
}

.org-tree li:first-child::after {
    border-radius: 4px 0 0 0;
}

/* =========================================
   4. FIX ANAK TUNGGAL (KOMPAK)
   ========================================= */
.org-tree li:only-child {
    padding-top: 10px;
    /* Sesuaikan dengan tinggi garis */
}

.org-tree li:only-child::after,
.org-tree li:only-child::before {
    border: none;
}

.org-tree li:only-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #999;
    width: 0;
    height: 10px;
    display: block;
}

/* =========================================
   5. FIX ROOT (KOMISARIS) - NO LINE UP
   ========================================= */
.org-tree>ul>li {
    padding-top: 0 !important;
}

.org-tree>ul>li::before,
.org-tree>ul>li::after {
    content: none !important;
    display: none !important;
    border: none !important;
}

/* =========================================
   6. DESAIN KOTAK (COMPACT NODE)
   ========================================= */
.org-node {
    display: inline-flex;
    /* Menggunakan Flexbox */
    flex-direction: column;
    justify-content: center;
    padding: 6px 2px;
    /* Padding dalam tipis */
    text-decoration: none;
    border-radius: 4px;
    width: 100px;
    /* LEBAR DIPERKECIL (sebelumnya 140px) */
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    z-index: 10;
    min-height: 45px;
    /* Tinggi minimal diperkecil */
}

/* Typography Compact */
.org-node h5 {
    font-size: 10px;
    /* Font Judul Kecil */
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    /* Huruf agak dirapatkan */
}

.org-node p {
    font-size: 9px;
    /* Font Nama Sangat Kecil tapi Terbaca */
    margin: 3px 0 0 0;
    line-height: 1.1;
    white-space: nowrap;
    /* Mencegah nama turun baris jika muat */
    overflow: hidden;
    text-overflow: ellipsis;
    /* Potong nama jika terlalu panjang */
}

/* WARNA (Sama seperti sebelumnya) */
.bg-corporate {
    background-color: #003D79 !important;
    border-color: #003D79 !important;
}

.bg-corporate h5,
.bg-corporate p {
    color: #fff !important;
}

.bg-director {
    background-color: #FFC107 !important;
    border-color: #FFC107 !important;
}

.bg-director h5,
.bg-director p {
    color: #003D79 !important;
}

.bg-division {
    background-color: #f8f9fa !important;
    border-top: 2px solid #003D79 !important;
}

.bg-division h5,
.bg-staff p {
    color: #003D79 !important;
}

.bg-division p {
    color: #666 !important;
}

.bg-staff {
    background-color: #f8f9fa !important;
    border-top: 2px solid #FFC107 !important;
}

.footer-social a {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.footer-social a i {
    color: white;
}

.footer-social a:hover i {
    color: var(--accent-color);
}

.testimonials .testimonial-item p {
    font-style: normal !important;
}

/*--------------------------------------------------------------
# Service Tabs (Planning & Supervision)
--------------------------------------------------------------*/
/* Custom Tab Styling */
.nav-tabs .nav-link {
    border: none;
    background: transparent;
    transition: all 0.3s;
}

.nav-tabs .nav-link:hover {
    background: rgba(0, 61, 121, 0.1);
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link.active {
    background: #003D79;
    color: #ffffff !important;
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link.active i {
    color: #FFC107 !important;
}

.tab-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Table Styling */
.table-responsive {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

.table thead {
    position: sticky;
    top: 0;
    z-index: 10;
}

.table tbody tr:hover {
    background-color: rgba(0, 61, 121, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
    }

    .nav-tabs .nav-link {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }

    .tab-content {
        padding: 20px;
    }

    .table-responsive {
        max-height: 400px;
    }
}

#stats.section.section-services p {
    min-height: 68px;
    align-content: center;
    font-size: 15px;
}

.services.section .table-responsive table th,
.services.section .table-responsive table td:first-child {
    text-align: center;
}