/* ===== Contact Form Specific Styles ===== */

/* Contact form card */
.contact-form-card {
    background: rgba(42, 25, 98, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 32px 28px;
}

.contact-form-header {
    margin-bottom: 28px;
}

.contact-form-tag {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7c5cff;
    margin-bottom: 12px;
    display: block;
}

.contact-form-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.3;
}

.contact-form-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

.contact-form-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 24px 0;
}

/* Form groups and inputs */
.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.contact-form-label small {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.contact-form-input::placeholder,
.contact-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form-input:focus,
.contact-form-textarea:focus {
    outline: none;
    border-color: #7c5cff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.15);
}

.contact-form-input.error,
.contact-form-textarea.error {
    border-color: #ff4444;
}

.contact-form-textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

/* Captcha section */
.contact-captcha-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-captcha-question {
    flex: 1;
    background: rgba(42, 25, 98, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.contact-captcha-input {
    width: 100px;
    flex-shrink: 0;
}

/* Error messages */
.contact-error-message {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 6px;
    display: block;
}

.contact-success-message {
    background: rgba(40, 167, 69, 0.2);
    border: 1px solid rgba(40, 167, 69, 0.4);
    border-radius: 12px;
    padding: 16px;
    color: #4caf50;
    font-size: 0.9375rem;
    margin-bottom: 20px;
    text-align: center;
}

/* Submit button */
.contact-form-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #7c5cff, #5734c8);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.contact-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 92, 255, 0.4);
}

.contact-form-submit:active {
    transform: translateY(0);
}

.contact-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Contact info cards */
.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-header {
    background: rgba(42, 25, 98, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 32px 28px;
    text-align: center;
}

.contact-info-tag {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7c5cff;
    margin-bottom: 12px;
    display: block;
}

.contact-info-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.contact-info-desc {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 24px;
}

.contact-info-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Contact methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method-card {
    background: linear-gradient(125deg, rgba(87, 52, 200, 0.4), rgba(42, 25, 98, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.contact-method-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(124, 92, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.25);
}

.contact-method-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: rgba(15, 9, 52, 0.65);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.contact-method-icon.whatsapp {
    color: #1ddf7d;
    background: rgba(29, 223, 125, 0.12);
}

.contact-method-icon.email {
    color: #6aa3ff;
    background: rgba(106, 163, 255, 0.12);
}

.contact-method-icon.phone {
    color: #ff7fbf;
    background: rgba(255, 127, 191, 0.12);
}

.contact-method-content {
    flex: 1;
}

.contact-method-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.contact-method-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-decoration: none;
}

/* Contact main grid */
.contact-main {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .contact-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

/* Map section */
.contact-map-section {
    margin-top: 40px;
    margin-bottom: clamp(60px, 8vh, 100px);
}

.contact-map-card {
    background: rgba(42, 25, 98, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.contact-map-wrapper {
    width: 100%;
    height: 400px;
    position: relative;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive design */
@media (max-width: 767px) {
    .contact-form-card,
    .contact-info-header {
        padding: 24px 20px;
    }
    
    .contact-method-card {
        padding: 16px;
    }
    
    .contact-method-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .contact-method-label {
        font-size: 1rem;
    }
    
    .contact-method-value {
        font-size: 0.875rem;
    }
    
    .contact-map-wrapper {
        height: 300px;
    }
    
    .contact-captcha-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-captcha-input {
        width: 100%;
    }
}
