
/* Contact Page Specific Styles */
.contact-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    padding: 80px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .contact-info h2 {
        color: #333;
        margin-bottom: 30px;
        font-size: 1.8rem;
    }

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

    .contact-item:hover {
        background: #e3f2fd;
        transform: translateY(-2px);
    }

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.contact-details a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .contact-details a:hover {
        color: #5a67d8;
        text-decoration: underline;
    }

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

    .contact-form-container h2 {
        color: #333;
        margin-bottom: 30px;
        font-size: 1.8rem;
    }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-contact {
    display: flex;
    flex-direction: column;
}

    .form-group-contact label {
        margin-bottom: 8px;
        font-weight: 600;
        color: #333;
        font-size: 0.95rem;
    }

    .form-group-contact input,
    .form-group-contact select,
    .form-group-contact textarea {
        padding: 15px;
        border: 2px solid #e1e5e9;
        border-radius: 10px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }

        .form-group-contact input:focus,
        .form-group-contact select:focus,
        .form-group-contact textarea:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

    .form-group-contact textarea {
        resize: vertical;
        min-height: 120px;
    }

.priority-select {
    position: relative;
}

    .priority-select select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
        background-position: right 12px center;
        background-repeat: no-repeat;
        background-size: 16px;
        padding-right: 40px;
    }

.contact-submit-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

    .contact-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    }

    .contact-submit-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .contact-submit-btn.loading {
        pointer-events: none;
    }

.btn-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
}

.contact-submit-btn.loading .btn-spinner {
    display: block;
}

.contact-submit-btn.loading .btn-text {
    display: none;
}

.office-hours {
    background: #e3f2fd;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    border-left: 4px solid #667eea;
}

    .office-hours h3 {
        color: #333;
        margin-bottom: 15px;
        font-size: 1.2rem;
    }

.hours-list {
    list-style: none;
    padding: 0;
}

    .hours-list li {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid rgba(102, 126, 234, 0.1);
        color: #666;
    }

        .hours-list li:last-child {
            border-bottom: none;
        }

    .hours-list .day {
        font-weight: 600;
        color: #333;
    }

.emergency-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

    .emergency-notice h3 {
        color: #856404;
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .emergency-notice p {
        color: #856404;
        margin: 0;
        font-weight: 500;
    }

    .emergency-notice .emergency-number {
        font-size: 1.3rem;
        font-weight: bold;
        color: #dc3545;
        margin-top: 10px;
    }

.map-container {
    margin-top: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
    border: 2px dashed #dee2e6;
}

.social-links-contact {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

    .social-links-contact a {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

        .social-links-contact a:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
        }

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    display: none;
    align-items: center;
    gap: 10px;
}

    .success-message.show {
        display: flex;
    }

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    display: none;
    align-items: center;
    gap: 10px;
}

    .error-message.show {
        display: flex;
    }

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-hero {
        padding: 60px 0 40px;
    }

        .contact-hero h1 {
            font-size: 2rem;
        }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 40px 15px;
    }

    .contact-info,
    .contact-form-container {
        padding: 30px 20px;
    }

    .form-row-contact {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 40px 0 30px;
    }

    .contact-info,
    .contact-form-container {
        padding: 25px 15px;
    }

    .contact-submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Animation for form validation */
.form-group-contact.error input,
.form-group-contact.error select,
.form-group-contact.error textarea {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.error-text {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}

.form-group-contact.error .error-text {
    display: block;
}
