/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, #1a2b5f 0%, #2c4085 100%);
    color: var(--white);
    padding: 80px 0 60px;
    text-align: center;
}

.contact-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Form Container */
.form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 16px;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 15px;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(74, 93, 158, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Radio Group */
.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.radio-label input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: underline;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    border: 3px dashed #d0d0d0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.file-upload-label:hover {
    border-color: var(--accent-color);
    background: #f0f4ff;
}

.file-upload-label svg {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.file-upload-label span {
    color: var(--text-dark);
    font-weight: 600;
}

.file-info {
    font-size: 13px !important;
    color: var(--text-light) !important;
    font-weight: 400 !important;
    margin-top: 8px;
}

/* File List */
.file-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f5f5f5;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.file-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.file-item span {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
}

.remove-file {
    background: #e74c3c;
    color: var(--white);
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: background 0.3s;
    flex-shrink: 0;
}

.remove-file:hover {
    background: #c0392b;
}

/* reCAPTCHA Placeholder */
.recaptcha-placeholder {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.recaptcha-placeholder p {
    margin: 0;
    color: var(--text-light);
    font-size: 14px;
}

/* Submit Button */
.form-actions {
    margin-top: 10px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #ff9052 0%, #ff7a33 100%);
    color: var(--white);
    border: none;
    padding: 18px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 25px rgba(255, 144, 82, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 144, 82, 0.5);
}

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

.spinner {
    width: 24px;
    height: 24px;
    animation: rotate 1s linear infinite;
}

.spinner circle {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
    stroke-linecap: round;
}

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

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Alerts */
.alert {
    padding: 20px;
    border-radius: 10px;
    margin-top: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.alert-success {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--accent-color);
}

.info-card h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.info-value {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.info-hours {
    font-size: 14px;
    color: var(--text-light);
}

.info-card.highlight {
    background: linear-gradient(135deg, #4a5d9e 0%, #1a2b5f 100%);
    color: var(--white);
}

.info-card.highlight h3 {
    color: var(--white);
    font-size: 20px;
}

.info-card.highlight ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    text-align: left;
}

.info-card.highlight li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card.highlight li:last-child {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-container {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 36px;
    }

    .contact-hero p {
        font-size: 16px;
    }

    .form-container {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .btn-submit {
        font-size: 16px;
        padding: 16px 30px;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 60px 0 40px;
    }

    .contact-hero h1 {
        font-size: 28px;
    }

    .form-container h2 {
        font-size: 24px;
    }

    .file-upload-label {
        padding: 30px 15px;
    }
}
