/* ── Contact Page Scoped Styles ── */

/* Hero */
.contact-hero {
    padding: 100px 0 80px;
    text-align: center;
    background: #F5F4FF;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
            radial-gradient(ellipse 60% 50% at 20% 40%, rgba(86,58,255,0.08) 0%, transparent 70%),
            radial-gradient(ellipse 50% 60% at 80% 60%, rgba(86,58,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.contact-hero .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #563AFF;
    background: rgba(86,58,255,0.09);
    border: 1px solid rgba(86,58,255,0.22);
    border-radius: 30px;
    padding: 5px 18px;
    margin-bottom: 20px;
    font-family: "Jost", sans-serif;
}
.contact-hero h1 {
    font-family: "Jost", sans-serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin-bottom: 16px;
}
.contact-hero h1 span {
    color: #563AFF;
}
.contact-hero p {
    font-family: "Jost", sans-serif;
    font-size: 17px;
    color: #5A5F96;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Main two-column section ── */
.contact-main {
    padding: 80px 0 100px;
    background: #fff;
}
.contact-main .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 900px) {
    .contact-main .container { grid-template-columns: 1fr; }
}

/* LEFT — Testimonials + Stats */
.contact-left {}
.contact-left .section-label {
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #563AFF;
    margin-bottom: 12px;
}
.contact-left h2 {
    font-family: "Jost", sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 12px;
}
.contact-left .sub {
    font-family: "Jost", sans-serif;
    font-size: 17px;
    color: #5A5F96;
    margin-bottom: 36px;
    max-width: 440px;
}

/* Testimonial cards */
/* Testimonial Slider */
.testimonial-slider-wrap {
    margin-bottom: 36px;
    position: relative;
}
.testimonial-track-outer {
    overflow: hidden;
    border-radius: 16px;
}
.testimonial-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.testimonial-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 2px; /* so card shadows/borders aren't clipped */
}
@media (max-width: 520px) {
    .testimonial-slide { grid-template-columns: 1fr; }
}

/* Slider controls */
.slider-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}
.slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(86,58,255,0.30);
    background: #fff;
    color: #563AFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.slider-btn:hover {
    background: #563AFF;
    color: #fff;
    border-color: #563AFF;
    transform: scale(1.08);
}
.slider-dots {
    display: flex;
    gap: 7px;
    align-items: center;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(86,58,255,0.20);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s, transform 0.25s;
}
.slider-dot.active {
    background: #563AFF;
    transform: scale(1.3);
}
.testimonial-card {
    background: #F5F4FF;
    border: 1px solid rgba(86,58,255,0.12);
    border-radius: 16px;
    padding: 20px;
    font-family: "Jost", sans-serif;
    position: relative;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.testimonial-card:hover {
    border-color: rgba(86,58,255,0.35);
    box-shadow: 0 8px 32px rgba(86,58,255,0.10);
}
.testimonial-card .stars {
    display: flex;
    gap: 2px;
    color: #f5a623;
    font-size: 13px;
    margin-bottom: 10px;
}
.testimonial-card .quote {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 14px;
}
.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.testimonial-card .author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #563AFF;
}
.testimonial-card .author-name {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
}
.testimonial-card .author-title {
    font-size: 13px;
    color: #5A5F96;
}

/* Stats row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #563AFF 0%, #7c5cfc 100%);
    border-radius: 16px;
}
@media (max-width: 600px) {
    .stats-row { grid-template-columns: repeat(2, 1fr); }
}
.stat-item {
    text-align: center;
    font-family: "Jost", sans-serif;
}
.stat-item .stat-number {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-item .stat-label {
    font-size: 11px;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* RIGHT — Contact Form */
.contact-form-box {
    background: #fff;
    border: 1.5px solid rgba(86,58,255,0.15);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 16px 64px rgba(86,58,255,0.08);
    font-family: "Jost", sans-serif;
    position: sticky;
    top: 100px;
}
.form-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #F5F4FF;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 28px;
}
.form-tab {
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    font-family: "Jost", sans-serif;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #5A5F96;
    border: none;
    background: transparent;
}
.form-tab.active {
    background: #563AFF;
    color: #fff;
    box-shadow: 0 4px 12px rgba(86,58,255,0.25);
}
.contact-form-box h3 {
    font-size: 23px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.contact-form-box .form-sub {
    font-size: 15px;
    color: #5A5F96;
    margin-bottom: 24px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
@media (max-width: 500px) {
    .form-row { grid-template-columns: 1fr; }
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 12px;
}
.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-control-custom {
    width: 100%;
    padding: 11px 14px;
    font-family: "Jost", sans-serif;
    font-size: 14px;
    color: #1a1a2e;
    background: #F5F4FF;
    border: 1.5px solid rgba(86,58,255,0.15);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control-custom:focus {
    border-color: #563AFF;
    box-shadow: 0 0 0 3px rgba(86,58,255,0.10);
    background: #fff;
}
.form-control-custom::placeholder { color: #aaa; }
select.form-control-custom { appearance: none; cursor: pointer; }
textarea.form-control-custom { resize: vertical; min-height: 110px; }

.phone-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 10px;
}

/* ── Custom Searchable Dropdown ── */
.csd-wrapper {
    position: relative;
    font-family: "Jost", sans-serif;
}
.csd-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 11px 14px;
    background: #F5F4FF;
    border: 1.5px solid rgba(86,58,255,0.15);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #1a1a2e;
    font-family: "Jost", sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    user-select: none;
    white-space: nowrap;
    overflow: hidden;
}
.csd-trigger:focus,
.csd-trigger.open {
    border-color: #563AFF;
    box-shadow: 0 0 0 3px rgba(86,58,255,0.10);
    background: #fff;
    outline: none;
}
.csd-trigger .csd-flag { font-size: 18px; flex-shrink: 0; line-height: 1; }
.csd-trigger .csd-code { font-weight: 700; color: #563AFF; flex-shrink: 0; }
.csd-trigger .csd-name { color: #5A5F96; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.csd-trigger .csd-arrow {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 14px;
    color: #563AFF;
    transition: transform 0.2s;
}
.csd-trigger.open .csd-arrow { transform: rotate(180deg); }

.csd-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 9999;
    background: #fff;
    border: 1.5px solid rgba(86,58,255,0.18);
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(86,58,255,0.14);
    width: 300px;
    max-height: 320px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: csdFadeIn 0.15s ease;
}
.csd-dropdown.open { display: flex; }
@keyframes csdFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.csd-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(86,58,255,0.10);
    flex-shrink: 0;
}
.csd-search-wrap i { color: #563AFF; font-size: 16px; flex-shrink: 0; }
.csd-search {
    flex: 1;
    border: none;
    outline: none;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    color: #1a1a2e;
    background: transparent;
}
.csd-search::placeholder { color: #aaa; }

.csd-list {
    overflow-y: auto;
    flex: 1;
}
.csd-list::-webkit-scrollbar { width: 4px; }
.csd-list::-webkit-scrollbar-track { background: transparent; }
.csd-list::-webkit-scrollbar-thumb { background: rgba(86,58,255,0.2); border-radius: 4px; }

.csd-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #1a1a2e;
    font-family: "Jost", sans-serif;
    transition: background 0.12s;
}
.csd-option:hover, .csd-option.focused { background: rgba(86,58,255,0.06); }
.csd-option.selected { background: rgba(86,58,255,0.10); font-weight: 700; }
.csd-option .opt-flag { font-size: 18px; flex-shrink: 0; line-height: 1; }
.csd-option .opt-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csd-option .opt-code { color: #563AFF; font-weight: 700; flex-shrink: 0; }

.csd-empty {
    padding: 20px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
    font-family: "Jost", sans-serif;
}
.csd-loading {
    padding: 20px;
    text-align: center;
    color: #563AFF;
    font-size: 13px;
    font-family: "Jost", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-contact-submit {
    width: 100%;
    padding: 14px 24px;
    background: #563AFF;
    color: #fff;
    font-family: "Jost", sans-serif;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    margin-top: 8px;
}
.btn-contact-submit:hover {
    background: #4530d4;
    box-shadow: 0 8px 24px rgba(86,58,255,0.30);
    transform: translateY(-1px);
}
.btn-contact-submit i { font-size: 18px; }

.form-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #5A5F96;
    font-family: "Jost", sans-serif;
    font-weight: 500;
}
.trust-badge i { color: #563AFF; font-size: 14px; }

/* ── Process Section ── */
.contact-process {
    background: #F5F4FF;
    padding: 90px 0;
}
.contact-process .section-head {
    text-align: center;
    margin-bottom: 56px;
}
.contact-process .section-head .eyebrow {
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #563AFF;
    display: block;
    margin-bottom: 12px;
}
.contact-process .section-head h2 {
    font-family: "Jost", sans-serif;
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.contact-process .section-head p {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    color: #5A5F96;
    max-width: 520px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
@media (max-width: 900px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* Connector line on desktop */
.process-grid::before {
    content: '';
    position: absolute;
    top: 44px;
    left: calc(12.5% + 12px);
    right: calc(12.5% + 12px);
    height: 2px;
    background: linear-gradient(90deg, #563AFF, #c4b8f8);
    z-index: 0;
}
@media (max-width: 900px) {
    .process-grid::before { display: none; }
}

.process-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 22px 24px;
    text-align: center;
    border: 1.5px solid rgba(86,58,255,0.12);
    position: relative;
    z-index: 1;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    font-family: "Jost", sans-serif;
}
.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(86,58,255,0.12);
    border-color: rgba(86,58,255,0.30);
}
.process-card .step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #563AFF, #7c5cfc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(86,58,255,0.25);
    position: relative;
}
.process-card .step-icon i {
    font-size: 26px;
    color: #fff;
}
.process-card .step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 2px solid #563AFF;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
    color: #563AFF;
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-card h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.process-card p {
    font-size: 15px;
    color: #5A5F96;
    line-height: 1.6;
}

/* ── Contact Info Strip ── */
.contact-info-strip {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid rgba(86,58,255,0.10);
    border-bottom: 1px solid rgba(86,58,255,0.10);
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 768px) {
    .contact-info-grid { grid-template-columns: 1fr; gap: 24px; }
}
.info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    font-family: "Jost", sans-serif;
}
.info-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(86,58,255,0.08);
    border: 1px solid rgba(86,58,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.info-card:hover .icon-wrap {
    background: #563AFF;
}
.info-card:hover .icon-wrap i { color: #fff; }
.info-card .icon-wrap i {
    font-size: 22px;
    color: #563AFF;
    transition: color 0.2s ease;
}
.info-card .info-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #563AFF;
    margin-bottom: 4px;
}
.info-card .info-value {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
}
.info-card .info-sub {
    font-size: 13px;
    color: #5A5F96;
}

/* ── Alert boxes ── */
.form-alert {
    padding: 10px 14px;
    border-radius: 10px;
    font-family: "Jost", sans-serif;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
}
.form-alert-error {
    background: #fff0f0;
    color: #c0392b;
    border: 1px solid #f5c6c6;
}
.form-alert-success {
    background: #f0fff4;
    color: #1a7a3c;
    border: 1px solid #a8d5b8;
}
.field-error {
    font-size: 11px;
    color: #c0392b;
    font-family: "Jost", sans-serif;
    margin-top: 2px;
}
.field-error.hidden { display: none; }

/* ── Map placeholder ── */
.contact-map-section { padding: 80px 0 0; background: #F5F4FF; }
.map-wrap {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(86,58,255,0.15);
    box-shadow: 0 16px 48px rgba(86,58,255,0.08);
    height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
