@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
    /**
   * colors
   */

    --red: #c40001;
    --white: #fff;
    --black: #000;

    /**
   * typography
   */
    --sm-font: "Roboto", serif;

    --fs-1: 1.563rem;
    --fs-2: 1.375rem;
    --fs-3: 1.25rem;
    --fs-4: 1.125rem;
    --fs-5: 1rem;
    --fs-6: 0.938rem;
    --fs-7: 0.875rem;
    --fs-8: 0.813rem;
    --fs-9: 0.75rem;
    --fs-10: 0.688rem;
    --fs-11: 0.625rem;

    --weight-300: 300;
    --weight-400: 400;
    --weight-500: 500;
    --weight-600: 600;
    --weight-700: 700;

    /**
   * border-radius
   */

    --border-radius-md: 10px;
    --border-radius-sm: 5px;

    /**
   * transition 
   */

    --transition-timing: 0.2s ease;
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

button {
    background: none;
    font: inherit;
    border: none;
    cursor: pointer;
}

button:active,
button:focus,
.btn:active,
.btn:focus {
    outline: none !important;
    box-shadow: none !important;
    /* background-color: transparent !important; Sesuaikan jika perlu */
    /* border-color: inherit !important; Menjaga warna border asli */
}

img,
ion-icon,
button,
a {
    display: block;
}

span {
    display: inline-block;
}

html {
    overscroll-behavior: contain;
}

input {
    display: block;
    width: 100%;
    font: inherit;
}

input::placeholder {
    font: inherit;
}

body {
    background: var(--white);
    font-family: var(--sm-font);
}

/**
 * scrollbar style
 */

body::-webkit-scrollbar {
    width: 15px;
}

body::-webkit-scrollbar-track {
    background: var(--white);
    border-left: 1px solid var(--cultured);
}

body::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 80%);
    border: 3px solid var(--white);
    border-radius: 10px;
}

body::-webkit-scrollbar-thumb:hover {
    background: hsl(0, 0%, 70%);
}

/*-----------------------------------*\
  #Navbar Section
\*-----------------------------------*/

.img-logo {
    width: 150px;
    object-fit: contain;
}

.navbar {
    background: var(--red);
}

.navbar .nav-item .nav-link {
    color: #fff;
    font-size: var(--fs-4);
    font-weight: var(--weight-500);
}

.navbar .nav-item .nav-link.avtive {
    color: #fff;
    font-size: var(--fs-4);
    font-weight: var(--weight-500);
}

.navbar .nav-item .nav-link:hover {
    color: #fff;
    font-size: var(--fs-4);
    font-weight: var(--weight-500);
}

.navbar-light .navbar-toggler {
    border: 1px solid white; /* Border putih */
}
.navbar-light .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(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar .nav-item .btn-race {
    background-color: #fff;
    color: var(--red);
    font-size: var(--fs-4);
    font-weight: var(--weight-500);
    border: none !important;
}

/*-----------------------------------*\
  # Hero Section 
\*-----------------------------------*/

.hero {
    background: var(--red);
}

/* .hero .wp-vidiohome {
    position: relative;
} */

.wp-vidiohome iframe {
    z-index: 1;
    width: 100%;
    height: 500px;
}

/* Untuk Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .wp-vidiohome iframe {
        z-index: 1;
        width: 100%;
        height: 500px;
    }
}

/* Untuk Mobile (di bawah 768px) */
@media (max-width: 767px) {
    .wp-vidiohome iframe {
        z-index: 1;
        width: 100%;
        height: 500px;
    }
}

/* .wp-vidiohome .vidio-home {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 700px;
} */

/*-----------------------------------*\
  #Client Section
\*-----------------------------------*/

.client {
    padding: 80px 0px;
    background: var(--red);
}

.wp-client {
    border-bottom: 1px solid white;
    padding: 0px 0px 80px 0px;
}

/* .wp-client .img-client {
  max-width: 11%;
  object-fit: contain;
} */

.wp-client {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.wp-client .img-client {
    max-width: 10%;
    object-fit: contain;
}

.wp-client .img-client.main {
    max-width: 21%;
}

/* Untuk Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .wp-client .img-client {
        max-width: 20%;
    }
    .wp-client .img-client.main {
        max-width: 40%;
    }

    .wp-client {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Untuk Mobile (di bawah 768px) */
@media (max-width: 767px) {
    .wp-client .img-client {
        max-width: 20%;
    }
    .wp-client .img-client.main {
        max-width: 50%;
    }
    .wp-client {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/*-----------------------------------*\
  #Footer Section
\*-----------------------------------*/

.footer {
    padding: 80px 0px;
    background: var(--red);
}

.footer .nav-footer .link-footer {
    color: #fff;
    font-size: var(--fs-4);
    font-weight: var(--weight-400);
}

@media (max-width: 767px) {
    .footer .nav-footer .link-footer {
        font-size: var(--fs-5);
    }
}

@media (max-width: 353px) {
    .footer .nav-footer .link-footer {
        font-size: var(--fs-6);
    }
}

.footer .nav-footer .social-footer {
    color: #fff;
    font-size: var(--fs-1);
    font-weight: var(--weight-400);
}

/*-----------------------------------*\
  #Header Page Section
\*-----------------------------------*/

.header-pge {
    padding: 40px 0px;
    background: url(../images/bg-panjang-aboutus.jpg) no-repeat center center;
    min-height: 200px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/*-----------------------------------*\
  #About Us Section
\*-----------------------------------*/

.about-us {
    padding: 80px 0px;
}

.about-us .content {
    padding: 0px 50px 0px 0px;
}

@media (max-width: 767px) {
    .about-us .content {
        padding: 0px 0px 0px 0px;
    }
}

.about-us .content .title {
    color: var(--black);
    font-size: var(--fs-1);
    font-weight: var(--weight-500);
}

.about-us .content p {
    color: var(--black);
    font-size: var(--fs-5);
    font-weight: var(--weight-400);
    line-height: 25px;
    text-align: justify;
    padding: 10px 0px;
}

.about-us .content .img-aboutus {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    margin-bottom: 20px;
}

.about-us .content .title-item {
    color: var(--black);
    font-size: var(--fs-2);
    font-weight: var(--weight-500);
    line-height: 20px;
}

.about-us .content .item i {
    color: var(--black);
    font-size: var(--fs-1);
    font-weight: var(--weight-500);
}

/*-----------------------------------*\
  #Blog Section
\*-----------------------------------*/

.card-blog .img-blog {
    border-radius: 10px;
    object-fit: cover;
    height: 250px;
}

.title-blog {
    font-size: var(--fs-3);
}
