/*
Theme Name: Enquiring Minds Childcare
Theme URI: https://example.com/
Author: Daniel Gerber
Author URI: https://example.com/
Description: A custom theme for Enquiring Minds Childcare.
Version: 1.0
*/

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.navbar-brand img {
    max-height: 120px;
    width: auto;
}

.navbar-nav {
    gap: 20px;
}

.navbar-nav .nav-link {
    font-size: 16px;
    white-space: nowrap;
    padding: 5px 10px;
}

.contact-btn {
    font-size: 18px;
    padding: 5px 15px;
    white-space: nowrap;
}

/* Floating Call Us Button */
.call-us-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 50px;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.call-us-btn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .call-us-btn {
        top: 20px;
        bottom: auto;
    }
}

@media (max-width: 767px) {
    .call-us-btn {
        bottom: 15px;
        right: 15px;
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* Hero Section */
.hero-video {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.video-overlay-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.hero-video video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-bottom-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.video-bottom-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.video-bottom-text p {
    font-size: 1.25rem;
    color: #fff;
}

.hero-text-below {
    padding: 15px 10px;
    text-align: center;
}

.hero-text-below h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero-text-below p {
    font-size: 0.9rem;
}

/* Features Section */
.features-section {
    padding: 50px 0;
}

.features-section h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.features-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.branches-list {
    list-style: none;
    padding: 0;
}

.branches-list li {
    margin-bottom: 15px;
}

.branches-list li a {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.branches-list li a:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer p, .footer a {
    font-size: 14px;
    color: #fff;
}

.footer a:hover {
    color: #007bff;
    text-decoration: none;
}

.footer .list-unstyled {
    padding-left: 0;
    list-style: none;
}

.footer .list-unstyled li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .footer h4 {
        font-size: 16px;
    }
    .footer p, .footer a {
        font-size: 13px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-video {
        height: 30vh;
    }
}

/* Welcome Section */
.welcome-message {
    text-align: justify; /* Square off text alignment */
    line-height: 1.8; /* Better line spacing */
    font-size: 1.1rem;
    color: #555;
}

/* Branches Section */
.branches-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.branch-btn {
    display: inline-block;
    width: 100%; /* Full-width buttons for uniformity */
    padding: 15px; /* Consistent padding */
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    border-radius: 5px; /* Slightly rounded edges */
    text-decoration: none; /* No underline */
    color: #fff; /* White text for contrast */
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

/* Original Background Colors */
.branch-btn.btn-danger {
    background-color: #e53935; /* Red */
}

.branch-btn.btn-warning {
    background-color: #2d53fb; /* Blue (Updated from Yellow) */
}

.branch-btn.btn-success {
    background-color: #43a047; /* Green */
}

/* Hover Effect: All Buttons Turn Golden Yellow */
.branch-btn:hover {
    transform: translateY(-3px); /* Lift effect on hover */
    background-color: #ffd700!important; /* Golden Yellow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add shadow */
}

/* Hero Section - Add bottom margin */
.hero-section {
    margin-bottom: 60px; /* Adds space below the video */
}

/* Contact Link Styling */
.contact-link {
    font-size: 2rem; /* Larger text size */
    font-weight: bold; /* Bold for emphasis */
    color: #ff9800; /* Bright orange */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth hover effect */
    display: inline-block; /* Ensures proper spacing alignment */
    margin-left: 15px; /* Adds spacing to align with section padding */
    animation: bounce 1s infinite; /* Apply bounce animation */
}

/* Hover Effect */
.contact-link:hover {
    color: #e65100; /* Darker orange on hover */
    text-decoration: underline; /* Add underline for emphasis */
}

/* Bounce Animation */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0); /* Starting and ending position */
    }
    50% {
        transform: translateY(-5px); /* Moves up slightly */
    }
}

* Navigation Menu */
.navbar-nav .nav-link {
    font-size: 16px;
    color: #333; /* Default text color */
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

/* Navigation Menu */
.navbar-nav .nav-link {
    font-size: 16px;
    color: #333; /* Default text color */
    padding: 10px 15px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth hover effect */
}

/* Default Hover */
.navbar-nav .nav-link:hover {
    color: #fff; /* Change text to white on hover */
}

/* Unique Hover Colors for Each Menu Item */
.menu-item-27:hover {
    background-color: #f44336; /* Red */
}

.menu-item-28:hover {
    background-color: #4caf50; /* Green */
}

.menu-item-29:hover {
    background-color: #2196f3; /* Blue */
}

.menu-item-30:hover {
    background-color: #ffeb3b; /* Yellow */
}

.menu-item-31:hover {
    background-color: #9c27b0; /* Purple */
}

.menu-item-32:hover {
    background-color: #ff5722; /* Orange */
}

.menu-item-33:hover {
    background-color: #795548; /* Brown */
}

.menu-item-34:hover {
    background-color: #03a9f4; /* Light Blue */
}

.menu-item-35:hover {
    background-color: #8bc34a; /* Lime Green */
}

.menu-item-36:hover {
    background-color: #ffc107; /* Amber */
}

.menu-item-37:hover {
    background-color: #e91e63; /* Pink */
}

/* Ensure High Specificity */
.navbar-nav .menu-item-27:hover {
    background-color: #f44336 !important;
}

.navbar-nav .menu-item-28:hover {
    background-color: #4caf50 !important;
}

.navbar-nav .menu-item-29:hover {
    background-color: #2196f3 !important;
}

.navbar-nav .menu-item-30:hover {
    background-color: #ffeb3b !important;
}

.navbar-nav .menu-item-31:hover {
    background-color: #9c27b0 !important;
}

.navbar-nav .menu-item-32:hover {
    background-color: #ff5722 !important;
}

.navbar-nav .menu-item-33:hover {
    background-color: #795548 !important;
}

.navbar-nav .menu-item-34:hover {
    background-color: #03a9f4 !important;
}

.navbar-nav .menu-item-35:hover {
    background-color: #8bc34a !important;
}

.navbar-nav .menu-item-36:hover {
    background-color: #ffc107 !important;
}

.navbar-nav .menu-item-37:hover {
    background-color: #e91e63 !important;
}

/* About Us Section */
.about-us img {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-us h2 {
    font-size: 2rem;
    color: #333;
}

.about-us p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Testimonials Section */
.testimonials {
    background-color: #f9f9f9;
}

.testimonials h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #007bff;
}

.testimonials blockquote {
    background-color: #fff;
    padding: 20px;
    border-left: 5px solid #007bff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonials blockquote footer {
    font-size: 0.9rem;
    color: #777;
}
/* Default Page Heading Styles */
.page-heading {
    color: #fff;
    padding: 20px 0; /* Existing padding */
    text-align: center;
    margin-bottom: 40px; /* Add extra space below the heading */
}

/* About Us Page Heading */
.about-us-page .page-heading {
    background-color: #f44336; /* Red */
}

/* Branches Page Heading */
.branches-page .page-heading {
    background-color: #4caf50; /* Green */
}

/* Contact Page Heading */
.contact-page .page-heading {
    background-color: #2196f3; /* Blue */
}

/* Gallery Page Heading */
.gallery-page .page-heading {
    background-color: #9c27b0; /* Purple */
}

/* Funding Page Heading */
.funding-page .page-heading {
    background-color: #ffeb3b; /* Yellow */
    color: #000; /* Black text for contrast */
}

/* Our Environments Page Heading */
.environments-page .page-heading {
    background-color: #ff5722; /* Orange */
}

/* Default Page Heading */
.default-page .page-heading {
    background-color: #607d8b; /* Gray */
}
/* Branches Section */
.branch-image {
    height: 300px; /* Set consistent height for all branch images */
    background-size: cover; /* Ensure the image covers the div */
    background-position: center; /* Center the image */
    border-radius: 5px; /* Optional rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.contact-link {
    display: inline-block;
    margin-top: 15px; /* Add space above link */
    font-size: 1.2rem; /* Larger font for emphasis */
    font-weight: bold;
    color: #e67e22; /* Orange color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.contact-link:hover {
    color: #d35400; /* Darker orange on hover */
    text-decoration: underline; /* Optional underline on hover */
}
/* Reverse Layout for Desktop */
@media (min-width: 768px) {
    .flex-md-row-reverse {
        flex-direction: row-reverse !important;
    }
}

/* Uniform Layout for Mobile */
@media (max-width: 767px) {
    .branches .row {
        flex-direction: column; /* Stack items vertically */
    }

    .branches .branch-image {
        margin-bottom: 15px; /* Space below the image */
    }
}
/* Funding Section Images */
.funding-image-container {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 300px; /* Uniform height for all images */
    border-radius: 10px; /* Optional rounded corners */
}

/* Adjust for Mobile View */
@media (max-width: 768px) {
    .funding-image-container {
        height: 200px; /* Reduce height for smaller screens */
    }

    .funding .row {
        flex-direction: column; /* Ensure consistent image-text layout on mobile */
    }
}
/* Contact Us Link in Funding Page */
.funding .contact-link a {
    font-size: 1.25rem; /* Larger font for readability */
    font-weight: bold;
    color: #e67e22; /* Orange color for distinction */
    text-decoration: none; /* No underline by default */
    transition: color 0.3s ease; /* Smooth hover effect */
}

.funding .contact-link a:hover {
    color: #d35400; /* Darker orange on hover */
    text-decoration: underline; /* Underline on hover for emphasis */
}

/* Uniform Image Wrapper for Funding Page */
.funding .image-wrapper {
    width: 100%; /* Full width */
    height: 300px; /* Consistent height */
    background-size: cover; /* Scale image to cover */
    background-position: center; /* Center image */
    border-radius: 10px; /* Optional: Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .funding .image-wrapper {
        height: 200px; /* Adjust image height for smaller screens */
    }

    .funding .contact-link a {
        font-size: 1rem; /* Adjust font size for mobile */
    }
}

/* Our Environments Image Wrapper */
.our-environments .image-wrapper {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Contact Us Link Styling */
.our-environments .contact-link a {
    font-size: 1.25rem;
    font-weight: bold;
    color: #e67e22;
    text-decoration: none;
    transition: color 0.3s ease;
}

.our-environments .contact-link a:hover {
    color: #d35400;
    text-decoration: underline;
}
/* Gallery Section */
.gallery .gallery-item {
    position: relative;
}

.gallery .image-wrapper {
    width: 100%;
    padding-top: 75%; /* Maintain aspect ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery .image-wrapper:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add shadow on hover */
}

.gallery .gallery-caption {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery .image-wrapper {
        border-radius: 5px; /* Reduce border radius on smaller screens */
    }
}
/* Carousel Section */
.gallery-carousel .carousel-inner {
    width: 100%;
    height: 50vh;
}

.gallery-carousel .carousel-image-wrapper {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-caption h3 {
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 5px;
    color: #fff;
}

/* Full-Width Gallery Items */
.gallery .gallery-item {
    position: relative;
}

.gallery .image-wrapper {
    width: 100%;
    padding-top: 75%; /* Maintain aspect ratio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-image-wrapper {
    height: 50vh; /* Or another fixed height */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.gallery-carousel {
    margin: 0 auto; /* Center the carousel */
}

.gallery-carousel .carousel {
    width: 100%; /* Full width by default */
}

@media (min-width: 768px) {
    .gallery-carousel .carousel {
        max-width: 30%; /* Limit carousel width to 50% for larger screens */
    }
}

.contact-link a {
    font-size: 1.5rem; /* Consistent font size */
    color: orange; /* Consistent color */
    text-decoration: none; /* Remove underline */
    display: inline-block; /* Consistent alignment */
    transition: color 0.3s ease; /* Smooth hover effect */
}

.contact-link a:hover {
    color: darkorange; /* Slightly darker on hover */
}

/* Branch Contact Styling */
.branch-contact {
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.branch-contact h3 {
    font-size: 1.5rem;
    color: #007bff; /* Adjust to match your theme */
    margin-bottom: 10px;
}

.branch-contact p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.branch-contact a {
    color: #007bff;
    text-decoration: none;
}

.branch-contact a:hover {
    text-decoration: underline;
}

/* Contact Link */
.contact-link a {
    font-size: 1.5rem;
    color: #f39c12; /* Adjust as needed */
    text-decoration: none;
}

.contact-link a:hover {
    text-decoration: underline;
}

/* Uniform Branch Contact Box Styling */
.branch-contact {
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%; /* Ensure all boxes are the same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.branch-contact h3 {
    font-size: 1.5rem;
    color: #007bff; /* Adjust to match your theme */
    margin-bottom: 10px;
}

.branch-contact p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.branch-contact a {
    color: #007bff;
    text-decoration: none;
}

.branch-contact a:hover {
    text-decoration: underline;
}
/* Center and Widen Contact Form */
.contact-form-wrapper {
    margin: 0 auto;
    max-width: 600px; /* Adjust the width of the form */
    padding: 20px;
    background-color: #f9f9f9; /* Optional light background for the form */
    border: 1px solid #ddd; /* Optional border */
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
/* Careers Section Styling */
.careers h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.careers ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.careers ul li {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.careers ul li strong {
    color: #007bff;
}

/* Center and Widen Form */
.contact-form-wrapper {
    margin: 0 auto;
    max-width: 600px; /* Wider form */
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.contact-form-wrapper input,
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.contact-form-wrapper h2 {
    margin-bottom: 20px;
}

.contact-form-wrapper {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

img.img-fluid {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}
/* Increase logo size */
.navbar-logo-left img,
.navbar-logo-right img {
    max-height: 90px; /* 50% increase from 60px */
    width: auto;
}

/* Add spacing between logos and menu */
.navbar-logo-left {
    margin-right: 50px; /* Adjust spacing to move logo further from the menu */
}

.navbar-logo-right {
    margin-left: 50px; /* Adjust spacing to move logo further from the menu */
}

/* Hide right logo on smaller screens */
@media (max-width: 992px) {
    .navbar-logo-right {
        display: none;
    }
}





