/********** Template CSS **********/
:root {
    /* === Core Brand Colors === */
    --primary: #2563EB;
    --secondary: #64748B;
    --dark: #0F172A;
    --light: #F1F5F9;

    /* === Semantic / Utility Tokens === */
    --white: #FFFFFF;
    --border: #EEEEEE;
    --footer-text: #CACCC4;
    --overlay: rgba(15, 23, 42, .85);
    --text-secondary: #555555;
    --focus-gold: #FFD700;

    /* === Shadows === */
    --shadow-card: 0 0 45px rgba(0, 0, 0, .07);
    --shadow-card-strong: 0 0 45px rgba(0, 0, 0, .09);
    --shadow-testimonial: 0 0 45px rgba(0, 0, 0, .08);

    /* === Section Backgrounds === */
    --section-bg-white: #FFFFFF;
    --section-bg-alt: #f7f9fc;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 9999;
}

@media (max-width: 576px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

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

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


/*** 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;
}


/*** Button ***/
.btn {
    transition: .5s ease-out;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--section-bg-white);
}

.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;
}


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

/* === Topbar social icons spacing === */
.topbar .btn-link.text-light:first-of-type {
    margin-left: 8px;
}


/*** Navbar ***/
/* Navbar Brand — PT. Bina Sukses Lestari */
.navbar-brand .brand-logo {
    display: inline-block;
    vertical-align: middle;
}
.navbar-brand .brand-text {
    display: inline-block;
    vertical-align: middle;
    margin-left: 16px;
    font-family: 'Rubik', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.8px;
    color: var(--dark);
}
@media (max-width: 991.98px) {
    .navbar-brand .brand-text {
        font-size: 18px;
    }
}

/* Old styles — removed */
.navbar.sticky-top {
    top: -100px;
    transition: .5s ease-out;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .navbar .navbar-brand {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .navbar .navbar-brand {
        height: 50px;
    }
    .navbar-brand .brand-text {
        font-size: 16px !important;
    }
    .navbar-brand .brand-logo {
        max-width: 35px;
        height: auto;
    }
}

.navbar .navbar-brand::after {
    display: none;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid var(--border);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s ease-out;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s ease-out;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: var(--dark);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid var(--section-bg-white);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

@media (max-width: 768px) {
    .modal-video .modal-dialog {
        max-width: 95vw;
        margin: 20px auto 0 auto;
    }

    .modal-video .modal-body > iframe {
        min-height: 200px;
    }

    .modal-video .modal-header,
    .modal-video .modal-footer {
        padding: 0.5rem 1rem;
    }

    .modal-video .modal-title {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .modal-video .modal-dialog {
        max-width: 98vw;
        margin: 10px auto 0 auto;
    }

    .modal-video .modal-body > iframe {
        min-height: 150px;
    }
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .modal-body > iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    display: block;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--section-bg-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

/* === Responsive service item (#2) === */
@media (max-width: 768px) {
    .service-item .service-img {
        width: 100px;
        height: 100px;
        top: -50px;
        padding: 8px;
    }

    .service-item {
        margin: 50px 0 25px 0;
    }

    .service-item .btn {
        width: 100px;
        height: 40px;
        font-size: 14px;
    }

    .service-item .service-title,
    .service-item .service-text {
        padding: 50px 20px 25px 20px;
    }
}

@media (max-width: 576px) {
    .service-item .service-img {
        width: 80px;
        height: 80px;
        top: -40px;
        padding: 6px;
    }

    .service-item {
        margin: 40px 0 25px 0;
    }

    .service-item .btn {
        width: 90px;
        height: 36px;
        font-size: 13px;
    }

    .service-item .service-title h3 {
        font-size: 1.1rem !important;
    }
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--section-bg-white);
    transition: transform .5s ease-out;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: var(--overlay);
    transition: transform .5s ease-out;
}

/* Desktop hover / focus-within */
.service-item:hover .service-title,
.service-item:focus-within .service-title {
    transform: translateY(-100%);
}

.service-item:hover .service-text,
.service-item:focus-within .service-text {
    transform: translateY(0);
}

/* Mobile / touch tap (toggled via JS) */
@media (max-width: 992px) {
    .service-item.active .service-title {
        transform: translateY(-100%);
    }

    .service-item.active .service-text {
        transform: translateY(0);
    }
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: var(--section-bg-white);
    transition: transform .5s ease-out;
}

@media (max-width: 992px) {
    .service-item.active .service-text::before {
        transform: translateY(-55px) skewY(-12deg);
    }
}

@media (min-width: 992px) {
    .service-item:hover .service-text::before,
    .service-item:focus-within .service-text::before {
        transform: translateY(-55px) skewY(-12deg);
    }
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: var(--section-bg-white);
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: var(--section-bg-white);
    background: var(--primary);
}


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s ease-out;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s ease-out;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s ease-out;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s ease-out;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 25px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--section-bg-white);
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s ease-out;
}

/* === Responsive project carousel (#1) === */
@media (max-width: 992px) {
    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 15px;
    }
}

@media (max-width: 768px) {
    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 8px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .project-item .project-title {
        height: 65px;
        font-size: 14px;
    }
    .project-item:hover .project-title,
    .project-carousel .owl-item.center .project-title  {
        height: 65px;
        bottom: -65px;
    }
}

@media (max-width: 576px) {
    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 4px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .project-item .project-title {
        height: 55px;
        font-size: 12px;
        padding: 0 8px;
    }
    .project-item:hover .project-title,
    .project-carousel .owl-item.center .project-title  {
        height: 55px;
        bottom: -55px;
    }
    .project-item:hover img,
    .project-carousel .owl-item.center img {
        margin-top: -40px;
    }
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s ease-out;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s ease-out;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s ease-out;
    line-height: 1;
}

/* === Responsive testimonial carousel (#8) === */
@media (max-width: 992px) {
    .testimonial-carousel .owl-nav {
        width: 280px;
    }
    .testimonial-carousel:hover .owl-nav {
        width: 280px;
    }
    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        width: 200px;
        top: 10px;
    }
    .testimonial-carousel:hover .owl-nav {
        width: 200px;
    }
    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        font-size: 28px;
    }
    .testimonial-carousel .testimonial-img img {
        width: 80px;
        height: 80px;
    }
    .testimonial-carousel .owl-item .testimonial-text p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .testimonial-carousel .owl-nav {
        width: 160px;
        top: 5px;
    }
    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        font-size: 24px;
    }
    .testimonial-carousel .testimonial-img img {
        width: 64px;
        height: 64px;
    }
    .testimonial-carousel .testimonial-img .btn-square {
        bottom: -14px;
        width: 28px;
        height: 28px;
    }
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s ease-out;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.footer {
    color: var(--footer-text);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--footer-text);
    font-weight: normal;
    text-transform: capitalize;
    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 {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

/* ============================================
   PARTNERS / MITRA KAMI — Trusted By Section
   Isolated namespace: .partners-section
   No global side-effects.
   ============================================ */

/* === Section Base === */
.partners-section {
    background-color: var(--section-bg-white);
    padding: 80px 0;
}

@media (max-width: 768px) {
    .partners-section {
        padding: 50px 0;
    }
}

@media (max-width: 576px) {
    .partners-section {
        padding: 40px 0;
    }
}

/* === Section Typography === */
.partners-section .partners-eyebrow {
    font-family: 'Rubik', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 8px;
}

.partners-section .partners-heading {
    font-family: 'Rubik', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.partners-section .partners-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .partners-section .partners-heading {
        font-size: 24px;
    }
    .partners-section .partners-description {
        font-size: 14px;
    }
}

/* === Marquee Container === */
.partners-marquee-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 30px 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Fade mask edges */
.partners-marquee-wrapper::before,
.partners-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--section-bg-white) 0%, transparent 100%);
}

.partners-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--section-bg-white) 0%, transparent 100%);
}

@media (max-width: 768px) {
    .partners-marquee-wrapper::before,
    .partners-marquee-wrapper::after {
        width: 50px;
    }
    .partners-marquee-wrapper {
        padding: 20px 0;
    }
}

@media (max-width: 576px) {
    .partners-marquee-wrapper::before,
    .partners-marquee-wrapper::after {
        width: 30px;
    }
}

/* === Marquee Track === */
.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: partners-scroll 40s linear infinite;
}

/* Direction: RIGHT (content moves right = loop goes → ) */
@keyframes partners-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Hover pause (desktop only) */
@media (hover: hover) and (pointer: fine) {
    .partners-marquee-wrapper:hover .partners-track {
        animation-play-state: paused;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none !important;
        /* Static display: show one set */
        flex-wrap: nowrap;
        justify-content: center;
        gap: 60px;
    }
    .partners-track > li {
        display: list-item !important;
    }
}

/* === Logo Item === */
.partner-logo-item {
    flex-shrink: 0;
    width: 200px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    transition: opacity .35s ease, filter .35s ease, transform .35s ease;
}

@media (max-width: 768px) {
    .partner-logo-item {
        width: 150px;
        height: 64px;
        padding: 8px 16px;
    }
}

@media (max-width: 576px) {
    .partner-logo-item {
        width: 130px;
        height: 54px;
        padding: 6px 14px;
    }
}

/* Logo image inside item */
.partner-logo-item img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%) brightness(0.85);
    opacity: 0.6;
    transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}

@media (max-width: 768px) {
    .partner-logo-item img {
        max-height: 40px;
    }
}

@media (max-width: 576px) {
    .partner-logo-item img {
        max-height: 34px;
    }
}

/* Hover color restore */
.partner-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

/* Spacing between items */
.partner-logo-item:not(:last-child) {
    margin-right: 20px;
}

/* === Partner data structure (for future expansion) === */
/*
 * To add a new partner, append to the `partnersData` array in js/main.js
 * after the INIT_PARTNERS block. Example:
 *
 * partnersData.push({
 *     name: "PT. Nama Perusahaan Baru",
 *     logo: "img/partners/nama-perusahaan-baru.svg",
 *     url: "" // leave empty if not clickable
 * });
 */
.copyright {
    color: var(--footer-text);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* === Responsive footer (#11) === */
@media (max-width: 768px) {
    .footer .col-lg-3.col-md-6 {
        flex: 0 0 auto;
        width: 50%;
        margin-bottom: 2rem;
    }
    .footer h5 {
        font-size: 1rem !important;
    }
    .footer p,
    .footer .btn.btn-link {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 576px) {
    .footer .col-lg-3.col-md-6 {
        flex: 0 0 auto;
        width: 100%;
    }
    .footer {
        padding: 3rem 0 !important;
    }
    .footer h5 {
        font-size: 0.95rem !important;
        margin-bottom: 0.5rem !important;
    }
}

/* === Responsive display headings (Fix #4) === */
@media (max-width: 768px) {
    .display-2 {
        font-size: 2rem !important;
    }
    .display-3 {
        font-size: 1.75rem !important;
    }
    .display-4 {
        font-size: 1.5rem !important;
    }
    .display-5 {
        font-size: 1.25rem !important;
    }
}

/* === Extra small display scaling (#4 extension) === */
@media (max-width: 576px) {
    .display-2 {
        font-size: 1.5rem !important;
    }
    .display-3 {
        font-size: 1.4rem !important;
    }
    .display-4 {
        font-size: 1.25rem !important;
    }
    .display-5 {
        font-size: 1.1rem !important;
    }
}

/* === Responsive project carousel arrows (#1 cleanup) === */
@media (max-width: 576px) {
    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 4px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
}

/* === Responsive carousel controls (#10) === */
@media (max-width: 992px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
        border-radius: 3rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 12%;
    }
}

@media (max-width: 768px) {
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.5rem;
        height: 2.5rem;
        border-width: 10px;
        border-radius: 2.5rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
    .page-header h1.display-3 {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .carousel-caption h4 {
        font-size: 0.85rem !important;
    }
    .carousel-caption p {
        font-size: 0.8rem !important;
    }
    .carousel-caption h1.display-3 {
        font-size: 1.5rem !important;
    }
    .page-header h1.display-3 {
        font-size: 1.5rem !important;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
        border-width: 8px;
        border-radius: 2rem;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }
}

/* === Responsive contact map (#5) === */
iframe[src*="google"] {
    max-height: 350px;
}

@media (max-width: 768px) {
    iframe[src*="google"] {
        min-height: 250px;
        max-height: 250px;
    }
}

@media (max-width: 576px) {
    iframe[src*="google"] {
        min-height: 200px;
        max-height: 200px;
    }
}

/* ==========================================================================
   LOW Severity Fixes
   ========================================================================== */

/* === LOW #1: Back-to-top button consistency === */
@media (max-width: 992px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        right: 12px;
        bottom: 12px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* === LOW #2: Ultra-wide/4K container padding fix === */
@media (min-width: 1400px) {
    .container-xxl {
        max-width: 1320px;
    }
    .container-xl {
        max-width: 1140px;
    }
}

/* === LOW #3: Navbar "Get A Quote" CTA visibility on XS === */
@media (max-width: 991.98px) {
    /* Mobile navbar: brand + toggler on one row, no excess height */
    .navbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* -----------------------------------------------------
       BRAND — LEFT SIDE
       ----------------------------------------------------- */
    .navbar .navbar-brand {
        grid-column: 1;
        grid-row: 1;

        display: flex;
        align-items: center;

        min-width: 0;
        max-width: 100%;

        margin: 0;
        padding-right: 15px;
    }

    /* Prevent brand text from forcing hamburger downward */
    .navbar .brand-text {
        min-width: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* -----------------------------------------------------
       HAMBURGER — RIGHT SIDE
       ----------------------------------------------------- */
    .navbar .navbar-toggler {
        grid-column: 2;
        grid-row: 1;

        flex-shrink: 0;

        margin: 0;
        border: none;

        padding: 0.25rem 0.5rem;

        width: auto;
    }

    /* -----------------------------------------------------
       MOBILE COLLAPSE — SECOND ROW / FULL WIDTH
       ----------------------------------------------------- */
    .navbar .navbar-collapse {
        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;
        min-width: 0;

        margin: 0;
    }

    /* -----------------------------------------------------
       MOBILE MENU
       ----------------------------------------------------- */
    .navbar .navbar-collapse .navbar-nav {
        width: 100%;

        margin-left: 0 !important;
        margin-right: 0 !important;

        padding: 8px 16px 12px !important;
    }

    /* -----------------------------------------------------
       MOBILE MENU LINKS
       Gives breathing room from screen edges
       ----------------------------------------------------- */
    .navbar .navbar-collapse .navbar-nav > .nav-link,
    .navbar .navbar-collapse .navbar-nav > .nav-item {
        width: 100%;
    }

    .navbar .navbar-collapse .navbar-nav > .nav-link {
        padding-left: 4px;
        padding-right: 4px;
    }
}

/* =========================================================
   MOBILE NAVBAR — EXTRA SMALL SCREEN REFINEMENT
   iPhone / small mobile ≤ 390px
   ========================================================= */
@media (max-width: 390px) {

    /* Keep company identity visible without ellipsis */
    .navbar .navbar-brand {
        padding-right: 6px;
        font-size: 15px;
        white-space: nowrap;
    }

    /* Reduce logo slightly */
    .navbar .navbar-brand img {
        width: 38px;
        height: auto;
        flex-shrink: 0;
    }

    /* Prevent company name from being truncated */
    .navbar .brand-text {
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
        font-size: 15px;
        letter-spacing: -0.2px;
    }

    /* Compact hamburger */
    .navbar .navbar-toggler {
        padding: 4px 6px;
        margin-left: 4px;
    }
}

@media (max-width: 576px) {
    .navbar .btn.btn-primary.px-3.d-none.d-lg-block {
        /* Keep hidden — CTA not needed on mobile since nav uses hamburger */
    }
    /* Ensure hamburger menu opens correctly */
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
}

/* === LOW #4: Project carousel — single item on ultra-narrow screens === */
@media (max-width: 374px) {
    .project-item .project-title {
        height: 45px;
        font-size: 11px;
        padding: 0 4px;
    }
    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 2px;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

/* === LOW #5: Team member card overflow on very small screens === */
@media (max-width: 768px) {
    .team-item .flex-shrink-0.btn-square {
        width: 70px !important;
        height: 70px !important;
    }
    .team-item .position-relative.overflow-hidden.bg-light {
        height: 70px !important;
        font-size: 0.9rem !important;
    }
    .team-item h5 {
        font-size: 0.95rem !important;
    }
    .team-item .text-primary {
        font-size: 0.8rem !important;
    }
    .team-item .btn-square.btn-dark {
        width: 26px !important;
        height: 26px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 576px) {
    .team-item .flex-shrink-0.btn-square {
        width: 56px !important;
        height: 56px !important;
    }
    .team-item .position-relative.overflow-hidden.bg-light {
        height: 56px !important;
        font-size: 0.8rem !important;
        padding-left: 10px !important;
    }
    .team-item h5 {
        font-size: 0.85rem !important;
    }
    .team-item .text-primary {
        font-size: 0.7rem !important;
    }
    .team-item .btn-square.btn-dark {
        width: 24px !important;
        height: 24px !important;
        font-size: 11px !important;
        margin: 1px !important;
    }
}

/* === LOW #6: Testimonial text readability on small screens === */
@media (max-width: 768px) {
    .testimonial-carousel .owl-item .testimonial-text {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .testimonial-carousel .owl-item .testimonial-text {
        padding: 1rem !important;
    }
    .testimonial-carousel .owl-item .testimonial-text p {
        font-size: 0.85rem !important;
    }
}

/* === LOW #7: Copyright bar responsive text size === */
@media (max-width: 768px) {
    .copyright {
        text-align: center;
        font-size: 0.85rem !important;
        padding: 1rem 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .copyright {
        font-size: 0.75rem !important;
        padding: 0.75rem 1rem !important;
    }
    .copyright a {
        font-size: 0.75rem !important;
    }
}


/* ==========================================================================
   ACCESSIBILITY — Skip Link + Focus Visible (Phase C Enhancement)
   ========================================================================== */

/* --- Skip to Content Link --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    padding: 0.5rem 1rem;
    background-color: var(--primary, #2563EB);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    outline: 2px solid var(--focus-gold);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- Global Focus-Visible Styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary, #2563EB);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* --- Remove default outline for mouse users only, keep for keyboard --- */
a:not(.sr-only-focusable):focus,
button:not(.sr-only-focusable):focus {
    outline: none;
}

a:not(.sr-only-focusable):focus-visible,
button:not(.sr-only-focusable):focus-visible,
input:not(.sr-only-focusable):focus-visible {
    outline: 2px solid var(--primary, #2563EB);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* --- Dropdown focus states --- */
.dropdown-menu .dropdown-item:focus-visible {
    background-color: rgba(37, 99, 235, 0.08);
    color: var(--dark, #0F172A);
}

/* --- Nav-link focus --- */
.navbar-nav .nav-link:focus-visible {
    background-color: rgba(37, 99, 235, 0.06);
    border-radius: 4px;
}

/* --- Back-to-top focus --- */
.back-to-top:focus-visible {
    outline: 2px solid var(--focus-gold);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

/* ==========================================================================
   TRAINING / PELATIHAN MENU — MEGA MENU & DROPDOWN
   ========================================================================== */

/* ---------- Dropdown trigger styling ---------- */
.navbar-nav .dropdown-menu.pelatihan-dropdown {
    border: none;
    border-radius: 8px;
    box-shadow: 0 0.5rem 2rem rgba(15, 23, 42, 0.15);
    padding: 0;
    margin-top: 0;
    min-width: 28rem;
}

.navbar-nav .dropdown-item {
    transition: color .2s ease, background-color .2s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--primary);
    color: var(--white);
}

.navbar-nav .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 6px;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ---------- Mega Menu — Desktop ≥992px ---------- */
.mega-menu-wrapper {
    position: relative;
}

.mega-menu-content {
    display: flex;
    gap: 0;
    max-height: 72vh;
    overflow-y: auto;
}

.mega-col {
    flex: 1 1 0;
    min-width: 0;
    padding: 1.25rem 1rem;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-col:last-child {
    border-right: none;
}

.mega-col-header {
    font-family: 'Rubik', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary);
    padding-bottom: 0.6rem;
    margin-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary);
}

.mega-sub-group {
    margin-bottom: 0.8rem;
}

.mega-sub-label {
    font-family: 'Rubik', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.3rem;
    padding-left: 0;
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 0.3rem;
}

.mega-list li {
    line-height: 1;
    padding: 0.25rem 0;
}

.mega-list li a {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    transition: color .2s, background-color .2s;
}

.mega-list li a:hover {
    color: var(--primary);
    background-color: rgba(37, 99, 235, 0.06);
}

/* Arrow icon on right side of link */
.mega-list li a .arrow-indicator {
    float: right;
    font-size: 0.7rem;
    color: #aaa;
    transition: color .2s;
}

.mega-list li a:hover .arrow-indicator {
    color: var(--primary);
}

/* ---------- Mobile Nested Menu — <992px ---------- */
.mobile-nested-menu {
    padding: 0.5rem 0;
}

.mobile-nested-menu > .mega-sub-group {
    margin-bottom: 0;
}

.mobile-nested-menu > .mega-sub-group > .mega-col-header {
    font-size: 0.85rem;
    margin-bottom: 0;
    border-bottom: none;
    padding: 0.6rem 1.25rem;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nested-menu > .mega-sub-group > .mega-col-header::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: transform .2s;
    color: var(--secondary);
}

.mobile-nested-menu > .mega-sub-group.open > .mega-col-header::after {
    transform: rotate(180deg);
}

.mobile-nested-menu .mega-sub-items {
    display: none;
    padding-left: 1.5rem;
}

.mobile-nested-menu .mega-sub-items.show {
    display: block;
}

.mobile-nested-menu .mega-sub-items .mega-list li a {
    font-size: 0.82rem;
    padding: 0.35rem 0.5rem;
}

/* Sub-sub items (3-level deep) */
.mobile-nested-menu .mega-sub-items .mega-list .mega-list {
    padding-left: 1rem;
    border-left: 2px solid rgba(37, 99, 235, 0.15);
    margin-top: 0.2rem;
}

.mobile-nested-menu .mega-sub-items .mega-list .mega-list li a {
    font-size: 0.78rem;
    padding: 0.2rem 0.5rem;
}

/* ---------- Training Card Styles ---------- */
.training-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.training-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.1);
}

.training-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.training-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.training-card:hover .training-card-img-wrapper img {
    transform: scale(1.05);
}

.training-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.training-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training-card-body h5 {
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.training-card-body p {
    font-size: 0.85rem;
    color: var(--secondary);
    line-height: 1.6;
    flex: 1;
}

.training-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-top: auto;
    padding-top: 0.75rem;
    transition: color .2s;
}

.training-card-link:hover {
    color: var(--dark);
}

.training-card-link i {
    margin-left: 6px;
    font-size: 0.75rem;
    transition: transform .2s;
}

.training-card-link:hover i {
    transform: translateX(3px);
}

/* ---------- Section divider in training page ---------- */
.training-section-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0 2.5rem 0;
}

.training-section-divider hr {
    flex: 1;
    border-color: rgba(37, 99, 235, 0.15);
}

.training-section-divider span {
    font-family: 'Rubik', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    padding: 0 1rem;
    white-space: nowrap;
}

/* ---------- Responsive Training Cards ---------- */
@media (max-width: 768px) {
    .training-card-img-wrapper {
        height: 150px;
    }
    .training-card-body h5 {
        font-size: 0.92rem;
    }
    .training-card-body p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .training-card-img-wrapper {
        height: 130px;
    }
    .training-card-body {
        padding: 1rem;
    }
}


/*=============================================================
 HOMEPAGE SECTION VISUAL SEPARATOR SYSTEM
 Alternating backgrounds for clear visual rhythm between sections
=============================================================*/

.section-about {
    background-color: var(--section-bg-white);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section-why {
    background-color: var(--section-bg-alt);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.section-training {
    background-color: var(--section-bg-white);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.section-testimonial {
    background-color: var(--section-bg-alt);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.section-cta {
    background-color: var(--section-bg-white);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

/* Responsive spacing adjustment */
@media (max-width: 768px) {
    .section-why,
    .section-testimonial {
        border-top-width: 1px;
    }
}


/*=============================================================
 ABOUT PAGE — SECTION VISUAL SEPARATOR SYSTEM
 Matches Homepage design system for visual consistency
=============================================================*/

.section-page-header {
    background-color: var(--dark);
}

.section-about-page {
    background-color: var(--section-bg-white);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

/* Vision & Mission cards already use bg-light for subtle separation */

@media (max-width: 768px) {
    .section-about-page {
        border-bottom-width: 1px;
    }
}


/*=============================================================
 GLOBAL EMAIL TYPOGRAPHY & RESPONSIVE CONTACT FIX
 Ensures email is always readable, never overflows, and stacks
 properly with phone number on all screen sizes
=============================================================*/

/* Contact info items — flex children must allow shrinking */
.contact-info-item {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Email text specifically — readable font size + safe wrapping */
.contact-email-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--dark);
}

/* Desktop: keep horizontal side-by-side but prevent overlap */
@media (min-width: 769px) {
    .contact-row > [class*="col-"] {
        min-width: 0;
    }
    .contact-email-text {
        max-width: none;
    }
}

/* Tablet and below: stack contact items vertically for readability */
@media (max-width: 768px) {
    /* Stack email + phone when space is tight */
    .contact-stack-col {
        width: 100%;
        margin-bottom: 1rem;
    }
    .contact-stack-col:last-child {
        margin-bottom: 0;
    }

    .contact-email-text {
        font-size: 15px;
    }

    .contact-label {
        font-size: 14px;
    }

    /* Icon sizing on mobile */
    .contact-icon {
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
    }
}

/* Large mobile portrait (≤480px) — extra breathing room */
@media (max-width: 480px) {
    .contact-email-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .contact-label {
        font-size: 14px;
        margin-bottom: 0.25rem;
    }
}

/* ==========================================================================
   UTILITY CLASSES — Reusable background / color tokens
   Used across detail program pages to avoid inline styles
   ========================================================================== */

.bg-alt {
    background-color: var(--section-bg-alt);
}

.bg-dark {
    background-color: var(--dark);
}