/* === Contact Page Styles === */

/* Ensure the body uses the same styling as the rest of the site */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #E9F1F7; /* Match homepage background */
}

/* Navbar Alignment */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%; /* Adjusted padding for better positioning */
    background-color: #5BA4CF;
    height: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
/*    flex-wrap: nowrap;*/
}

/* Logo and Brand Text */
.navbar-brand {
    display: flex;
    align-items: center;

    font-size: 2rem; /* Match form titles */
    font-weight: bold;
    font-family: 'Lora', serif;
    color: white !important;
    text-decoration: none;
    white-space: nowrap;
}

/* Ensuring the hamburger menu stays aligned */
.navbar-toggler {
    border: none;
    background: transparent;
    outline: none;
    padding: 8px 10px;
}

/* Adjusting the menu icon size */
.navbar-toggler-icon {
    width: 30px;
    height: 30px;
}

/* Centering Nav Links */
/* Navbar Links Centering */
.navbar-nav {
    display: flex;
    justify-content: center;
    flex-grow: 1; /* Ensures it takes space */
    text-align: center;
    margin: 0 auto;
}

.navbar-nav .nav-link {
    color: white !important;
    font-size: 1.2rem;
    font-weight: 500;
    padding: 10px 18px;
    transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #002244 !important;
}

/* === Dropdown Menu === */
.dropdown-menu {
    background-color: white;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
}

.dropdown.show .dropdown-menu {
    display: block !important;
}

.dropdown-item {
    font-size: 1rem;
    color: #333;
    padding: 10px 15px;
    transition: background-color 0.3s ease-in-out;
}

.dropdown-item:hover {
    background-color: #5BA4CF !important; /* Matches navbar */
    color: white !important;
}

.dropdown-menu.show {
    display: block !important;
}




/* Button Container */
.navbar-buttons {
    display: flex; /* Keeps buttons in a row */
    gap: 15px; /* Adds space between Call Us & Email Us */
    align-items: center; /* Ensures vertical alignment */
}


/* Button Styling */
.call-btn, .email-btn {
    display: flex; /* Ensures button text is centered properly */
    align-items: center;
    justify-content: center;
    padding: 12px 30px; /* Makes the buttons larger */
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    background-color: white;
    color: #333;
    border: 2px solid #5BA4CF;
    text-align: center;
    transition: all 0.3s ease-in-out;
}


/* Button Hover Effects */
.call-btn:hover, .email-btn:hover {
    background-color: #5BA4CF;
    color: white;
    border-color: white;
    transform: scale(1.02);
}








/* === Offcanvas Navigation === */
.offcanvas {
    background-color: #5BA4CF; /* Match main navbar */
    color: white;
}

.offcanvas-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Offcanvas menu items are fully left-aligned */
.offcanvas-body {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding-left: 30px !important;
    display: block;
}

/* Nav Links Inside Offcanvas */
.offcanvas .nav-link {
    color: white !important;
    font-size: 1.4rem;
    padding: 12px 0;
    text-align: left;
}

.offcanvas .nav-link:hover {
    text-decoration: underline;
}

.offcanvas .dropdown-menu {
    background-color: white;
    border-radius: 5px;
    padding: 8px 0;
    text-align: left !important;
    width: 100% !important;
    margin-left: 0 !important;
    left: 0 !important;
}

/* Ensure nav links are properly aligned */
.offcanvas .navbar-nav {
    width: 100% !important;
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Individual nav link alignment */
.offcanvas .nav-item {
    width: 100% !important;
    text-align: left !important;
    margin-left: 0 !important;
}

/* Call & Email Buttons at the Bottom */
.offcanvas-footer {
padding-top: auto;    
width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offcanvas .dropdown-item {
    font-size: 1rem;
    color: #333;
    padding: 8px 10px;
}

.offcanvas .dropdown-item:hover {
    background-color: #5BA4CF !important;
    color: white !important;
}

/* === Fix Call & Email Buttons in Mobile Menu === */
/* Button Adjustments in Mobile Nav */
/* Button Adjustments */
.offcanvas-footer .btn {
    display: flex;
    width: 90%; /* Adjust width to look better */
    margin: 5px 0;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
}

.offcanvas .call-btn, 
.offcanvas .email-btn {
    background-color: white;
    color: #333;
    border: 2px solid #ffffff;
}

.offcanvas .call-btn:hover, 
.offcanvas .email-btn:hover {
    background-color: #ffffff;
    border-color: #5BA4CF;
    color: #5BA4CF;
    transform: scale(1.02);
}







/* Contact Page Header */
.contact-header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #5BA4CF;
    font-family: 'Lora', serif;
    margin-bottom: 10px;
}

.contact-header p {
    font-size: 1.2rem;
    color: #333;
}

.container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
}

/* Contact Form Container */
.contact-form-container {
    background: #5BA4CF;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px !important;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    opacity: 0.95;
}

/* Contact Page Background */
.contact-section {
    position: relative;
    background-image: url('assets/homepage.jpeg'); /* Ensure correct path */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 100px 5%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adjust darkness */
    z-index: 1;
}


/* Ensures content is above overlay */
.contact-section .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}


.contact-form-container {
    position: relative;
    z-index: 2; /* Above the overlay */
    background: #5BA4CF !important;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
    text-align: center;
    opacity: 0.95;
}

.contact-form-container h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #F3F3E3;
    font-family: 'Lora', serif;
    margin-bottom: 15px;
}

/* Contact Form Fields */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #5BA4CF;
    background: white;
    font-size: 1rem;
    color: #2F2F2F;
    transition: all 0.3s ease;
    text-align: left;
    margin-bottom: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #F3F3E3;
    outline: none;
}

/* Contact Form Submit Button */
.contact-submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #ffffff;
    color: #2F2F2F;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-submit-btn:hover {
    background-color: #002244;
    color: #F3F3E3;
    transform: scale(1.02);
}







/* === FAQ Section Styling === */

.faq-section {
    background-color: #E9F1F7; /* Match the site background */
    padding: 60px 5%;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #5BA4CF; /* Matches contact section */
    font-family: 'Lora', serif;
    text-align: center;
    margin-bottom: 20px;
}

.faq-section p {
    font-size: 1.2rem;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
}

/* FAQ Accordion Styling */
.accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.accordion-header {
    background-color: #5BA4CF;
    border-radius: 10px;
}

.accordion-button {
    background-color: #5BA4CF !important;
    color: white !important;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 15px;
    border: none;
    transition: all 0.3s ease-in-out;
}

.accordion-button:hover {
    background-color: #4A92B7 !important; /* Slightly darker hover effect */
}

.accordion-button:not(.collapsed) {
    background-color: #4A92B7 !important;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background-color: white;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Links inside FAQ */
.accordion-body a {
    color: #5BA4CF;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.accordion-body a:hover {
    color: #002244;
    text-decoration: underline;
}




/* Google Business Section Styling */
.google-business-section {
    background-color: #E9F1F7;
    padding: 60px 5%; /* Adds spacing around the section */
    border-radius: 10px;
}

/* Ensures the content fits well within the page */
.google-business-container {
    max-width: 1100px; /* Centers the content and prevents it from stretching */
    margin: 0 auto; /* Centers everything */
    text-align: center;
    padding: 20px;
}

/* Title Styling */
.google-business-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #5BA4CF !important;
    margin-bottom: 20px;
}

/* Paragraph Styling */
.google-business-section p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

/* Button Styling */
.google-business-section .btn-primary {
    background-color: #5BA4CF;
    color: #fff;
    font-size: 1.2rem;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
    border: none;
}

.google-business-section .btn-primary:hover {
    background-color: #002244;
}

/* Responsive Layout Adjustments */
.google-business-section .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

/* Ensures even spacing between text & map */
.google-business-section .col-md-6 {
    padding: 15px;
    flex: 1; /* Ensures equal width */
    min-width: 300px; /* Prevents text from being too narrow on small screens */
}

/* Google Maps Styling */
.google-business-section iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
    border: 1px solid #ccc; /* Optional: subtle border */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}






/* --- FOOTER STYLING --- */
.footer {
    background-color: #5BA4CF; /* Maintain brand color */
    color: #F3F3E3;
    text-align: center;
    padding: 40px 20px;
    font-family: 'Lora', serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Footer Container */
.footer .container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

/* Contact Info */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.footer-contact a {
    color: #F3F3E3;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-contact a:hover {
    color: #002244;
    transform: scale(1.05);
}

.social-icons i {
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 8px;
    color: #3b5998; /* Facebook Blue */
}

/* Privacy Policy */
.footer .privacy-policy {
    font-size: 1rem;
    font-weight: bold;
    margin-top: 5px;
}

.footer .privacy-policy a {
    color: #F3F3E3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .privacy-policy a:hover {
    color: #002244;
}

/* Copyright */
.footer .copyright {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.85;
}









/* Responsive Design */
@media (max-width: 768px) {
    .contact-header h2 {
        font-size: 2rem;
    }

    .contact-header p {
        font-size: 1rem;
    }

    .contact-form-container {
        padding: 30px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
    }

}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .google-business-section h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .google-business-section p {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .google-business-section .btn-primary {
        display: block;
        margin: 15px auto;
    }
    
    .google-business-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .google-business-section iframe {
        height: 250px;
    }
}





/* Responsive Styling */
@media (max-width: 768px) {
    .custom-navbar {
        padding: 10px 15px;
    }

    .navbar-brand {
        font-size: 1.5rem;
    }

    .navbar-toggler {
        padding: 6px 8px;
    }



    .footer {
        padding: 30px 15px;
    }

    .footer-social {
        gap: 15px;
    }

    .footer-contact a {
        font-size: 1rem;
    }
}


/* Responsive Styling */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 5%;
    }

    .faq-section h2 {
        font-size: 2rem;
    }

    .faq-section p {
        font-size: 1rem;
    }

    .accordion-button {
        font-size: 1rem;
        padding: 12px;
    }

    .accordion-body {
        font-size: 1rem;
        padding: 15px;
    }
}

/* Desktop Fix */
@media (min-width: 1200px) {
    .bio-section {
        background-size: 100% auto; /* Ensures the full image width is visible */
        background-position: top center; /* Aligns image properly */
    }

    .contact-form-container {
        max-width: 900px; /* Wider form on large screens */
    }
}

/* === Responsive Styles === */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .navbar-collapse {
        text-align: center;
    }

    .navbar-nav {
        margin: 0;
        text-align: center;
    }

    .navbar .btn {
        padding: 15px 30px; /* Larger buttons on desktop */
        font-size: 1.1rem; /* Bigger text */
        min-width: 150px; /* Ensures buttons don't shrink too much */
    }

    .navbar-buttons .btn {
        padding: 15px 30px;
        font-size: 1.1rem;
        flex-grow: 1; /* Makes them take up more space */
    }

    .bio-section {
        min-height: 80vh; /* Taller bio section on desktop */
        background-size: cover; /* Ensures full background visibility */
        background-position: center center;
    }
}

@media (min-width: 992px) {
    .contact-section {
        padding: 120px 10%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

/* Hide buttons on mobile */
@media (max-width: 991px) {
    .navbar-buttons {
        display: none; /* Hides the buttons in the header on mobile */
    }

    .offcanvas .btn {
        display: flex;
        width: 100%;
        margin: 5px 0;
        padding: 12px;
        font-size: 1.1rem;
        font-weight: bold;
        border-radius: 8px;
    }

        .contact-section {
            background-attachment: scroll; /* Fixes mobile issue */
        }
    }

