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

#home {
    padding-top: 76px;
}

.bg-white.p-0 {
    width: 100%;
    max-width: 100%;
}

.container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 8% !important; 
    padding-right: 8% !important;
}

.container-xxl {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.container-xxl .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 5% !important; 
    padding-right: 5% !important;
}

:root {
    --primary: #7EBC12;
    --secondary: #FF0F10;
    --light: #F2F2F2;
    --dark: #1D2833;
}


/*** 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,
.fw-bold {
    font-weight: 700 !important;
}

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

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


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

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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: 8px;
}


/*** Navbar ***/
#mainNavbar .container-xxl {
    display: flex;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 8% !important;
}


.navbar .container-xxl {
    padding: 0 1.5rem;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF !important;
    text-transform: uppercase;
    font-weight: 500;
    outline: none;
    transition: .5s;
}



.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: max-height 0.4s ease;
    display: block;
    overflow: visible;
}




#mainNavbar {
    background: var(--primary) !important;
    transition: all 0.4s ease;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3) !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}

.navbar-scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;  
    backdrop-filter: blur(8px);
}

.navbar-scrolled .navbar-brand h1 {
    color: var(--primary) !important;
}

.navbar-scrolled .navbar-nav .nav-link {
    color: var(--dark) !important;
}

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

.navbar-scrolled .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-scrolled .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) {

    .hero-header img {
        max-height: 600px;
    }

    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

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

    .container-xxl .container.px-lg-5 {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }

    .hero-wrapper .container {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .hero-wrapper .row {
        align-items: center;
    }
}

/* home */
.hero-header .container-xxl {
    padding-left: 8% !important;
    padding-right: 8% !important;
}

.hero-header {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer {
    width: 100%;
    display: block;
}

.hero-header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 8% !important;
    padding-right: 8% !important;
}

.footer .container {
    max-width: 1320px !important;
    width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-header img {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.hero-header {
    background:
        url('../img/bg-round.png'),
        url('../img/bg-round-2.png'),
        url('../img/bg-square.png'),
        url('../img/bg-line.png'),
        url('../img/bg-bottom-hero.png'),
        #7EBC12;

    background-position:
        0px 40%,
        right 0 top 0,
        left 50% top 0,
        left 50% top 50%,
        center bottom -1px,
        center;

    background-repeat: no-repeat;
    background-size:
        auto,
        auto,
        auto,
        auto,
        100% auto,
        cover;
    
    position: relative;
    overflow: hidden;
}

/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 11px;
    bottom: 0;
    left: 0;
    border-top: 1px solid #5A5A5A;
    border-bottom: 1px solid #5A5A5A;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 90px;
    height: 1px;
    bottom: 5px;
    left: 0;
    background: var(--primary);
}

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

.section-title.text-center::after {
    width: 120px;
    left: 50%;
    margin-left: -60px;
}



/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item .position-absolute {
    background: var(--secondary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF;
}

.testimonial-carousel .owl-item.center .testimonial-item h6 {
    color: var(--dark) !important;
}

.testimonial-carousel .owl-dots {
    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: 15px;
    transition: .5s;
}

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


/*** Footer ***/
.footer {
    background:
        url(../img/bg-round.png),
        url(../img/bg-round-2.png),
        url(../img/bg-square.png),
        url(../img/bg-line.png),
        url(../img/bg-bottom-footer.png);
    background-position: center bottom -1px;
    background-repeat: no-repeat;
    background-size: 100% 100% !important;
    overflow: hidden;
}

.footer {
    width: 100% !important;
    background-repeat: no-repeat;
    background-size: 100% auto !important;
    background-position: center bottom -1px !important;
    margin-top: 0 !important;
}

.footer .bg-light {
    background-color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 15px !important;
    padding: 2rem !important;
    padding: 30px !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.footer .bg-white {
    background-color: #ffffff !important;
    padding: 30px !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    width: 100%; 
}

.footer .form-control {
    background: #fdfdfd !important;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    margin-bottom: 15px !important;
    padding: 10px 15px !important;
}

.footer .row {
    width: 100%;
    margin: 0 !important;
}

.footer .row.justify-content-between {
    width: 100%;
    margin: 0 !important;
}

.footer p {
    text-align: left !important;
    font-size: 15px;
    line-height: 1.6;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    transition: .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 {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding: 30px 0;
}

.footer .copyright a {
    color: var(--light);
}

.footer-menu a {
    color: rgba(255,255,255,0.7) !important;
    margin-left: 15px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-menu a:hover {
    color: #fff !important;
    text-decoration: underline !important;
}


.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.footer .form-container {
    background-color: #ffffff !important;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s;
}

.footer .form-container:hover {
    transform: translateY(-5px);
}

.footer .form-control {
    background: #fdfdfd !important;
    border: 1px solid #ced4da !important;
    border-radius: 8px !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
}

.footer .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(126, 188, 18, 0.25) !important;
    border-color: var(--primary) !important;
}

.footer .btn-primary {
    border-radius: 8px !important;
    background-color: var(--primary) !important;
    font-weight: 700;
}

.footer h5.border-bottom {
    border-color: rgba(255,255,255,0.2) !important;
    display: inline-block;
}




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

.artikel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.artikel-card {
    min-width: 250px;
    height: 150px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: transform 0.3s;
}

.artikel-card:hover {
    transform: translateY(-5px);
}

.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.faq-question {
    cursor: pointer;
    font-weight: bold;
}

.faq-answer {
    display: none;
    padding-top: 5px;
    color: #555;
}

#artikel .card {
    transition: transform 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

#artikel .card:hover {
    transform: translateY(-10px);
}

.artikel-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.artikel-carousel .owl-dot {
    height: 10px;
    width: 10px;
    background: #ccc !important;
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
}

.artikel-carousel .owl-dot.active {
    background: #4e73df !important;
    width: 25px;
    border-radius: 10px;
}

.artikel-carousel {
    position: relative;
}

.artikel-carousel .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.artikel-carousel .owl-nav button {
    pointer-events: all;
    background: rgba(78, 115, 223, 0.7) !important;
    color: white !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    border: none;
    margin: 0 -20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.artikel-carousel .owl-nav button:hover {
    background: rgba(78, 115, 223, 1) !important;
    transform: scale(1.1);
}

.artikel-carousel .owl-nav button i {
    font-size: 20px;
}

@media (max-width: 576px) {
    .artikel-carousel .owl-nav button {
        margin: 0 5px;
        width: 35px;
        height: 35px;
    }
}