/* Modern Contact Page Styles */

/* Section Base */
.voxa-contact-modern-section {
    background: linear-gradient(180deg, #0a0118 0%, #16051e 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* ===== Unified Background for Hero + Contact (Contact page only) ===== */
.voxa-page-unified-bg {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0118 0%, #16051e 100%);
}
.voxa-page-unified-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at top right, rgba(147, 51, 234, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(192, 132, 252, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.voxa-page-unified-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* Ensure sections render above unified overlays */
.voxa-page-unified-bg > section { position: relative; z-index: 1; }

/* Turn off inner backgrounds inside the unified wrapper */
.voxa-page-unified-bg .voxa-service-hero-section { background: transparent !important; }
.voxa-page-unified-bg .voxa-service-hero-section .voxa-hero-bg { display: none !important; }

.voxa-page-unified-bg .voxa-contact-modern-section { background: transparent !important; }
.voxa-page-unified-bg .voxa-contact-modern-section::before,
.voxa-page-unified-bg .voxa-contact-modern-section::after { content: none !important; display: none !important; }

/* === Homepage wrapper overrides to avoid double border === */
.voxa-home-contact-wrapper { 
    background: transparent !important; 
    border: 0 !important; 
    box-shadow: none !important; 
    padding: 0 !important; 
    overflow: visible !important;
}
.voxa-home-contact-wrapper::before { content: none !important; display: none !important; }

.voxa-contact-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top right, rgba(147, 51, 234, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(192, 132, 252, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* faint plus pattern like hero */
.voxa-contact-modern-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    pointer-events: none;
}

/* ensure content sits above overlays */
.voxa-contact-modern-section .container {
    position: relative;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Form Container */
.voxa-contact-form-container {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.05) 0%, rgba(10, 1, 24, 0.8) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: visible;
}

.voxa-contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #9333ea, #c084fc, #9333ea);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Form Header */
.voxa-form-header {
    margin-bottom: 40px;
}

.voxa-form-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(147, 51, 234, 0.15);
    border: 1px solid rgba(147, 51, 234, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #c084fc;
}

.voxa-form-badge i {
    font-size: 16px;
}

.voxa-form-heading {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.voxa-form-subheading {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Form Grid */
.voxa-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.voxa-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.voxa-input-wrapper.voxa-full-width {
    grid-column: 1 / -1;
}

.voxa-input-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.voxa-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.voxa-input-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #c084fc;
    z-index: 1;
    pointer-events: none;
}

.voxa-input-group:has(textarea) i {
    top: 20px;
    transform: none;
}

.voxa-input-field {
    width: 100%;
    padding: 18px 20px 18px 50px;
    background: rgba(10, 1, 24, 0.6);
    border: 2px solid rgba(147, 51, 234, 0.2);
    border-radius: 15px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* Custom Select (enhanced) */
.voxa-select {
    position: relative;
    width: 100%;
    z-index: 20; /* above neighbors */
}

/* Hide native select once enhanced, keep for form submission */
select.voxa-custom-select {
    display: none !important; /* keep in DOM for submission, but hide UI */
}

/* If any external plugin (e.g., nice-select) cloned it, hide within contact form */
.voxa-contact-form-container .nice-select { display: none !important; }

/* Hide any native select control inside the input group (keep for submission) */
.voxa-contact-form-container .voxa-input-group > select {
    display: none !important;
}

.voxa-select .voxa-select-display {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px 52px 16px 50px; /* keep room for left icon + caret */
    border: 2px solid rgba(147, 51, 234, 0.35);
    border-radius: 15px;
    background: rgba(10, 1, 24, 0.6);
    color: #fff;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
}

.voxa-select .voxa-select-display:focus,
.voxa-select .voxa-select-display.voxa-open {
    outline: none;
    border-color: #9333ea;
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.12);
    background: rgba(10, 1, 24, 0.8);
}

.voxa-select .voxa-caret {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    color: #c084fc;
    pointer-events: none;
    transition: transform .25s ease;
}
.voxa-select .voxa-open .voxa-caret { transform: translateY(-50%) rotate(180deg); }

.voxa-select .voxa-select-dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: rgba(10, 1, 24, 0.98);
    border: 1px solid rgba(147, 51, 234, 0.35);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0,0,0,.65);
    padding: 8px;
    max-height: 260px;
    overflow: auto;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.voxa-select.voxa-open .voxa-select-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.voxa-select .voxa-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 10px;
    color: rgba(255,255,255,.9);
    cursor: pointer;
    transition: all .2s ease;
}

/* Text-only options: hide icons */
.voxa-select .voxa-option i { display: none !important; }
.voxa-select .voxa-option:hover,
.voxa-select .voxa-option[aria-selected="true"],
.voxa-select .voxa-option.voxa-active {
    background: linear-gradient(90deg, rgba(147, 51, 234, 0.25), rgba(147, 51, 234, 0.15));
    color: #fff;
}

.voxa-select .voxa-option .voxa-tag {
    margin-left: auto;
    font-size: 12px;
    color: #c084fc;
    opacity: .85;
}

/* Remove left icon for fields explicitly marked to have no icon */
.voxa-no-left-icon > i { display: none !important; }
.voxa-no-left-icon .voxa-select .voxa-select-display { padding-left: 20px !important; }

.voxa-input-field:focus {
    outline: none;
    border-color: #9333ea;
    background: rgba(10, 1, 24, 0.8);
    box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1);
}

.voxa-input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

select.voxa-input-field {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(10, 1, 24, 0.6) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c084fc' d='M6 9L2 5h8z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    padding-right: 50px;
}

select.voxa-input-field:focus {
    background: rgba(10, 1, 24, 0.8) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c084fc' d='M6 9L2 5h8z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
}

select.voxa-input-field option {
    background: #0a0118 !important;
    background-color: #0a0118 !important;
    color: #fff !important;
    padding: 10px;
}

.voxa-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Submit Button */
.voxa-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #9333ea 0%, #c084fc 100%);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 35px rgba(147, 51, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.voxa-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.voxa-submit-btn:hover::before {
    left: 100%;
}

.voxa-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(147, 51, 234, 0.6);
}

.voxa-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.voxa-submit-btn:hover .voxa-btn-icon {
    transform: translateX(5px);
}

/* Contact Info Stack */
.voxa-contact-info-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Info Cards */
.voxa-info-card {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.08) 0%, rgba(10, 1, 24, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(147, 51, 234, 0.25);
    border-radius: 25px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.voxa-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #9333ea, #c084fc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.voxa-info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 20px 50px rgba(147, 51, 234, 0.3);
}

.voxa-info-card:hover::before {
    opacity: 1;
}

/* Card Icon */
.voxa-card-icon-wrapper {
    margin-bottom: 20px;
}

.voxa-card-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #9333ea 0%, #c084fc 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.5);
    transition: all 0.4s ease;
}

.voxa-info-card:hover .voxa-card-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.7);
}

.voxa-card-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.voxa-card-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.8;
}

/* Contact Links */
.voxa-contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(147, 51, 234, 0.08);
    border: 1px solid rgba(147, 51, 234, 0.15);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.voxa-contact-link:last-child {
    margin-bottom: 0;
}

.voxa-contact-link i {
    font-size: 18px;
    color: #c084fc;
    width: 20px;
    text-align: center;
}

.voxa-contact-link:hover {
    background: rgba(147, 51, 234, 0.15);
    border-color: rgba(147, 51, 234, 0.3);
    transform: translateX(5px);
    color: #fff;
}

/* Address */
.voxa-address {
    margin-bottom: 15px;
    line-height: 1.8;
}

.voxa-map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c084fc;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.voxa-map-link:hover {
    color: #9333ea;
    transform: translateX(3px);
}

/* Hours Grid */
.voxa-hours-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.voxa-hour-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(147, 51, 234, 0.05);
    border: 1px solid rgba(147, 51, 234, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.voxa-hour-item:hover {
    background: rgba(147, 51, 234, 0.1);
    border-color: rgba(147, 51, 234, 0.2);
}

.voxa-hour-item.voxa-highlight {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2) 0%, rgba(192, 132, 252, 0.1) 100%);
    border-color: rgba(147, 51, 234, 0.3);
}

.voxa-day {
    font-weight: 600;
    color: #fff;
}

.voxa-time {
    color: #c084fc;
    font-weight: 600;
}

/* Social Grid */
.voxa-social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.voxa-social-btn {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.voxa-social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.4);
}

.voxa-social-btn.voxa-twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
    color: #fff;
}

.voxa-social-btn.voxa-linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
    color: #fff;
}

.voxa-social-btn.voxa-github:hover {
    background: #333;
    border-color: #333;
    color: #fff;
}

.voxa-social-btn.voxa-discord:hover {
    background: #7289DA;
    border-color: #7289DA;
    color: #fff;
}

.voxa-social-btn.voxa-telegram:hover {
    background: #0088CC;
    border-color: #0088CC;
    color: #fff;
}

.voxa-social-btn.voxa-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    border-color: #bc1888;
    color: #fff;
}

/* Responsive Design */
@media (max-width: 991px) {
    .voxa-contact-form-container {
        padding: 40px 30px;
        margin-bottom: 30px;
    }
    
    .voxa-form-heading {
        font-size: 36px;
    }
    
    .voxa-form-grid {
        grid-template-columns: 1fr;
    }
    
    .voxa-social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .voxa-contact-modern-section {
        padding: 60px 0;
    }
    
    .voxa-contact-form-container {
        padding: 30px 20px;
    }
    
    .voxa-form-heading {
        font-size: 32px;
    }
    
    .voxa-input-field {
        padding: 16px 18px 16px 45px;
    }
    
    .voxa-submit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .voxa-info-card {
        padding: 25px 20px;
    }
    
    .voxa-card-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}
