:root {
    --primary: #eb2227;
    --secondary: #1363C6;
    --light: #F4F7FE;
    --dark: #14183E;
}

/*** Spinner ***/
#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;
}

.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: .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 ***/
.sticky-top {
    top: -150px;
    transition: .5s;
    z-index: 9999; /* Menambahkan z-index tinggi */
}

.fixed-top {
    position: fixed;
    top: 0px;
    transition: .5s;
    background: var(--primary);
    z-index: 9999;
}

.navbar {
    padding: 11px 0 !important;
    height: 75px;
    z-index: 9999; /* Menambahkan z-index tinggi */
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 0;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-item:hover {
    background-color: #000;
    color: rgba(255, 255, 255, 1)!important;
}

.dropdown-item.active, .dropdown-item:active {
    color: #fff;
    text-decoration: none;
    background-color: #1363c6;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255,.55);
}

.language-switcher {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.lang-flag {
    display: inline-block;
    margin: 0 5px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.lang-flag:hover, 
.lang-flag.active {
    opacity: 1;
}

.flag-icon {
    width: 28px;
    height: 20px;
    border-radius: 2px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        padding: 0 15px;
        top: -10px;
        left: 0;
        position: fixed;
        z-index: 9998;
        overflow: scroll!important;
        background-color:  rgba(0, 0, 0, .8)!important;
        margin-left: -30px;
        padding: 25% 0;
        height: 100%;
        width: calc(100% + 60px);
        border-top: none;
        align-items: center;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        border: none;
        margin-top: 0;
        top: 150%;
        color: rgba(255, 255, 255, .8);
        background-color: transparent!important;
        align-items: center;
        justify-content: center;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
        color: rgba(255, 255, 255, 0.7);
    }

    .navbar .dropdown-toggle  {
        text-align: center;
    }

    .navbar-toggler-icon {
        display: none;
    }

    .navbar .dropdown-item {
        display: block;
        width: 100%;
        padding: 20px 0px;
        clear: both;
        font-weight: 400;
        color: rgba(255, 255, 255, .7);
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent!important;
        border: 0;
        text-align: center;
        margin-left: -16px;
    }
    
    .navbar .dropdown-item:hover {
        color: rgba(255, 255, 255, 1)!important;
    }

    .navbar-toggler {
        border: 0px solid rgba(0,0,0,0);
        border-radius: 10px;
        transition: box-shadow .15s ease-in-out;
        z-index: 10000;
    }

    .navbar-toggler:focus {
        text-decoration: none;
        outline: 0;
        box-shadow: 0 0 0 0;
    }

    .navbar-toggler-icon {
        display: none;
    }
    
    .navbar-close-icon {
        display: inline-block;
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .navbar-toggler.collapsed .navbar-close-icon {
        display: none;
    }

    .navbar-toggler.collapsed .navbar-toggler-icon {
        display: inline-block;
    }
    .language-switcher {
        margin: 20px auto 0;
        justify-content: center;
    }
    
    .lang-flag {
        margin: 0 10px;
    }
    
    .flag-icon {
        width: 35px;
        height: 25px;
    }
}

.navbar-nav.w-100 {
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 992px) {
    .language-switcher {
        margin-left: auto;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .navbar-collapse {
        position: relative;
    }
    
    .navbar-nav {
        padding-right: 80px; /* Memberikan ruang untuk language switcher */
    }
}

/*** Hero Header ***/
.hero-header {
    margin-top: -75px;
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

.hero-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** 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, .5);
}

.section-title h6::after {
    top: 5px;
    left: 3px;
}


/*** About ***/
.about-img {
    position: relative;
    overflow: hidden;
}

.about-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/bg-about-img.png) top left no-repeat;
    background-size: contain;
}


/*** Service ***/
.service-item {
    position: relative;
    padding: 45px 30px;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-icon {
    background: #FFFFFF;
}

.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF;
}

.service-item a.btn {
    position: relative;
    display: flex;
    color: var(--primary);
    transition: .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: var(--light);
    transition: .5s;
    z-index: -1;
}

.service-item:hover a.btn::before {
    width: 100%;
    background: var(--light);
}


/*** Feature ***/
.feature {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}


/*** Newsletter ***/
.newsletter {
    background: url(../img/bg-hero.png) center center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .newsletter .container {
        max-width: 100% !important;
    }

    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .newsletter .newsletter-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Case Study ***/
.case-item img {
    transition: .5s;
}
  
.case-item:hover img {
    transform: scale(1.2);
}
  
.case-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    background: linear-gradient(rgba(20, 24, 62, 0), var(--dark));
    z-index: 1;
}

.case-overlay small {
    display: inline-block;
    padding: 3px 15px;
    color: #FFFFFF;
    background: rgba(20, 24, 62, .7);
    border-radius: 25px;
    margin-bottom: 15px;
}

.case-overlay span.btn:hover {
    color: var(--primary);
    background: #FFFFFF;
    border-color: #FFFFFF;
}


/*** FAQs ***/
.accordion .accordion-item {
    border: none;
    margin-bottom: 15px;
}

.accordion .accordion-button {
    background: var(--light);
    border-radius: 2px;
}

.accordion .accordion-button:not(.collapsed) {
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: none;
}

.accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion .accordion-body {
    padding: 15px 0 0 0;
}


/*** Testimonial ***/
.testimonial-carousel {
    position: relative;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 40px;
    height: 100%;
    top: calc(50% - 50px);
    left: -21px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 5px 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 40px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    margin-left: 3rem;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin-right: 10px;
    width: 15px;
    height: 15px;
    background: #FFFFFF;
    border: 1px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}


/*** Team ***/
.team-item {
    transition: .5s;
    border: 1px solid transparent;
    transition: .5s;
}

.team-item:hover {

    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    background: url(../img/superiore_pattern.svg) right center no-repeat;
    background-size: 425px 100%;
    background-position: 920px -55px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(256, 256, 256, .1);
    border-radius: 40px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,.5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #FFFFFF;
}

.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, .1);
}

.footer .copyright a {
    color: rgba(255,255,255,.5);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


/*** Superioreblock ***/
.bg-primary {
    background-color:#000!important;
}

.text-primary {
    color:#eb2227!important;
}

.btn-primary {
    color: #fff;
    background-color:#eb2227!important;
    border-color: #eb2227!important;
}

.s-footer {
    background-color: #000;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 233px;
    color: #FFF;
}

.s-logo-e {
    background-image: url("../assets/img/logos/logo_superiore.svg");
    background-repeat: no-repeat;
    width: 255px;
    height: 21px;
    margin-top: 0px;
    display: none;
}

.s-logo {
    background-image: url("../assets/img/logos/logo_superiore.svg");
    background-repeat: no-repeat;
    width: 255px;
    height: 21px;
    margin-top: 0px;
    display: block;
}

.s-logo-footer {
    background-image: url("../assets/img/logos/logo_superiore_footer.svg");
    background-repeat: no-repeat;
    width: 155px;
    height: 12px;
    margin-top: 10px;
    display: block;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    margin-top: 10px;
}

.home-header {
    height: 100%;
    margin-top: -75px;
    background: url(../img/bg-home.jpg) center center no-repeat;
    background-size: cover;
}

.bg-cover {
    background-size: cover;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.s-icon-close {
    background-image: url("../assets/img/icons/icon-close.svg");
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
}

.superior-header {
    margin-top: -75px;
    background: url(../img/superiore_pattern_h.svg) left center no-repeat;
    background-size: 525px 100%;
    background-position: top left;
}

.superior-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.bg-cover-news {
    background-size: cover;
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.img-news {
    min-height: 300px;
}

.card {
    border-radius: 0px;
}

.modal-content {
    border-radius: 0px;
}

.modal-header {
    border-top-left-radius: 0px; 
    border-top-right-radius: 0px;
}

.list-group {
    border-radius: 0px;
}

.content-wrapper {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 0.5rem;
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

.card_superiore {
    display: none;
}

.table_superiore {
    display: inline-block;
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .superior-header {
        margin-top: -75px;
        background: url(../img/superiore_pattern_h.svg) left center no-repeat;
        background-size: 525px 100%;
        background-position: -100px 0px;
    }
    .footer {
        background: url(../img/superiore_pattern.svg) right center no-repeat;
        background-size: 325px 100%;
        background-position: 260px -267px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .superior-header {
        margin-top: -75px;
        background: url(../img/superiore_pattern_h.svg) left center no-repeat;
        background-size: 525px 100%;
        background-position: -100px 0px;
    }
    .footer {
        background: url(../img/superiore_pattern.svg) right center no-repeat;
        background-size: 325px 100%;
        background-position: 260px -267px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
    .superior-header {
        margin-top: -75px;
        background: url(../img/superiore_pattern_h.svg) left center no-repeat;
        background-size: 525px 100%;
        background-position: -100px 0px;
    }
    .footer {
        background: url(../img/superiore_pattern.svg) right center no-repeat;
        background-size: 325px 100%;
        background-position: 260px -267px;
    }

    .s-logo-e {
        background-image: url("../assets/img/logos/logo_superiore.svg");
        background-repeat: no-repeat;
        width: 255px;
        height: 21px;
        margin-top: 0px;
        display: block;
    }

    .s-logo {
        display: block;
    }

    .navbar .navbar-toggler {
        padding: 0.25rem 0.75rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: rgba(0,0,0,0);
        transition: box-shadow .15s ease-in-out;
    }

    .navbar-dark .navbar-toggler {
        border-color: rgba(255,255,255,0)!important;
    }

    .bg-cover-news {
        min-width: 290px;
        min-height: 320px;
        display: block;
        object-fit: cover;
        transition: transform 3s ease;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        position: relative;
        overflow: hidden;
        border-radius: 0rem;
        flex: 1;
        box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
        -moz-backface-visibility: hidden;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
    }

    .card_superiore {
        display: inline-block;
    }
    
    .table_superiore {
        display: none;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) { 

}

/*** reset ***/
.owl-carousel .owl-item img {
    display: inline;
}


.button-whatsapp {
    background-color: #25d366;
    color: #FFF;
    border: 2px solid #04aa6d;
    padding: 8px 18px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    line-height: 22px;
    cursor: pointer;
    margin-left: 0px;
}

.s-float {
    position: fixed;
    transform:translate(108px,0px);
    bottom:25%;
    right:0;
    width:150px;
    overflow: hidden;
    background-color: #eb2227;
    color: #000;
    border-radius: 7px 0 0 7px;
    z-index: 10;
    transition: all 0.5s ease-in-out;
    vertical-align: middle;
}

.s-float a span {
    color: #000;
    font-size: 15px;
    padding-top: 8px;
    padding-left: 8px;
    padding-bottom: 10px;
    position: absolute;
    line-height: 16px;
    font-weight: bolder;
}

.s-float i {
    font-size: 30px;
    color: #000;
    line-height: 30px;
    padding: 10px;
    transform:rotate(0deg);
    transition: all 0.5s ease-in-out;
    text-align:center;
}

.s-float:hover {
    color: #000;
    transform:translate(0px,0px);
}

.s-float:hover i  {
    transform:rotate(360deg);
}