/* HERO biar jadi anchor */
.hero-section {
    position: relative;
    z-index: 1;
}

/* SECTION CONTACT FLOAT */
.contact-floating-section {
    position: relative;
    margin-top: -120px;
    /* ini yang bikin naik */
    z-index: 5;
    padding-bottom: 4rem;
}

/* Container biar tetap center */
.contact-container {
    max-width: 1000px;
    margin: auto;
    padding: 0 1rem;
}

.contact-card-modern {
    background: #1f4d1f;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

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

    .contact-map-modern {
        height: 250px;
    }
}

.contact-map-modern {
    background: #ddd;
    min-height: 420px;
}

.contact-map-modern iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-modern {
    padding: 2.5rem;
    color: #fff;
}

.contact-form-modern h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.field {
    margin-bottom: 1.2rem;
}

.field label {
    display: block;
    font-size: .9rem;
    margin-bottom: .4rem;
}

.field label span {
    color: #ff4d4d;
}

.field input,
.field textarea {
    width: 100%;
    padding: .75rem 1rem;
    border-radius: 6px;
    border: none;
    outline: none;
    font-size: .9rem;
    background: #f5f5f5;
    color: #333;
    box-sizing: border-box;
}

.field input:focus,
.field textarea:focus {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .2);
}

.contact-form-modern button {
    width: 100%;
    padding: .85rem;
    background: #0d2f0d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form-modern button:hover {
    background: #2d6a2d;
}

.alert-msg {
    border-radius: 6px;
    padding: .75rem 1rem;
    margin-bottom: 1rem;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.alert-success-msg {
    background: rgba(45, 138, 45, .25);
    border: 1px solid rgba(45, 138, 45, .5);
    color: #b2f5b2;
}

.alert-error-msg {
    background: rgba(220, 53, 69, .2);
    border: 1px solid rgba(220, 53, 69, .4);
    color: #ffb3b3;
}

.field-error {
    color: #ff8080;
    font-size: .8rem;
    margin-top: .25rem;
    display: block;
}