/* Contact Page Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Add this to your index.css file */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures navbar stays on top of other content */
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/static/img/bg.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 50px;
}

/* Contact Content */
.contact-content {
    margin-bottom: 50px;
}

.contact-info-card,
.contact-form-card,
.map-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    height: 100%;
}

/* Contact Info Styles */
.contact-detail {
    display: flex;
    margin-bottom: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #0d6efd;
    font-size: 20px;
}

.contact-detail h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-detail p {
    margin-bottom: 5px;
    color: #6c757d;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        background-color: #0d6efd;
        color: white;
    }

/* Contact Form Styles */
.contact-form-card {
    margin-bottom: 30px;
}

.form-label {
    font-weight: 500;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Map Styles */
.contact-map {
    height: 400px;
    border-radius: 8px;
    margin: 20px 0;
}

.map-buttons {
    display: flex;
    justify-content: center;
}

/* FAQ Section */
.faq-section {
    background-color: #f8f9fa;
    padding: 70px 0;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: none;
}

.accordion-button {
    font-weight: 600;
    padding: 20px;
    background-color: white;
}

    .accordion-button:not(.collapsed) {
        color: #0d6efd;
        background-color: rgba(13, 110, 253, 0.1);
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
        border-color: rgba(13, 110, 253, 0.25);
    }

.accordion-body {
    padding: 20px;
    background-color: white;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.8)), url('/api/placeholder/1200/400?text=Contact+Us');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 70px 0;
    margin-top: 50px;
    margin-bottom: 0;
}

    .cta-section h2 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    .cta-section .btn {
        background-color: white;
        color: #0d6efd;
        font-weight: 600;
        padding: 12px 30px;
        border: none;
    }

        .cta-section .btn:hover {
            background-color: rgba(255, 255, 255, 0.9);
        }

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

    .btn-outline-primary:hover {
        background-color: #0d6efd;
        color: white;
    }

/* Footer */
.footer {
    background-color: #343a40;
    color: white;
    padding: 30px 0;
}

    .footer a {
        text-decoration: none;
        transition: opacity 0.3s;
    }

        .footer a:hover {
            opacity: 0.8;
        }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
    }

    .contact-detail {
        flex-direction: column;
    }

    .icon-box {
        margin-bottom: 10px;
    }

    .contact-map {
        height: 300px;
    }

    .faq-section {
        padding: 40px 0;
    }

    .cta-section {
        padding: 40px 0;
    }
}
