/********** Template CSS **********/
:root {
    --primary: #1A1A1A;
    --secondary: #FFFFFF;
    --light: #EEF9FF;
    --gold: #F4B400;
    --dark: #1a1a1a;
    --yellow: #FFD700;
    --dark-grey: #252525;
}

/***loading***/
.gsu-loader-logo {
    width: 100px; /* Sesuaikan ukuran logo (misal 80px - 150px) */
    height: auto;
    animation: gsuPulse 1s infinite ease-in-out;
}


/* Animasi Berdenyut (Membesar-Mengecil & Transparansi) */
@keyframes gsuPulse {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1); /* Membesar sedikit */
        opacity: 1;
    }
    100% {
        transform: scale(0.95);
        opacity: 0.7;
    }
}
/***loading***/

/* Memastikan item carousel menjadi acuan posisi untuk overlay */
#header-carousel .carousel-item {
    position: relative;
}

/* Membuat overlay gradien */
#header-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Lebar penuh, tapi gradien akan memudar di tengah */
    height: 100%;
    /* Gradien linear: Hitam pekat di kiri (0%), mulai transparan di 50%, dan hilang sepenuhnya di 100% */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
    z-index: 1; /* Letakkan di atas gambar */
}

/* Memastikan teks caption (judul & tombol) berada DI ATAS overlay gradien */
#header-carousel .carousel-caption {
    z-index: 2;
}

/***Background About***/
/* Custom CSS untuk Background Section About */
.about-bg-section {
    position: relative;
    /* Overlay gelap 75% agar teks putih terbaca jelas */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.75)), url('../img/bgabout.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll; /* Opsi: Membuat efek parallax (background diam saat discroll) */
}
/***Background About***/

/***Vendor About***/
/* Custom CSS untuk Background Section About */
.vendor-bg-section {
    position: relative;
    /* Overlay gelap 75% agar teks putih terbaca jelas */
    background-image: url('../img/vendor-bg.png');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll; /* Opsi: Membuat efek parallax (background diam saat discroll) */
}
/***Vackground About***/

/*** New ***/
/* Container Utama */
.solutions-section {
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: #1a1a1a;
}

/* Header Judul (Meniru gaya WIKA) */
.solutions-header {
    text-align: center;
    padding: 40px 20px 20px;
    background: #1a1a1a;
}

.solutions-title {
    font-family: 'Oswald', sans-serif; /* Menggunakan font template Anda */
    color: #F4B400; /* Warna Emas */
    font-size: 2.5rem;
    font-weight: 700;
}

.solutions-title span {
    color: white;
    font-weight: 300;
}

/* List Container (Flexbox Magic) */
.solutions-list {
    display: flex;
    flex-wrap: nowrap; /* Jangan turun ke bawah */
    list-style: none;
    padding: 0;
    margin: 0;
    height: 550px; /* Tinggi area gambar */
    width: 100%;
}

/* Item List (Kartu) */
.list-item {
    flex: 1; /* Semua item lebar awalnya sama */
    position: relative;
    transition: all 0.5s ease-in-out; /* Animasi pelebaran */
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid rgba(255,255,255,0.1);
}

/* Efek Hover: Item yang disorot melebar */
.list-item:hover {
    flex: 3; /* Menjadi 3x lebih lebar dari yang lain */
}

/* Background Image pada Card */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar full cover */
    transition: transform 0.5s ease;
    filter: brightness(0.6); /* Gelapkan gambar sedikit agar teks terbaca */
}

.list-item:hover .card-bg img {
    transform: scale(1.1); /* Zoom in sedikit saat hover */
    filter: brightness(0.4); /* Lebih gelap saat hover */
}

/* Konten Dalam Kartu */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Bagian Depan (Ikon & Judul) */
.card-content__front {
    transition: transform 0.3s ease;
    text-align: center;
    margin-bottom: 10px;
}

.card-content__image i {
    font-size: 3rem;
    color: #F4B400;
    margin-bottom: 15px;
}

.card-content__title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: white;
    white-space: nowrap; /* Agar judul tidak turun baris saat sempit */
}

/* Bagian Detail (Deskripsi & Tombol) */
.card-content__detail {
    max-height: 0; /* Sembunyikan secara default */
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    transform: translateY(20px);
}

/* Tampilkan Detail saat Hover */
.list-item:hover .card-content__detail {
    max-height: 300px; /* Beri ruang untuk teks muncul */
    opacity: 1;
    transform: translateY(0);
}

.list-item:hover .card-content__front {
    transform: translateY(-10px); /* Geser judul ke atas sedikit */
}

.card-content__detail p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.btn--seemore {
    display: inline-block;
    padding: 8px 20px;
    background-color: transparent;
    border: 2px solid #F4B400;
    color: #F4B400;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    transition: 0.3s;
}

.btn--seemore:hover {
    background-color: #F4B400;
    color: black;
}

/* Responsif untuk Mobile (Layar Kecil) */
@media (max-width: 991px) {
    .solutions-list {
        flex-direction: column; /* Ubah jadi vertikal di HP */
        height: auto;
    }
    .list-item {
        height: 300px; /* Tinggi tetap di HP */
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .list-item:hover {
        flex: 1; /* Matikan efek flex grow di HP */
    }
    .card-content__detail {
        max-height: 300px; /* Selalu tampilkan sedikit atau sesuaikan */
        opacity: 1;
        transform: translateY(0);
        background: rgba(0,0,0,0.6); /* Tambah background gelap teks di HP */
        padding: 10px;
    }
        .list-item {
        position: relative;
        min-height: 400px; /* jangan pakai height, pakai min-height */
    }
}
/*** New ***/

/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--secondary);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--secondary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

/********** Navbar Mobile (Layar di bawah 991.98px) **********/
/********** Navbar Mobile (Diperbaiki agar Sejajar) **********/
@media (max-width: 991.98px) {
    /* 1. Navbar tetap di atas */
    .navbar-dark {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1050 !important;
        background: #000000 !important;
        padding: 8px 0; /* Padding diperkecil sedikit */
    }

    /* 2. Container: Memaksa konten tetap satu baris (PENTING) */
    .navbar .container {
        display: flex !important;
        flex-wrap: nowrap !important; /* Mencegah elemen turun ke bawah */
        justify-content: flex-start !important; 
        align-items: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 3. Merapikan Logo (Membatasi ukuran agar tidak mendorong tombol) */
    .navbar-dark .navbar-brand {
        margin: 0 !important;
        padding: 0;
        max-width: 60%; /* Membatasi lebar logo agar ada ruang untuk tombol */
        overflow: hidden; /* Mencegah teks meluap */
    }

    .navbar-dark .navbar-brand h1 {
        color: #F4B400 !important;
        font-size: 1.2rem !important; /* Ukuran diperkecil agar pas di HP */
        white-space: nowrap; /* Teks logo tidak boleh turun baris */
        margin: 0;
        text-overflow: ellipsis; /* Jika teks terlalu panjang, akan menjadi titik-titik */
    }

    /* 4. Tombol Hamburger (Lebar dan tetap sejajar) */
    .navbar-dark .navbar-toggler {
        color: #F4B400 !important; 
        border: 2px solid #F4B400 !important;
        width: 65px; /* Lebar tombol */
        height: 38px; /* Tinggi disesuaikan dengan logo */
        margin-left: 12px; /* Jarak dari logo */
        flex-shrink: 0; /* Mencegah tombol menyusut/gepeng */
        display: flex;
        align-items: center;
        justify-content: center;
        outline: none !important;
        box-shadow: none !important;
    }

    .navbar-dark .navbar-toggler .fa-bars {
        font-size: 1.2rem;
    }

    /* 5. Daftar Menu Dropdown */
    .navbar-collapse {
        background: #000000;
        position: absolute; /* Menu melayang di bawah navbar */
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px 0;
    }

    .navbar-dark .navbar-nav .nav-link {
        padding: 12px 20px !important;
        color: #FFFFFF !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* 6. Jarak Body */
    body {
        padding-top: 60px; 
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 1000 !important; /* Pastikan di atas elemen carousel */
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #000000;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--secondary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #F4B400;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #F4B400 !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(255, 255, 255, 0.7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}