/* General Settings */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    scroll-behavior: smooth; /* Smooth scrolling behavior */
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px; /* Adjust padding to ensure elements don't touch the screen edges */
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #000;
    width: 100%; /* Ensures navbar spans the entire width of the viewport */
    box-sizing: border-box; /* Include padding and borders in width calculation */
    z-index: 1000;
}

/* Logo Image Styling */
.navbar img {
    width: 70px; /* Fixed width for consistency */
    height: auto; /* Maintains aspect ratio */
}

/* Header Title Styling */
.navbar h1 {
    font-family: 'Roboto', sans-serif; /* Roboto font for a modern look */
    font-weight: 700; /* Bold font weight */
    margin-left: 10px; /* Spacing between logo and title */
    font-size: 1.8em; /* Relative font size for scalability */
    color: #000; /* Text color for contrast */
    text-shadow: 0px 0px 10px rgba(67, 71, 67, 0.8); /* Subtle text shadow for depth */
}

/* Navigation Container Styling */
.navbar nav {
    margin-left: auto; /* Pushes the navigation to the edge of the navbar */
    display: flex; /* Ensures nav is visible on larger screens */
    flex-direction: row;
    align-items: center;
    z-index: 1001;
}

/* Navigation List Styling */
.navbar nav ul {
    list-style: none; /* Removes default list styling */
    display: flex; /* Horizontal layout for nav items */
    margin: 0; /* Removes default margin */
    padding: 0; /* Removes default padding */
    align-items: center;
}

/* Navigation Link Styling */
.navbar nav ul li a {
    color: #000; /* Text color for readability */
    text-decoration: none; /* Removes underline from links */
    font-size: 16px; /* Sets the font size for navigation links */
    padding: 10px;
    display: block;
}

/* Styles for the logo link */
.logo-link {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    text-decoration: none;  /* Removes underline from link */
    flex-grow: 0;
    margin-right: auto; /* This pushes everything else to the right */
}

/* Styles for the logo image within the logo link */
.logo-link img {
    vertical-align: middle; /* Aligns the image vertically in line with adjacent text */
}

/* Styles for the heading within the logo link */
.logo-link h1 {
    display: inline;        /* Displays h1 inline with other elements, like the logo */
    margin-left: 5px;      /* Adds space between the logo and the text */
    font-size: 1.8em;       /* Matching the size from your previous style */
    font-weight: 800;       /* Ensures the font weight is bold */
    color: #000;            /* Ensures the text is black */
    text-shadow: 0px 0px 10px rgba(67, 71, 67, 0.8); /* Subtle text shadow for depth */
}

.menu-toggle {
    display: none; /* Hidden by default */
    flex-grow: 0;
    margin-left: auto; /* This pushes the toggle to the far right */
    font-size: 30px; /* Adjust size as appropriate for visibility */
    background: none; /* Optional: Removes any background styling */
    border: none; /* Optional: Removes any border styling */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .navbar {
        display: flex;
        flex-direction: row; /* Keeps items in a row even on smaller screens */
        justify-content: space-between;
        align-items: center;
        padding: 0px; /* You might adjust padding to ensure elements are not too close to the edge */
        width: 100%;
    }

    /* Targeting the logo link to ensure it comes first */
    .logo-link {
        order: 1; /* Lower numbers are placed first */
    }

    /* Targeting the menu toggle to ensure it comes last */
    .menu-toggle {
        order: 2; /* Higher numbers are placed last */
    }

    .logo-link {
        flex-grow: 0; /* Prevent it from growing and thus sticking to the left */
        flex-shrink: 0; /* Prevent it from shrinking */
        flex-basis: auto; /* Adjust based on content size or specific width */
    }

    /* Styling for the toggle menu button */
    .menu-toggle {
        display: block; /* Display the toggle button */
        flex-grow: 0; /* Prevent it from growing to keep it to the right */
        flex-shrink: 0; /* Prevent it from shrinking */
        flex-basis: auto; /* Adjust based on content size */
        font-size: 30px; /* Adjust size as necessary */
        padding: 5px 10px; /* Adjust padding to reduce button size */
        border: none; /* Optional: removes border if present */
        background: transparent; /* Optional: makes the background transparent */
}

    .navbar nav {
        width: 40%; /* Full width to accommodate a potentially visible menu */
        display: none; /* Keeps the menu hidden unless toggled */
        flex-direction: column; /* Ensures menu items stack vertically when displayed */
        align-items: flex-start; /* Aligns menu items to the start */
        position: fixed; /* Makes the dropdown overlay other content */
        top: 70px; /* Positions it right below the navbar */
        right: 20px; /* Aligns it with the left side of the navbar */
        background-color: #fff; /* Background color for the dropdown */
        z-index: 1001;
    }

    .navbar nav ul {
        width: 100%; /* Ensures the list takes full width */
        flex-direction: column; /* Keeps items in a vertical list */
    }

    .navbar nav ul li {
        text-align: left; /* Aligns menu items to the left when visible */
    }
}

/* Further adjustments for very small screens */
@media (max-width: 480px) {
    .navbar h1 {
        font-size: 1.5em; /* Even smaller font size for very small screens */
    }
}
/* googleMap Section */
#googleMapSection {
    padding: 2px; 
    background-color: #3a3e3f;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh; /* Ensures that the section takes at least half the height of the viewport */
}

/* Google Map container */
.googleMap-container {
    position: relative; /* Position relative for absolute positioning of overlay */
    display: flex;
    align-items: flex-start; /* Corrected from 'left' */
    justify-content: flex-start; /* Corrected from 'left' */
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    height: 600px;
    margin: auto;
}

#googleMap {
    flex: 3; /* Allocates more space to the map */
    margin-left: 25px; /* Remove any left margin if present */
    margin-top: 25px;  /* Adjusted top margin for better alignment */
    margin-right: 10px;
    height: 550px; /* Set a fixed height for the map */
    width: 100%; /* Set width to 100% to take full container width */;
    border: none; /* Remove borders if present */
}

.map-overlay {
    position: absolute;
    top: 75px; /* Adjust these values as necessary */
    left: 35px;
    background: rgba(246, 244, 247, 0.8); /* Semi-transparent white background */
    padding: 5px 10px;
    z-index: 1000; /* Make sure it's above the map */
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    z-index: 1000; /* Ensure it is above all map elements */
}

.map-overlay a {
    color: #007bff; /* Link color */
    text-decoration: none; /* No underline */
}

.map-overlay a:hover {
    text-decoration: underline; /* Underline on hover for better interaction */
}

.googleMap-text {
    flex: 1;
    padding: 160px 16px;
    text-align: center;
}

.googleMap-text h2 {
    font-size: 30px;
    color: #9a3c3c;
    margin: 10px 0;
}

.googleMap-text p {
    font-size: 15px;
    color: #fff;
    line-height: 1.5;
}
.googleMap-text a {
    color: #ffffff; /* Sets the color of the links */
    text-decoration: none; /* Removes underline from links */
}

.googleMap-text a:hover {
    text-decoration: underline; /* Adds underline on hover for better user interaction */
}


/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .googleMap-container {
        gap: 40px; /* Reduce gap for tighter spaces */
    }
    
    #googleMap {
        height: 320px;
        margin-left: 0; /* Remove any left margin if present */
        margin-top: 0;  /* Adjusted top margin for better alignment */
    }

    .map-overlay {
        position: absolute;
        top: 50px; /* Adjust these values as necessary */
        left: 10px;
    }
    .googleMap-image {
        flex: 1 0 auto; /* Flex-grow is 1, flex-shrink is 0, flex-basis is auto */
        width: 100%; /* Set width to 100% to initially take the full container width */
        max-width: 220px; /* Set a max-width to limit how large the image can grow */
        height: auto; /* Maintain aspect ratio */
        margin: 20px auto; /* Increased vertical margin for better separation, centered horizontally */
        margin-bottom: 0; /* Reduce the space below the image */
        border: 1px solid white; /* Adds a 5px solid white border around the image */
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); /* Optional: adds a shadow for more depth */
        box-sizing: border-box; /* Ensures the border width is included in the width calculation */
    }

    .googleMap-text {
        position: absolute; /* Makes it float over the map */
        bottom: 10px; /* Positions it at the bottom */
        left: 50%; /* Center align */
        transform: translateX(-50%); /* Ensures it's centered */
        width: 95%; /* Makes it take less space */
        background: rgba(0, 0, 0, 0.7); /* Dark background for readability */
        color: white; /* Text color */
        padding: 10px;
        box-sizing: border-box;
        border-radius: 8px;
        font-size: 12px; /* Smaller font size */
        display: block; /* Ensure it's always displayed */
    }

    #googleMap h2 {
        font-size: 24px; /* Slightly smaller font size for small screens */
    }

    #googleMap p {
        font-size: 16px; /* Slightly smaller font size for better readability */
    }
}

@media (max-width: 480px) {
    .googleMap-container {
        gap: 20px; /* Further reduce gap for very small screens */
    }

    #googleMap h2 {
        font-size: 20px; /* Further reduce for very small screens */
    }

    #googleMap p {
        font-size: 14px; /* Adjust font size for very small screens */
    }
}
/* About Section */
#about {
    padding: 2px; /* Reduced padding for less outer spacing */
    background-color: #0d1416;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh; /* Optional, depending on your design preference */
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px; /* Reduced gap for tighter spacing between image and text */
    flex-wrap: wrap;
    width: 80%; /* Control the overall width for better spacing */
    max-width: 1000px; /* Reduced max width for a more compact layout */
    margin: auto; /* Ensures centering within the section */
}
.about-image {
    flex: 0 0 300px; /* Flex-basis of 300px, does not grow or shrink */
    width: 400px;
    height: auto;
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.1); /* Zoom effect */
}

.about-text {
    flex: 1; /* Allows text to fill remaining space */
    padding: 0 16px; /* Sufficient padding inside the text container */
    text-align: center; /* Aligns text to the center, adjust based on preference */
}

#about h2 {
    font-size: 30px; /* Slightly smaller font size */
    color: #9a3c3c;
    margin: 10px 0; /* Reduced top and bottom margins */
}

#about p {
    font-size: 18px; /* Slightly smaller font size for paragraph */
    color: #fff;
    line-height: 1.5; /* Tighter line height for better text presentation */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .about-container {
        gap: 40px; /* Reduce gap for tighter spaces */
    }

    .about-image {
        background-image: url('images/who-we-are-small.jpg');
        flex: 1 0 auto; /* Flex-grow is 1, flex-shrink is 0, flex-basis is auto */
        width: 100%; /* Set width to 100% to initially take the full container width */
        max-width: 220px; /* Set a max-width to limit how large the image can grow */
        height: auto; /* Maintain aspect ratio */
        margin: 20px auto; /* Increased vertical margin for better separation, centered horizontally */
        margin-bottom: 0; /* Reduce the space below the image */
        border: 1px solid white; /* Adds a 5px solid white border around the image */
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.6); /* Optional: adds a shadow for more depth */
        box-sizing: border-box; /* Ensures the border width is included in the width calculation */
    }

    .about-text {
        flex: 1 0 100%; /* Full width on small screens */
        padding-top: 0; /* Reduce the space above the text */
    }

    #about h2 {
        font-size: 24px; /* Slightly smaller font size for small screens */
    }

    #about p {
        font-size: 16px; /* Slightly smaller font size for better readability */
    }
}

@media (max-width: 480px) {
    .about-container {
        gap: 20px; /* Further reduce gap for very small screens */
    }

    #about h2 {
        font-size: 20px; /* Further reduce for very small screens */
    }

    #about p {
        font-size: 14px; /* Adjust font size for very small screens */
    }
}
/* Service Header */
.ourVision-header {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center-align the content */
    justify-content: center; /* Center content vertically in the container */
    text-align: center; /* Center-align text */
    background-image: url('images/service-header.jpg'); /* Path to the background image */
    background-size: cover; /* Ensure the background covers the entire section */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* No repeating of the background */
    background-attachment: fixed; /* Fixed background for better visual effect */  
    padding: 40px; /* Provide ample padding for spacing */
    margin: 20px auto; /* Center the container with automatic margin */
    width: 80%; /* Control width to match about-container */
    max-width: 1000px; /* Max width to prevent overly wide paragraphs */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Subtle shadow for depth, similar to about-container */
    border-radius: 8px; /* Optional: Adds rounded corners if that matches your design */
}

.ourVision-header h2 {
    font-size: 2.5rem; /* Larger font size for headings */
    color: #9a3c3c; /* Dark color for readability */
    margin-bottom: 20px; /* Space between the heading and paragraph */
}

.ourVision-header p {
    font-size: 1.5rem; /* Appropriate font size for readability */
    color: #fff; /* Subdued text color for the paragraph */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9); /* Black shadow for better contrast */
    line-height: 1.6; /* Enhanced line height for better readability */
}


.ourVision-section {
    border-bottom: 1px solid #ccc; /* Adds a bottom border to each section */
    padding: 20px; /* Optional padding */
}

@media (max-width: 768px) {
    .ourVision-header h2, .ourVision-header p {
        max-width: 90%; /* Allows text to adjust to screen size, providing better readability on smaller devices */
        padding: 0 10px; /* Adjusts padding for smaller screens */
    }

    .ourVision-header h2 {
        font-size: 24px; /* Slightly reduced font size for headings on smaller devices */
    }

    .ourVision-header p {
        font-size: 16px; /* Slightly reduced font size for paragraphs on smaller devices */
    }
}

@media (max-width: 480px) {
    .ourVision-header {
        padding: 10px; /* Reduces overall padding in very small screens */
    }
    .ourVision-header h2, .ourVision-header p {
        max-width: 100%; /* Full width usage on very small devices */
        padding: 0 5px; /* Minimal padding to maximize space */
    }

    .ourVision-header h2 {
        font-size: 20px; /* Further reduced font size for headings on very small devices */
    }

    .ourVision-header p {
        font-size: 14px; /* Further reduced font size for paragraphs on very small devices */
    }
}

.footer {
    background-color: #f2f2f2; /* Light background for better readability */
    padding: 20px; /* Adequate padding for layout */
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center; /* Center align the content */
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Aligns children to the far ends */
    align-items: center; /* Centers items vertically */
    width: 100%; /* Full width of the footer */
}

.footer-content p, .footer-content .social-icons {
    margin: 0; /* Removes default margin */
    padding: 0; /* Removes default padding */
}

.social-icons a {
    font-size: 24px; /* Larger icons for visibility */
    margin: 0 10px; /* Space between icons */
    color: #333; /* Icon color */
}

.social-icons a:hover {
    color: #0056b3; /* Hover effect color change */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    .footer-content {
        flex-wrap: wrap; /* Allows items to wrap */
        justify-content: space-between; /* Maintains spacing between items */
    }

    .footer-content p, .footer-content .social-icons {
        flex: 1 100%; /* Each takes full width of a single row on small screens */
    }

    .footer-content p {
        order: 1; /* Ensures text appears on the first line */
        margin-bottom: 10px; /* Adds space below the copyright text */
    }

    .footer-content .social-icons {
        order: 2; /* Ensures social icons appear on the second line */
        justify-content: center; /* Centers social icons on their line */
        display: flex; /* Applies flex to align icons properly */
        margin-top: 10px; /* Adds space above the social icons */
    }
}
