/* ==========================================================================
   Investosure Contact Page Styles (contact.css)
   ========================================================================== */

/* 1. Hero Header */
.contact-hero {
    background: linear-gradient(135deg, #012970 0%, #0d3b8e 50%, #1a56db 100%);
    padding: 130px 0 65px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 162, 2, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(65, 84, 241, 0.25) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffa202;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.contact-hero-title {
    font-family: 'Nunito', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
    line-height: 1.25;
}

.contact-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
    margin-bottom: 25px;
}

.contact-trust-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.contact-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    color: #ffffff;
    font-weight: 500;
}

.contact-trust-pill i {
    color: #ffa202;
}

/* 2. Quick Contact Channels */
.contact-channels-section {
    padding: 40px 0 20px 0;
    margin-top: -30px;
    position: relative;
    z-index: 3;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(1, 41, 112, 0.07);
    border: 1px solid #e7effc;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(1, 41, 112, 0.12);
    border-color: #4154f1;
}

.contact-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-icon-box {
    transform: scale(1.1);
}

.contact-icon-box.blue {
    background: rgba(65, 84, 241, 0.1);
    color: #4154f1;
}

.contact-icon-box.orange {
    background: rgba(255, 162, 2, 0.12);
    color: #ffa202;
}

.contact-icon-box.green {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.contact-icon-box.purple {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

.contact-info-title {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 8px;
}

.contact-info-text {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.contact-info-link {
    font-size: 13.5px;
    font-weight: 600;
    color: #4154f1;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease, gap 0.2s ease;
}

.contact-info-link:hover {
    color: #012970;
    gap: 9px;
}

/* 3. Core Form & Map Section */
.contact-main-section {
    padding: 50px 0 70px 0;
    background: #f8faff;
}

.contact-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(1, 41, 112, 0.08);
    border: 1px solid #e3ebf6;
    height: 100%;
}

.contact-form-header {
    margin-bottom: 26px;
}

.contact-form-badge {
    display: inline-block;
    background: rgba(65, 84, 241, 0.08);
    color: #4154f1;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.contact-form-title {
    font-family: 'Nunito', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #012970;
    margin-bottom: 8px;
}

.contact-form-subtitle {
    font-size: 14.5px;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

.contact-form-card .form-group {
    margin-bottom: 18px;
}

.contact-form-card .form-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 7px;
    display: block;
}

.contact-form-card .input-icon-wrapper {
    position: relative;
}

.contact-form-card .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    width: 100%;
    padding: 12px 16px 12px 42px;
    font-size: 14.5px;
    color: #334155;
    background-color: #fbfcfe;
    border: 1.5px solid #dce5f2;
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form-card textarea.form-control {
    padding-left: 16px;
    min-height: 130px;
    resize: vertical;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    background-color: #ffffff;
    border-color: #4154f1;
    box-shadow: 0 0 0 4px rgba(65, 84, 241, 0.12);
    outline: none;
}

.contact-form-card .input-icon-wrapper:focus-within .input-icon {
    color: #4154f1;
}

.contact-submit-btn {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, #012970 0%, #4154f1 100%);
    color: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(65, 84, 241, 0.25);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #ffa202 0%, #ff8c00 100%);
    box-shadow: 0 8px 25px rgba(255, 162, 2, 0.35);
    transform: translateY(-2px);
    color: #ffffff;
}

.form-security-note {
    font-size: 12.5px;
    color: #64748b;
    text-align: center;
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* 4. Map & Visit Office Card */
.contact-map-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(1, 41, 112, 0.08);
    border: 1px solid #e3ebf6;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-map-header {
    padding: 24px 28px 18px 28px;
    border-bottom: 1px solid #edf2f9;
}

.contact-map-title {
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 4px;
}

.contact-map-subtitle {
    font-size: 13.5px;
    color: #6c757d;
    margin: 0;
}

.contact-map-wrapper {
    position: relative;
    width: 100%;
    height: 330px;
}

.contact-map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    display: block;
}

.contact-map-footer {
    padding: 24px 28px;
    background: #ffffff;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-map-amenities {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.contact-map-amenities li {
    font-size: 13.5px;
    color: #475569;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-map-amenities li:last-child {
    margin-bottom: 0;
}

.contact-map-amenities li i {
    color: #4154f1;
    font-size: 15px;
    width: 20px;
    text-align: center;
}

.contact-map-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-map-btn {
    flex: 1;
    min-width: 150px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.contact-map-btn.primary {
    background: #012970;
    color: #ffffff;
}

.contact-map-btn.primary:hover {
    background: #4154f1;
    color: #ffffff;
}

.contact-map-btn.outline {
    background: #f6f9ff;
    color: #012970;
    border: 1px solid #dce5f2;
}

.contact-map-btn.outline:hover {
    background: #edf2f9;
    color: #012970;
}

/* 5. Process Steps Section */
.consultation-process-section {
    padding: 65px 0;
    background: #ffffff;
}

.process-step-card {
    text-align: center;
    padding: 30px 22px;
    border-radius: 16px;
    background: #f8faff;
    border: 1px solid #e7effc;
    height: 100%;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.process-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(1, 41, 112, 0.08);
}

.process-step-number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #012970 0%, #4154f1 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    box-shadow: 0 4px 12px rgba(65, 84, 241, 0.25);
}

.process-step-title {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #012970;
    margin-bottom: 8px;
}

.process-step-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .contact-hero {
        padding: 110px 0 50px 0;
    }
    .contact-hero-title {
        font-size: 32px;
    }
    .contact-form-card {
        padding: 30px 24px;
    }
    .contact-map-wrapper {
        height: 290px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 95px 15px 40px 15px;
    }
    .contact-hero-title {
        font-size: 28px;
    }
    .contact-hero-subtitle {
        font-size: 15px;
    }
    .contact-channels-section {
        margin-top: -15px;
        padding: 25px 0 10px 0;
    }
    .contact-form-card {
        padding: 24px 18px;
    }
    .contact-map-actions {
        flex-direction: column;
    }
    .contact-map-btn {
        width: 100%;
    }
}
