/* ================================================
   Contact Us Page — Figma-Exact Styles
   ================================================ */

:root {
    --cu-gold: #E8BA00;
    --cu-border: rgba(107, 114, 128, 0.12);
    --cu-border-input: rgba(107, 114, 128, 0.3);
    --cu-text: #111827;
    --cu-muted: #6B7280;
    --cu-input-bg: #FCFBFB;
    --cu-form-bg: #F8F8F8;
    --cu-outer-bg: rgba(248, 248, 248, 0.4);
}

body,
.contact-us-wrapper,
.contact-us-wrapper * {
    font-family: 'Rubik', sans-serif;
}

/* ── Page wrapper ─────────────────────────────── */
.contact-us-wrapper {
    position: relative;
    padding: 60px 0 100px;
    background: #fff;
    overflow: hidden;
}

/* Gold glow — top right */
.contact-us-wrapper::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 640px;
    height: 640px;
    background: radial-gradient(circle, rgba(232, 186, 0, 0.10) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* 90% container */
.contact-us-container {
    position: relative;
    z-index: 1;
    max-width: 90% !important;
    width: 90% !important;
}

/* ══════════════════════════════════════════════════
   OUTER CARD  — wraps everything
   Figma: background rgba(248,248,248,0.4),
          border 1px solid rgba(107,114,128,0.12),
          box-shadow 1px 4px 10px rgba(0,0,0,0.1),
          border-radius 20px
   ══════════════════════════════════════════════════ */
.contact-outer-card {
    background: var(--cu-outer-bg);
    border: 1px solid var(--cu-border);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    /* spacing from header */
}

/* ── Header — centered title + subtitle ───────── */
.contact-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 10px;
    margin-bottom: 20px;
}

/* Figma: 48px, weight 400, #E8BA00 */
.contact-title {
    font-size: 48px;
    font-weight: 400;
    line-height: 57px;
    color: var(--cu-gold);
    margin: 0;
}

/* Figma: 32px, weight 300, #6B7280 */
.contact-subtitle {
    font-size: 32px;
    font-weight: 300;
    line-height: 38px;
    color: var(--cu-muted);
    margin: 0;
    max-width: 1034px;
}

/* ── Divider — full width minus some padding ──── */
/* Figma: 1220px line inside 1240px frame with 10px padding */
.contact-divider {
    border: none;
    border-top: 1px solid var(--cu-border);
    margin: 0 -10px 0 -10px;
    padding: 0;
    margin-bottom: 30px;
}

/* ══════════════════════════════════════════════════
   TWO-COLUMN BODY
   Figma proportions: Info ~33%, Form ~60%, gap ~38px
   ══════════════════════════════════════════════════ */
.contact-body-row {
    display: flex;
    gap: 38px;
    align-items: flex-start;
}

.contact-info-col {
    flex: 0 0 33%;
    max-width: 33%;
}

.contact-form-col {
    flex: 1 1 0;
    min-width: 0;
}

/* ══════════════════════════════════════════════════
   FORM INNER CARD
   Figma: background #F8F8F8,
          border 1px solid rgba(107,114,128,0.12),
          box-shadow 1px 4px 10px rgba(0,0,0,0.1),
          border-radius 15px
   ══════════════════════════════════════════════════ */
.contact-form-card {
    background: var(--cu-form-bg);
    border: 1px solid var(--cu-border);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    padding: 30px;
}

/* ══════════════════════════════════════════════════
   INFO SIDEBAR
   ══════════════════════════════════════════════════ */

/* Figma: 24px, weight 400, #111827 */
.info-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    color: var(--cu-text);
    margin-bottom: 30px;
}

html[dir="rtl"] .info-title {
    text-align: right;
}

html[dir="ltr"] .info-title {
    text-align: left;
}

/* ── Contact items ────────────────────────────── */
.info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--cu-border);
}

html[dir="ltr"] .info-item {
    align-items: flex-start;
}

.info-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Figma: 18px, weight 400, #111827 */
.info-item-label {
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    color: var(--cu-text);
}

/* Value row: phone + icons */
.info-item-value {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 300;
    line-height: 21px;
    color: var(--cu-text);
    text-decoration: none;
    direction: ltr;
}

html[dir="rtl"] .info-item-value {
    flex-direction: row-reverse;
}

/* Figma: icons 25×25, color #E8BA00 */
.info-item-value i {
    color: var(--cu-gold);
    font-size: 20px;
    flex-shrink: 0;
}

.info-item-value .icon-wa {
    color: var(--cu-gold);
}

/* ── Map ──────────────────────────────────────── */
/* Figma: width 409 (full info column), height 314, border-radius 15px */
.contact-map-box {
    margin-top: 20px;
    border-radius: 15px;
    overflow: hidden;
    height: 314px;
    width: 100%;
}

.contact-map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    border-radius: 15px;
}

/* ══════════════════════════════════════════════════
   FORM ELEMENTS
   ══════════════════════════════════════════════════ */

/* Subject selector */
.subject-selection {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

/* Figma: 24px, weight 400, #111827 */
.subject-label {
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    color: var(--cu-text);
    margin-bottom: 20px;
}

html[dir="rtl"] .subject-label {
    align-self: flex-start;
}

html[dir="ltr"] .subject-label {
    align-self: flex-end;
}

/* Radio row */
/* Figma: gap 46px between options */
.subject-options {
    display: flex;
    gap: 46px;
    align-items: center;
}

html[dir="rtl"] .subject-options {
    flex-direction: row;
}

/* Figma: 18px, weight 300, gap 10px between radio and text */
.custom-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 300;
    line-height: 21px;
    color: var(--cu-text);
    user-select: none;
}

/* Figma: 18×18, border 2px solid #E8BA00, border-radius 21px */
.custom-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--cu-gold);
    border-radius: 21px;
    background: rgba(232, 186, 0, 0.1);
    outline: none;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: background .2s;
    margin: 0;
}

.custom-radio input[type="radio"]:checked {
    background: var(--cu-gold);
}

/* Checkmark inside selected radio */
.custom-radio input[type="radio"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    color: #fff;
    font-weight: 700;
}

/* ── Labels ───────────────────────────────────── */
/* Figma: 20px, weight 400, #111827 */
.contact-input-group {
    margin-bottom: 20px;
}

.contact-input-group>label {
    display: block;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: var(--cu-text);
    margin-bottom: 18px;
}

html[dir="rtl"] .contact-input-group>label {
    text-align: right;
}

html[dir="ltr"] .contact-input-group>label {
    text-align: left;
}

.label-required {
    color: #f44;
    margin: 0 3px;
}

/* ── Inputs ───────────────────────────────────── */
/* Figma: bg #FCFBFB, border 1px solid rgba(107,114,128,0.3),
          border-radius 15px, height 65px,
          placeholder 18px weight 300 #6B7280 */
.contact-input-group .form-control {
    background: var(--cu-input-bg);
    border: 1px solid var(--cu-border-input);
    border-radius: 15px;
    height: 65px;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 300;
    line-height: 21px;
    color: var(--cu-text);
    box-shadow: none;
    transition: border-color .25s;
    width: 100%;
}

.contact-input-group .form-control:focus {
    border-color: var(--cu-gold);
    outline: none;
    box-shadow: none;
}

.contact-input-group .form-control::placeholder {
    font-size: 18px;
    font-weight: 300;
    color: var(--cu-muted);
}

/* Figma: textarea height 140px */
.contact-input-group textarea.form-control {
    height: 140px;
    padding: 20px;
    resize: none;
}

/* ── Submit button ────────────────────────────── */
/* Figma: linear-gradient(178.83deg, #FFFFFF -36.69%, #E8BA00 99.01%),
          border 1px solid rgba(107,114,128,0.12),
          box-shadow 1px 4px 10px rgba(0,0,0,0.1) inset 4px 4px 15px rgba(232,186,0,0.3),
          border-radius 15px, height 60px, font 18px weight 500 */
.btn-contact-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    margin-top: 10px;
    border: 1px solid var(--cu-border);
    border-radius: 15px;
    background: linear-gradient(178.83deg, #FFFFFF -36.69%, #E8BA00 99.01%);
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.1), inset 4px 4px 15px rgba(232, 186, 0, 0.3);
    font-size: 18px;
    font-weight: 500;
    line-height: 21px;
    color: var(--cu-text);
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}

.btn-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 1px 6px 16px rgba(0, 0, 0, 0.14), inset 4px 4px 15px rgba(232, 186, 0, 0.3);
    color: var(--cu-text);
}

/* ══════════════════════════════════════════════════
   RTL / LTR column ordering
   ══════════════════════════════════════════════════ */
/* RTL: form is order 2 (right), info is order 1 (left) — handled in Blade */
/* LTR: form is first (left), info is second (right) — handled in Blade */

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .contact-outer-card {
        padding: 24px 16px;
    }

    .contact-body-row {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info-col,
    .contact-form-col {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .contact-title {
        font-size: 36px;
        line-height: 42px;
    }

    .contact-subtitle {
        font-size: 22px;
        line-height: 30px;
    }

    .contact-form-card {
        padding: 24px 18px;
    }
}

@media (max-width: 575px) {
    .subject-options {
        gap: 20px;
    }

    .contact-outer-card {
        padding: 20px 12px;
    }
}