/* =========================================================
   ROOT VARIABLES – CRD BRAND (SOFT & MODERN)
========================================================= */
:root {
    /* Brand */
    --crd-red: #b23a3a;
    --crd-red-soft: #f6eaea;

    --crd-green: #2f7f6f;
    --crd-green-soft: #eaf4f1;

    --crd-yellow-soft: #fff4d6;

    /* Neutral */
    --text-main: #1f2933;
    --text-muted: #64748b;

    --bg-main: #ffffff;
    --bg-soft: #f7f9fb;
}

/* =========================================================
   RESET & BASE
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
}

h1,
h2,
h3 {
    letter-spacing: -0.4px;
}

p {
    color: #272d36;
}

/* =========================================================
   LAYOUT
========================================================= */

/* =========================================================
   HERO – CENTER, CINEMATIC & ELEGANT
========================================================= */

.hero-full {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(rgba(15, 23, 42, 0.65),
            rgba(15, 23, 42, 0.65)),
        url('/assets/images/hero.webp');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Overlay tambahan agar teks lebih kontras */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.45));
}

/* CENTER CONTENT */
.hero-center {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

/* TITLE */
.hero-title {
    font-size: 64px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -1px;
}

/* SUBTITLE */
.hero-subtitle {
    margin-top: 18px;
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, .9);
}

/* =========================================================
   HERO ANIMATION – SMOOTH & PREMIUM
========================================================= */

.reveal-hero {
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeUp 1.2s ease-out forwards;
}

.reveal-hero.delay-1 {
    animation-delay: .35s;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 52px;
    }

    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mb5 {
    margin-bottom: 40px;
}

.mb1 {
    margin-bottom: 10px;
}

.mb3 {
    margin-bottom: 30px;
}

.container {
    max-width: 1100px;
    margin: auto;
}

.section {
    padding: 90px 20px;
    background: var(--bg-main);
}

.section.alt {
    background: var(--bg-soft);
}

/* =========================================================
   NAVBAR
========================================================= */
.navbar {
    background:
            linear-gradient(180deg,
            #0b3a33 0%,
                #0f172a 100%
                );
    position: sticky;
    top: 0;
    z-index: 100;
    opacity: 0.89;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.navbar a {
    color: #f8fafc;
    font-weight: 500;
    text-decoration: none;
}

.navbar a:hover {
    color: var(--crd-red);
}

/* =========================================================
   NAVBAR DROPDOWN – PROJECTS
========================================================= */

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* SUBMENU WRAPPER */
.has-submenu {
    position: relative;
}

/* ARROW */
.has-submenu .arrow {
    font-size: 11px;
    margin-left: 6px;
    opacity: .8;
}

/* SUBMENU BOX */
.submenu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 200px;

    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(6px);

    border-radius: 14px;
    padding: 10px 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all .25s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
    z-index: 999;
}

/* SHOW ON HOVER */
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* SUBMENU ITEMS */
.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    color: #e5e7eb;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

/* HOVER EFFECT */
.submenu a:hover {
    background: rgba(94, 234, 212, 0.12);
    color: #5eead4;
}

.menu {
    list-style: none;
    display: flex;
    gap: 24px;
}

.lang a {
    font-size: 14px;
    opacity: 0.8;
}

/* =========================================================
   HERO SLIDER
========================================================= */
.hero-slider {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom,
            rgba(31, 41, 51, .75),
            rgba(31, 41, 51, .45));
}

.hero-content h1 {
    font-size: 48px;
    color: #fff;
}

.hero-content p {
    font-size: 18px;
    margin-top: 10px;
    color: #e5e7eb;
}

/* =========================================================
   SECTION TITLE
========================================================= */
.section-title {
    font-size: 34px;
    margin-bottom: 30px;
    color: #064e3b;
}

/* =========================================================
   GRID SYSTEM
========================================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

/* =========================================================
   CARD – ELEGANT & SOFT
========================================================= */
.card {
    background: linear-gradient(135deg,
            var(--bg-main),
            var(--crd-green-soft));
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    transition: transform .35s ease, box-shadow .35s ease;
}

.card h3 {
    color: var(--crd-green);
    margin-bottom: 12px;
}

.card p {
    font-size: 15px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, .08);
    border-color: var(--crd-green);
}

.card::after {
    content: '';
    display: block;
    width: 42px;
    height: 3px;
    background: linear-gradient(90deg,
            var(--crd-green),
            var(--crd-red));
    margin-top: 20px;
    border-radius: 4px;
}

/* =========================================================
   CHECK LIST
========================================================= */
.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    font-size: 16px;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e;
    font-weight: bold;
}

/* =========================================================
   COMMITMENT SECTION
========================================================= */
.commitment-section {
    background: linear-gradient(135deg,
            #0f3d32,
            #116a53);
    text-align: center;
    color: #e5e7eb;
}

.commitment-section h2 {
    color: #ffffff;
}

.commitment-text {
    max-width: 820px;
    margin: auto;
    font-size: 18px;
    line-height: 1.8;
    color: #aeb9c8;
}

.commitment-text p {
    color: #aeb9c8;
}

/* =========================================================
   STATS SECTION
========================================================= */
.stats-section {
    background: var(--bg-soft);
    text-align: center;
}

.stat-card {
    padding: 20px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--crd-yellow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--crd-green);
}

.stat-card p {
    font-size: 15px;
    color: #475569;
}

/* =========================================================
   PROJECT
========================================================= */
.project-card img {
    width: 100%;
    border-radius: 14px;
}

/* =========================================================
   WHATSAPP FLOAT
========================================================= */
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    color: #fff;
    padding: 14px 18px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    z-index: 99;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: none;
}

/* =========================================================
   RESPONSIVE – TABLET
========================================================= */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 40px;
    }

    .section-title {
        font-size: 30px;
    }
}

/* =========================================================
   RESPONSIVE – MOBILE
========================================================= */
@media (max-width: 768px) {

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .menu {
        flex-wrap: wrap;
        gap: 16px;
    }

    .hero-slider {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section {
        padding: 64px 18px;
    }

    .section-title {
        font-size: 26px;
        text-align: center;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .commitment-text {
        font-size: 16px;
        padding: 0 10px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* =========================================================
   RESPONSIVE – SMALL MOBILE
========================================================= */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-content p {
        font-size: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .card {
        padding: 24px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
    }

    .stat-number {
        font-size: 26px;
    }
}


/* =========================================================
   CONTACT FORM – MODERN & SOFT
========================================================= */

.contact-form {
    max-width: 720px;
    margin: auto;
    background: var(--bg-main);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .06);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .25s ease, box-shadow .25s ease;
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--crd-green);
    box-shadow: 0 0 0 3px var(--crd-green-soft);
}

/* BUTTON */
.btn-primary {
    margin-top: 24px;
    background: linear-gradient(135deg,
            var(--crd-green),
            #3fa28c);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
}

/* =========================================================
   CONTACT FORM – RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    .contact-form {
        padding: 28px 22px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
   FOOTER – MODERN & ELEGANT
========================================================= */

.site-footer {
    background:
        linear-gradient(180deg,
            #0f172a 0%,
            #0b3a33 100%);
    color: #cbd5e1;
    padding: 70px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-col p {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.7;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    font-size: 14px;
    margin-bottom: 10px;
    color: #cbd5e1;
}

.footer-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color .25s ease;
}

.footer-list a:hover {
    color: var(--crd-yellow-soft);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

/* =========================================================
   FOOTER – RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    .site-footer {
        text-align: center;
    }

    .footer-grid {
        gap: 32px;
    }
}

/* =========================================================
   FLOATING WHATSAPP BUTTON
========================================================= */

.wa-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    background: linear-gradient(135deg,
            #25d366,
            #1ebe5d);
    color: #fff;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
    z-index: 999;
    transition: transform .25s ease, box-shadow .25s ease;
}

.wa-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}

@media (max-width: 480px) {
    .wa-float {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* CONTACT MAP */
.contact-map {
    background: var(--bg-soft);
}

/* LEAFLET MAP */
#map {
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
}

.map-open-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--crd-green), var(--crd-red));
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.map-open-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
}

/* MAP SECTION */
.contact-map {
    background: var(--bg-soft);
}

.map-wrapper {
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
}

#map {
    width: 100%;
    height: 100%;
}

/* Mobile */
@media (max-width: 768px) {
    .map-wrapper {
        height: 300px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    #map {
        height: 300px;
    }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

.contact-section {
    background: linear-gradient(180deg, #f7faf9, #ffffff);
    padding: 100px 0;
}

.contact-header {
    max-width: 600px;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #064e3b;
    letter-spacing: -1px;
}

.contact-header p {
    margin-top: 12px;
    font-size: 18px;
    color: #64748b;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-card,
.map-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, .06),
        0 8px 16px rgba(0, 0, 0, .04);
}

.contact-form label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    transition: all .25s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--crd-green);
    box-shadow: 0 0 0 4px rgba(47, 127, 111, .12);
}

.btn-primary {
    margin-top: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg,
            var(--crd-green),
            #3aa17e);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .15);
}

.map-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: #064e3b;
}

.map-wrapper {
    width: 100%;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
}

#map {
    width: 100%;
    height: 100%;
}

.map-link {
    display: inline-block;
    margin-top: 14px;
    font-weight: 600;
    color: var(--crd-green);
    text-decoration: none;
}

/* PAGE BANNER */
.page-banner {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(10, 30, 35, 0.85),
            rgba(10, 30, 35, 0.55));
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.page-banner h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1px;
}

.page-banner p {
    margin-top: 12px;
    font-size: 18px;
    color: rgba(255, 255, 255, .85);
}

@media (max-width: 768px) {
    .page-banner {
        min-height: 260px;
    }

    .page-banner h1 {
        font-size: 34px;
    }
}

.page-banner-content {
    animation: fadeUp .9s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.logo {
    height: 38px;
    width: auto;
    transition: transform .3s ease;
}

.logo:hover {
    transform: scale(1.03);
}

/* FOOTER LOGO */
.footer-brand {
    max-width: 320px;
}

.footer-logo {
    height: 42px;
    width: auto;
    margin-bottom: 16px;
    opacity: .95;
}

@media (max-width: 768px) {
    .footer-logo {
        margin: 0 auto 16px;
        display: block;
    }
}

.footer-logo {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-logo:hover {
    opacity: 1;
}