/* Global Styles */
body {
    zoom: 100%;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f5f7;
    color: #002244;
    line-height: 1.6;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 15px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    font-size: 17px;
    top: 0;
    z-index: 1000;
}


nav {
    display: flex;
    align-items: center;
    flex-grow: 1; /* Allows the nav section to grow and align left */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    margin-left: 30px; /* Moves the nav links closer to the logo */
}

nav ul li a {
    text-decoration: none;
    color: #002244;
    font-weight: 600;
}

nav ul li a:hover,
nav ul li a.active {
    color: #007BFF;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    position: fixed; /* Use fixed positioning to make them stick to the right side */
    right: 20px; /* Align to the very right side of the screen */
    top: 20px; /* Adjust as needed to align vertically */
    transform: translateY(0); /* No vertical transform needed with fixed positioning */
    z-index: 1000; /* Ensure it appears above other elements */
}

.get-quote-button {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.get-quote-button:hover {
    background-color: #0056b3;
}

@media screen and (min-width: 769px) {
    .close-menu-button,
    .mobile-menu-button {
        display: none; /* Hide the close button and mobile menu button on screens wider than 768px */
    } 

    header .logo {
        display: flex;
        align-items: center;
    }
    
    header .logo img {
        width: 120px;
        margin-left: 20px;
        height: auto;
    }
    
    header .logo-text {
        margin-left: 5px;
        font-size: 23px;
        font-weight: bold;
        color: #002244;
    }
    
}

/* Banner Section */
.about-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    background-image: url('images/gallery-banner.jpg'); /* Replace with actual banner image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px; /* Adjust for fixed header */
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.banner-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobile Responsive Banner */
@media screen and (max-width: 768px) {
    .about-banner {
        height: 45vh;
        margin-top: 60px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }
}


.about-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px; /* space for fixed header */
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.banner-content p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .about-banner {
        height: 45vh;
        margin-top: 60px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-content p {
        font-size: 16px;
    }
}


/* Gallery Section */
.gallery-section {
    padding: 60px 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    margin: 40px auto;
    max-width: 1200px;
}

.gallery-section h2 {
    font-size: 28px;
    text-align: center;
    color: #002244;
    margin-bottom: 30px;
    border-bottom: 2px solid #007BFF;
    display: inline-block;
    padding-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 10px;
    box-sizing: border-box;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .gallery-section {
        padding: 40px 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .gallery-section h2 {
        font-size: 24px;
    }
}



/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0056b3, #003d7a);
    transform: scale(1.05);
}

/* Location Section */
.location-section {
    padding: 60px 20px;
    background-color: #ffffff;
    margin: 0px 0;
    border-radius: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.location-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.map-container {
    flex: 1 1 60%;
    min-width: 300px;
}

.contact-details {
    flex: 1 1 35%;
    min-width: 250px;
    background-color: #f4f5f7;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-details h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #002244;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 5px;
}

.contact-details p {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}

.contact-details ul {
    list-style: none;
    padding: 0;
}

.contact-details ul li {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.contact-details ul li a {
    color: #007BFF;
    text-decoration: none;
}

.contact-details ul li a:hover {
    color: #0056b3;
    text-decoration: underline;
}


/* Footer Section */
.footer {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    color: #fff;
    padding: 50px 20px;
    position: relative;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-about {
    flex: 2; /* Increase flex-grow value for the About Us column */
}

.footer-newsletter {
    flex: 1.5; /* Increase flex-grow value for the Newsletter column */
}

.footer h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

.footer p, .footer a {
    font-size: 14px;
    color: #ddd;
    line-height: 1.6;
    text-decoration: none;
}

.footer a:hover {
    color: #007BFF;
    text-decoration: underline;
}

.footer-links {
    margin-left: 100px; /* Adjust this value to move the section to the right */
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
}

.newsletter-form input[type="email"] {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 70%;
    font-size: 14px;
    margin-right: 0px;
}

.newsletter-form button {
    padding: 10px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    font-size: 14px;
    margin-right: 70px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #0056b3;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    color: #ddd;
    font-size: 18px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007BFF; /* Change to your preferred hover color */
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 12px;
    color: #777;
    border-top: 1px solid #444;
    margin-top: 20px;
}


@media screen and (max-width: 768px) {
    /* Prevent Overflow on Mobile */
    html, body {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
    }

    /* Header Redesign for Mobile */
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        background-color: #ffffff;
        position: fixed;
        width: 100%;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transition: top 0.3s ease; /* Smooth transition for header hiding */
    }

    .logo {
        display: flex;
        align-items: center;
        margin-right: auto; /* This ensures the logo aligns to the left */
    }

    .logo img {
        width: 45%;
        height: auto;
        margin-right: 0; /* Remove any right margin to ensure it’s flush with the left */
    }

    /* Header Buttons */
    .header-buttons {
        display: flex;
        align-items: center;
        gap: 10px;
        transition: top 0.3s ease; /* Ensure buttons also hide smoothly */
    }

    .mobile-menu-button {
        background-color: transparent;
        border: none;
        color: #002244;
        font-size: 30px;
        cursor: pointer;
        padding: 0;
        transition: color 0.3s ease;
    }

    .mobile-menu-button:hover {
        color: #0056b3; /* Subtle color change on hover for mobile button */
    }

    .get-quote-button {
        background-color: #5A8DEE;
        color: #ffffff;
        padding: 7px 15px;
        border-radius: 5px;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow to make the button pop */
    }

    .get-quote-button:hover {
        background-color: #0056b3; /* Slightly darker on hover */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Increase shadow on hover */
    }

    /* Mobile Navigation Menu */
    nav ul {
        display: none;
        flex-direction: column;
        width: 50%; /* Slightly wider for better touch targets */
        background-color: #ffffff;
        padding: 70px 20px;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        z-index: 1000;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); /* Slightly more shadow for depth */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
    }

    nav ul.menu-open {
        display: flex;
        transform: translateX(0); /* Slide in the menu smoothly */
    }

    nav ul li {
        margin-bottom: 20px; /* Add space between each menu item */
    }

    nav ul li a {
        text-decoration: none;
        font-size: 18px; /* Larger font for better readability */
        font-weight: 600;
        color: #002244;
        transition: color 0.3s ease; /* Add a color transition */
    }

    nav ul li a:hover {
        color: #0056b3; /* Slight color change on hover */
    }

    /* Close Button Styling */
    .close-menu-button {
        display: block;
        background-color: transparent;
        border: none;
        color: #002244;
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 20px;
        transition: color 0.3s ease; /* Smooth color transition on hover */
    }

    .close-menu-button:hover {
        color: #ff0000; /* Red color for a more visible close button hover */
    }

    /* Styling for Scrollable Menu */
    nav ul::-webkit-scrollbar {
        width: 6px;
    }

    nav ul::-webkit-scrollbar-thumb {
        background-color: rgba(0, 34, 68, 0.3);
        border-radius: 5px;
    }

    .about-banner {
        height: calc(60vh - 60px); /* Adjust the height to account for the header height (assuming header is 60px) */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        box-sizing: border-box;
        margin-top: 60px; /* Push the banner down by the height of the header */
        position: relative;
    }
    
    .banner-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better contrast */
        z-index: 1;
    }
    
    .banner-content {
        position: relative;
        z-index: 2;
        text-align: center;
    }
    
    .banner-content h1 {
        font-size: 26px;
        color: #fff;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: 1px;
        line-height: 1.2;
    }
    
    .banner-content p {
        font-size: 15px;
        color: #fff;
        padding: 0 15px;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.5;
    }

    /* Section Containers */
    .company-overview,
    .mission,
    .vision,
    .values,
    .why-choose-us,
    .office-location,
    .join-our-team {
        padding: 20px 15px; /* Slightly increased padding for consistency */
        margin-bottom: 20px; /* Increased margin between sections */
        background-color: #ffffff; /* Ensure clean background */
        border-radius: 8px; /* Slight rounding for a modern look */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    }

    /* Section Titles */
    .company-overview h2,
    .mission h2,
    .vision h2,
    .values h2,
    .why-choose-us h2,
    .office-location h2,
    .join-our-team h2 {
        font-size: 20px; /* Adjusted font size for mobile */
        text-align: center;
        margin-bottom: 15px; /* Spacing below the title */
        letter-spacing: 1px; /* Increased spacing for readability */
    }

    /* Justified Paragraphs for Company Overview, Mission, and Vision */
    .company-overview p,
    .mission p,
    .vision p {
        text-align: justify; /* Ensures paragraphs are symmetrically aligned on both sides */
        line-height: 1.7; /* Adjust line height for better readability */
        margin-bottom: 20px; /* Add some margin below the paragraphs */
        font-size: 16px; /* Ensure readability on mobile */
        color: #333; /* Set a clear text color for better contrast */
        padding: 0 15px; /* Add padding to create space around the text */
    }    

    /* List Styling for Values and Why Choose Us */
    .values ul,
    .why-choose-us ul {
        display: grid;
        grid-template-columns: 1fr; /* Full width for list items */
        gap: 12px; /* Increased gap for better separation */
        padding-left: 0; /* Remove default list padding */
    }

    .values ul li,
    .why-choose-us ul li {
        font-size: 15px; /* Adjusted font size for readability */
        padding: 12px; /* Increased padding to make items more readable */
        background-color: #f8f9fa; /* Light background for list items */
        border-left: 4px solid #007BFF; /* Add colored border for visual emphasis */
        border-radius: 6px; /* Slight rounding */
        position: relative; /* For positioning icons */
        line-height: 1.4;
        word-wrap: break-word; /* Ensure long words wrap correctly */
    }

    .values ul li i,
    .why-choose-us ul li::before {
        content: '✓'; /* Check mark for visual cue */
        color: #007BFF;
        position: absolute;
        left: -20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
    }

    /* Join Our Team - List Styling for Team Members or Features */
    .join-our-team ul {
        display: grid;
        grid-template-columns: 1fr; /* Stack items vertically */
        gap: 12px;
        padding-left: 0;
    }

    .join-our-team ul li {
        font-size: 15px; /* Font size for mobile */
        padding: 12px;
        background-color: #f8f9fa;
        border-left: 4px solid #007BFF;
        border-radius: 6px;
        position: relative;
        line-height: 1.4;
        word-wrap: break-word; /* Ensure long words break correctly */
    }

    .join-our-team ul li::before {
        content: '✓'; /* Icon for list items */
        color: #007BFF;
        position: absolute;
        left: -20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
    }

    /* Call-to-Action Button */
    .cta-button {
        font-size: 16px; /* Keep button text readable */
        padding: 12px 18px; /* Adjust button padding for mobile */
        width: 100%; /* Ensure the button takes the full width */
        max-width: 100%; /* Ensure the button does not overflow */
        box-sizing: border-box; /* Include padding and border in element’s width */
        text-align: center;
        background: linear-gradient(135deg, #007BFF, #0056b3); /* Gradient background */
        color: #ffffff;
        border-radius: 25px; /* Rounded corners for modern look */
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); /* Light shadow for depth */
        transition: background-color 0.3s ease, transform 0.3s ease;
        margin: 0 auto; /* Center the button */
        margin-top: 25px; /* Add spacing above */
    }

    .cta-button:hover {
        background: linear-gradient(135deg, #0056b3, #003d7a); /* Darker gradient on hover */
        transform: scale(1.05); /* Slight scale-up on hover for interactivity */
    }
    
    /* List Styling for Values and Why Choose Us */
    .values ul,
    .why-choose-us ul {
        display: grid;
        grid-template-columns: 1fr; /* Full width for list items */
        gap: 12px; /* Increased gap for better separation */
        padding-left: 0; /* Remove default list padding */
    }

    .values ul li,
    .why-choose-us ul li {
        font-size: 15px; /* Adjusted font size for readability */
        padding: 12px 40px; /* Increased left padding to make room for the checkmark */
        background-color: #f8f9fa; /* Light background for list items */
        border-left: 4px solid #007BFF; /* Add colored border for visual emphasis */
        border-radius: 6px; /* Slight rounding */
        position: relative; /* For positioning checkmarks */
        line-height: 1.4;
        word-wrap: break-word; /* Ensure long words wrap correctly */
    }

    .values ul li i,
    .why-choose-us ul li::before {
        content: '✓'; /* Check mark for visual cue */
        color: #007BFF;
        position: absolute;
        left: 15px; /* Increased left spacing to ensure it doesn't overlap the text */
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
    }
    
    .location-wrapper {
        flex-direction: column-reverse; /* Stack elements vertically for mobile */
        align-items: center;
        gap: 0;
    }

    .map-container,
    .contact-details {
        width: 100%; /* Full width for mobile */
        min-width: unset; /* Remove minimum width restriction */
        margin-bottom: 0; /* Add space between elements */
        box-sizing: border-box; /* Ensure padding is included in width calculation */
        padding: 10px; /* Add padding inside the containers for better visual spacing */
        background-color: #ffffff; /* White background for a cleaner look */
        border-radius: 8px; /* Rounded corners for the containers */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    }

    .contact-details {
        text-align: center; /* Center-align text */
        padding: 15px; /* Reduce padding for smaller screens */
    }

    .contact-details h3 {
        font-size: 20px; /* Reduce font size for mobile */
        margin-bottom: 10px; /* Adjust margin for better spacing */
    }

    .contact-details p,
    .contact-details ul li {
        font-size: 14px; /* Reduce font size for mobile */
    }

    .footer-container {
        flex-direction: column; /* Stack footer columns vertically */
        align-items: center; /* Center-align columns */
        text-align: center; /* Center-align text */
        gap: 20px; /* Reduce gap between footer columns */
    }

    .footer-column,
    .footer-newsletter {
        width: 100%; /* Full width for mobile */
        max-width: 90%; /* Restrict maximum width for readability */
        margin-bottom: 20px; /* Space between sections */
    }

    .footer h3 {
        font-size: 16px; /* Reduce font size for mobile */
        margin-bottom: 10px; /* Adjust margin for better spacing */
    }

    .footer p,
    .footer a {
        font-size: 13px; /* Reduce font size for mobile */
    }

    .footer-links {
        margin-left: 0; /* Remove left margin for centered alignment */
    }

    .footer-links h3 {
        font-size: 18px; /* Make the "Quick Links" heading slightly larger */
    }

    .footer-links ul li a {
        font-size: 16px; /* Make links below "Quick Links" slightly larger */
    }

    .newsletter-form {
        flex-direction: column; /* Stack email input and button vertically */
        align-items: center; /* Center-align form elements */
        margin-top: 10px;
    }

    .newsletter-form input[type="email"] {
        width: 80%; /* Full width for email input on mobile */
        margin-bottom: 10px; /* Space below the input */
        margin-right: 0; /* Reset margin */
        border-radius: 5px; /* Adjust border-radius */
    }

    .newsletter-form button {
        width: 50%; /* Adjust button width for mobile */
        margin-right: 0; /* Reset margin */
    }

    .social-icons {
        justify-content: center; /* Center-align social icons */
        gap: 40px; /* Reduce gap for better spacing on mobile */
    }

    .social-icons a {
        font-size: 24px; /* Increase the size of the social icons */
    }

    .footer-bottom {
        font-size: 12px; /* Keep small font size */
        padding-top: 15px; /* Adjust padding */
    }

    /* Remove About Us Section in Footer */
    .footer-about {
        display: none; /* Hide the "About Us" section */
    }

}