/* Contact Page Specific Styles */

.contact-header {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid #333333;
    position: relative;
}

.contact-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
}

.contact-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.025em;
    background: linear-gradient(135deg, #2adb5c 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-header p {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    align-items: start;
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(145deg, #111111 0%, #1a1a1a 100%);
    border: 1px solid #333333;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(42, 219, 92, 0.1);
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
}

.form-container h2 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid #333333;
    padding-bottom: 12px;
    background: linear-gradient(135deg, #2adb5c 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Info Section */
.contact-info-section {
    background: linear-gradient(145deg, #111111 0%, #1a1a1a 100%);
    border: 1px solid #333333;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(42, 219, 92, 0.1);
    position: relative;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.1), transparent);
}

.info-container h2 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid #333333;
    padding-bottom: 12px;
    background: linear-gradient(135deg, #2adb5c 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 24px;
    margin-bottom: 1rem;
    background: linear-gradient(145deg, #1a1a1a 0%, #222222 100%);
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.06), transparent);
    transition: left 0.5s ease;
}

.info-card:hover {
    border-color: #2adb5c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 219, 92, 0.3);
    background: linear-gradient(145deg, #222222 0%, #2a2a2a 100%);
}

.info-card:hover::before {
    left: 100%;
}

.info-icon {
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.3));
}

.info-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

.info-content p {
    color: #cccccc;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.info-content a {
    color: #2adb5c;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid #444444;
    transition: all 0.3s ease;
}

.info-content a:hover {
    color: #22c55e;
    border-bottom-color: #22c55e;
}

.faq-container {
    margin-top: 2rem;
}

.faq-container h3 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid #333333;
    padding-bottom: 12px;
    background: linear-gradient(135deg, #2adb5c 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 24px;
    background: linear-gradient(145deg, #1a1a1a 0%, #222222 100%);
    border: 1px solid #333333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.06), transparent);
    transition: left 0.5s ease;
}

.faq-item:hover {
    border-color: #2adb5c;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(42, 219, 92, 0.3);
    background: linear-gradient(145deg, #222222 0%, #2a2a2a 100%);
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item h4 {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.faq-item p {
    color: #cccccc;
    margin: 0;
    line-height: 1.6;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #444444;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(145deg, #1a1a1a 0%, #222222 100%);
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2adb5c;
    box-shadow: 0 0 0 3px rgba(42, 219, 92, 0.2);
    background: linear-gradient(145deg, #222222 0%, #2a2a2a 100%);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(145deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: 1px solid #22c55e;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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.5s ease;
}

.submit-btn:hover {
    border-color: #16a34a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    background: linear-gradient(145deg, #16a34a 0%, #15803d 100%);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: #9ca3af;
    border-color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Message */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #2a1a1a;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    background: #1a1a1a;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.contact-info h2 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #2a2a2a;
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    color: #ffffff;
}

.contact-details h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    color: #6b7280;
    margin: 0;
}

.contact-details a {
    color: #22c55e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #16a34a;
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    background: #1a1a1a;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.faq-section h3 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.faq-item p {
    margin: 0;
    line-height: 1.6;
}

/* File upload styles */
.file-upload-container {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-area {
    border: 2px dashed #d1d5db;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 100%);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.file-upload-area:hover {
    border-color: #9ca3af;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
}

.file-upload-area.dragover {
    border-color: #22c55e;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.upload-text p {
    margin: 0.5rem 0;
    color: #6b7280;
}

.upload-limit {
    font-size: 0.9rem;
    color: #9ca3af;
}

.file-preview {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.file-item {
    position: relative;
    display: inline-block;
    border: 1px solid #d1d5db;
    padding: 0.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f9fafb 100%);
    max-width: 150px;
}

.file-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.file-item .file-name {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
    word-break: break-all;
}

.file-item .file-size {
    font-size: 0.7rem;
    color: #9ca3af;
}

.file-item .remove-file {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-item .remove-file:hover {
    background: #c82333;
}

.file-error {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-header p {
        font-size: 1rem;
    }
    
    .contact-form-section,
    .contact-info,
    .faq-section {
        padding: 1.5rem;
    }
    
    .form-container h2,
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item:hover {
        transform: none;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .info-icon {
        margin-bottom: 1rem;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .file-preview {
        justify-content: center;
    }
    
    .file-item {
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    
    .contact-header {
        margin: 1rem 0;
        padding: 1rem 0;
    }
    
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-form-section,
    .contact-info,
    .faq-section {
        padding: 1rem;
    }
    
    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Animation for form validation */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ff4444;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Success animation */
.form-message.success {
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}