@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Oswald:wght@200..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Quicksand:wght@300..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0291d4, #d2ecf8);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

:root {
    --color-blue: #0291d4;
    --btn-color: #161d6f;
    --color-black: #000000;
    --color-hover-blue: #0b6ba8;
    --color-white: #ffffff;
    --color-hover-white: #ffffffe0;
    --color-grey: #5c5c5c;
}
body {
    font-family: "Poppins", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

li a {
    color: #494949;
    text-decoration: none;
}

a:hover {
    color: none;
}

.text-center {
    text-align: center;
}

.navbar-brand {
    position: relative;
    padding: 20px 20px;
    clip-path: polygon(0% 0, 100% 0, 70% 100%, 0% 100%);
    background-color: var(--color-white);
    overflow: hidden;
    /* min-width: 240px; */
}

.navbar-brand img {
    max-width: 55%;
    height: 60px;
    margin-left: 20px;
}

.navbar-brand::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    transform: skewX(-15deg); */
    z-index: 1;
}

.nav-item {
    position: relative;
    color: var(--color-black);
    transition: color 0.3s ease-in-out;
    font-size: 1.2rem;
}
.nav-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 3px;
    background-color: #0291d4;
    transition: all 0.5s;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

.navbar.scrolled .nav-link {
    color: var(--background);
}

.nav-link {
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);  */
}

.bg-transparent {
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

@media (max-width: 991.98px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 20px;
    }

    .navbar-toggler {
        background-color: var(--color-white);
        border-radius: 5px;
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    .navbar-collapse {
        background-color: var(--color-white);
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 10px;
    }

    .navbar-nav {
        margin-bottom: 15px;
    }

    .nav-link {
        color: var(--color-black) !important;
        padding: 10px 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .navbar-collapse .d-flex {
        margin-top: 10px;
    }
}

.button-blue {
    position: relative;
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 10px 20px;
    border: none;
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
    overflow: hidden;
}

.button-blue:hover {
    background-color: var(--color-hover-blue);
    color: #e6f7ff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-white {
    position: relative;
    background-color: var(--color-white);
    color: var(--color-blue);
    padding: 10px 20px;
    border: none;
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
    overflow: hidden;
}

.button-white:hover {
    background-color: var(--color-hover-white);
    color: var(--color-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-white-product {
    position: relative;
    background-color: var(--color-white);
    color: var(--color-blue);
    padding: 10px 20px;
    border: none;
    transition: color 0.3s, background-color 0.3s, transform 0.3s;
    overflow: hidden;
    border: 1px solid var(--color-blue);
    box-shadow: 0 4px 6px rg;
}
.button-white-product:hover {
    background-color: var(--color-hover-white);
    color: var(--color-blue);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon-all {
    color: #608bc1;
}

.address-footer {
    background-color: #38475b;
    color: var(--color-white);
}

.text-footer {
    color: var(--color-white);
    font-weight: normal;
    transition: color 0.3s ease;
}

.text-footer:hover {
    color: #e6f7ff;
}

.text-copyright {
    color: var(--color-white);
    background-color: #38475b;
}

.text-copyright hr {
    width: 100%;
    border: 1px solid var(--color-white);
}

.section-technical {
    margin-top: 100px;
}

.section-blog {
    margin-top: 100px;
}

.section-detail-service {
    margin-top: 100px;
}

.section-detail-blog {
    margin-top: 100px;
}

.floating {
    position: fixed;
    bottom: 10px;
    right: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    z-index: 100;
    color: #fff;
}

.floating:hover {
    color: white;
}

.icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
        rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
    transition: transform 0.3s ease-in-out;
}
.icon-container:hover {
    transform: translateY(-5px);
}

.fab-icon {
    font-size: 30px;
    line-height: 1;
}

.border-sosmed {
    border-width: 2px;
    border-style: solid;
    border-color: var(--color-white);
    background-color: var(--color-white);
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    color: var(--color-blue);
}

.border-sosmed i {
    color: var(--color-blue);
}

.border-sosmed:hover i {
    color: var(--color-white);
}

.border-sosmed:hover {
    background-color: var(--color-blue); 
    border-color: var(--color-hover-blue); 
}

.round {
    border-radius: 10px;
    padding: 10px 15px;
}

.carousel {
    height: 55vh;
}

.scroll-container {
    display: flex;
    overflow-x: auto; 
    white-space: nowrap;
    -ms-overflow-style: none; 
    scrollbar-width: none; 
    margin: 0 30px;
    position: relative; 
}

.scroll-container::-webkit-scrollbar {
    display: none; 
}

.row.flex-nowrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
    justify-content: center;
}

.row.flex-nowrap > div {
    flex: 0 0 auto;
}

@media (min-width: 767px) {
    .row.flex-nowrap {
        justify-content: flex-start;
    }
}

.url {
    display: flex;
    font-size: 14px;
}

.kategori-galery .galery-kategori {
    display: flex;
    justify-content: center;
}

.badge {
    background-color: var(--color-blue);
    color: white;
    padding: 4px 8px;
    text-align: center;
    border-radius: 5px;
    margin: 0 0 10px 0;
}
.title-section {
    color: var(--color-grey);
}

.title-section h1 {
    font-size: 30px;
}

hr {
    width: 150px;
    border: 1px solid var(--color-grey);
}

.text-justify {
    text-align: justify;
}

.card-title-blog {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 200px;
}

.card-title-product {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-scroll {
    background-color: var(--color-blue);
    color: var(--color-white);
}

.btn-scroll:hover {
    background-color: var(--color-hover-blue);
    color: var(--color-hover-white);
}

@media (min-width: 991.98px) and (max-width: 1196px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0;
        padding-left: 0;
    }
    .navbar-brand {
        padding: 20px 20px 20px 10px;
        min-width: 175px;
    }

    .navbar-brand img {
        max-width: 70%;
        margin-left: 0;
    }

    .nav-link {
        font-size: 18px;
    }
}

.back-button {
    background-color: #e8e8e8;
    color: black;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 10px;
    border: none;
    transition: transform 0.3s ease-in-out;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.back-button:hover,
.btn-icon-back:hover {
    transform: translateY(-4px);
}

.btn-icon-back {
    border-radius: 100px;
    padding: 10px 15px 10px 0;
    margin: 10px 0;
    background-color: transparent;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    transition: transform 0.3s ease-in-out;
}

.fa-arrow-left {
    font-size: 20px;
    color: #494949;
}

.breadcrumb-item.active {
    color: #494949;
}

.breadcrumb {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.card-blog {
    border-radius: 12px;
    transition: transform 0.3s ease-in-out;
}
.card-blog:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 30vh;
    border-radius: 12px 12px 0 0;
}

.nav-item {
    text-shadow: none;
}

.project-buttons {
    display: flex;
    gap: 10px;
}

.img-project {
    width: 100%;
    height: 60vh;
    border-radius: 15px;
    object-fit: cover;
}
.img-blog {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.page-item.active .page-link {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 80%%;
    left: -10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.dropdown-menu.show {
    top: 100%;
    left: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: 0.2s ease;
}

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

.title-produk {
    font-size: 25px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .carousel {
        height: 45vh;
    }
}
@media (min-width: 573px) and (max-width: 767px) {
    .carousel {
        height: 30vh;
    }
}
@media (max-width: 573px) and (min-width: 200px) {
    .img-project {
        height: 45vh;
    }

    .title-produk {
        font-size: 21px;
    }

    .deskripsi-product {
        font-size: 11px;
    }
    .deskripsi-product h2 {
        font-size: 21px;
    }
    .title-section h1 {
        font-size: 20px;
    }
}

.deskripsi-product h2 {
    font-size: 20px;
}

@media (max-width: 384px) and (min-width: 100px) {
    .text-title {
        font-size: 18px;
    }
    .desk-about {
        font-size: 1px;
    }
    .navbar-brand img {
        height: 50px;
    }
    .navbar-brand {
        padding: 20px 0px 20px 0px;
        max-width: 190px;
    }
    .title-home {
        font-size: 20px;
    }
    .desk-home {
        font-size: 15px;
    }
    .button-blue {
        font-size: 14px;
        padding: 10px 10px;
    }
    .button-white {
        font-size: 14px;
        padding: 10px 10px;
    }
}

@media (max-width: 767px) {
    .text-blacky {
        text-align: start;
    }

    .text-visi {
        text-align: start;
    }

    .image-first {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .image-first .col-md-5 {
        order: -1;
    }

    .image-first .col-md-7 {
        margin-top: 1rem;
    }
}

@media (max-width: 573px) and (min-width: 400px) {
    .carousel {
        height: 25vh;
    }
}
@media (max-width: 400px) and (min-width: 331px) {
    .carousel {
        height: 20vh;
    }
}

@media (max-width: 330px) and (min-width: 301px) {
    .carousel {
        height: 15vh;
    }
}

@media (max-width: 300px) and (min-width: 200px) {
    .carousel {
        height: 15vh;
    }
    .carousel-inner {
        border-radius: 10px;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .card-img-product {
        height: 360px !important;
    }	
    
    }