@charset "UTF-8";
/* ==========================================================================
   Contact Us – HeveaBoard
   ORIGINAL design, taken from /ramadhan/css/styles.css (contact form section)
   and scoped to this page so it can't affect the menu or other pages.
   Needs global.css (loaded by [hb_header]).
   ========================================================================== */

/* ── Card ── */
.container,
.container *,
.container *::before,
.container *::after { box-sizing: border-box; }

.container {
    width: 89.58333333333333%;
    max-width: 1720px;
    margin: 6.25vw auto 5.72916666666667vw;
    padding: 3.64583333333333vw 4.16666666666667%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    border-radius: 10px;
}

.container h2 {
    margin-bottom: .4em;
    text-align: center;
    font-family: 'AlibabaPuHuiTi-2-45-Light', sans-serif;
    font-size: clamp(1.25em, 2.5vw, 2em);
    color: #000;
}

.container .hbb-title {
    display: block;
    margin: 0 0 .5em;
    text-align: center;
    font-family: 'AlibabaPuHuiTi-2-45-Light', sans-serif;
    font-size: clamp(1.75em, 2.34375vw, 3em);
    line-height: 1.2;
    letter-spacing: .01em;
}

.container p {
    margin-bottom: 2em;
    text-align: center;
    font-size: clamp(.875em, 1.04166vw, 1.125em);
    line-height: 1.7;
    color: #444;
}

/* ── Form grid (2 columns) ── */
.container form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(14px, 1.302083vw, 25px) clamp(20px, 2.08333vw, 40px);
    align-items: start;
}
.container .form-group { grid-column: span 1; min-width: 0; margin-bottom: 0; }
.container .form-group.full-width { grid-column: span 2; }

.container label {
    display: block;
    margin-bottom: 6px;
    font-size: clamp(.8125em, .9375vw, 1em);
    font-weight: 400;
    color: #333;
}
.container .required { color: red; }

.container input,
.container textarea,
.container select {
    width: 100%;
    box-sizing: border-box;
    margin-top: 3px;
    padding: clamp(9px, .677083vw, 13px) clamp(10px, .78125vw, 15px);
    font-family: 'AlibabaPuHuiTi-2-45-Light', sans-serif;
    font-size: clamp(14px, .9375vw, 17px);
    line-height: 1.5;
    color: #262626;
    background-color: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
    transition: border-color .2s ease, box-shadow .2s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}
.container select {
    padding-right: 36px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.container input:focus,
.container textarea:focus,
.container select:focus {
    outline: none;
    border-color: #323232;
    box-shadow: 0 0 0 3px rgba(50, 50, 50, .12);
}
.container input::placeholder,
.container textarea::placeholder { color: #aaa; }
.container textarea { resize: vertical; min-height: clamp(120px, 9.375vw, 180px); }

.container .form-group:has(> button[type="submit"]) { text-align: center; }
.container button[type="submit"] {
    width: auto;
    min-width: 200px;
    margin-top: .5em;
    padding: 14px 48px;
    font-family: 'AlibabaPuHuiTi-2-45-Light', sans-serif;
    font-size: clamp(15px, 1.04166vw, 18px);
    font-weight: 400;
    letter-spacing: .04em;
    color: #fff;
    background-color: #323232;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .25s ease, transform .15s ease;
    -webkit-tap-highlight-color: transparent;
}
.container button[type="submit"]:hover  { background-color: #000; }
.container button[type="submit"]:active { transform: translateY(1px); }
.container button[type="submit"]:disabled { opacity: .6; cursor: wait; }

/* Telephone: country code + number on one row */
.container .phone-row { display: flex; gap: 8px; }
.container .phone-row select { flex: 0 0 auto; width: 42%; max-width: 230px; }
.container .phone-row input  { flex: 1 1 auto; min-width: 0; }

/* Honeypot – off-screen, takes no grid cell, never seen by people */
.container .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Contact details, map, social ── */
.contact-info { margin-top: clamp(20px, 2.08333vw, 40px); }
.contact-info p { margin: 5px 0; font-size: clamp(14px, 1.04166vw, 18px); color: #000; }

.no-select { -webkit-user-select: none; user-select: none; }

.container .map iframe {
    display: block;
    width: 100%;
    height: clamp(300px, 26.041666vw, 500px);
    border: 0;
    border-radius: 10px;
}

.social-media { display: flex; justify-content: center; margin-top: clamp(16px, 1.5625vw, 30px); }
.social-media a { margin: 0 10px; font-size: clamp(20px, 1.5625vw, 28px); color: #000; text-decoration: none; }
.social-media a:hover { color: #0056b3; }

/* "Our Locations" fade-in (same effect as before, pure CSS) */
.container .wow { animation: hbFadeInUp 1s ease-in-out; }
@keyframes hbFadeInUp {
    from { opacity: 0; transform: translate3d(0, 100%, 0); }
    to   { opacity: 1; transform: none; }
}

/* ── Responsive (same breakpoints as the original) ── */
@media screen and (min-width: 1600px) {
    .container { padding: 3.125vw 3.64583333333333%; }
    .container h2 { font-size: 2em; }
    .container form { gap: clamp(16px, 1.5625vw, 28px) clamp(24px, 2.5vw, 48px); }
    .container input, .container textarea, .container select { font-size: 18px; }
    .container button[type="submit"] { font-size: 18px; padding: 16px 56px; }
}

@media screen and (max-width: 810px) {
    .container { width: 94%; padding: 6vw 5%; margin: 14vw auto 10vw; border-radius: 8px; }
    .container form { grid-template-columns: 1fr; gap: 4vw 0; }
    .container .form-group,
    .container .form-group.full-width { grid-column: span 1; }
    .container h2 { font-size: 1.375em; }
    .container button[type="submit"] { padding: 13px 40px; font-size: 15px; }
    .container p { font-size: .9375em; margin-bottom: 1.5em; }
}

/* Android/iOS: inputs ≥16px so the phone doesn't zoom in when typing */
@media screen and (max-width: 768px) {
    .container input, .container textarea, .container select { font-size: 16px; }
}