/* Contact Hero / Banner */
.contact-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    margin-top: 72px;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../image/12-1024x1024.png') center/cover no-repeat;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(29, 44, 41, 0.32) 0%, rgba(29, 44, 41, 0.16) 55%, transparent 100%);
}

.contact-hero .container {
    position: relative;
    z-index: 1;
    color: #fff;
    padding-top: 90px;
    padding-bottom: 90px;
}

.contact-hero h1 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.contact-hero p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 520px;
    opacity: 0.95;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: #fff;
}

.contact-head {
    text-align: center;
    margin-bottom: 60px;
}

.contact-head .section-label.with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #6c757d;
    margin-bottom: 16px;
}

.contact-head .section-label.with-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.contact-head h2 {
    font-size: 42px;
    color: #1d2c29;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-head > p {
    font-size: 15px;
    color: #6c757d;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    background: #4a5a50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1d2c29;
    margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
    font-size: 14px;
    line-height: 1.6;
    color: #6c757d;
    text-decoration: none;
}

.contact-card a:hover {
    color: #d4a373;
}

/* Contact Layout */
.contact-layout {
    display: flex;
    justify-content: center;
}

/* Form */
.contact-form-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background: #f5f8f6;
    border-radius: 24px;
    padding: 42px;
    display: flex;
    flex-direction: column;
}

.contact-form-wrapper h3 {
    font-size: 26px;
    color: #1d2c29;
    margin-bottom: 28px;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #1d2c29;
}

.form-group label .required {
    color: #dc3545;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dde3e0;
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    color: #1d2c29;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a373;
    box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: center;
    background: #d4a373;
    color: #1d2c29;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    margin-top: 6px;
}

.btn-submit:hover {
    background: #c08a58;
    transform: translateY(-2px);
}

.form-success {
    display: none;
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    color: #2e7d32;
    margin-top: 18px;
}

/* Contact CTA */
.contact-cta {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 140px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 60px;
}

.contact-cta-bg {
    position: absolute;
    inset: 0;
    background: url('../image/1-2048x1305.png') center/cover no-repeat;
}

.contact-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.55) 100%);
}

.contact-cta-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.contact-cta-content {
    max-width: 650px;
    padding: 0 60px;
    color: #fff;
    text-align: left;
}

.contact-cta-content h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-cta-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 34px;
    color: rgba(255,255,255,0.85);
}

.btn-cta {
    display: inline-block;
    background: #f0c84a;
    color: #1a1a1a;
    padding: 14px 34px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(240,200,74,0.35);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-form-wrapper {
        padding: 32px;
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-cta {
        padding: 100px 0;
    }

    .contact-cta-content {
        max-width: 520px;
        padding: 0 40px;
    }

    .contact-cta-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 340px;
    }

    .contact-hero h1 {
        font-size: 42px;
    }

    .contact-head h2 {
        font-size: 34px;
    }

    .contact-section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }

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

    .contact-card {
        padding: 24px;
    }

    .contact-cta {
        padding: 100px 0;
        align-items: center;
        justify-content: center;
    }

    .contact-cta-content {
        margin: 0 auto;
        text-align: center;
    }

    .contact-cta-content h2 {
        font-size: 32px;
    }

    .contact-cta-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.55) 100%);
    }

    .contact-cta-content {
        padding: 0 20px;
    }

    .contact-cta-content h2 {
        font-size: 28px;
    }
}
