/*
Theme Name: FINQUBE
Theme URI: https://finqubecap.com
Author: Finqube Capital Private Limited
Author URI: https://finqubecap.com
Description: Official WordPress theme for Finqube Capital Private Limited – RBI Licensed NBFC-ICC. Institutional-grade design with Tailwind CSS CDN, dark navy and gold palette.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: finqube
Tags: corporate, financial, one-page, dark
*/

/* ── CSS Custom Properties ─────────────────────────────────────────────────── */
:root {
    --primary: #111111;
    --accent: #111111;
    --accent-light: #333333;
    --bg-light: #FDFDFD;
    --accent-border: #111111 !important;
}

/* ── Material Symbols ─────────────────────────────────────────────────────── */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Glass Card (hero badges) ──────────────────────────────────────────────── */
.glass-institutional {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Range Slider – cross-browser ─────────────────────────────────────────── */
input[type='range'] {
    -webkit-appearance: none;
    appearance: none;
    height: 0.375rem;
    background: #e2e8f0;
    border-radius: 9999px;
    cursor: pointer;
    width: 100%;
    outline: none;
}

input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

input[type='range']::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    background: var(--accent);
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

/* ── Mobile Menu Overlay ───────────────────────────────────────────────────── */
#fq-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

#fq-mobile-menu.is-open {
    display: flex;
}

#fq-mobile-menu .fq-mobile-nav-link {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(12, 27, 51, 0.8);
    text-decoration: none;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
    display: block;
    text-align: center;
}

#fq-mobile-menu .fq-mobile-nav-link:hover,
#fq-mobile-menu .fq-mobile-nav-link:focus {
    color: var(--accent);
}

/* ── Contact form feedback ─────────────────────────────────────────────────── */
#fq-contact-feedback {
    display: none;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

#fq-contact-feedback.show {
    display: block;
}

#fq-contact-feedback.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

#fq-contact-feedback.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ── Body scroll lock when mobile menu open ───────────────────────────────── */
body.fq-menu-open {
    overflow: hidden;
}

/* ── Contact Section Layout ────────────────────────────────────────────────── */
.fq-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .fq-contact-grid {
        flex-direction: row;
        gap: 64px;
    }
}

.fq-contact-left {
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
}

.fq-contact-right {
    flex: 1;
    min-width: 0;
}

.fq-form-card {
    background: #F5F5F5;
    border-radius: 24px;
    padding: 40px;
}

@media (min-width: 1024px) {
    .fq-form-card {
        padding: 48px;
    }
}

.fq-contact-icon {
    width: 64px;
    height: 64px;
    background: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}


.fq-contact-divider {
    border: none;
    border-top: 1px solid #ECECEC;
    margin: 0;
}

.fq-form-fields {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ── Contact Form Fields ───────────────────────────────────────────────────── */
.fq-field-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #ECECEC;
    border-radius: 12px;
    padding: 12px 16px;
    transition: border-color 0.2s ease;
    margin-bottom: 12px;
}

.fq-field-wrap:hover {
    border-color: #111111;
}

.fq-field-wrap:focus-within {
    border-color: #111111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.10);
}

.fq-field-wrap label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #585858;
    margin-bottom: 2px;
}

.fq-field-wrap input,
.fq-field-wrap textarea {
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: #101010;
    font-family: inherit;
    resize: none;
    padding: 0;
    width: 100%;
}

.fq-field-wrap input::placeholder,
.fq-field-wrap textarea::placeholder {
    font-weight: 400;
    color: #909090;
}

/* ── Contact Form Send Button ─────────────────────────────────────────────── */
.fq-send-btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: #DEDEDE;
    color: #909090;
    cursor: not-allowed;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin-top: 4px;
}