/* ==========================================================
   PT RENGGANIS PRIMA GEMILANG
   Company Profile Website
========================================================== */

:root {

    --primary: #0B63B6;

    --secondary: #1E88E5;

    --accent: #F7941D;

    --dark: #212529;

    --gray: #6C757D;

    --light: #F8FAFC;

    --white: #FFFFFF;

}



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



html {

    scroll-behavior: smooth;

}



body {

    font-family: 'Poppins', sans-serif;

    color: var(--dark);

    overflow-x: hidden;

    background: var(--white);

}

section {

    padding: 100px 0;

}

.container {

    max-width: 1200px;

}

.section-title {

    font-size: 40px;

    font-weight: 700;

    color: var(--primary);

}



.section-subtitle {

    color: var(--gray);

    margin-top: 15px;

    line-height: 1.8;

}

.btn-primary {

    background: var(--primary);

    border: none;

    border-radius: 50px;

    padding: 14px 35px;

    transition: .3s;

}



.btn-primary:hover {

    background: #084D8C;

}

/*=================================
NAVBAR
=================================*/

#mainNavbar {
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    padding: 15px 0;
    transition: all .35s ease;
    z-index: 999;
}

#mainNavbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.logo-sub {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--gray);
}

.navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
    margin-left: 18px;
    position: relative;
    transition: .3s;
}

.navbar-nav .nav-link::after {

    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: .3s;

}

.navbar-nav .nav-link:hover {

    color: var(--primary);

}

.navbar-nav .nav-link:hover::after {

    width: 100%;

}

.navbar .btn-warning {

    background: var(--accent);
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    color: #fff;
    transition: .3s;

}

.navbar .btn-warning:hover {

    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(247, 148, 29, .30);

}

/* ==================================================
   HERO SECTION
================================================== */

.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    padding-top: 120px;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: rgba(11, 99, 182, .1);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 600;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin: 25px 0 15px;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-description {
    color: var(--gray);
    line-height: 1.9;
    font-size: 1rem;
    max-width: 560px;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: .3s;
}

.hero-buttons .btn-primary {
    background: var(--primary);
    border: none;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(11, 99, 182, .25);
}

.hero-buttons .btn-warning {
    color: #fff;
    background: var(--accent);
    border: none;
}

.hero-buttons .btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(247, 148, 29, .30);
}

/* =====================================
   HERO GALLERY
===================================== */

.hero-gallery {
    position: relative;
    height: 560px;
}

.card-photo {
    position: absolute;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    transition: .4s;
}

.card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-photo:hover {
    transform: translateY(-10px) scale(1.02);
}

.card-1 {
    width: 320px;
    height: 420px;
    top: 0;
    right: 20px;
}

.card-2 {
    width: 240px;
    height: 300px;
    left: 0;
    top: 180px;
}

.card-3 {
    width: 240px;
    height: 300px;
    right: 70px;
    bottom: 0;
}

@keyframes floating {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }

}

.card-1 {
    animation: floating 6s ease-in-out infinite;
}

.card-2 {
    animation: floating 7s ease-in-out infinite;
}

.card-3 {
    animation: floating 8s ease-in-out infinite;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width:991px) {

    .hero-section {
        text-align: center;
    }

    .hero-title {
        font-size: 2.7rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        margin: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-gallery {
        margin-top: 70px;
        height: 520px;
    }

}

@media (max-width:768px) {

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-gallery {
        height: 420px;
    }

    .card-1 {
        width: 200px;
        height: 260px;
    }

    .card-2 {
        width: 170px;
        height: 210px;
        top: 140px;
    }

    .card-3 {
        width: 160px;
        height: 200px;
    }

}

/* ==================================================
   ABOUT SECTION
================================================== */

.about-section {
    /* background: var(--white); */
    background: #F8FAFC;
    position: relative;
}

.about-section .section-title {
    margin-bottom: 15px;
}

.section-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(11, 99, 182, .10);
    color: var(--primary);
    font-size: .9rem;
    font-weight: 600;
}

.about-image {
    position: relative;
}

.about-image img {

    width: 100%;
    border-radius: 24px;
    transition: .4s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);

}

.about-image img:hover {

    transform: translateY(-8px);

}

.about-image::before {

    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    background: rgba(11, 99, 182, .08);

    border-radius: 50%;

    top: -30px;

    left: -30px;

    z-index: -1;

}

.about-title {

    font-size: 2rem;

    font-weight: 700;

    color: var(--dark);

    margin-bottom: 25px;

}

.about-text {

    color: var(--gray);

    line-height: 1.9;

    margin-bottom: 20px;

    text-align: justify;

}

.about-list {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;

    margin-top: 30px;

}

.about-item {

    background: #fff;

    border: 1px solid #E9ECEF;

    border-radius: 15px;

    padding: 15px 20px;

    font-weight: 500;

    transition: .3s;

    color: var(--primary);
    margin-right: 10px;
    font-size: 1rem;

}

.about-item:hover {

    background: var(--primary);

    color: #fff;

    transform: translateY(-5px);

    box-shadow: 0 15px 30px rgba(11, 99, 182, .20);

}

/* ==================================================
   SCROLL REVEAL
================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.row .reveal:nth-child(2) { transition-delay: .1s; }
.row .reveal:nth-child(3) { transition-delay: .2s; }
.row .reveal:nth-child(4) { transition-delay: .3s; }
.row .reveal:nth-child(5) { transition-delay: .4s; }

/* ==================================================
   SERVICES SECTION
================================================== */

.services-section {
    background: var(--white);
}

.service-card {
    background: #fff;
    border: 1px solid #E9ECEF;
    border-radius: 20px;
    padding: 40px 28px;
    height: 100%;
    text-align: center;
    transition: .35s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: 0 25px 45px rgba(11, 99, 182, .15);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.8rem;
    transition: .35s;
}

.service-card:hover .service-icon {
    border-radius: 50%;
    transform: rotate(-8deg) scale(1.05);
}

.service-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray);
    font-size: .92rem;
    line-height: 1.8;
    margin: 0;
}

/* ==================================================
   FLOW SECTION
================================================== */

.flow-section {
    background: linear-gradient(135deg, #073B66 0%, var(--primary) 55%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.section-badge-light {
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.section-title-light {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
}

.section-subtitle-light {
    color: rgba(255, 255, 255, .75);
    margin-top: 15px;
    line-height: 1.8;
}

.flow-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.flow-steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: rgba(255, 255, 255, .2);
    z-index: 0;
}

.flow-step {
    position: relative;
    z-index: 1;
    text-align: center;
    color: rgba(255, 255, 255, .8);
}

.flow-number {
    width: 68px;
    height: 68px;
    line-height: 68px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.flow-icon {
    display: block;
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: 14px;
}

.flow-step h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.flow-step p {
    font-size: .9rem;
    line-height: 1.8;
    margin: 0;
}

/* ==================================================
   DEMOLITION SECTION
================================================== */

.demolition-section {
    background: var(--white);
}

.demolition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.demolition-box {
    background: #fff;
    border: 1px solid #E9ECEF;
    border-radius: 20px;
    padding: 30px 24px;
    transition: .35s;
}

.demolition-box:nth-child(2) {
    margin-top: 30px;
}

.demolition-box:nth-child(4) {
    margin-top: -30px;
}

.demolition-box i {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
    display: block;
}

.demolition-box h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.demolition-box p {
    font-size: .88rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

.demolition-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 99, 182, .15);
}

.demolition-box.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    color: #fff;
}

.demolition-box.highlight i {
    color: var(--accent);
}

.demolition-box.highlight p {
    color: rgba(255, 255, 255, .85);
}

/* ==================================================
   RECOVERY SECTION
================================================== */

.recovery-section {
    background: #F8FAFC;
}

.recovery-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.recovery-tag {
    background: rgba(247, 148, 29, .1);
    color: var(--accent);
    border-radius: 50px;
    padding: 9px 18px;
    font-size: .85rem;
    font-weight: 600;
}

.recovery-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.recovery-stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 34px 24px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .06);
    transition: .35s;
}

.recovery-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 99, 182, .15);
}

.recovery-stat-card h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.recovery-stat-card p {
    color: var(--gray);
    font-size: .88rem;
    margin: 0;
}

/* ==================================================
   GALLERY SECTION
================================================== */

.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: rgba(255, 255, 255, .8);
    transition: .4s;
}

.gp-1 { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.gp-2 { background: linear-gradient(135deg, var(--accent), #ffb463); }
.gp-3 { background: linear-gradient(135deg, #073B66, var(--primary)); }
.gp-4 { background: linear-gradient(135deg, var(--secondary), #6EC1FF); }
.gp-5 { background: linear-gradient(135deg, var(--dark), #445059); }

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .65) 100%);
    opacity: 0;
    transition: .35s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
}

/* ==================================================
   WHY US SECTION
================================================== */

.whyus-section {
    background: #F8FAFC;
}

.stat-box h3 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--gray);
    font-weight: 500;
    margin: 0;
}

.whyus-card {
    background: #fff;
    border-radius: 20px;
    padding: 34px 26px;
    height: 100%;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .06);
    transition: .35s;
}

.whyus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 99, 182, .15);
}

.whyus-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.whyus-card h5 {
    font-weight: 700;
    margin-bottom: 10px;
}

.whyus-card p {
    color: var(--gray);
    font-size: .88rem;
    line-height: 1.7;
    margin: 0;
}

/* ==================================================
   CONTACT SECTION
================================================== */

.contact-section {
    background: var(--white);
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #F8FAFC;
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 16px;
    transition: .3s;
}

.contact-info-card:hover {
    background: rgba(11, 99, 182, .06);
    transform: translateX(6px);
}

.contact-info-card i {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.1rem;
}

.contact-info-card h6 {
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info-card p {
    color: var(--gray);
    font-size: .9rem;
    margin: 0;
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.contact-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(11, 99, 182, .1);
    color: var(--primary);
    transition: .3s;
}

.contact-social a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
}

.contact-form {
    background: #F8FAFC;
    border-radius: 24px;
    padding: 40px;
}

.contact-form .form-label {
    font-weight: 600;
    font-size: .9rem;
    color: var(--dark);
    margin-bottom: 6px;
}

.contact-form .form-control {
    border: 1px solid #E1E7EC;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: .92rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(11, 99, 182, .12);
}

.contact-form button {
    margin-top: 6px;
}

/* ==================================================
   FOOTER
================================================== */

.site-footer {
    background: #0A1E33;
    color: rgba(255, 255, 255, .7);
    padding: 80px 0 0;
}

.footer-top {
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo .logo-main {
    color: #fff;
}

.footer-text {
    margin-top: 18px;
    line-height: 1.9;
    font-size: .92rem;
    max-width: 360px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: .3s;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-4px);
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 22px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    font-size: .92rem;
    transition: .3s;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: .9rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 3px;
}

.footer-bottom {
    text-align: center;
    padding: 26px 0;
    font-size: .85rem;
}

/* ==================================================
   BACK TO TOP
================================================== */

.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 15px 30px rgba(11, 99, 182, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: .35s;
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #084D8C;
    color: #fff;
}

/* ==================================================
   NEW SECTIONS - RESPONSIVE
================================================== */

@media (max-width: 991px) {

    .flow-steps {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .flow-steps::before {
        display: none;
    }

    .demolition-grid {
        margin-top: 40px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .flow-steps {
        grid-template-columns: 1fr;
    }

    .demolition-grid {
        grid-template-columns: 1fr;
    }

    .demolition-box:nth-child(2),
    .demolition-box:nth-child(4) {
        margin-top: 0;
    }

    .recovery-stats {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .contact-form {
        padding: 28px;
    }

    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 42px;
        height: 42px;
    }

}