@font-face {
    font-family: 'arkipelagoregular';
    src: url('../fonts/arkipelago_1.003-webfont.woff2') format('woff2'),
    url('../fonts/arkipelago_1.003-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #faf9f7;
}

/* Hero section */
.hero {
    position: relative;
    height: calc(100vh - 10px); /* trừ chiều cao của header (top-bar + navbar) */
    background: url('../images/contact/hero-background.jpg') center/cover no-repeat;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: -90px; /* trừ chiều cao header 1 hàng — header trong suốt đè lên hình hero (transparent header) */
}

/* Optional overlay for better text contrast */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
}

.hero .display-wrapper{
    z-index: 12;
}

.hero .display-wrapper .heading-title {
    font-size: 40px;
    text-transform: none;
}

.hero .display-wrapper .heading-title2 {
    font-size: 80px;
    line-height: 1;
}

/*...........End header...............*/

/*...........Start contact-area...............*/
.contact-area {
    background-color: #fff;
    color: #000;
}

.contact-subtitle {
    color: #79A342;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.contact-title {
    font-weight: 700;
}

.contact-divider .contact-line {
    width: 60px;
    height: 2px;
    background-color: #79A342;
}

.contact-divider .contact-dot {
    width: 6px;
    height: 6px;
    background-color: #79A342;
    border-radius: 50%;
}

.contact-item {
    text-align: center;
}

.contact-icon {
    width: 100px;
    height: 100px;
    background-color: #F3F8F1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.contact-icon i {
    color: #79A342;
    font-size: 32px;
}

.contact-item p {
    color: #333;
    font-size: 1rem;
}
/*...........End contact-area...............*/

/*...........Start contact-section...............*/
.contact-section {
    background-color: var(--text-light);
    position: relative;
    overflow: hidden;
    padding-left: 120px;
}

/* Map responsive: lấp đầy cột, không tràn màn hình */
.contact-section iframe {
    width: 100%;
    max-width: 100%;
    height: 450px;
    border: 0;
}

.bg-title {
    font-size: 9rem;
    font-weight: 800;
    letter-spacing: 5px;
    opacity: 0.05;
    color: #fff;
    position: absolute;
    left: 50%;
    top: 5%;
    transform: translateX(-50%);
    z-index: 0;
    user-select: none;
    pointer-events: none;
}

.contact-header {
    position: relative;
    z-index: 1;
}

.contact-header .script-text {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0;
}

.contact-header h2 {
    color: #fff;
    letter-spacing: 2px;
}

.form-control {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.75rem 0;
}

.form-control:focus {
    box-shadow: none;
    border-color: #d4a373;
}

.text-white-68 {
    color: rgba(255, 255, 255, 0.68) !important;
}

.btn-light {
    background-color: #fff;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-light:hover {
    background-color: #d4a373;
    color: #fff;
}
/*...........End contact-section...............*/

@media (max-width: 992px) {
    .hero {
        margin-top: unset;
        height: calc(70vh);
    }

    .hero .display-wrapper .heading-title {
        font-size: 20px;
    }

    .hero .display-wrapper .heading-title2 {
        font-size: 40px;
    }

    .hero .display-wrapper{
        margin-top: 100px;
    }

    /* Bỏ padding-left 120px để nội dung canh giữa, không tràn trên mobile */
    .contact-section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Chữ nền OUR PASSION nhỏ lại cho vừa màn hình */
    .bg-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }

    /* Khi form + map xếp dọc → thêm khoảng cách */
    .contact-section form {
        margin-bottom: 2rem;
    }

    .contact-section iframe {
        height: 300px;
    }
}
