/********** Template CSS **********/
:root {
    --primary: #2db121;
    --secondary: #4777f5;
    --light: #f7faff;
    --dark: #2F373D;

    --title: #f2f3f5;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Heading ***/
h1,
h2,
h3,
.fw-bold {
    font-weight: 700 !important;
}

h4,
h5,
h6,
.fw-medium {
    font-weight: 500 !important;
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: 0.5s;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: var(--light) !important;
    outline: none;
    transition: 0.5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
}

.navbar-light .navbar-brand h1 {
    color: #ffffff;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: 0.5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #ffffff;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #dddddd;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand h1 {
        color: var(--primary);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, 0.1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #ffffff;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--secondary);
        transition: 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        color: var(--primary);
    }
}

/* overlay css */
.hero-header .hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-header-katalog .hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-header-kontak .hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.hero-header-detail .hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

/*** Hero Header ***/

.hero-header {
    background-color: #cfa616;
    padding: 0px 25px 0px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    /* min-height: 30vh; */
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.hero-header .typing-container {
    /* display: flex; */
    justify-content: left;
    align-items: center;
  }
  .hero-header .typing-container #feature-text {
    margin-left: 8px;
  }
  .hero-header .typing-container .input-cursor {
    display: inline-block;
    width: 2px;
    height: 42px;
    background-color: white;
    margin-left: 8px;
    animation: blink 0.6s linear infinite alternate;
  }
  @keyframes blink {
    0% {
      opacity: 1;
    }
    40% {
      opacity: 1;
    }
    60% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }

.title-slide h2 {
    color: #2F373D;
}

.card-hero {
    margin-top: -150px;
    z-index: 10;
}

.card-1 {
    background-color: #1C688F;
    color: #ffffff;
}
.card-2 {
    background-color: #EFC348;
    color: #000;
}
.card-3 {
    background-color: #F04C43;
    color: #ffffff;
}
.card-4 {
    background-color: #27306D;
    color: #ffffff;
}


.slide-banner {
    max-width: 800px; 
    width: 90%;
}

.slide-banner .carousel-control-prev {
    left: -1.5rem; 
    width: 2.5rem; 
    height: 2.5rem; 
    z-index: 1050;
    background-color: #2F373D;
}

.slide-banner .carousel-control-next {
    right: -1.5rem; 
    width: 2.5rem; 
    height: 2.5rem; 
    z-index: 1050;
    background-color: #2F373D;
}
.hero-header-katalog {
    background-color: #cfa616;
    background-size: cover;
    padding: 0px 25px 0px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    min-height: 50vh;
}

.hero-header-penerbitan {
    background-color: #cfa616;
    background-size: cover;
    padding: 0px 25px 0px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    min-height: 30vh;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* .hero-header-penerbitan .hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
} */

.hero-header-marketplace {
    background-color: #cfa616;
    padding: 0px 25px 0px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    min-height: 40vh;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* .hero-header-marketplace .hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
} */



.hero-header-kontak {
    background: url(../img/cs.jpg);
    background-size: cover;
    padding: 0px 25px 0px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    min-height: 50vh;
}

.hero-header-detail {
    background: url(../img/detail.jpg);
    background-size: cover;
    background-position: bottom;
    padding: 0px 25px 0px 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    min-height: 50vh;
}

.hero-header .main-header {
    z-index: 20;
    background-color: rgba(247, 250, 248, 0.2);
    padding: 30px 10px 30px 10px;
    border-radius: 10px;
}

.hero-header .left-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-item: center;
}

.hero-header .left-side h1 {
    color: var(--title);
    text-align: center;
    font-size: 32px;
}

.hero-header .left-side span {
    display: block;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

/* header tablet */
@media (min-width: 768px) {
    .hero-header {
        padding: 0px 70px 0px 70px;
    }

    .hero-header .main-header {
        padding: 30px 30px 30px 30px;
    }

    .hero-header .main-header .left-side h1 {
        font-size: 40px;
    }

    .hero-header .left-side span {
        display: block;
        color: white;
        text-align: center;
        margin-bottom: 30px;
        font-size: 18px;
    }
}

/* header on 1024px */
@media (min-width: 1024px) {
    .hero-header {
        padding: 0px 120px 0px 120px;
        min-height: 80vh;
    }

    .hero-header .main-header {
        margin-top: 50px;
        padding: 30px 50px 30px 50px;
    }

    .hero-header .main-header .left-side h1 {
        font-size: 32px;
    }

    .hero-header .main-header .left-side span {
        display: block;
        color: white;
        text-align: center;
        margin-bottom: 30px;
        font-size: 16px;
    }
}

.main-header .left-side .head-btn {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

/* my button style */
body .my-button {
    padding: 10px 30px 10px 30px;
    background-color: blue;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    border: none;
}

body .second-button {
    padding: 10px 30px 10px 30px;
    background-color: rgba(159, 160, 161, 0.5);
    color: white;
    border-radius: 10px;
    font-size: 16px;
    border: none;
}

body .my-button:hover {
    transition-duration: 0.3s;
    color: blue;
    background-color: white;
}

body .second-button:hover {
    transition-duration: 0.3s;
    color: white;
    background-color: blue;
}

@media (min-width: 768px) {
    .my-button {
        padding: 14px 30px 14px 30px;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 2px;
    }
    .second-button {
        padding: 14px 30px 14px 30px;
        font-size: 18px;
        font-weight: 600;
        letter-spacing: 2px;
    }
}

@media (min-width: 1024px) {
    .my-button {
        padding: 14px 30px 14px 30px;
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 2px;
    }
    .second-button {
        padding: 14px 30px 14px 30px;
        font-size: 18px;
        font-weight: 400;
        letter-spacing: 2px;
    }
}

/* news letter start */
.newsletter {
    background-color: blue;
}


#faqAccordion {
            background: #fff;
            border-radius: 1rem;
            border: 1px solid #eee;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
            padding: 1rem;
        }

        .accordion-item {
            background: transparent;
        }

        .accordion-button {
            border-radius: 0.5rem !important;
        }

        .accordion-button:focus {
            box-shadow: none;
        }

        .accordion-button:not(.collapsed) {
            background: #f8f9fa;
            color: #212529;
        }

        .accordion-body {
            background: #fff;
            border-radius: 0.5rem;
        }

         .promo-card {
                        transition: transform .2s, box-shadow .2s;
                        background: linear-gradient(135deg, #fff 80%, #f8f9fa 100%);
                    }

                    .promo-card:hover {
                        transform: translateY(-8px) scale(1.03);
                        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
                        z-index: 2;
                    }

                    .promo-card .badge {
                        font-size: 0.95rem;
                        letter-spacing: 0.5px;
                    }

                    .promo-card img {
                        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
                    }

/* news letter end */

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 4px;
    bottom: 0;
    left: 0;
    background: var(--dark);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    bottom: 0;
    left: 50px;
    background: var(--dark);
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -25px;
}

.section-title.text-center::after {
    left: 50%;
    margin-left: 25px;
}

.section-title h6::before,
.section-title h6::after {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    top: 2px;
    left: 0;
    background: rgba(33, 66, 177, 0.5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}

/*** Service ***/
.service-item {
    position: relative;
    height: 350px;
    padding: 30px 25px;
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    transition: 0.5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: url(../img/icon-shape-primary.png) center center no-repeat;
    transition: 0.5s;
}

.service-item:hover .service-icon {
    color: var(--primary);
    background: url(../img/icon-shape-white.png);
}

.service-item h5,
.service-item p {
    transition: 0.5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: var(--light);
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover a.btn {
    color: var(--primary);
}

.service-item a.btn::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    top: 0;
    left: 0;
    border-radius: 35px;
    background: #dddddd;
    transition: 0.5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}

/*** Testimonial ***/
.testimonial {
    background-color: blue;
    padding: 50px 0px 100px 0px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--light) !important;
    border-color: var(--light);
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #888888;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
    color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}

/*** Team ***/
.team-item {
    position: relative;
    transition: 0.5s;
    z-index: 1;
}

.team-item::after {
    position: absolute;
    content: "";
    top: 3rem;
    right: 3rem;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    z-index: -1;
}

.team-item:hover::after {
    background: var(--primary);
}

.team-item h5,
.team-item small {
    transition: 0.5s;
}

.team-item:hover h5,
.team-item:hover small {
    color: var(--light);
}

/*** Project Portfolio ***/
#portfolio-flters .btn {
    position: relative;
    display: inline-block;
    margin: 10px 4px 0 4px;
    transition: 0.5s;
}

#portfolio-flters .btn::after {
    position: absolute;
    content: "";
    right: -1px;
    bottom: -1px;
    border-left: 20px solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 50px solid #ffffff;
}

#portfolio-flters .btn:hover,
#portfolio-flters .btn.active {
    color: var(--light);
    background: var(--primary);
}

.portfolio-overlay {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 30px;
    top: 0;
    left: 0;
    background: var(--primary);
    transition: 0.5s;
    z-index: 1;
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item .btn {
    position: absolute;
    width: 90px;
    height: 90px;
    top: 0px;
    right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/icon-shape-white.png) center center no-repeat;
    border: none;
    transition: 0.5s;
    opacity: 0;
    z-index: 2;
}

.portfolio-item:hover .btn {
    opacity: 1;
    transition-delay: 0.15s;
}

/*** Footer ***/
.footer {
    background: url(../img/footer.png) center center no-repeat;
    background-size: contain;
    background-color: #262626;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid rgba(256, 256, 256, 0.1);
    border-radius: 40px;
    transition: 0.3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
