/* Modern Contact Us Page - Matching Duuka Marketplace Theme */

/* Add background pattern/texture */
body {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(79,70,229,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') !important;
}

/* Override old-school styles */
#wrap .s_title.parallax.bg-black-50 {
    background: linear-gradient(135deg, #181440 0%, #4338ca 52%, #6d28d9 100%) !important;
    padding: 3rem 0 !important;
    border-radius: 0 !important;
}

#wrap .s_title h1 {
    color: #ffffff !important;
    font-family: var(--mkt-font-family, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
    font-weight: 700 !important;
    font-size: 2.5rem !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Hide the dated background image */
#wrap .s_title .s_parallax_bg,
#wrap .s_title .o_we_bg_filter {
    display: none !important;
}

/* Modern section styling */
.ftco-section {
    background: transparent !important;
    padding: 3rem 0 4rem 0 !important;
}

.ftco-section .container {
    max-width: 1140px;
}

/* Modern clean form wrapper - white card on subtle background */
.ftco-section .wrapper {
    background: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 20px !important;
    border: 1px solid rgba(79, 70, 229, 0.08) !important;
    box-shadow: 0 20px 60px -15px rgba(24, 20, 64, 0.12) !important;
    overflow: hidden;
    padding: 0 !important;
}

/* Form contact area */
.contact-wrap {
    background: transparent !important;
    padding: 2.5rem 3rem !important;
}

.contact-wrap h3 {
    font-family: var(--mkt-font-family, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
    font-weight: 700 !important;
    color: #181440 !important;
    margin-bottom: 1.5rem !important;
}

.contact-wrap > p {
    font-family: var(--mkt-font-family, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
    color: #64748b !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
}

/* Modern form inputs - clean white with blue accent like sign-in page */
.contact-wrap .form-control,
.contact-wrap .s_website_form_input {
    background: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 1rem 1.25rem !important;
    font-size: 1rem !important;
    color: #1f2937 !important;
    transition: all 0.2s ease !important;
    font-family: var(--mkt-font-family, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
}

.contact-wrap .form-control:focus,
.contact-wrap .s_website_form_input:focus {
    background: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
    outline: none !important;
}

.contact-wrap textarea.form-control,
.contact-wrap textarea.s_website_form_input {
    min-height: 160px !important;
    resize: vertical !important;
}

/* Labels */
.contact-wrap .col-form-label,
.contact-wrap .s_website_form_label {
    font-family: var(--mkt-font-family, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    font-size: 0.95rem !important;
}

.contact-wrap .s_website_form_mark {
    color: #ef4444 !important;
}

/* Modern submit button - gradient like sign-in page */
.btn-mine,
.s_website_form_send {
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 1rem 2.5rem !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -8px rgba(59, 130, 246, 0.5) !important;
    transition: all 0.2s ease !important;
    font-family: var(--mkt-font-family, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
    cursor: pointer;
    width: auto !important;
    text-transform: none !important;
}

.btn-mine:hover,
.s_website_form_send:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(59, 130, 246, 0.65) !important;
}
and subtle pattern */
.info-wrap.main-bg {
    background: 
        linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(99, 102, 241, 0.95) 100%),
        url('data:image/svg+xml,<svg width="80" height="80" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>'
    background: linear-gradient(135deg, #181440 0%, #4338ca 100%) !important;
    padding: 2.5rem 2rem !important;
    color: #ffffff !important;
}

.info-wrap h3 {
    font-family: var(--mkt-font-family, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 1rem !important;
}

.info-wrap p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem !important;
}

.info-wrap .dbox .icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border-radius: 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-wrap .dbox .icon .fa {
    color: #ffffff !important;
    font-size: 1.1rem;
}

.info-wrap .dbox .text p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 0.5rem;
}

.info-wrap .dbox .text p span {
    color: #ffffff !important;
    font-weight: 600 !important;
    display: block;
    margin-bottom: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .contact-wrap {
        padding: 2rem 1.5rem !important;
    }
    
    .info-wrap.main-bg {
        padding: 2rem 1.5rem !important;
    }
    
    #wrap .s_title h1 {
        font-size: 2rem !important;
    }
}

@media (max-width: 767.98px) {
    .contact-wrap {
        padding: 1.5rem 1rem !important;
    }
    
    .info-wrap.main-bg {
        padding: 1.5rem 1rem !important;
    }
    
    #wrap .s_title h1 {
        font-size: 1.75rem !important;
    }
    
    .contact-wrap .s_website_form_label {
        width: 100% !important;
        margin-bottom: 0.5rem;
    }
}

/* Form field spacing */
.s_website_form_field {
    margin-bottom: 1.25rem !important;
}

/* Success/Error messages */
#form-message-success,
#form-message-warning {
    padding: 1rem;
    border-radius: 12px;
    font-family: var(--mkt-font-family, 'Plus Jakarta Sans', system-ui, sans-serif) !important;
}

#form-message-success {
    background: rgba(79, 229, 70, 0.1) !important;
    border: 1px solid rgba(79, 229, 70, 0.3);
    color: #16a34a !important;
}

#form-message-warning {
    background: rgba(249, 115, 22, 0.1) !important;
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #c2410c !important;
}

/* reCAPTCHA container styling */
.g-recaptcha {
    transform: scale(0.95);
    transform-origin: 0 0;
}

@media (max-width: 767.98px) {
    .g-recaptcha {
        transform: scale(0.85);
    }
}
