/* CONTACT PAGE SPECIFIC STYLING */

/* Cards */
.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(45, 91, 255, 0.3); /* Uses var(--brand) vibe */
    transform: translateY(-2px);
}

.c-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.3s;
}

/* FAQ Accordion (Minimal) */
.faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.faq-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-head {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-head i {
    color: var(--brand, #2D5BFF);
    transition: transform 0.3s;
}

.faq-body {
    max-height: 0;
    padding: 0 20px;
    font-size: 13px;
    color: #888;
    transition: all 0.4s ease;
    opacity: 0;
}

.faq-box.active {
    border-color: rgba(45, 91, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.faq-box.active .faq-head i {
    transform: rotate(45deg);
}

.faq-box.active .faq-body {
    max-height: 100px; /* arbitrary large enough height */
    padding-bottom: 16px;
    opacity: 1;
}

/* Form Styling - Strict & Slick */
.secure-form-wrapper {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
}

.form-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.input-wrap {
    display: flex;
    flex-direction: column;
    position: relative;
}

.input-wrap label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    margin-bottom: 8px;
}

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 16px;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    font-family: inherit;
}

.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
    border-color: var(--brand, #2D5BFF);
    background: rgba(45, 91, 255, 0.02);
    box-shadow: 0 0 0 3px rgba(45, 91, 255, 0.1);
}

/* Form Validation Styles */
.error-msg {
    font-size: 11px;
    color: #ef4444;
    margin-top: 6px;
    display: none;
}

.input-wrap.has-error input,
.input-wrap.has-error select,
.input-wrap.has-error textarea {
    border-color: #ef4444;
}

.input-wrap.has-error .error-msg {
    display: block;
}

/* Button */
.form-btn {
    width: 100%;
    background: var(--brand, #2D5BFF);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.form-btn:hover {
    background: white;
    color: black;
}

.form-btn:disabled {
    background: #333;
    color: #888;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .secure-form-wrapper { padding: 24px; }
}

.popup {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    z-index: 99999;
}

.popup-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    width: 300px;
    transform: scale(0.7);
}

.popup-box button {
    margin-top: 15px;
    background: #2D5BFF;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
}