/* body */

body {
    font-family: Arial, sans-serif;
    background-color: #fbfbfb;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 90px;
}

.content-wrapper {
    flex: 1 0 auto;
    /* Ini akan membuat konten mengisi ruang yang tersedia */
    width: 100%;
    display: flex;
    flex-direction: column;
}

#footer {
    flex-shrink: 0;
    /* Mencegah footer dari mengecil */
    margin-top: auto;
    /* Mendorong footer ke bawah */
    width: 100%;
}

/* hide show more button */
#showMoreButton {
    display: none;
}

/* navbar */
.navbar-custom {
    position: fixed;
    top: 15px;
    left: 20px;
    background-color: #1A1A1D;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    max-height: 60px;
    width: calc(100% - 40px);
    z-index: 9999;
}

/* Jika menggunakan sticky, pastikan parent element memiliki height yang cukup */
.navbar-custom.sticky-top {
    position: fixed;
    top: 15px;
    z-index: 9999;
}



.navbar-brand h6 {
    font-size: 14px;
    margin-bottom: 0;
}

/* Mengatur posisi toggle button */
.navbar-brand-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-toggler {
    padding: 4px 8px;
    font-size: 14px;
    border-color: rgba(255, 255, 255, 0.5) !important;
    margin-left: 10px;
}

.navbar-toggler-icon {
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
    color: #ffffff !important;
    font-size: 14px;
    padding: 5px 15px !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #1A1A1D;
        border-radius: 25px;
        margin-top: 1rem;
        padding: 1rem 0;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .nav-item {
        padding: 0.25rem 1rem;
    }

    .nav-item:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        text-align: left;
        padding: 0.25rem 0 !important;
        color: #ffffff !important;
    }

    .nav-item.active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.nav-link:hover {
    color: #ffc107 !important;
}

.nav-item.active .nav-link {
    color: #ffc107 !important;
    font-weight: 600;
}

/* Optional: Hover effect untuk nav links */
.nav-link:hover {
    color: #ffc107 !important;
}

.navbar-brand {
    font-weight: bold;
    font-size: 20px;
    color: #333333;
    margin-right: 30px;
}

.navbar-nav .active {
    color: #007bff;
}

.dropdown-menu {
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: #f1f1f1;
}

/* logo */
.logo {
    width: 30px;
    height: 30px;
    object-fit: cover;
}


/* General Button Style */
.btn-get-started {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
}

.btn-get-started:hover {
    background-color: #0056b3;
}

/* Logo */
.logo {
    width: 45px;
}

/* Typed Text */
.cursor {
    animation: blink 1s infinite;
    color: #1A1A1D;
}

#read-more:hover {
    color: black;
    background-color: #ffc107;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}



#typed-text {
    color: #F5F5F5;
}

/* Jumbotron */
.jumbotron-custom {
    border-radius: 20px;
    overflow: hidden;
    background: #1A1A1D;
    height: 500px;
}

/* logo jumbotron */
#logo-jumbotron {
    display: block;
    width: 350px;
    height: auto;
    margin-left: 55px;
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.5);
    border: 5px solid #ffffff;
}

.nav-link.active {
    font-weight: bold;
    color: #ffc107 !important;
}


/* Responsive jumbotron */
@media (max-width: 992px) {
    .jumbotron-custom {
        height: auto;
        padding: 30px;
    }

    .nav-link.active {
        font-weight: bold;
        color: #ffc107 !important;
    }
    

    #welcome-text {
        font-size: 20px;
    }

    #typed-text {
        font-size: 14px;
    }

    .display-4 {
        font-size: 2rem;
    }

    #logo-jumbotron {
        display: none;
    }

    body {
        padding-top: 80px;
    }

    .content-wrapper {
        padding: 15px;
    }

    .navbar-custom {
        top: 10px;
        left: 10px;
        width: calc(100% - 20px);
    }
}

@media (max-width: 768px) {
    .navbar-custom {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        /* Buat navbar melebar penuh */
        max-height: none;
        /* Hilangkan batas tinggi */
        padding: 0.5rem;
        /* Sesuaikan padding */
        border-radius: 0;
        /* Hilangkan border radius */
    }

    .nav-link.active {
        font-weight: bold;
        color: #ffc107 !important;
    }
    

    .navbar-custom ul {
        display: flex;
        flex-direction: column;
        /* Tampilkan menu vertikal */
        align-items: center;
    }

    .navbar-custom li {
        width: 100%;
        text-align: center;
    }

    .navbar-custom .nav-link {
        padding: 0.5rem;
        font-size: 14px;
    }

    .jumbotron-custom .row {
        padding: 30px;
        flex-direction: column;
    }

    #title-nav {
        display: none;
    }

    #showMoreButton {
        display: block;
    }

    .col-md-6.text-start {
        text-align: center;
    }

    #logo-jumbotron {
        display: none;
    }

    #read-more {
        font-size: 12px;
        padding: 10px 20px;
        width: 155px;
        height: 45px;
    }
}

@media (max-width: 576px) {

    .navbar-custom {
        padding: 0.25rem;
    }

    .nav-link.active {
        font-weight: bold;
        color: #ffc107 !important;
    }
    

    .navbar-custom .nav-link {
        font-size: 12px;
        /* Sesuaikan ukuran font */
    }

    .display-4 {
        font-size: 1.75rem;
    }

    #logo-jumbotron {
        display: none;
        /* Hides the logo */
    }

    .jumbotron-custom {
        padding: 15px 0;
    }
}

/* misi configure style */
.hidden {
    display: none;
}

@media (min-width: 768px) {
    .hidden {
        display: list-item;
    }
}

/* swiper */
.warehouse-section {
    padding: 45px 0;
    text-align: center;
}

.swiper-container {
    width: 100%;
    max-width: 1400px;
    height: 450px;
    margin: 0 auto;
    padding: 5px;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    width: 360px;
    height: 400px;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.slide-content {
    height: 100%;
    padding: 15px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.swiper-slide h2 {
    color: white;
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    text-align: center;
}

.swiper-slide img {
    max-width: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.swiper-slide-active {
    opacity: 1;
    transform: scale(1.1);
    z-index: 2;
}

.swiper-slide-active .slide-content {
    background: #1A1A1D;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
    background-color: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.swiper-pagination-bullet {
    background: #333;
    opacity: 0.5;
}

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

/* Responsif untuk tampilan mobile */
@media (max-width: 768px) {
    .swiper-container {
        height: 350px;
    }

    .swiper-slide {
        width: 300px;
        height: 320px;
    }

    .swiper-slide h2 {
        font-size: 18px;
    }

    .swiper-slide img {
        max-width: 250px;
        /* Menyesuaikan lebar gambar di layar kecil */
        height: auto;
    }
}

/* our team */
.team-slider-container {
    width: 100%;
    max-width: 1400px;
    height: 400px;
    /* Increased container height */
    margin: 0 auto;
    padding: 5px;
}

.team-slider-wrapper {
    align-items: center;
}

.team-slider-slide {
    width: 450px;
    height: 300px;
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.8);
    /* Default scale reduced */
}

.team-slide-content {
    height: 100%;
    padding: 15px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.team-slider-slide h2 {
    color: white;
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    text-align: center;
}

.team-slider-slide img {
    max-width: 420px;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 15px;
}

/* Perbaikan untuk slide aktif */
.swiper-slide-active {
    opacity: 1;
    transform: scale(0.50);
    /* Increased scale for active slide */
    z-index: 2;
}

.swiper-slide-active .team-slide-content {
    background: transparent;
    box-shadow: none;
}

/* Transisi untuk slide sebelah aktif */
.swiper-slide-prev,
.swiper-slide-next {
    transform: scale(0.85);
    /* Slightly larger than inactive slides */
}

.team-slider-button-next,
.team-slider-button-prev {
    color: #333;
    background-color: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.team-slider-button-next:hover,
.team-slider-button-prev:hover {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-slider-button-next::after,
.team-slider-button-prev::after {
    font-size: 18px;
}

.team-slider-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.team-slider-pagination-bullet {
    background: #333;
    opacity: 0.5;
}

.team-slider-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 768px) {
    .team-slider-container {
        height: 320px;
    }

    .team-slider-slide {
        width: 340px;
        height: 240px;
        transform: scale(0.9);
    }

    .swiper-slide-active {
        transform: scale(1.1);
    }

    .swiper-slide-prev,
    .swiper-slide-next {
        transform: scale(0.95);
    }

    .team-slider-slide h2 {
        font-size: 18px;
    }

    .team-slider-slide img {
        max-width: 320px;
        height: 180px;
    }
}

/* gallery */
/* Gallery Styles */
.company-gallery-slider {
    width: 100%;
    max-width: 1400px;
    height: 400px;
    margin: 0 auto;
    padding: 5px;
}

.company-gallery-wrapper {
    align-items: center;
}

.company-gallery-slide {
    width: 450px;
    height: 300px;
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.8);
    /* Default scale reduced */
}

.team-slide-content {
    height: 100%;
    padding: 15px;
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.company-gallery-slide h2 {
    color: white;
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    text-align: center;
}

.company-gallery-slide img {
    max-width: 420px;
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 15px;
}

/* Perbaikan untuk slide aktif */
.swiper-slide-active {
    opacity: 1;
    transform: scale(0.50);
    /* Increased scale for active slide */
    z-index: 2;
}

.swiper-slide-active .team-slide-content {
    background: transparent;
    box-shadow: none;
}

/* Transisi untuk slide sebelah aktif */
.swiper-slide-prev,
.swiper-slide-next {
    transform: scale(0.85);
    /* Slightly larger than inactive slides */
}

.company-gallery-button-next,
.company-gallery-button-prev {
    color: #333;
    background-color: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.company-gallery-button-next:hover,
.company-gallery-button-prev:hover {
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.company-gallery-button-next::after,
.company-gallery-button-prev::after {
    font-size: 18px;
}

.company-gallery-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.company-gallery-pagination-bullet {
    background: #333;
    opacity: 0.5;
}

.company-gallery-pagination-bullet-active {
    opacity: 1;
}

@media (max-width: 768px) {
    .company-gallery-slider {
        height: 320px;
    }

    .company-gallery-slide {
        width: 340px;
        height: 240px;
        transform: scale(0.9);
    }

    .swiper-slide-active {
        transform: scale(1.1);
    }

    .swiper-slide-prev,
    .swiper-slide-next {
        transform: scale(0.95);
    }

    .company-gallery-slide h2 {
        font-size: 18px;
    }

    .company-gallery-slide img {
        max-width: 320px;
        height: 180px;
    }
}


/* judul */
#judul_content {
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

/* left text ol */
.text-left ol li {
    text-align: left;
}


.swiper-slide-active .portrait-image {
    height: 350px;
    width: auto;
    object-fit: cover;
}

/* tree chart */
.node rect {
    fill: #2F4F4F;
    stroke: #fff;
    stroke-width: 1px;
}

.node text {
    fill: white;
    font-family: Arial, sans-serif;
    font-size: 10px;
}

.link {
    fill: none;
    stroke: #87CEEB;
    stroke-width: 2px;
}

/* chart */
.chart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: auto;
}

#chartModalContent {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

#chart,
#chartModalContent {
    min-width: 800px;
}


#openModalButton {
    display: none
}


#chart svg,
#chartModalContent svg {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.modal-body {
    padding: 0;
}

.modal-lg {
    max-width: 90%;
}

@media (max-width: 768px) {
    .chart-wrapper {
        display: none;
    }

    #openModalButton {
        display: inline-block;
    }
}

/* footer */
.contact-footer {
    position: relative;
    background-color: #2F4F4F;
    color: white;
    padding: 60px 20px 120px;
    background-image: url('../images/footer/bg_contact_us.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    width: 100%;
    z-index: 0;
    margin: 0;
}

.contact-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.contact-footer .content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    position: relative;
    z-index: 3;
}

.social-links a {
    position: relative;
    z-index: 3;
    text-decoration: none;
}

.contact-footer .footer-image {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 250px;
    height: auto;
    transform: translateY(-50%);
    opacity: 0.8;
    z-index: 1;
}

.contact-footer h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.company-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    text-align: left;
}

.location-icon {
    font-size: 24px;
    color: #FFD700;
}

.company-info .text {
    max-width: 600px;
}

.company-info h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.company-info p {
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
    color: #DDD;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.social-links a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    color: white;
    gap: 8px;
    font-size: 1rem;
    transition: color 0.3s, opacity 0.3s;
}

.social-links a i {
    font-size: 22px;
    transition: transform 0.3s;
}

.social-links a:hover {
    color: #FFD700;
    opacity: 0.85;
}

.social-links a:hover i {
    transform: scale(1.1);
}

.floating-btn {
    position: fixed;
    bottom: 5vh;
    right: 5vw;
    padding: 15px 20px;
    background-color: #252527;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover effect */
.floating-btn:hover {
    background-color: #646464;
}

.floating-btn i {
    margin: 0;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .floating-btn {
        bottom: 5vh;
        right: 5vw;
        padding: 10px 15px;
        font-size: 20px;
        width: 50px;
        height: 50px;
    }
}



/* custom button link bootstrap */

.btn-link {
    color: white;
    text-decoration: none;
}

.btn-link:hover,
.btn-link:focus {
    color: white;
    text-decoration: underline;
}


@media (max-width: 768px) {
    .modal-dialog {
        max-width: 90%;
        margin: 0;
    }

    .modal-body {
        max-height: 70vh;
        overflow: auto;
    }

    #chartModalContent {
        min-width: 100%;
        min-height: 300px;
    }
}

/* new contact section */
/* Tambahkan CSS untuk contact info baru */
.contact-info {
    margin-top: 30px;
    position: relative;
    z-index: 3;
}

.contact-section {
    text-align: left;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    height: 100%;
}

.contact-section h3 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-section a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
    padding: 5px;
    transition: all 0.3s ease;
}

.contact-section a:hover {
    color: #FFD700;
    transform: translateX(5px);
}

.contact-section a i {
    font-size: 20px;
}

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

    .contact-section {
        padding: 10px;
    }

    .contact-section h3 {
        font-size: 1.1rem;
    }

    .contact-section a {
        font-size: 0.9rem;
    }
}