/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    padding: 120px 20px 80px;
}

.contact-hero-content {
    max-width: 800px;
    animation: heroAppear 2.5s ease-out;
}

.contact-subtitle {
    font-size: 0.9rem;
    color: #ff7c7c;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    position: relative;
    display: inline-block;
    font-weight: 300;
}

.contact-subtitle::before, .contact-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffa4a4, transparent);
    animation: linePulse 3s ease infinite;
}

.contact-subtitle::before {
    left: -60px;
}

.contact-subtitle::after {
    right: -60px;
}

.contact-hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ff2424 0%, #ff69b4 30%, #ff6161 60%, #e0a3ff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: modernGradient 8s ease infinite;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.contact-description {
    max-width: 600px;
    margin: 0 auto;
}

.contact-description p {
    font-size: 1.2rem;
    color: #d1d1d1;
    line-height: 1.7;
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: #ffd4d4;
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-info > p {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 105, 180, 0.2);
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(224, 163, 255, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-item p {
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
}

.why-choose {
    padding: 30px;
    border-radius: 15px;
    background: rgba(224, 163, 255, 0.05);
    border: 1px solid rgba(224, 163, 255, 0.1);
}

.why-choose h3 {
    color: #ffd4d4;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.why-choose ul {
    list-style: none;
    padding: 0;
}

.why-choose li {
    color: #cccccc;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.why-choose li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff7c7c;
    font-weight: bold;
}

/* Contact Form */
.contact-form-container {
    padding: 50px 40px;
    position: sticky;
    top: 100px;
}

.contact-form-container h3 {
    font-size: 1.8rem;
    color: #ffd4d4;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-form-container > p {
    color: #cccccc;
    margin-bottom: 35px;
    line-height: 1.6;
}

/* Enhanced Form Styles */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: #ff7c7c;
    box-shadow: 0 0 20px rgba(255, 124, 124, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-group input::placeholder, .form-group textarea::placeholder {
    color: transparent;
}

.form-group label {
    position: absolute;
    top: 18px;
    left: 20px;
    color: #888;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 5px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    color: #ff7c7c;
    background: rgba(0, 0, 0, 0.8);
    padding: 0 8px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ff7c7c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 12px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    position: static;
    color: #cccccc;
    font-size: 0.9rem;
    cursor: pointer;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #a20210, #ff69b4);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 124, 124, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    position: relative;
}

.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding: 25px 30px;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    color: #ff7c7c;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    margin-left: 20px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    color: #cccccc;
    line-height: 1.6;
    margin: 20px 0 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 50vh;
        padding: 100px 20px 60px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-container {
        position: static;
        padding: 40px 30px;
    }
    
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .faq-item {
        padding: 20px 25px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 80px 20px 40px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .faq-question {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .faq-toggle {
        margin-left: 0;
        align-self: flex-end;
    }
}
/* Form Message Styles */
.success-message {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #4CAF50;
}

.error-message {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #f44336;
}

/* Form Error States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #f44336;
    background: rgba(244, 67, 54, 0.05);
}

.form-group.error label {
    color: #f44336;
}

.field-error {
    color: #f44336;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Loading State */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin: 2px 0;
}

.status-new { background: rgba(255, 165, 0, 0.2); color: #ffa500; border: 1px solid rgba(255, 165, 0, 0.3); }
.status-contacted { background: rgba(147, 112, 219, 0.2); color: #9370db; border: 1px solid rgba(147, 112, 219, 0.3); }
.status-qualified { background: rgba(50, 205, 50, 0.2); color: #32cd32; border: 1px solid rgba(50, 205, 50, 0.3); }
.status-converted { background: rgba(32, 201, 151, 0.2); color: #20c997; border: 1px solid rgba(32, 201, 151, 0.3); }
.status-rejected { background: rgba(255, 68, 68, 0.2); color: #ff4444; border: 1px solid rgba(255, 68, 68, 0.3); }

.success-message, .error-message {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}

.success-message {
    background: rgba(50, 205, 50, 0.1);
    border: 1px solid rgba(50, 205, 50, 0.3);
    color: #32cd32;
}

.error-message {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Add these to your contact.css file */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin: 2px 0;
}

.status-new { 
    background: rgba(255, 165, 0, 0.2); 
    color: #ffa500; 
    border: 1px solid rgba(255, 165, 0, 0.3); 
}

.success-message, .error-message {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.success-message {
    background: rgba(50, 205, 50, 0.1);
    border: 1px solid rgba(50, 205, 50, 0.3);
    color: #32cd32;
}

.error-message {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.field-error {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}