/* Contact Page Styles */
:root {
    --primary-blue: #2c5282;
    --light-blue: #ebf8ff;
    --medium-blue: #4299e1;
    --dark-blue: #2a4365;
    --accent-blue: #63b3ed;
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff" fill-opacity="0.05" x="0" y="0" width="100" height="100"/></svg>');
    opacity: 0.1;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.contact-hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-hero .highlight {
    color: var(--accent-blue);
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    margin-top: -100px;
}

/* Contact Form Styles */
.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(44, 82, 130, 0.1);
}

.contact-form-container h2 {
    color: var(--dark-blue);
    margin-bottom: 30px;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.submit-button {
    background-color: #0056b3;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #004494;
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.form-group label {
    color: var(--dark-blue);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--medium-blue);
}

.submit-btn {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}

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

.info-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(44, 82, 130, 0.1);
}

.info-card h3 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-details {
    flex: 1;
}

.contact-details .label {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.contact-details a,
.contact-details address {
    color: var(--dark-blue);
    text-decoration: none;
    font-style: normal;
    font-weight: 500;
}

/* Business Hours Styles */
.hours-grid {
    display: grid;
    gap: 15px;
}

.day-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.day {
    color: #64748b;
}

.hours {
    color: var(--dark-blue);
    font-weight: 500;
}

.emergency-note {
    margin-top: 20px;
    color: #ef4444;
    font-weight: 500;
    text-align: center;
    padding: 10px;
    border: 1px dashed #ef4444;
    border-radius: 10px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.facebook { background: #1877f2; }
.twitter { background: #1da1f2; }
.instagram { background: #e4405f; }
.linkedin { background: #0077b5; }

/* Map Section */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(44, 82, 130, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: 50px;
    font-size: 2.5rem;
}

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

.faq-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.05);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    color: var(--dark-blue);
    font-size: 1.1rem;
    margin: 0;
}

.toggle-icon {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
}

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

.faq-answer p {
    padding-bottom: 20px;
    color: #64748b;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background: var(--light-blue);
}

/* Submit Button Styles */
.submit-button {
    background-color: #0056b3;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #004494;
}

.submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-form-container,
    .info-card {
        padding: 20px;
    }

    .social-links {
        justify-content: center;
    }
}
