/* ======================================================
   PT KONSTRUKSI — Corporate Profile (Green Identity)
   Shared stylesheet for all pages
   ====================================================== */

:root {
    --primary: #0f7b3d;
    --secondary: #0a5a2b;
    --accent: #22c55e;
    --light: #f8fafc;
    --white: #ffffff;
    --dark: #0b1f14;
    --text: #334155;
    --muted: #64748b;
    --border: #e2e8f0;
    --font-display: "Sora", sans-serif;
    --font-body: "Plus Jakarta Sans", sans-serif;
    --shadow-sm: 0 4px 14px rgba(15, 30, 20, 0.06);
    --shadow-md: 0 14px 40px rgba(15, 30, 20, 0.1);
    --shadow-lg: 0 24px 60px rgba(15, 30, 20, 0.16);
    --radius: 16px;
}

* {
    scroll-behavior: smooth;
}
html {
    scroll-padding-top: 80px;
}
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.7;
}
h1,
h2,
h3,
h4,
h5,
.navbar-brand {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--secondary);
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
section {
    position: relative;
}

/* ---------- BUTTONS ---------- */
.btn {
    font-family: var(--font-display);
    font-weight: 600;
    border-radius: 10px;
    padding: 0.7rem 1.4rem;
    transition: 0.25s;
}
.btn-lg {
    padding: 0.9rem 1.8rem;
}
.btn-primary-g {
    background: var(--primary);
    border: none;
    color: #fff;
}
.btn-primary-g:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(15, 123, 61, 0.35);
}
.btn-accent-g {
    background: var(--accent);
    border: none;
    color: #063;
}
.btn-accent-g:hover {
    background: #16a34a;
    color: #fff;
    transform: translateY(-2px);
}
.btn-outline-g {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline-g:hover {
    background: var(--primary);
    color: #fff;
}
.btn-outline-light:hover {
    transform: translateY(-2px);
}
.btn-outline-navy {
    border: 1.5px solid var(--border);
    color: var(--secondary);
    background: transparent;
    border-radius: 8px;
}
.btn-outline-navy:hover {
    background: var(--secondary);
    color: #fff;
    border-color: var(--secondary);
}
.text-accent {
    color: var(--accent);
}
.text-primary-g {
    color: var(--primary);
}

/* ---------- LOADER ---------- */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.5s,
        visibility 0.5s;
}
.loader.hide {
    opacity: 0;
    visibility: hidden;
}
.loader-box {
    text-align: center;
}
.loader-mark {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: flex-end;
    height: 46px;
    margin-bottom: 18px;
}
.loader-bar {
    width: 8px;
    background: var(--accent);
    border-radius: 3px;
    animation: bar 1s ease-in-out infinite;
}
.loader-bar:nth-child(1) {
    height: 18px;
    animation-delay: 0s;
}
.loader-bar:nth-child(2) {
    height: 34px;
    animation-delay: 0.15s;
}
.loader-bar:nth-child(3) {
    height: 26px;
    animation-delay: 0.3s;
}
@keyframes bar {
    0%,
    100% {
        transform: scaleY(0.5);
    }
    50% {
        transform: scaleY(1);
    }
}
.loader-text {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin: 0;
}

/* ---------- NAVBAR ---------- */
.site-nav {
    padding: 1.1rem 0;
    transition: 0.3s;
    background: rgba(11, 31, 20, 0);
}
.site-nav.scrolled,
.site-nav.solid {
    background: rgba(10, 90, 43, 0.97);
    backdrop-filter: blur(10px);
    padding: 0.7rem 0;
    box-shadow: var(--shadow-md);
}
.brand-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: var(--secondary);
    border-radius: 10px;
    font-size: 1.2rem;
}
.brand-text {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.2rem;
}
.brand-accent {
    color: var(--accent);
}
.site-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
    position: relative;
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: #fff;
}
.site-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.2rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.25s;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-toggler {
    border: none;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: none !important;
}
@media (max-width: 991px) {
    .site-nav {
        background: rgba(10, 90, 43, 0.97);
    }
    .navbar-collapse {
        background: var(--secondary);
        margin-top: 1rem;
        border-radius: 14px;
        padding: 1rem;
    }
}

/* ---------- SECTION BASE ---------- */
.section {
    padding: 6rem 0;
}
.section-alt {
    background: var(--light);
}
.section-dark {
    background: var(--secondary);
}
.section-head {
    max-width: 680px;
    margin: 0 auto 3.5rem;
}
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 0.8rem;
}
.section-eyebrow.accent {
    color: var(--accent);
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}
.section-title.text-white {
    color: #fff;
}
.section-lead {
    color: var(--muted);
    font-size: 1.05rem;
}
.text-light-50 {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
    position: relative;
    padding: 9rem 0 5rem;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.62)),
        url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1920&q=80")
            center/cover no-repeat;
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
}
.page-hero .breadcrumb {
    justify-content: flex-start;
    margin: 0;
}
.page-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
}
.page-hero .breadcrumb a:hover {
    color: #fff;
}
.page-hero .breadcrumb-item.active {
    color: var(--accent);
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- HOME HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    background: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5?auto=format&fit=crop&w=1920&q=80")
        center/cover no-repeat fixed;
    padding: 8rem 0 3rem;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(15, 23, 42, 0.72) 55%,
        rgba(15, 23, 42, 0.45) 100%
    );
}
.hero-grid {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: var(--accent);
    padding: 0.45rem 1rem;
    border-radius: 30px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}
.hero-eyebrow i {
    font-size: 0.6rem;
}
.hero-title {
    color: #fff;
    font-size: clamp(2.2rem, 5.2vw, 4rem);
    line-height: 1.12;
    font-weight: 800;
    margin-bottom: 1.5rem;
}
.hero-sub {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 620px;
    margin-bottom: 2.2rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
.hero-stats {
    margin-top: 4.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 2.2rem;
}
.hero-stat h3 {
    display: inline;
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
}
.hero-stat .plus {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-display);
}
.hero-stat p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0.3rem 0 0;
    font-size: 0.92rem;
}
.hero-scroll {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.6rem;
    animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 8px);
    }
}

/* ---------- VALUE CARD ---------- */
.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.2rem 1.8rem;
    height: 100%;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}
.value-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.35s;
}
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.value-card:hover::before {
    transform: scaleX(1);
}
.value-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(34, 197, 94, 0.12);
    color: var(--primary);
    font-size: 1.7rem;
    margin-bottom: 1.3rem;
    transition: 0.3s;
}
.value-card:hover .value-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(-6deg);
}
.value-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}
.value-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

/* ---------- ABOUT ---------- */
.about-media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-media img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
}
.about-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    box-shadow: var(--shadow-md);
}
.about-badge .counter {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.4rem;
    line-height: 1;
}
.about-badge span {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
}
.about-badge small {
    font-size: 0.7rem;
    line-height: 1.2;
    margin-left: 0.5rem;
    align-self: center;
    font-weight: 600;
}
.about-facts {
    margin-top: 2rem;
}
.fact {
    background: var(--light);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    height: 100%;
}
.fact i {
    color: var(--primary);
    font-size: 1.4rem;
}
.fact h4 {
    font-size: 1.3rem;
    margin: 0.5rem 0 0.2rem;
}
.fact p {
    color: var(--muted);
    font-size: 0.82rem;
    margin: 0;
}

/* ---------- SERVICE CARD ---------- */
.service-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: 0.35s;
    border: 1px solid var(--border);
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: 0.5s;
}
.service-card:hover .service-img {
    transform: scale(1.06);
}
.service-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 31, 20, 0.5));
}
.service-body {
    padding: 1.8rem;
    position: relative;
}
.service-no {
    position: absolute;
    top: -1.6rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 800;
    box-shadow: var(--shadow-md);
}
.service-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}
.service-body p {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.service-link {
    color: var(--secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
}
.service-link i {
    transition: 0.25s;
}
.service-link:hover {
    color: var(--primary);
}
.service-link:hover i {
    transform: translateX(5px);
}

/* ---------- SUBSIDIARY / GENERIC ICON CARD ---------- */
.sub-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: 0.3s;
}
.sub-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}
.sub-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.2rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--secondary);
    color: var(--accent);
    font-size: 2rem;
    transition: 0.3s;
}
.sub-card:hover .sub-logo {
    background: var(--primary);
    color: #fff;
}
.sub-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.sub-card p {
    color: var(--muted);
    font-size: 0.88rem;
    margin: 0;
}

/* ---------- AWARD ---------- */
.award-card {
    background: var(--secondary);
    color: #fff;
    border-radius: var(--radius);
    padding: 2.2rem 1.6rem;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}
.award-card::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    background: rgba(34, 197, 94, 0.18);
    border-radius: 50%;
}
.award-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.award-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--accent);
    color: var(--secondary);
    font-size: 2rem;
    position: relative;
    z-index: 1;
}
.award-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.award-card span {
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 700;
}

/* ---------- PROJECT CARD ---------- */
.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #fff;
    border: 1px solid var(--border);
    transition: 0.35s;
    height: 100%;
}
.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.project-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}
.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}
.project-card:hover .project-img img {
    transform: scale(1.1);
}
.project-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: var(--secondary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    z-index: 2;
}
.project-body {
    padding: 1.6rem 1.8rem;
}
.project-meta {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
}
.project-meta i {
    color: var(--primary);
}
.project-body h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* ---------- CERT SLIDER (CSS marquee) ---------- */
.cert-slider {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 12%,
        #000 88%,
        transparent
    );
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 12%,
        #000 88%,
        transparent
    );
}
.cert-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll 28s linear infinite;
}
.cert-slider:hover .cert-track {
    animation-play-state: paused;
}
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.cert-item {
    flex: 0 0 240px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
}
.cert-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(34, 197, 94, 0.12);
    color: var(--primary);
    font-size: 1.8rem;
}
.cert-item h4 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}
.cert-item p {
    color: var(--muted);
    font-size: 0.82rem;
    margin: 0;
}

/* ---------- NEWS ---------- */
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    transition: 0.3s;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.news-img {
    height: 210px;
    overflow: hidden;
    position: relative;
}
.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.news-card:hover .news-img img {
    transform: scale(1.07);
}
.news-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-family: var(--font-display);
}
.news-body {
    padding: 1.6rem;
}
.news-date {
    display: inline-block;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
}
.news-body h3 {
    font-size: 1.18rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}
.news-body p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}
.news-link {
    color: var(--secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
}
.news-link i {
    transition: 0.25s;
}
.news-link:hover {
    color: var(--primary);
}
.news-link:hover i {
    transform: translateX(5px);
}

/* ---------- VIDEO ---------- */
.video-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/9;
    border: 3px solid rgba(255, 255, 255, 0.08);
}
.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.vid-stat h3 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
}
.vid-stat p {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    font-size: 0.9rem;
}

/* ---------- CTA ---------- */
.cta {
    position: relative;
    background: linear-gradient(
        120deg,
        var(--secondary) 0%,
        var(--primary) 100%
    );
    color: #fff;
    padding: 5.5rem 0;
    overflow: hidden;
}
.cta-grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}
.cta::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(
        circle,
        rgba(34, 197, 94, 0.4),
        transparent 70%
    );
}
.cta-title {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.cta-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #06120b;
    color: rgba(255, 255, 255, 0.7);
    padding: 4.5rem 0 0;
}
.footer-brand .brand-text {
    font-size: 1.3rem;
}
.footer-about {
    font-size: 0.92rem;
    max-width: 330px;
}
.footer-social {
    display: flex;
    gap: 0.6rem;
    margin-top: 1.2rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    transition: 0.25s;
}
.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}
.footer-title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
}
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.7rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    transition: 0.2s;
}
.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}
.footer-contact li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
}
.footer-contact i {
    color: var(--accent);
    margin-top: 0.2rem;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 3rem;
    padding: 1.5rem 0;
    text-align: center;
}
.footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 1.6rem;
    right: 1.6rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: 0.3s;
    z-index: 900;
    box-shadow: var(--shadow-md);
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* ====================================================== */
/* ABOUT PAGE SPECIFIC                                    */
/* ====================================================== */
/* Timeline (Maksud & Tujuan) */
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}
.timeline-item:last-child {
    padding-bottom: 0;
}
.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.65rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(15, 123, 61, 0.2);
}
.timeline-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.timeline-item p {
    color: var(--muted);
    margin: 0;
    font-size: 0.95rem;
}

/* Vision big card */
.vision-card {
    background: linear-gradient(120deg, var(--secondary), var(--primary));
    color: #fff;
    border-radius: var(--radius);
    padding: 3rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.vision-card::after {
    content: "";
    position: absolute;
    bottom: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}
.vision-card .v-icon {
    font-size: 2.6rem;
    color: var(--accent);
    margin-bottom: 1rem;
}
.vision-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.vision-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin: 0;
}
.mission-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.1rem 1.3rem;
    margin-bottom: 1rem;
    transition: 0.25s;
}
.mission-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--accent);
}
.mission-item .m-num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.15);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
}
.mission-item p {
    margin: 0;
    color: var(--text);
}

/* Org chart */
.org {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.org-node {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.6rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    min-width: 200px;
}
.org-node.top {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.org-node.top h4,
.org-node.top p {
    color: #fff;
}
.org-node h4 {
    font-size: 1rem;
    margin: 0;
}
.org-node p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
}
.org-connector {
    width: 2px;
    height: 28px;
    background: var(--border);
}
.org-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}
.org-row::before {
    content: "";
    position: absolute;
    top: -28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border);
}
.org-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (max-width: 768px) {
    .org-row::before {
        display: none;
    }
}

/* ====================================================== */
/* FINANCIAL PAGE                                         */
/* ====================================================== */
.fin-table {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.fin-table table {
    margin: 0;
}
.fin-table thead {
    background: var(--secondary);
}
.fin-table thead th {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    border: none;
    padding: 1rem 1.2rem;
    font-size: 0.92rem;
}
.fin-table tbody td {
    padding: 1rem 1.2rem;
    vertical-align: middle;
    border-color: var(--border);
}
.fin-table tbody tr:hover {
    background: var(--light);
}
.pdf-ico {
    color: #dc2626;
    font-size: 1.3rem;
}
.annual-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: 0.3s;
}
.annual-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}
.annual-cover {
    height: 260px;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    position: relative;
    display: grid;
    place-items: center;
}
.annual-cover .yr {
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.4rem;
}
.annual-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(
        rgba(255, 255, 255, 0.06) 1px,
        transparent 1px
    );
    background-size: 100% 22px;
    opacity: 0.5;
}
.annual-body {
    padding: 1.5rem;
}

/* ====================================================== */
/* PORTFOLIO FILTER                                       */
/* ====================================================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.filter-btn {
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--secondary);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem 1.3rem;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.25s;
}
.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.portfolio-item {
    transition: 0.4s;
}

/* ---------- PORTFOLIO DETAIL ---------- */
.detail-banner {
    height: 60vh;
    min-height: 380px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.detail-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.info-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
}
.info-list li span:first-child {
    color: var(--muted);
}
.info-list li span:last-child {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--secondary);
    text-align: right;
}
.gallery-img {
    border-radius: 12px;
    overflow: hidden;
    height: 180px;
}
.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
.gallery-img:hover img {
    transform: scale(1.08);
}

/* ---------- MASONRY (Kegiatan) ---------- */
.masonry {
    column-count: 3;
    column-gap: 1rem;
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.masonry-item img {
    width: 100%;
    display: block;
    transition: 0.4s;
}
.masonry-item:hover img {
    transform: scale(1.05);
}
.masonry-item .m-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(11, 31, 20, 0.85));
    color: #fff;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
}
@media (max-width: 992px) {
    .masonry {
        column-count: 2;
    }
}
@media (max-width: 576px) {
    .masonry {
        column-count: 1;
    }
}

/* ====================================================== */
/* SERVICE DETAIL                                         */
/* ====================================================== */
.scope-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.scope-list li {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.7rem 0;
    border-bottom: 1px dashed var(--border);
}
.scope-list li i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 0.15rem;
}
.adv-card {
    background: var(--light);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    border: 1px solid var(--border);
}
.adv-card i {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
}
.adv-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}
.adv-card p {
    color: var(--muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ====================================================== */
/* NEWS LIST: search + pagination                         */
/* ====================================================== */
.news-search {
    max-width: 520px;
    margin: 0 auto 3rem;
}
.news-search .input-group {
    box-shadow: var(--shadow-sm);
    border-radius: 12px;
    overflow: hidden;
}
.news-search input {
    border: 1px solid var(--border);
    padding: 0.85rem 1.2rem;
}
.news-search input:focus {
    box-shadow: none;
    border-color: var(--primary);
}
.news-search button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0 1.4rem;
}
.pagination .page-link {
    color: var(--secondary);
    border-radius: 8px !important;
    margin: 0 3px;
    border: 1px solid var(--border);
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ---------- NEWS DETAIL ---------- */
.article-body p {
    margin-bottom: 1.2rem;
}
.article-body h3 {
    margin: 2rem 0 1rem;
}
.share-bar {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}
.share-bar a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--light);
    color: var(--secondary);
    transition: 0.25s;
    border: 1px solid var(--border);
}
.share-bar a:hover {
    background: var(--primary);
    color: #fff;
}

/* ====================================================== */
/* CONTACT                                                */
/* ====================================================== */
.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}
.contact-form label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--secondary);
    margin-bottom: 0.35rem;
}
.contact-form .form-control {
    padding: 0.8rem 1rem;
    border-color: var(--border);
    border-radius: 10px;
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(15, 123, 61, 0.12);
}
.contact-info-card {
    background: var(--secondary);
    color: #fff;
    border-radius: var(--radius);
    padding: 2.5rem;
    height: 100%;
}
.contact-info-card h3 {
    color: #fff;
}
.ci-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.ci-item .ci-ico {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.18);
    color: var(--accent);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
}
.ci-item h5 {
    color: #fff;
    font-size: 0.95rem;
    margin: 0 0 0.2rem;
}
.ci-item p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    font-size: 0.9rem;
}
.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    line-height: 0;
}
.map-embed iframe {
    width: 100%;
    height: 380px;
    border: 0;
}
.field-error {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}
.is-invalid + .field-error {
    display: block;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
    .hero {
        background-attachment: scroll;
    }
    .about-media img {
        height: 340px;
    }
    .project-img {
        height: 220px;
    }
    .vision-card {
        padding: 2rem;
    }
    .contact-form,
    .contact-info-card {
        padding: 1.8rem;
    }
}
/* ── News filter pills ──────────────────────────── */
.news-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--text-2);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition:
        background 0.15s,
        border-color 0.15s,
        color 0.15s;
    white-space: nowrap;
}
.news-filter-pill:hover {
    background: var(--light);
    border-color: var(--primary);
    color: var(--primary);
}
.news-filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.news-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}
.news-filter-pill.active .news-pill-dot {
    background: rgba(255, 255, 255, 0.7) !important;
}
