/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}

/* Blok Tentang (beranda + halaman tentang): selaras tipografi judul section template1 (display-5 + Plus Jakarta) */
.template2-about-block .template2-about-heading {
    font-family: 'Plus Jakarta Sans', 'Nunito', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.template2-about-block .template2-about-description {
    font-family: 'DM Sans', 'Rubik', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify;
    color: #334155;
}
.template2-about-block .template2-about-description p {
    margin-bottom: 0.6rem;
}
.template2-about-block .template2-about-description p:last-child {
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .template2-about-block .template2-about-description {
        font-size: 1rem;
    }
}

/* Deskripsi kartu layanan (Prinsip Perusahaan, Kompetensi): rata kiri-kanan */
.template2 .template2-desc-justify {
    text-align: justify;
    text-justify: inter-word;
}

/* Kompetensi Kami Styles */
.kompetensi-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 163, 218, 0.1);
}
.kompetensi-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(6, 163, 218, 0.15);
    border-color: var(--primary);
}
.kompetensi-icon {
    transition: all 0.3s ease;
}
.kompetensi-item:hover .kompetensi-icon i {
    transform: scale(1.1);
    color: var(--primary) !important;
}

/* Background ornament geometris (bukan wave, bukan bunga – beda dari template1 & template3) */
.template2-bg-ornaments {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.template2-bg-ornaments .template2-ornaments-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========== Creative CSS animation background (inspirasi GoSnippets) – background tetap putih ========== */
.template2-bg-animated {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.template2-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.28;
    will-change: transform;
}
.template2-bg-blob::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 60%);
    opacity: 0.6;
}
.template2-bg-blob-1 {
    width: min(70vmax, 500px);
    height: min(70vmax, 500px);
    background: radial-gradient(circle, var(--blob-color) 0%, transparent 70%);
    top: -15%;
    left: -10%;
    animation: template2-blob-float-1 24s ease-in-out infinite;
    animation-delay: 0s;
}
.template2-bg-blob-2 {
    width: min(55vmax, 400px);
    height: min(55vmax, 400px);
    background: radial-gradient(circle, var(--blob-color) 0%, transparent 70%);
    top: 40%;
    right: -8%;
    animation: template2-blob-float-2 26s ease-in-out infinite;
    animation-delay: -6s;
}
.template2-bg-blob-3 {
    width: min(50vmax, 380px);
    height: min(50vmax, 380px);
    background: radial-gradient(circle, var(--blob-color) 0%, transparent 70%);
    bottom: -10%;
    left: 20%;
    animation: template2-blob-float-3 22s ease-in-out infinite;
    animation-delay: -12s;
}
.template2-bg-blob-4 {
    width: min(45vmax, 320px);
    height: min(45vmax, 320px);
    background: radial-gradient(circle, var(--blob-color) 0%, transparent 70%);
    top: 60%;
    left: -5%;
    animation: template2-blob-float-4 28s ease-in-out infinite;
    animation-delay: -8s;
}
/* Bubble bergerak: lintasan berbeda per blob agar terlihat hidup */
@keyframes template2-blob-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(18vw, 12vh) scale(1.08); }
    50% { transform: translate(-8vw, 20vh) scale(0.95); }
    75% { transform: translate(12vw, -5vh) scale(1.03); }
}
@keyframes template2-blob-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-15vw, -18vh) scale(1.06); }
    66% { transform: translate(-22vw, 10vh) scale(0.92); }
}
@keyframes template2-blob-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20vw, -15vh) scale(1.04); }
    50% { transform: translate(10vw, -25vh) scale(0.97); }
    75% { transform: translate(-5vw, -12vh) scale(1.05); }
}
@keyframes template2-blob-float-4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-18vw, 15vh) scale(1.07); }
}
/* Transisi halus saat hover/scroll (creative transition) */
.template2-bg-blob {
    transition: opacity 0.6s ease, filter 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
    .template2-bg-blob {
        animation: none;
    }
}

/* ========== Template2 Creative Design System (sentuhan ahli desainer) ========== */

/* ========== Corpox-style: light theme hero (overlay terang, teks tetap terbaca) ========== */
.header-carousel .header-carousel-item::after {
    background: linear-gradient(120deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0.5) 40%, rgba(0,0,0,0.15) 100%) !important;
}
.header-carousel .header-carousel-item .carousel-caption::before {
    display: none;
}
.header-carousel .header-carousel-item .carousel-caption-inner {
    color: #1e293b;
    text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}
.header-carousel .header-carousel-item .carousel-caption-inner h1 {
    color: #0f172a !important;
    text-shadow: 0 1px 3px rgba(255,255,255,0.9);
    letter-spacing: -0.02em;
}
.header-carousel .header-carousel-item .carousel-caption-inner h5 {
    color: var(--primary) !important;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}
.header-carousel .header-carousel-item .carousel-caption-inner p {
    color: #334155 !important;
    text-shadow: none;
}
@media (min-width: 992px) {
    .header-carousel .carousel-caption-inner .display-lg-1 { font-size: 3rem; }
}
@media (min-width: 1200px) {
    .header-carousel .carousel-caption-inner .display-lg-1 { font-size: 3.5rem; }
}
/* Hero overline label (Corpox: "SOLUTION FOR YOUR BUSINESS") */
.template2 .hero-overline {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary) !important;
    margin-bottom: 0.5rem;
}
/* Tombol hero: gradient + hover lift */
.header-carousel .btn-primary.rounded-pill {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    border: none;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.header-carousel .btn-primary.rounded-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(var(--primary-rgb), 0.5);
}
.header-carousel .btn-dark.rounded-pill {
    border: 2px solid var(--primary);
    background: transparent !important;
    color: var(--primary) !important;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}
.header-carousel .btn-dark.rounded-pill:hover {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Corpox-style: section number + label (e.g. "04 Services" then "Premium Services.") */
.template2-corpox-section .section-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}
.template2-corpox-section .section-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .template2-corpox-section .section-title-main { font-size: 2.25rem; }
}

/* Inner page header: strip gradient di bawah judul + titik dekoratif */
.template2-inner-header h1 {
    position: relative;
    letter-spacing: -0.02em;
}
.template2-inner-header h5 {
    letter-spacing: 0.15em;
    font-size: 0.75rem;
}
.template2-inner-header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Page header (Galeri dll): background gradient + overlay + judul aksen + breadcrumb chip */
.template2-page-header {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    border-bottom: 4px solid rgba(255, 255, 255, 0.25);
}
.template2-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--dark-rgb), 0.9) 0%, rgba(var(--primary-rgb), 0.25) 50%, transparent 100%);
    pointer-events: none;
}
.template2-page-header .container { position: relative; z-index: 1; }
.template2-page-header h1 {
    padding-left: 1rem;
    border-left: 4px solid var(--secondary);
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
    font-weight: 700;
}
.template2-page-header .breadcrumb-item.active {
    background: var(--primary);
    color: #fff !important;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

/* Section title: titik dekoratif di tengah bawah (ikuti garis) */
.template2 .section-title.position-relative::after {
    width: 10px;
    height: 10px;
    bottom: 2px;
    left: 50%;
    margin-left: -5px;
    background: var(--secondary);
    border-radius: 50%;
    animation: none;
}

/* Service card (Corpox-style): white card, shadow, hover lift */
.template2 .service-item {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.template2 .service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0,0,0,0.08);
}
.template2 .service-item .service-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: transform 0.35s ease;
}
.template2 .service-item:hover .service-icon {
    transform: scale(1.05);
}
.template2 .service-item h4 { color: #0f172a; }

/* Kartu kontak / about: hover halus + border aksen */
.template2 .bg-white.rounded.shadow-sm {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.template2 .bg-white.rounded.shadow-sm:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Tombol primary global: gradient + hover */
.template2 .btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    border: none;
    box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.template2 .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb), 0.45);
}

/* Footer: strip gradient atas + ikon sosial hover */
.template2-footer-wrapper .footer {
    position: relative;
    overflow: hidden;
}
.template2-footer-wrapper .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    pointer-events: none;
}
.template2-footer-wrapper .btn-light.btn-md-square,
.template2-footer-wrapper .btn-light.btn-sm-square {
    transition: transform 0.25s ease, background 0.25s ease;
}
.template2-footer-wrapper .btn-light.btn-md-square:hover,
.template2-footer-wrapper .btn-light.btn-sm-square:hover {
    transform: scale(1.15);
    background: var(--primary) !important;
    color: #fff !important;
}

/* Visi-Misi card: gradient border subtle on hover */
.template2 .visi-misi-section .visi-misi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}
.template2 .visi-misi-card--visi { border-left: 4px solid var(--primary); }
.template2 .visi-misi-card--misi { border-left: 4px solid var(--secondary); }

/* Owl prev/next: gradient + hover scale */
.owl-prev, .owl-next {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    transition: transform 0.25s ease !important;
}
.owl-prev:hover, .owl-next:hover {
    transform: translateY(-50%) scale(1.08) !important;
}

/* Ritme section: alternatif background untuk kedalaman (template2 main) */
.template2-main .container-fluid:nth-of-type(odd).bg-light {
    background: rgba(238, 249, 255, 0.5) !important; /* var(--light) soft */
}
.template2-main .container-fluid.py-5.wow:nth-of-type(even):not(.bg-light):not(.visi-misi-section) {
    background: rgba(255, 255, 255, 0.6);
}

/* Form konsultasi: border fokus pakai primary */
.template2 .border-primary:focus-within {
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
    transition: box-shadow 0.25s ease;
}

/* Galeri grid: hover zoom halus pada gambar */
.template2 .overflow-hidden.rounded a:hover img {
    transform: scale(1.06);
    transition: transform 0.4s ease;
}
.template2 .overflow-hidden.rounded img {
    transition: transform 0.4s ease;
}

/* --- Statistik: background per card --- */
.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
    color: #1e3a5f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.about-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.about-stat-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.4;
}
.visi-misi-section .visi-misi-card {
    border-radius: 0 1rem 1rem 0;
    padding: 2rem 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s, transform 0.3s;
}
.visi-misi-section .visi-misi-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}
.visi-misi-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.visi-misi-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}
.visi-misi-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
}
.visi-misi-text p { margin-bottom: 0.75rem; }
.visi-misi-text p:last-child { margin-bottom: 0; }
.visi-misi-text ul { padding-left: 1.25rem; margin-bottom: 0; }
.visi-misi-text li { margin-bottom: 0.5rem; }
.template2 .form-control,
.template2 .form-control:focus {
    border-radius: 0.5rem;
}

/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#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: 800 !important;
}

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

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


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

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Topbar (ringkas, height kecil) ***/
.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-dark) !important;
}
.template2-topbar-compact .template2-topbar-row {
    height: 36px;
    min-height: 36px;
}
.template2-topbar-contact {
    gap: 1rem 1.5rem;
    min-height: 36px;
    align-items: center;
}
.template2-topbar-contact .template2-topbar-link {
    font-size: 0.8125rem;
    white-space: nowrap;
}
.template2-topbar-social {
    min-height: 36px;
}
.template2-topbar-social .btn {
    padding: 0.25rem;
}
@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* Template2 navbar: logo dan menu satu baris, height ringkas */
.template2-navbar-outer { background: #fff !important; }
.template2-navbar-compact .navbar-nav .nav-link { padding: 8px 12px; font-size: 15px; }
.template2-navbar-compact .navbar-brand { display: flex; align-items: center; }
.template2-navbar-compact .navbar-nav { align-items: center; }

/*** Navbar (strip putih, teks gelap, active primary) ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 20px;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}
/* Navbar gelap (jika tanpa bg-white): teks putih */
.navbar-dark:not(.bg-white) .navbar-nav .nav-link { color: #FFFFFF; }
.navbar-dark:not(.bg-white) .navbar-brand h1 { color: #FFFFFF; }

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 10px 0;
}
/* Navbar putih seperti Investa */
.navbar-dark.bg-white .navbar-nav .nav-link {
    color: var(--bs-dark, #212529);
}
.navbar-dark.bg-white .navbar-brand h1 {
    color: var(--bs-primary);
}

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

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    /* Navbar dalam .sticky-top .container (struktur Investa) – tidak pakai position absolute */
    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}


/*** Carousel Header (Investa – Owl) ***/
.header-carousel .header-carousel-item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.owl-prev,
.owl-next {
    position: absolute;
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
    border-radius: 40px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}
.owl-prev { left: 30px; }
.owl-next { right: 30px; }
.owl-prev:hover,
.owl-next:hover {
    background: var(--dark) !important;
    color: #fff !important;
}

.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
    position: relative;
    overflow: hidden;
}

.header-carousel .header-carousel-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2 !important;
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 80%;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 9;
    background: transparent;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item .carousel-caption {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 10px;
    }
    .header-carousel .header-carousel-item img {
        height: 700px;
        object-fit: cover;
    }
    .owl-prev, .owl-next { top: 40px !important; }
    .owl-prev { left: 65%; }
}

@media (max-width: 576px) {
    .header-carousel .header-carousel-item .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }
    .header-carousel .header-carousel-item .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}


/* Template2 khas: footer pembatas vertikal + judul uppercase (beda dari template1/template3) */
.template2-footer-with-dividers .template2-footer-row .template2-footer-col {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.template2-footer-with-dividers .template2-footer-row .template2-footer-col:nth-child(1) { border-left: none; }
@media (max-width: 767.98px) {
    .template2-footer-with-dividers .template2-footer-row .template2-footer-col { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 1.5rem; margin-top: 0.5rem; }
    .template2-footer-with-dividers .template2-footer-row .template2-footer-col:nth-child(1) { border-top: none; padding-top: 0; margin-top: 0; }
}
.template2-footer-heading {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    font-weight: 800;
}

/* Template2 section title: garis di tengah bawah (tanpa border kiri) */
.template2 .section-title.position-relative {
    padding-left: 0;
    border-left: none;
}

/* Template2 khas: inner page header - border bawah tebal, tanpa rounded (beda dari template1) */
.template2-inner-header {
    padding-bottom: 0.75rem;
    border-bottom: 4px solid var(--primary);
    border-radius: 0;
}
.template2-inner-header::before { display: none !important; }
.template2-inner-page .template2-inner-header.text-center { border-left: none; padding-left: 0; }

/*** Section Title: garis gradient di tengah bawah teks ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 50%;
    margin-left: -75px;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

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

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    left: 50%;
    margin-left: -75px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
    margin-left: -45px;
}

.section-title.text-center::after {
    margin-left: -75px;
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% { left: 50%; margin-left: -75px; } 50% { left: 50%; margin-left: 69px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left: 50%; margin-left: 69px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% { left: 50%; margin-left: -45px; } 50% { left: 50%; margin-left: 41px; } 100% { left: 50%; margin-left: -45px; }
}

@keyframes section-title-run {
    0% { left: 50%; margin-left: -75px; } 50% { left: 50%; margin-left: 69px; } 100% { left: 50%; margin-left: -75px; }
}
@keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left: 50%; margin-left: 69px; } 100% { left: 50%; margin-left: -75px; }
}
@keyframes section-title-run-sm {
    0% { left: 50%; margin-left: -45px; } 50% { left: 50%; margin-left: 41px; } 100% { left: 50%; margin-left: -45px; }
}

/* Remove all underline/dot accents below section headings */
.template2-inner-header {
    border-bottom: 0;
    padding-bottom: 0.75rem;
}
.template2-inner-header::before { display: none !important; }
.section-title::before,
.section-title::after {
    display: none !important;
    content: none !important;
}


/*** Service ***/
.service-item {
    position: relative;
    min-height: 300px;
    height: 100%;
    padding: 0 30px;
    transition: .5s;
}

.service-item .unggulan-desc {
    font-size: 0.8125rem;
    text-align: justify;
    line-height: 1.45;
}

.service-item .unggulan-desc p {
    margin-bottom: 0.5em;
    text-align: justify;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    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: 2px;
    transition: .5s;
}

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

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(var(--dark-rgb), 0.7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/* Corpox-style: facts section light theme (white cards, primary accent) */
.template2 .facts .bg-primary.shadow {
    background: #fff !important;
    color: #0f172a;
    border-top: 4px solid var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}
.template2 .facts .bg-primary .text-white { color: #0f172a !important; }
.template2 .facts .bg-primary .text-white.mb-0 { font-weight: 800; color: var(--primary) !important; }
.template2 .facts .bg-primary .bg-white.rounded { background: color-mix(in srgb, var(--primary) 14%, #fff) !important; }
.template2 .facts .bg-primary .fa.text-primary { color: var(--primary) !important; }
.template2 .facts .bg-light.shadow {
    background: #fff !important;
    border-top: 4px solid var(--secondary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}
.template2 .facts .bg-light .bg-primary.rounded { background: color-mix(in srgb, var(--secondary) 14%, #fff) !important; }
.template2 .facts .bg-light .fa.text-white { color: var(--secondary) !important; }

/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 0;
    }
}

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

.bg-header {
    background: linear-gradient(rgba(var(--dark-rgb), 0.7), rgba(var(--dark-rgb), 0.7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

/*** Footer (Investa) ***/
.footer {
    background: linear-gradient(135deg, var(--template-primary, var(--bs-primary)) 0%, var(--template-secondary, var(--bs-secondary)) 100%) !important;
}
.footer .footer-item a {
    line-height: 35px;
    color: #ffffff !important;
    transition: 0.5s;
}
.footer .footer-item p {
    line-height: 35px;
    color: #ffffff !important;
}
.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: #f5f5f5 !important;
}
.footer .footer-item-post a {
    transition: 0.5s;
    color: #ffffff !important;
}
.footer .footer-item-post a:hover {
    color: #f5f5f5 !important;
}
.footer .footer-item-post .footer-btn a {
    transition: 0.5s;
}
.footer .footer-item-post .footer-btn a:hover {
    color: var(--bs-dark);
}

/* Sticky bottom bar for silabus detail */
.silabus-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: linear-gradient(135deg, var(--bs-primary, #0d6efd) 0%, color-mix(in srgb, var(--bs-primary, #0d6efd) 80%, #000) 100%);
    padding: 0.75rem 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}
.silabus-sticky-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 50vw;
}
.silabus-sticky-btn {
    border-radius: 2rem;
    font-size: 0.9rem;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .silabus-sticky-title { max-width: 60vw; font-size: 0.85rem; }
    .silabus-sticky-bar .badge { font-size: 0.7rem; }
    .silabus-sticky-btn { font-size: 0.8rem; padding: 0.4rem 1rem !important; }
}

/* Silabus card uniform sizing */
.silabus-card-link {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.silabus-card-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.silabus-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    min-height: calc(1.4em * 2);
}
.silabus-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.silabus-card-status-strip {
    background-color: #eef2f6;
    background-color: color-mix(in srgb, var(--bs-secondary, #6c757d) 22%, #ffffff);
}

/*** Copyright (Investa) ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}
