:root {
    --primary-green: #087a68;
    --dark-green: #075e52;
    --light-green: #eaf8f3;
    --text-dark: #15201d;
    --text-light: #65716d;
    --white: #ffffff;
    --border-color: #e8eeeb;
    --accent-green: #43c9a7;      /* lighter emerald used for "To Us" */
    --navbar-height: 76px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: #eef3f1;
    -webkit-font-smoothing: antialiased;
}

/* ===================== SECTION ===================== */
.contact-section { padding: 70px 0; }
.contact-section .container { max-width: 1240px; }

.contact-card {
    display: flex;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 40px 90px -40px rgba(8,66,56,.45);
    overflow: hidden;
    position: relative;
}

/* ===================== LEFT (green) ===================== */
.contact-left {
    flex: 1.18 1 0;
    position: relative;
    background:
        radial-gradient(130% 120% at 100% 0%, #0d5f52 0%, #084237 60%, #05332b 100%);
    color: #fff;
    padding: 46px 44px;
    display: flex;
    gap: 10px;
    overflow: hidden;
}
.left-info { flex: 1 1 46%; min-width: 250px; position: relative; z-index: 3; }
.left-visual { flex: 1 1 54%; position: relative; z-index: 2; }

.badge-help {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #d7f3ea;
    font-size: .72rem; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px; border-radius: 30px;
}
.badge-help i { color: var(--accent-green); }

.left-title {
    font-family: var(--title-font);
    font-weight: var(--title-weight);
    font-size: var(--title-size);
    line-height: 1.02;
    /* margin: 20px 0 0; */
    letter-spacing: -1px;
}
.left-title .accent { color: var(--accent-green); display: block; }

.title-rule { display: flex; align-items: center; gap: 8px; margin: 16px 0 22px; }
.title-rule span { width: 54px; height: 3px; background: var(--accent-green); border-radius: 3px; }
.title-rule b { width: 6px; height: 6px; background: var(--accent-green); border-radius: 50%; display: inline-block; }

.left-lead { color: #c8ddd7; font-size: .98rem; line-height: 1.6; max-width: 320px; }

/* contact list */
.c-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.c-item:first-of-type { border-top: none; padding-top: 0; }
.c-ico {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px;
    background: rgba(255,255,255,.10);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
}
.c-item.solid .c-ico { background: var(--primary-green); }
.c-text h6 { font-size: 13px; font-weight: 600; margin: 2px 0 4px; color: #fff; }
.c-text p { font-size: 12px; color: #bcd4ce; margin: 0; line-height: 1.5; }

/* soft wave bottom-left */
.left-wave { position: absolute; left: 0; bottom: 0; width: 180px; opacity: .5; z-index: 1; pointer-events: none; }

/* ---- visual: map + agent + bubbles ---- */
.visual-wrap { position: absolute; inset: 0; }
.map-svg { position: absolute; top: 26px; right: 0; width: 100%; max-width: 420px; opacity: .9; }
.agent-svg { position: absolute; right: 0; bottom: -6px; width: 82%; max-width: 360px; }
.bubble { position: absolute; }
.bubble.chat { top: 40%; left: 30%; }
.bubble.mail { top: 44%; right: 6%; }
.bubble.support {
    top: 55%; left: 42%;
    background: #fff; border-radius: 14px; padding: 8px 14px; text-align: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.bubble.support .n { color: var(--primary-green); font-weight: 800; font-size: 1rem; line-height: 1; }
.bubble.support .t { color: var(--text-light); font-size: .62rem; font-weight: 600; }

/* You can replace the whole .left-visual content with your own illustration:
   <img src="assets/support-agent.png" class="agent-photo" alt="Support"> */

/* ===================== RIGHT (form) ===================== */
.contact-right {
    flex: 1 1 0;
    background: var(--white);
    padding: 46px 44px;
    border-radius: 40px 0 0 40px;
    margin-left: -40px;
    position: relative;
    z-index: 4;
    box-shadow: -30px 0 60px -40px rgba(0,0,0,.25);
}

.form-head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.form-head .tile {
    width: 52px; height: 52px; border-radius: 14px; background: var(--light-green);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-green); font-size: 24px;
}
.form-head h3 { font-size: 1.55rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.form-head .u { width: 46px; height: 3px; background: var(--primary-green); border-radius: 3px; margin-top: 8px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

.field { position: relative; }
.field > i {
    position: absolute; left: 16px; top: 18px;
    color: var(--primary-green); font-size: 19px;
}
.field textarea + i, .field.area > i { top: 18px; }
.field input, .field textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 16px 15px 46px;
    font-family: inherit; font-size: .92rem; color: var(--text-dark);
    background: #fdfefe;
    transition: border-color .25s, box-shadow .25s;
    outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9aa7a2; }
.field input:focus, .field textarea:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(8,122,104,.12);
}

.btn-send {
    grid-column: 1 / -1;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(90deg, var(--dark-green), var(--primary-green));
    color: #fff; font-weight: 600; font-size: 1.02rem;
    border: none; border-radius: 12px; padding: 16px; cursor: pointer;
    transition: transform .25s, box-shadow .25s, filter .25s;
    box-shadow: 0 16px 30px -14px rgba(8,122,104,.7);
}
.btn-send:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 20px 36px -14px rgba(8,122,104,.75); }

.privacy { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 18px 0 0; color: var(--text-light); font-size: .84rem; }
.privacy i { color: var(--primary-green); font-size: 17px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px){
    .contact-card { flex-direction: column; border-radius: 24px; }
    .contact-left { flex-direction: column; padding: 38px 30px 30px; }
    .left-info { flex: none; }
    .left-visual { display: none; }
    .contact-right { margin-left: 0; border-radius: 0; padding: 38px 30px; box-shadow: none; }
}
@media (max-width: 575px){
    .contact-section { padding: 40px 0; }
    .contact-section .container { padding-left: 14px; padding-right: 14px; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-left, .contact-right { padding: 30px 22px; }
    .form-head h3 { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce){
    .btn-send { transition: none; }
    [data-aos] { transition: none !important; transform: none !important; opacity: 1 !important; }
}
