/* Contact Us page (resources/views/front/contact.blade.php) */
body { place-items: normal; }

/* Head office block */
.ho-block { padding: 10px 10px 30px; }
.ho-title { font-size: 28px; font-weight: 700; color: #205fa2; margin-bottom: 8px; }
.ho-bar { display: block; width: 70px; height: 4px; border-radius: 4px; background: #205fa2; margin-bottom: 18px; }
.ho-name { font-size: 18px; font-weight: 600; color: #222; margin-bottom: 12px; }
.ho-list { list-style: none; padding: 0; margin: 0; }
.ho-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 16px; color: #444; line-height: 1.6; }
.ho-list i { font-size: 22px; color: #205fa2; margin-top: 2px; }
.ho-list a { color: #444; }
.ho-list a:hover { color: #205fa2; }
.ho-quick { --qc: #205fa2; --qc2: #4f9be8; position: relative; display: flex; align-items: flex-start; gap: 14px; height: 100%; padding: 20px 18px 18px; overflow: hidden; background: #fff; border: 1px solid #e6edf5; border-radius: 14px; box-shadow: 0 6px 20px rgba(17, 51, 94, .07); word-break: break-word; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ho-quick::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--qc), var(--qc2)); }
.ho-quick::after { content: ""; position: absolute; width: 110px; height: 110px; right: -40px; bottom: -40px; border-radius: 50%; background: var(--qc); opacity: .06; transition: transform .4s ease, opacity .4s ease; }
.ho-quick:hover { transform: translateY(-5px); border-color: var(--qc); box-shadow: 0 16px 32px rgba(17, 51, 94, .14); }
.ho-quick:hover::after { transform: scale(1.6); opacity: .1; }
.ho-quick .qc-icon { flex: 0 0 52px; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--qc), var(--qc2)); color: #fff; font-size: 25px; box-shadow: 0 8px 18px -6px var(--qc); transition: transform .3s ease; }
.ho-quick:hover .qc-icon { transform: rotate(-8deg) scale(1.06); }
.ho-quick .qc-body { position: relative; z-index: 1; min-width: 0; }
.ho-quick h3 { margin: 2px 0 2px; color: #1f2937; font-family: inherit; font-size: 16px; font-weight: 700; }
.ho-quick .qc-sub { margin: 0 0 8px; color: #8a94a6; font-size: 12.5px; }
.ho-quick a { display: inline-flex; align-items: center; gap: 6px; margin-top: 2px; color: #374151; font-size: 14px; font-weight: 500; }
.ho-quick a i { color: var(--qc); font-size: 15px; }
.ho-quick a:hover { color: var(--qc); }
.ho-quick.qc-green  { --qc: #0e9f6e; --qc2: #34d399; }
.ho-quick.qc-orange { --qc: #ea580c; --qc2: #fb923c; }
.ho-quick.qc-purple { --qc: #6d28d9; --qc2: #a78bfa; }
.ho-block .row > .col-sm-6 { margin-bottom: 18px; }

/* Our offices */
.offices-section { position: relative; overflow: hidden; padding: 0px 0 80px; background: linear-gradient(180deg, #f5f9ff 0%, #eaf2fb 100%); }
.offices-section::before, .offices-section::after { content: ""; position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.offices-section::before { width: 380px; height: 380px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(32, 95, 162, .14), transparent 70%); }
.offices-section::after { width: 420px; height: 420px; bottom: -180px; right: -140px; background: radial-gradient(circle, rgba(32, 95, 162, .12), transparent 70%); }
.offices-section .container { position: relative; z-index: 1; }

.offices-head { text-align: center; max-width: 640px; margin: 0 auto 45px; }
.offices-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 30px; background: rgba(32, 95, 162, .1); color: #205fa2; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.offices-title { font-size: 36px; font-weight: 800; color: #1f2937; margin: 14px 0 10px; }
.offices-title span { color: #205fa2; }
.offices-sub { color: #6b7280; font-size: 16px; margin: 0; }
.offices-bar { display: block; width: 70px; height: 4px; margin: 18px auto 0; border-radius: 4px; background: linear-gradient(90deg, #205fa2, #4f9be8); }

.office-card { position: relative; height: 100%; display: flex; flex-direction: column; overflow: hidden; background: #fff; border-radius: 16px; border: 1px solid #e3ebf5; box-shadow: 0 10px 30px rgba(17, 51, 94, .08); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; }
.office-card:hover { transform: translateY(-8px); border-color: rgba(32, 95, 162, .35); box-shadow: 0 22px 45px rgba(17, 51, 94, .18); }
.office-card.is-featured { border: 2px solid #205fa2; }

.office-map { position: relative; height: 190px; background: #dde7f3; }
.office-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(35%); transition: filter .35s ease; }
.office-card:hover .office-map iframe { filter: grayscale(0); }
.office-city { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; color: #1f2937; font-family: inherit; font-size: 21px; font-weight: 700; line-height: 1.25; }
.office-city .ic-city { flex: 0 0 44px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -44px; border: 4px solid #fff; border-radius: 50%; background: #205fa2; color: #fff; font-size: 20px; box-shadow: 0 6px 14px rgba(32, 95, 162, .35); position: relative; z-index: 2; }
.office-badge { position: absolute; top: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 30px; background: linear-gradient(90deg, #f59e0b, #f97316); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .03em; box-shadow: 0 6px 14px rgba(249, 115, 22, .35); }

.office-body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 20px; }
.office-name { margin: 0 0 10px 56px; color: #205fa2; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.office-info { list-style: none; padding: 0; margin: 0 0 18px; }
.office-info li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #e5ecf4; }
.office-info li:last-child { border-bottom: 0; }
.office-info .ic { flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: #eef4fb; color: #205fa2; font-size: 19px; transition: background .3s ease, color .3s ease; }
.office-card:hover .office-info .ic { background: #205fa2; color: #fff; }
.office-info small { display: block; color: #9ca3af; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.office-info p, .office-info a { margin: 0; color: #374151; font-size: 15px; line-height: 1.55; word-break: break-word; }
.office-info a:hover { color: #205fa2; }

.office-actions { display: flex; gap: 10px; margin-top: auto; }
.office-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all .25s ease; }
.office-btn.primary { background: #205fa2; color: #fff; border: 1px solid #205fa2; }
.office-btn.primary:hover { background: #174a80; color: #fff; }
.office-btn.outline { background: #fff; color: #205fa2; border: 1px solid #c9d9ec; }
.office-btn.outline:hover { background: #eef4fb; color: #205fa2; border-color: #205fa2; }

@media (max-width: 575px) {
    .offices-section { padding: 50px 0 60px; }
    .offices-title { font-size: 28px; }
}

/* Contact form */
.contact .cf-card { position: relative; overflow: hidden; padding: 34px 30px 26px; background: #fff; border: 1px solid #e6edf5; border-radius: 18px; box-shadow: 0 18px 45px rgba(17, 51, 94, .12); }
.contact .cf-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, #205fa2, #4f9be8, #34d399, #fb923c); }
.contact .cf-card::after { content: ""; position: absolute; width: 220px; height: 220px; top: -110px; right: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(32, 95, 162, .1), transparent 70%); pointer-events: none; }
.cf-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.cf-head-icon { flex: 0 0 58px; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; background: linear-gradient(135deg, #205fa2, #4f9be8); color: #fff; font-size: 28px; box-shadow: 0 10px 22px -8px #205fa2; }
.cf-head h2 { margin: 0 0 2px; color: #1f2937; font-family: inherit; font-size: 26px; font-weight: 800; }
.cf-head p { margin: 0; color: #8a94a6; font-size: 14px; }

.cf-grid { --bs-gutter-x: 14px; }
.cf-grid > [class*="col-"] { margin-bottom: 14px; }
.contact .cf-field { position: relative; }
.contact .cf-field > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); z-index: 2; color: #94a3b8; font-size: 18px; pointer-events: none; transition: color .25s ease; }
.contact .cf-field.cf-textarea > i { top: 16px; transform: none; }
.contact .cf-card .form-control { height: 50px; padding: 0 14px 0 44px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: none; color: #1f2937; font-size: 14.5px; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.contact .cf-card select.form-control { appearance: auto; padding-right: 10px; cursor: pointer; }
.contact .cf-card textarea.form-control { height: auto; min-height: 120px; padding: 13px 14px 13px 44px; resize: vertical; }
.contact .cf-card .form-control::placeholder { color: #9aa5b5; }
.contact .cf-card .form-control:hover { border-color: #c9d9ec; }
.contact .cf-card .form-control:focus { background: #fff; border-color: #205fa2; box-shadow: 0 0 0 4px rgba(32, 95, 162, .12); outline: 0; }
.contact .cf-field:focus-within > i { color: #205fa2; }

.contact .cf-captcha { position: relative; }
.contact .cf-card .cf-captcha .form-control { padding: 0 44px 0 14px; background: repeating-linear-gradient(-45deg, #eef4fb, #eef4fb 8px, #e4edf8 8px, #e4edf8 16px); border: 1px dashed #b9cde6; color: #205fa2; font-family: 'Courier New', monospace; font-size: 24px; font-style: italic; font-weight: 700; letter-spacing: 8px; text-align: center; cursor: default; }
.contact .cf-captcha a { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #fff; color: #205fa2; font-size: 20px; box-shadow: 0 2px 6px rgba(17, 51, 94, .12); transition: transform .4s ease; }
.contact .cf-captcha a:hover { transform: translateY(-50%) rotate(180deg); }

.contact .cf-card .cf-submit { width: 100%; margin-top: 6px; padding: 14px 20px; border-radius: 12px; background: linear-gradient(90deg, #205fa2, #3b82c4); font-size: 16px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 12px 24px -10px #205fa2; transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.contact .cf-card .cf-submit::before { display: none; }
.contact .cf-card .cf-submit::after { content: "\2192"; margin-left: 10px; display: inline-block; transition: transform .25s ease; }
.contact .cf-card .cf-submit:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 30px -10px #205fa2; }
.contact .cf-card .cf-submit:hover::after { transform: translateX(4px); }
.contact .cf-card .cf-submit:disabled { opacity: .75; cursor: wait; transform: none; }
.cf-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; color: #8a94a6; font-size: 12.5px; }
.cf-note i { color: #0e9f6e; font-size: 15px; }
@media (max-width: 575px) { .contact .cf-card { padding: 28px 18px 22px; } .cf-head h2 { font-size: 22px; } }
