:root {
    --primary-color: #007722 !important;
    --secondary-color: #004817 !important;
    /* Height of the cut*/
    --cut: 100px;
}

.pb-10 {
    padding-bottom: 10rem !important;
}

.text-primary {
    color: var(--primary-color) !important;
}
.text-secondary {
    color: var(--secondary-color) !important;
}

.text-justify {
    text-align: justify !important;
}

.bordered {
    border: 1px solid rgb(224, 224, 224) !important;
    border-radius: 8px;
}

.bg-gray-light {
    background-color: #edeef0 !important;
}

.triangle {
    clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--cut)),
    50% 100%,
    0 calc(100% - var(--cut))
    );
    /*Close the gap with the previous section*/    /* Higher z-index value than next section */
    z-index: 2;
    position: relative;
    padding-bottom: 130px;
}

.heroSwiper {
    width: 100%;
    height: 90vh;
}

.heroSwiper .swiper-slide {
    display: flex;
    align-items: center;
    min-height: 87vh;
}

.swiper-button-next,
.swiper-button-prev {
    color: #ffffff;
}

.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.hero {
    position: relative;
}

section#hero.hero.section {
    padding-top: 100px;
}

.video-slide {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Video full background */
.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Overlay supaya text jelas */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

/* Content di atas video */
.video-slide .container {
    position: relative;
    z-index: 3;
}

.swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: var(--swiper-navigation-sides-offset, 80px);
    left: auto;
}

.swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: var(--swiper-navigation-sides-offset, 80px);
    right: auto;
}

/* Base slide */
.swiper-slide {
    /* position: relative; */
    overflow: hidden;
    height: auto;
}

/* Animate background */
.swiper-slide::before {
    content: "";
    position: absolute;
    background: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 6s ease;
    z-index: 1;
}

/* Aktif slide */
.swiper-slide-active::before {
    transform: scale(1);
}

/* Content di atas background */
.swiper-slide .container {
    position: relative;
    z-index: 2;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
    z-index: 3;
}

.hero-content h1,
.hero-content p,
.hero-actions {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

/* Aktif bila slide aktif */
.swiper-slide-active .hero-content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.swiper-slide-active .hero-content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.swiper-slide-active .hero-actions {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.hero-visual img {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.swiper-slide-active .hero-visual img {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.4s;
}


/* Premium */
.premium-slide {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* cinematic zoom + blur */
.premium-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    transform: scale(1.25);
    filter: blur(6px);
    transition: transform 7s ease, filter 2s ease;
    z-index: 1;
}

.swiper-slide-active.premium-slide::before {
    transform: scale(1);
    filter: blur(0);
}

.premium-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
    90deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.3) 50%,
    rgba(0,0,0,0.15) 100%
    );
    z-index: 2;
}

.premium-text {
    position: relative;
    z-index: 3;
}

.text-line {
    overflow: hidden;
}

.text-line > * {
    display: inline-block;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.9s cubic-bezier(.19,1,.22,1),
    opacity 0.9s ease;
}

/* reveal sequence */
.swiper-slide-active .text-line > * {
    transform: translateY(0);
    opacity: 1;
}

.swiper-slide-active .text-line:nth-child(1) > * { transition-delay: 0.3s; }
.swiper-slide-active .text-line:nth-child(2) > * { transition-delay: 0.5s; }
.swiper-slide-active .text-line:nth-child(3) > * { transition-delay: 0.7s; }

/* floating effect */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.premium-video-slide {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

/* Fullscreen video */
.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1.15);
    filter: blur(8px);
    transition: transform 7s ease, filter 2.5s ease;
    z-index: 1;
}

/* Reveal animation */
.swiper-slide-active .slide-video {
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
    90deg,
    rgba(0,0,0,0.7) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.15) 100%
    );
    z-index: 2;
}

.text-line {
    display: inline-block;
    transform: translateY(130%);
    opacity: 0;
    transition: transform 1s cubic-bezier(.19,1,.22,1),
    opacity 1s ease;
    color: #fff !important;
}

.swiper-slide-active .text-line:nth-child(1) > * { transition-delay: 0.4s; }
.swiper-slide-active .text-line:nth-child(2) > * { transition-delay: 0.6s; }
.swiper-slide-active .text-line:nth-child(3) > * { transition-delay: 0.8s; }

.premium-image img {
    opacity: 0;
    transform: translateX(-70px) scale(0.9);
    transition: all 1.3s cubic-bezier(.19,1,.22,1);
}
.swiper-slide-active .premium-image img {
    opacity: 1;
    transform: translateX(0) scale(1);
    transition-delay: 0.5s;
    animation: float 3s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .slide-video {
        filter: none;
        transform: translate(-50%, -50%) scale(1);
    }
    
    .premium-image img {
        animation: none;
    }
}

@media screen and (max-width:1200px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Breadcrumb */

.breadcrumb-bg {
    padding: 120px 0;
    color: #fff;
    margin-top: 100px;
}
.bc-contact {
    background: linear-gradient( rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55) ), url("../../assets/img/breadcrumb/bc-contact.jpg") center center / cover no-repeat;
}
.bc-project {
    background: linear-gradient( rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55) ), url("../../assets/img/breadcrumb/bc-projects.jpg") center center / cover no-repeat;
}
.bc-about {
    background: linear-gradient( rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55) ), url("../../assets/img/breadcrumb/bc-about.jpg") center center / cover no-repeat;
}
.bc-metal {
    background: linear-gradient( rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55) ), url("../../assets/img/breadcrumb/bc-metal.jpeg") center center / cover no-repeat;
}
.bc-steel {
    background: linear-gradient( rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55) ), url("../../assets/img/breadcrumb/bc-steel.jpg") center center / cover no-repeat;
}


.breadcrumb-bg .heading-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #f1f1f1;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #ffc107; /* atau warna brand */
}

.breadcrumb-item.active {
    color: #ddd;
    
}

.k-gallery-item {
    border: 1px solid #c7c7c7;
    background: white;
    
}

.project-caption {
    margin-top: 10px;
    padding: 10px;
}
.project-caption h5 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}
.project-caption p {
    font-size: 14px;
    color: #555;
}

/* add on gallery */
.k-gallery-item {
    background: #fff;
    transition: 0.3s ease;   
}

.gallery-image-wrapper {
    overflow: hidden;
}

.gallery-img {
    transition: transform 0.4s ease;
    width: 300px;
    height: 280px;
    object-fit: cover;
}

.k-gallery-item:hover .gallery-img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    transition: 0.3s ease;
}

.k-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    background: rgba(255,255,255,0.2);
    padding: 12px;
    backdrop-filter: blur(4px);
    transition: 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

.gallery-overlay i:hover {
    background: rgba(255,255,255,0.4);
}

/* button document */
/* From Uiverse.io by cssbuttons-io */ 
.all-projects button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
}

.all-projects button.learn-more {
    width: 13rem;
    height: auto;
}

.all-projects button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #072;
    border-radius: 1.625rem;
}

.all-projects button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

.all-projects button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

.all-projects button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

.all-projects button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: #072;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

.all-projects button:hover .circle {
    width: 100%;
}

.all-projects button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

.all-projects button:hover .button-text {
    color: #fff;
}

/* social media */
.fab-icon {
    position: absolute;
    top: 22%;
    right: 24%;
}

.floating {
    position: fixed;
    width: 45px;
    height: 45px;
    color: white;
    border-radius: 50px;
    z-index: 100;
    transition: ease .3s;
    text-decoration: none;
}

.floating:hover {
    text-decoration: none;
    color: white;
    transform: scale(1.1);
}

.i-wa {
    background-color: #0cc143;
    bottom: 190px;
    right: 17px;
    font-size: 25px;
}
.i-wa2 {
    background-color: #0cc143;
    bottom: 135px;
    right: 17px;
    font-size: 25px;
}
.i-wa3 {
    background-color: #0cc143;
    bottom: 80px;
    right: 17px;
    font-size: 25px;
}

.roof-card{
    background:#fff;
    border-radius:20px;
    padding:35px 30px;
    border:1px solid #e9ecef;
    transition:.35s;
    position:relative;
    overflow:hidden;
}

.roof-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.08);
    border-color:#00481c;
}

.roof-card::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:4px;
    background:#00481c;
    transform:scaleX(0);
    transition:.35s;
}

.roof-card:hover::before{
    transform:scaleX(1);
}

.icon-box{
    width:70px;
    height:70px;
    background:#00481c;
    color:#fff;
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:20px;
}

.roof-card h5{
    font-weight:700;
    margin-bottom:12px;
}

.roof-card p{
    color:#6c757d;
    margin-bottom:0;
}

.experience-box{
    position:absolute;
    bottom:20px;
    right:20px;
    background:#00481c;
    color:#fff;
    padding:20px 25px;
    border-radius:16px;
    text-align:center;
}

.experience-box h3{
    font-weight:800;
    color: #fff;
}

.advantage-item{
    display:flex;
    gap:20px;
    padding:18px 0;
    border-bottom:1px solid #b6b6b6;
}

.advantage-item span{
    min-width:50px;
    font-size:1.5rem;
    font-weight:700;
    color:#00481c;
}

.advantage-item h5{
    margin-bottom:6px;
    font-weight:700;
}

.advantage-item p{
    margin-bottom:0;
    color:#6c757d;
}