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

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f6f9;
    color: #333;
    padding-top: 70px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* =========================
   NAVBAR (GLASS EFFECT)
========================= */
.navbar {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(12px);
    transition: 0.4s;
}

.navbar.scrolled {
    background: #000 !important;
}

.navbar-brand img {
    height: 42px;
}

/* MENU */
.nav-link {
    color: #fff !important;
    margin-left: 18px;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* LINE HOVER */
.nav-link::after {
    content: "";
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #00ffcc, #00c896);
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.4s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* =========================
   HERO (FIX TOTAL)
========================= */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url('../images/bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* PENTING: Biar teks ga ketutup */
.hero > div {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: #ffffff !important;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero p {
    color: #dddddd !important;
    font-size: 18px;
    margin-top: 12px;
}

/* =========================
   HERO SUB PAGE
========================= */
.hero-about {
    height: 280px;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url('../images/bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #fff;
}

.hero-about h2 {
    font-size: 38px;
    font-weight: 600;
}

.hero-about p {
    opacity: 0.85;
}

/* =========================
   CONTAINER FIX
========================= */
.container,
.container-fluid {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   ROW FIX (ANTI MIRING)
========================= */
.row {
    --bs-gutter-x: 1.5rem;
    margin-left: calc(-.5 * var(--bs-gutter-x));
    margin-right: calc(-.5 * var(--bs-gutter-x));
}

/* =========================
   CARD (FIX BUG HILANG)
========================= */
.card {
    border: none;
    border-radius: 18px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;

    /* FIX BUG HILANG */
    opacity: 1 !important;
    transform: none !important;
}

/* CARD HOVER */
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
}

/* TOP LINE */
.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(90deg, #00ffcc, #00c896);
}

.card h3, 
.card h4 {
    color: #0a3d2c;
    margin-bottom: 10px;
    font-weight: 600;
}

.card p {
    color: #555;
}

/* =========================
   CONTENT BOX
========================= */
.content {
    background: #ffffff;
    border-radius: 18px;
    padding: 40px;
    margin-top: -60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* =========================
   BUTTON
========================= */
.btn-custom {
    background: linear-gradient(45deg, #00ffcc, #00c896);
    color: #000;
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,255,200,0.4);
}

/* =========================
   IMAGE
========================= */
img {
    border-radius: 12px;
    transition: 0.4s;
    max-width: 100%;
}

img:hover {
    transform: scale(1.03);
}

/* =========================
   FORM
========================= */
form input,
form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

form input:focus,
form textarea:focus {
    border-color: #00c896;
    outline: none;
    box-shadow: 0 0 8px rgba(0,200,150,0.3);
}

/* =========================
   FOOTER
========================= */
footer {
    background: #000;
    color: #aaa;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
}

/* =========================
   MAP FIX
========================= */
iframe {
    display: block;
    width: 100%;
    border-radius: 10px;
}

/* =========================
   SPACING FIX
========================= */
section {
    padding: 40px 0;
}

.mt-5, .mb-5 {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}