html, body {
    overflow-x: hidden;
    max-width: 100%;
}


/* konten disembunyikan */
#site-content{
    visibility:hidden;
    opacity:0;
    transition:1.2s ease;
}

#site-content.ready{
    visibility:visible;
    opacity: 1;
}



body{
    font-family: roboto;
}

.top-bar {
    background-color: #198754;
    font-size:17px;
}

.navbar-brand {
    letter-spacing: 2px;
    font-size: 40px;
    font-family: montserrat;
    font-style: italic;
}

section {
    scroll-margin-top: 90px;
}


/* Atau kalau mau lebih spesifik */
.navbar-brand .logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

/* Navbar normal */
#mainNavbar {
    position: relative;
    transition: all 0.3s ease;
}

/* Saat sticky aktif */
#mainNavbar.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;

    background: rgba(255, 255, 255, 0.786);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Button collapse tampil seperti nav-link */
.nav-collapse {
    background: transparent;
    border: 0;
    padding: .5rem 1rem;
    color: #fff;
    font-weight: 500;
    text-align: center;
    justify-content: center;
    gap: .5rem;
}

/* Hover sama seperti nav-link */
.nav-collapse:hover {
    color: #e9ffe9;
}

/* Hilangkan fokus default button */
.nav-collapse:focus {
    box-shadow: none;
}

/* Icon animasi */
.nav-collapse i {
    transition: transform .3s ease;
}

/* Icon muter saat collapse terbuka */
.nav-collapse[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.offcanvas .nav-link {
    text-align: center;
    width: 100%;
}



/* Glass dropdown */
.navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.915);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);

    padding: 0.75rem;
}




/* kondisi awal dropdown (tertutup) */
.dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.25s ease;
    display: block;
    pointer-events: none;
}

/* saat dropdown terbuka */
.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-mobile:hover{
    background-color: white;
}

/* Hero section */
.hero-section {
    /* Background image */
    background-image: url('../img/hero-section.jpeg');
    background-size: cover;       /* Foto menutupi seluruh area hero */
    background-position: center;  /* Fokus tengah foto */
    background-repeat: no-repeat;
    
    /* Ukuran hero */
    min-height: 80vh;             /* 80% dari tinggi viewport */
    
    /* Overlay gelap supaya teks lebih terbaca */
    position: relative;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* overlay hitam semi-transparan */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2; /* Supaya teks muncul di atas overlay */
}



/* TOGGLER NAVBAR */
/* Hapus icon default, atur tiga garis */
.custom-toggler {
    border: none;
    background: transparent;
    width: 50px;
    height: 25px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.custom-toggler span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #28a745; /* hijau sesuai brand RBI */
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animasi saat offcanvas terbuka */
.offcanvas.show + .custom-toggler span:nth-child(1),
.custom-toggler.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.offcanvas.show + .custom-toggler span:nth-child(2),
.custom-toggler.active span:nth-child(2) {
    opacity: 0;
}

.offcanvas.show + .custom-toggler span:nth-child(3),
.custom-toggler.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

/* Button Bahasa */
.lang-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all .2s ease;
}

.lang-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(25,135,84,.15);
}

.lang-flag {
    width: 22px;
    height: 22px;
    object-fit: cover;
    border-radius: 50%;
}




/* Info panel */
.info-panel{
    margin-top: -65px;
    border-radius: 12px;
    z-index: 3;
    box-shadow: 0 3px 20px rgba(0,0,0,0.5);
    padding: 30px;
}

.info-panel-icon{
    font-size: 70px;
}



/* About */
#about img {
    object-fit: cover;
}

#about{
    margin-bottom: 125px;
    margin-top: 125px;
}

.selection-label{
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 12px;

    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    color: #6c757d;
}


.selection-label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 100px;           /* PANJANG GARIS */
    height: 2px;
    background-color: #198754; /* warna brand */

    transform: translateX(-50%);
    border-radius: 2px;
}



/* Service */
#services{
    margin-bottom: 125px;
}

.service-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    height: 100%;

    transition: all 0.35s ease;
    overflow: hidden;
}

/* BAR ATAS (BATTERY EFFECT) */
.service-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #198754, #4ade80);
    transition: width 0.4s ease;
}

.service-card:hover .service-bar {
    width: 100%;
}

/* ICON */
.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;

    background: #198754; /* hitam elegan */
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;

    transition: transform 0.35s ease;
}


.service-card:hover .service-icon {
    transform: scale(1.15);
}

/* LINK */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-weight: 600;
    color: #198754;
    text-decoration: none;
    transition: gap 0.3s ease;
}

/* LINK */
.service-link a{
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-weight: 600;
    color: #198754;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.service-card:hover .service-link {
    gap: 14px;
}

/* FLOATING CARD */
.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.14);
}


/* WHY US */
.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
     /* hijau Bootstrap */
    flex-shrink: 0;
}

.why-us img {
    max-height: 420px;
    object-fit: cover;
}


/* Portofolio */
#portfolio{
    margin-top: 125px;
    margin-bottom: 125px;
}


/* FILTER */
.portfolio-filter button {
    border: none;
    background: transparent;
    margin: 0 14px;
    font-weight: 500;
    color: #999;
    position: relative;
}

.portfolio-filter button.active {
    color: #000;
}

.portfolio-filter button.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: #198754;
}

/* CARD */
.portfolio-card {
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
}

/* TEXT */
.portfolio-content {
    margin-top: 20px;
}

.portfolio-content h4 {
    font-weight: 600;
}

.portfolio-content a {
    font-weight: 600;
    text-decoration: none;
    color: #000;
}

.portfolio-content a span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.portfolio-content a:hover span {
    transform: translateX(6px);
}


.portfolio-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.portfolio-image img {
    width: 100%;
    transition: transform 0.6s ease;
}

/* OVERLAY */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: rgba(25, 135, 84, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* BUTTON */
.btn-view {
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 18px;
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

/* HOVER EFFECT */
.portfolio-image:hover img {
    transform: scale(1.1);
}

.portfolio-image:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-image:hover .btn-view {
    transform: scale(1);
}

.portfolio-item {
    transition: transform 0.6s ease, opacity 0.6s ease;
}


/* PRIMARY BUTTON */
.btn-cta-green {
    background-color: #198754;
    color: #fff;
    padding: 14px 36px;
    border-radius: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.35s ease;
    box-shadow: 0 8px 20px rgba(25, 135, 84, 0.25);
    text-decoration: none;
}

.btn-cta-green:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(25, 135, 84, 0.35);
    color: #fff;
}

.btn-cta-green .arrow-icon {
    transition: transform 0.35s ease;
}

.btn-cta-green:hover .arrow-icon {
    transform: translateX(8px);
}



.cta-title{
    font-weight: 250;
}

.cta-main{
    padding: 30px;
    margin-bottom: 125px;
}

/* SECONDARY LINK */
.cta-link {
    font-weight: 500;
    color: #198754;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.cta-link i {
    transition: transform 0.3s ease;
}

.cta-link:hover i {
    transform: translateX(6px);
}

.cta-link:hover {
    text-decoration: underline;
}



/* Contact Form */
.contact-clean {
    background: #f7f7f8;
}

/* HEADER */
.letter-space {
    letter-spacing: 2px;
    font-size: 12px;
}

/* LEFT SIDE */
.contact-left {
    padding-right: 20px;
}

.contact-icon-wrap {
    width: 70px;
    height: 70px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #555;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.contact-info-item i {
    font-size: 25px;
    color: #111;
    margin-top: 2px;
    margin-right: 10px;
}

.contact-info-item small {
    display: block;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: #555;
    line-height: 1.5;
    font-size: 15px;
}

.contact-left h5{
    font-size: 30px;
    font-weight: 300 !important;
}

#contact .container,
#contact .row{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:12px !important;
    padding-right:12px !important;
}

#contact .col-lg-8,
#contact .col-lg-4 {
    padding-left:12px !important;
    padding-right:12px !important;
}

/* FORM CARD */
.contact-card {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

.contact-card h5{
    font-weight: 250!important;
    font-size: 35px;
}

.form-label {
    font-size: 13px;
    color: #555;
}

.form-control {
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #e1e1e1;
}

.form-control:focus {
    border-color: #999;
    box-shadow: none;
}

.btn-form{
    background-color: #198754;
    color: white;
}


/* FOOTER */
.footer-green {
    background: linear-gradient(180deg, #0f3d2e, #0b2e23);
    color: #e6f2ec;
    font-size: 15px;
}

/* .footer-logo {
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 2px;
    font-size: 40px;
    font-family: montserrat;
    font-style: italic;
} */

.footer-logo-img {
    height: 70px;
    width: auto;
    margin-bottom: 15px;
}

.footer-desc {
    color: #cfe6dc;
    line-height: 1.7;
    max-width: 320px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #ffffff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cfe6dc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #7dffb3;
    padding-left: 4px;
}

.footer-contact {
    color: #cfe6dc;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #7dffb3;
    color: #0b2e23;
    border-color: #7dffb3;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0,0,0,0.25);
    color: #cfe6dc;
    font-size: 14px;
}









/* FABRICATION CSS */
.breadcrumb-section {
    background-color: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    margin-bottom: 0;
    background-color: transparent;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #2d5016;
}

.breadcrumb-item.active {
    color: #212529;
}

.service-header {
    text-align: center;
    margin-bottom: 50px;
}

.service-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #212529;
}

.service-header p {
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.service-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #212529;
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #212529;
}

.service-content p {
    color: #495057;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    display: flex;
    align-items: start;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li i {
    color: #2d5016;
    margin-right: 12px;
    margin-top: 4px;
    font-size: 1.1rem;
}

.info-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #212529;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    color: #212529;
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
}

.info-item span {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.related-service {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    margin-bottom: 12px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-decoration: none;
    color: #212529;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.related-service:hover {
    background-color: #f8f9fa;
    border-color: #2d5016;
    transform: translateX(5px);
}

.related-service i {
    margin-right: 15px;
    color: #2d5016;
    font-size: 1.2rem;
}

.related-service span {
    font-weight: 500;
}

.cta-card {
    background: linear-gradient(135deg, #1e4620 0%, #2d5016 100%);
    color: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.3);
}

.cta-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-card p {
    color: #e0e7ff;
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-card .btn {
    background-color: #fff;
    color: #1e4620;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.cta-card .btn:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.highlight-box {
    background-color: #f0f7ed;
    border-left: 4px solid #2d5016;
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
}

.highlight-box p {
    margin-bottom: 0;
    color: #1e4620;
    font-weight: 500;
}










/* GLightBox */
.glightbox-clean .gclose {
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    width: 44px;
    height: 44px;
}



/* Desktop only */
@media (min-width: 1035px) {
    .hero-section {
        /* fokus bottom tapi naik 100px */
        /* background-position: center calc(100% + 100px); */
    }

    .navbar .nav-link {
    color: #6c757d; /* warna normal */
    transition: color 0.3s ease;
    }

    .navbar .nav-link.active {
        color: #2e7d32; /* hijau elegan */
    }
}


/* Tablet only */
@media (min-width: 768px) and (max-width: 991px) {
    .top-bar {
        font-size: 16px;
    }
}


/* Mobile only */
@media (max-width: 767px) {
    .mobile-menu .nav-item{
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.25);
    }

    .mobile-menu .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .mobile-menu .nav-item a{
    color: #ffff;
    }

    .collapse{
    background-color: #77B254;
    }

    .info-panel{
        margin-top: -80px;
    }

    .navbar-brand{
        font-size: 20px;
    }

    .info-item{
        align-items: center;
        text-align: center;
        margin-bottom: 40px;
    }

    #about {
        text-align: center;
    }

    .service-card{
        box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    }

    section {
    scroll-margin-top: 40px;
}
}

