/* ==========================================================================
   Contact Page Styles - Figma Design
   ========================================================================== */

.contact-page-wrapper {
    font-family: 'Google Sans', sans-serif;
    color: #070A0E;
    background-color: #ffffff;
}

/* ==========================================================================
   Section 1: Contact Header & Info Cards
   ========================================================================== */
.contact-header-section {
    padding: 56px 0 36px;
}

.contact-badge-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    background: #D0E3FC;
    border-radius: 99px;
    font-family: 'Google Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    color: #3431C6;
}

.contact-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #3431C6;
    flex-shrink: 0;
}

.contact-main-heading {
    font-family: 'Google Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    color: #0B0A41;
    margin-top: 12px;
    margin-bottom: 32px;
    text-align: center;
}

.contact-info-cards-row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 20px;
}

.contact-info-card {
    background: #F0F7FD;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    height: 100%;
    min-height: 104px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 49, 198, 0.08);
}

.contact-info-icon-wrapper {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: #D0E3FC;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3431C6;
    flex-shrink: 0;
}

.contact-info-icon-wrapper svg,
.contact-info-icon-wrapper i {
    font-size: 26px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    stroke: #3431C6;
    color: #3431C6;
}

.contact-info-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-grow: 1;
    min-width: 0;
}

.contact-info-label {
    font-family: 'Google Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: #070A0E;
    margin: 0;
}

.contact-info-value {
    font-family: 'Google Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 17px;
    line-height: 24px;
    color: #070A0E;
    margin: 0;
    word-break: break-word;
}

.contact-info-value a {
    color: #070A0E;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-info-value a:hover {
    color: #3431C6;
}

/* ==========================================================================
   Section 2: Contact Banner Form Box
   ========================================================================== */
.contact-banner-section {
    padding: 10px 0 80px;
}

.contact-banner-card {
    background: url('/assets/media/homepage/questiononus.png'), linear-gradient(90deg, #005CB3 0%, #0071DC 100%);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 92, 179, 0.15);
}

.contact-banner-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-right: 20px;
}

.contact-banner-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    gap: 8px;
    background: #D0E3FC;
    border-radius: 99px;
    font-family: 'Google Sans', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    color: #3431C6;
    margin-bottom: 20px;
}

.contact-banner-title {
    font-family: 'Google Sans', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    color: #0B0A41;
    margin: 0;
    max-width: 456px;
}

/* Glassmorphism Form Card */
.contact-form-glass-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.contact-form-grid {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 16px;
}

.contact-glass-input,
.contact-glass-select,
.contact-glass-textarea {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #DADADB;
    border-radius: 6px;
    font-family: 'Google Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 22px;
    color: #070A0E;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-glass-input {
    height: 42px;
    padding: 8px 14px;
}

.contact-glass-input::placeholder,
.contact-glass-textarea::placeholder {
    color: #4A4C4F;
    font-weight: 400;
}

.contact-glass-select,
.contact-form-glass-card select.form-select,
.contact-form-glass-card select {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    background-color: #FFFFFF !important;
    border: 1px solid #DADADB !important;
    border-radius: 6px !important;
    padding: 8px 38px 8px 12px !important;
    font-family: 'Google Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 22px !important;
    color: #4A4C4F !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19.92 8.95L13.4 15.47C12.63 16.24 11.37 16.24 10.6 15.47L4.08 8.95' stroke='%234A4C4F' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 18px 18px !important;
    cursor: pointer !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.contact-glass-select.has-value,
.contact-glass-select:valid {
    color: #070A0E !important;
}

.contact-glass-select option {
    background-color: #ffffff !important;
    color: #070A0E !important;
    font-family: 'Google Sans', sans-serif !important;
    font-size: 15px !important;
    padding: 8px 12px !important;
}

.contact-glass-select option[disabled] {
    color: #4A4C4F !important;
}

/* Bootstrap select override fallback */
.contact-form-glass-card .bootstrap-select {
    width: 100% !important;
}

.contact-form-glass-card .bootstrap-select > .dropdown-toggle {
    width: 100% !important;
    height: 40px !important;
    min-height: 40px !important;
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    border: 1px solid #DADADB !important;
    border-radius: 6px !important;
    padding: 8px 38px 8px 12px !important;
    font-family: 'Google Sans', sans-serif !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 22px !important;
    color: #4A4C4F !important;
    box-shadow: none !important;
    outline: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19.92 8.95L13.4 15.47C12.63 16.24 11.37 16.24 10.6 15.47L4.08 8.95' stroke='%234A4C4F' stroke-width='1.5' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 18px 18px !important;
}

.contact-form-glass-card .bootstrap-select > .dropdown-toggle .filter-option {
    color: #4A4C4F !important;
    font-family: 'Google Sans', sans-serif !important;
    font-size: 15px !important;
}

.contact-form-glass-card .bootstrap-select > .dropdown-toggle::after,
.contact-form-glass-card .bootstrap-select .bs-caret {
    display: none !important;
}

.contact-form-glass-card .bootstrap-select .dropdown-menu {
    border-radius: 8px !important;
    border: 1px solid #DADADB !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    padding: 6px 0 !important;
}

.contact-form-glass-card .bootstrap-select .dropdown-menu li a {
    font-family: 'Google Sans', sans-serif !important;
    font-size: 14px !important;
    color: #070A0E !important;
    padding: 8px 16px !important;
}

.contact-glass-textarea {
    min-height: 180px;
    padding: 12px 14px;
    resize: vertical;
}

.contact-glass-input:focus,
.contact-glass-select:focus,
.contact-glass-textarea:focus,
.contact-form-glass-card .bootstrap-select > .dropdown-toggle:focus {
    border-color: #3431C6 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(52, 49, 198, 0.15) !important;
}

.btn-contact-submit-card {
    background: #3431C6;
    border-radius: 8px;
    border: none;
    padding: 12px 24px;
    height: 48px;
    font-family: 'Google Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-contact-submit-card:hover {
    background: #2825A8;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(52, 49, 198, 0.35);
}

.btn-contact-submit-card i,
.btn-contact-submit-card svg {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.btn-contact-submit-card:hover i,
.btn-contact-submit-card:hover svg {
    transform: translateX(3px);
}

/* ==========================================================================
   Responsive Rules
   ========================================================================== */
@media (min-width: 1200px) {
    .contact-page-wrapper .container {
        max-width: 1280px !important;
        width: 94% !important;
    }
}

@media (min-width: 1400px) {
    .contact-page-wrapper .container {
        max-width: 1480px !important;
        width: 92% !important;
    }
}

@media (min-width: 1600px) {
    .contact-page-wrapper .container {
        max-width: 1680px !important;
        width: 90% !important;
    }
}

@media (max-width: 991.98px) {
    .contact-header-section {
        padding: 40px 0 24px;
    }

    .contact-main-heading {
        font-size: 26px;
        line-height: 36px;
        margin-bottom: 24px;
    }

    .contact-banner-card {
        padding: 30px 20px;
    }

    .contact-banner-left {
        padding-right: 0;
        margin-bottom: 24px;
    }

    .contact-banner-title {
        font-size: 24px;
        line-height: 34px;
    }

    .contact-form-glass-card {
        padding: 18px;
    }
}

@media (max-width: 767.98px) {
    .contact-info-card {
        padding: 16px;
        gap: 14px;
    }

    .contact-info-icon-wrapper {
        width: 52px;
        height: 52px;
        min-width: 52px;
    }

    .contact-info-icon-wrapper svg,
    .contact-info-icon-wrapper i {
        font-size: 22px;
        width: 22px;
        height: 22px;
    }

    .contact-info-value {
        font-size: 15px;
        line-height: 22px;
    }

    .contact-banner-card {
        padding: 24px 16px;
    }

    .btn-contact-submit-card {
        width: 100%;
    }
}
