/********** Template CSS **********/

:root {
    --primary: #1E3A8A;
    --secondary: #1E3A8A;
    --light: #F0F6FF;
    --dark: #262B47;
}


/*** 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;
}


/*** 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;
}


/* Kontainer pembungkus gambar harga */

.price-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Pengaturan Responsif Gambar */

.price-badge-img {
    max-width: 100%;
    /* Mengikuti lebar kolom */
    height: auto;
    /* Menjaga rasio gambar agar tidak gepeng */
    width: 280px;
    /* Lebar default ideal di desktop */
    border-radius: 12px;
    /* Membuat sudutnya sedikit melengkung rapi (opsional) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Memberikan efek kedalaman yang profesional */
}


/* Penyesuaian khusus untuk Layar HP (Mobile) */

@media (max-width: 768px) {
    .price-badge-img {
        width: 100%;
        /* Di HP akan otomatis melebar memenuhi card dengan rapi */
        max-width: 240px;
        /* Batas maksimal ukuran di HP */
    }
}


/*** Gradient Text & BG ***/

.text-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-primary-gradient {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.bg-secondary-gradient {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}

.wa-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: wa-bounce 2s infinite;
}

.wa-floating-btn:hover {
    background-color: #20ba5a;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}


/* Efek animasi lembut agar menarik perhatian */

@keyframes wa-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

.wa-floating-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: wa-bounce 2s infinite;
}

.wa-floating-btn:hover {
    background-color: #20ba5a;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}


/* Efek animasi lembut agar menarik perhatian */

@keyframes wa-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}


/*** Button ***/


/* Membuat tombol utama lebih menonjol */

.btn-secondary-gradient {
    position: relative;
    box-shadow: 0 4px 20px rgba(249, 247, 246, 0.4);
    /* Memberikan bayangan cahaya yang kontras */
    animation: pulse-glow 2s infinite;
    /* Menjalankan animasi denyut terus-menerus */
    transition: all 0.3s ease-in-out;
}


/* Efek saat kursor diarahkan (Hover) */

.btn-secondary-gradient:hover {
    transform: translateY(-3px);
    /* Tombol sedikit terangkat ke atas */
    box-shadow: 0 6px 25px rgba(245, 245, 245, 0.6);
    /* Bayangan semakin kuat */
}


/* Keyframes untuk animasi denyut cahaya */

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgb(245, 245, 244);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 126, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 126, 0, 0);
    }
}

.btn {
    transition: .5s;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient {
    position: relative;
    overflow: hidden;
    border: none;
    color: #FFFFFF;
    z-index: 1;
}

.btn.btn-primary-gradient::after,
.btn.btn-secondary-gradient::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: -1;
    opacity: 0;
}

.btn.btn-primary-gradient,
.btn.btn-secondary-gradient::after {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.btn.btn-secondary-gradient,
.btn.btn-primary-gradient::after {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}

.btn.btn-primary-gradient:hover::after,
.btn.btn-secondary-gradient:hover::after {
    opacity: 1;
}

.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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    border: none;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** Navbar ***/

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 25px;
    padding: 45px 0;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--light) !important;
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 10px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover::before,
.navbar-light .navbar-nav .nav-link.active::before {
    top: 0;
}

.navbar-light .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 70px;
}

@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-nav .nav-link::before {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--primary) !important;
    }

    .navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .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-nav .nav-link::before {
        border-top-color: var(--primary);
    }

    .sticky-top.navbar-light .navbar-brand h1 {
        background: linear-gradient(to bottom right, var(--primary), var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}


/*** Hero Header ***/

.hero-header {
    margin-bottom: 6rem;
    padding: 16rem 0 0 0;
    background: url(../img/bg-circle.png), url(../img/bg-triangle.png), url(../img/bg-bottom.png), linear-gradient(to bottom right, var(--primary), var(--secondary));
    background-position: left 0px top 0px, right 0px top 50%, center bottom;
    background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
    .hero-header {
        padding: 6rem 0 9rem 0;
    }
}


/*** Feature ***/

.feature-item {
    transition: .5s;
}

.feature-item:hover {
    margin-top: -15px;
    box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .08);
}


/*** Unit Mobil ***/

.unitmobil .nav {
    padding: 2px;
}

.unitmobil .nav-link {
    padding: 12px 30px;
    font-weight: 500;
    color: var(--dark);
    background: #FFFFFF;
}

.unitmobil .nav-item:first-child .nav-link {
    border-radius: 30px 0 0 30px;
}

.unitmobil .nav-item:last-child .nav-link {
    border-radius: 0 30px 30px 0;
}

.unitmobil .nav-link.active {
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}


/*** Screenshot ***/

.screenshot-carousel {
    position: relative;
    width: 253px;
    height: 500px;
    padding: 15px;
    margin-right: 30px;
}

.screenshot-carousel::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/screenshot-frame.png) center center no-repeat;
    background-size: 253px 500px;
    z-index: 1;
}

.screenshot-carousel .owl-item img {
    position: relative;
    width: 223px;
    height: 470px;
}

.screenshot-carousel .owl-dots {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 5px 0;
    width: 15px;
    height: 15px;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 15px;
    transition: .5s;
}

.screenshot-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 5px;
    left: 5px;
    background: #FFFFFF;
    border-radius: 5px;
}

.screenshot-carousel .owl-dot.active {
    box-shadow: 0 0 10px var(--dark);
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.testimonial-carousel .owl-item.center .testimonial-item h5,
.testimonial-carousel .owl-item.center .testimonial-item p {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    border-radius: 60px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: linear-gradient(to bottom right, var(--secondary), var(--primary));
}


/*** Footer ***/

.footer {
    margin-top: 6rem;
    padding-top: 9rem;
    background: url(../img/bg-circle.png), url(../img/bg-triangle.png), url(../img/bg-top.png), linear-gradient(to bottom right, var(--primary), var(--secondary));
    background-position: left 0px bottom 0px, right 0px top 50%, center top;
    background-repeat: no-repeat;
}

.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, .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: var(--light);
    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 {
    padding: 25px 0;
    font-size: 14px;
    border-top: 1px solid rgba(256, 256, 256, .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, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.wa-floating-btn {
    position: fixed;
    bottom: 100px;
    right: 40px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: wa-bounce 2s infinite;
}

.wa-floating-btn:hover {
    background-color: #20ba5a;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}


/* Efek animasi lembut agar menarik perhatian */

@keyframes wa-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}


/* Semua style memakai prefix brg- agar tidak mengganggu CSS website lain. */

.brg-gallery-section {
    --brg-navy: #102b52;
    --brg-blue: #1d477e;
    --brg-red: #e63346;
    --brg-text: #172338;
    --brg-muted: #667085;
    --brg-radius: 16px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 56px) 20px;
    color: var(--brg-text);
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.brg-gallery-section *,
.brg-lightbox * {
    box-sizing: border-box;
}

.brg-gallery-heading {
    margin: 0 0 8px;
    color: var(--brg-navy);
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-align: center;
}

.brg-gallery-description {
    max-width: 620px;
    margin: 0 auto 28px;
    color: var(--brg-muted);
    font-size: 15px;
    line-height: 1.65;
    text-align: center;
}

.brg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.brg-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    border-radius: var(--brg-radius);
    background: #e9eef5;
    box-shadow: 0 5px 18px rgba(16, 43, 82, 0.10);
    cursor: zoom-in;
    isolation: isolate;
    -webkit-tap-highlight-color: transparent;
}

.brg-gallery-item::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(180deg, transparent 55%, rgba(7, 22, 43, .28));
    opacity: 0;
    transition: opacity .28s ease;
    pointer-events: none;
}

.brg-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
}

.brg-gallery-item:hover img,
.brg-gallery-item:focus-visible img {
    transform: scale(1.055);
}

.brg-gallery-item:hover::after,
.brg-gallery-item:focus-visible::after {
    opacity: 1;
}

.brg-gallery-item:focus-visible,
.brg-lightbox button:focus-visible {
    outline: 3px solid #f4c95d;
    outline-offset: 3px;
}


/* Dialog fullscreen */

.brg-lightbox {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    overflow: hidden;
}

.brg-lightbox::backdrop {
    background: rgba(5, 12, 24, .94);
    backdrop-filter: blur(8px);
}

.brg-lightbox[open] {
    display: grid;
    place-items: center;
    animation: brg-fade-in .22s ease both;
}

.brg-lightbox-inner {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    padding: clamp(14px, 3vw, 28px);
    gap: 12px;
}

.brg-lightbox-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 42px;
}

.brg-lightbox-close,
.brg-lightbox-arrow {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    background: rgba(255, 255, 255, .11);
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.brg-lightbox-close {
    font-size: 29px;
    line-height: 1;
}

.brg-lightbox-close:hover,
.brg-lightbox-arrow:hover {
    background: rgba(255, 255, 255, .23);
    transform: scale(1.05);
}

.brg-lightbox-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    gap: 18px;
}

.brg-lightbox-image-wrap {
    display: grid;
    place-items: center;
    width: min(100%, 1180px);
    height: 100%;
    min-width: 0;
}

.brg-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 18px 70px rgba(0, 0, 0, .35);
    animation: brg-image-in .24s ease both;
    user-select: none;
    -webkit-user-drag: none;
}

.brg-lightbox-arrow {
    flex: 0 0 46px;
    font-size: 25px;
}

.brg-lightbox-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    letter-spacing: .04em;
}

.brg-lightbox-counter {
    font-variant-numeric: tabular-nums;
}

@keyframes brg-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes brg-image-in {
    from {
        opacity: 0;
        transform: scale(.975);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 900px) {
    .brg-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 13px;
    }
}

@media (max-width: 640px) {
    .brg-gallery-section {
        padding: 30px 14px;
    }

    .brg-gallery-description {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .brg-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .brg-gallery-item {
        border-radius: 12px;
    }

    .brg-lightbox-inner {
        padding: 10px;
        gap: 8px;
    }

    .brg-lightbox-stage {
        gap: 7px;
    }

    .brg-lightbox-arrow {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .brg-lightbox-close {
        width: 42px;
        height: 42px;
    }

    .brg-lightbox-image-wrap {
        width: calc(100% - 4px);
    }

    .brg-lightbox-image {
        max-width: 100%;
        max-height: 100%;
    }
}

@media (max-width: 360px) {
    .brg-gallery-grid {
        grid-template-columns: 1fr;
    }

    .brg-gallery-item {
        aspect-ratio: 16 / 10;
    }
}

@media (orientation: landscape) and (max-height: 520px) {
    .brg-lightbox-inner {
        grid-template-rows: auto minmax(0, 1fr) auto;
        padding: 6px 12px;
        gap: 4px;
    }

    .brg-lightbox-top {
        min-height: 34px;
    }

    .brg-lightbox-close {
        width: 36px;
        height: 36px;
    }

    .brg-lightbox-arrow {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .brg-lightbox-bottom {
        min-height: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .brg-gallery-item img,
    .brg-gallery-item::after,
    .brg-lightbox-close,
    .brg-lightbox-arrow {
        transition: none;
    }

    .brg-lightbox[open],
    .brg-lightbox-image {
        animation: none;
    }
}