﻿/* ============================================
   CONTACT US SECTION STYLES
   ============================================ */

/* Contact Section Container */
.contact-section {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    padding: 60px 20px;
    margin: 60px 0;
    border-radius: 24px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

/* Contact Title */
.contact-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 25px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact Description */
.contact-description {
    font-size: 16px;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

    .contact-description strong {
        color: #667eea;
        font-weight: 600;
    }

/* Contact Form */
.contact-form {
    width: 100%;
}

/* Form Row for Name and Email */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

/* Form Group */
.form-group {
    margin-bottom: 25px;
}

.form-row .form-group {
    margin-bottom: 0;
}

/* Form Labels */
.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

    .form-label .required {
        color: #f56565;
        font-weight: 700;
    }

/* Form Inputs */
.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    color: #2d3748;
    background: #f8f9fa;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

    .form-input::placeholder,
    .form-textarea::placeholder {
        color: #a0aec0;
        font-size: 14px;
    }

    .form-input:hover,
    .form-textarea:hover {
        border-color: #cbd5e0;
        background: #ffffff;
    }

    .form-input:focus,
    .form-textarea:focus {
        outline: none;
        border-color: #667eea;
        background: #ffffff;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

/* Textarea specific */
.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

/* Submit Button Container */
.form-submit {
    text-align: center;
    margin-top: 35px;
}

/* Submit Button */
.submit-button {
    padding: 16px 60px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
}

    .submit-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
        background: linear-gradient(135deg, #fb923c, #f97316);
    }

    .submit-button:active {
        transform: translateY(0);
    }

/* Success/Error Messages */
.form-message {
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

    .form-message.success {
        background: linear-gradient(135deg, #d4f4dd, #e6f7e6);
        color: #22543d;
        border: 1px solid #9ae6b4;
    }

    .form-message.error {
        background: linear-gradient(135deg, #fed7d7, #fee5e5);
        color: #742a2a;
        border: 1px solid #fc8181;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        padding: 30px 20px;
    }

    .contact-title {
        font-size: 24px;
    }

    .contact-description {
        font-size: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

        .form-row .form-group {
            margin-bottom: 25px;
        }

    .form-input,
    .form-textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .submit-button {
        padding: 14px 40px;
        font-size: 16px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 15px;
        margin: 40px 0;
    }

    .contact-container {
        padding: 25px 15px;
    }

    .contact-title {
        font-size: 20px;
    }
}

/* Loading State for Button */
.submit-button.loading {
    position: relative;
    color: transparent;
}

    .submit-button.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-left: -10px;
        margin-top: -10px;
        border: 2px solid #ffffff;
        border-radius: 50%;
        border-top-color: transparent;
        animation: spinner 0.8s linear infinite;
    }

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
