* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #001f3d; 
    color: white;
    text-transform: uppercase; 

}
html {
    scroll-behavior: smooth;

}

html, body {
        overflow-x: hidden; 
    }

h1, p {
    letter-spacing: 2px; 
}

header {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #001f3d;
    z-index: 1000;
    padding: 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.header-right {
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    width: 100%;
}

header nav {
     display: flex;
     align-items: center;
    }

header nav ul {
    display: flex;
    list-style-type: none;
}

header nav ul li {
    margin: 0 20px;
}

header nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 100;
    font-size: small;
    letter-spacing: 4px;
    transition: color 0.5s ease; 
}

header nav a:hover {
    color: #3b6894;

}


#logo img {
    width: 100%;
    max-width: 500px; 
    height: auto;
    margin-left: 10px;
}

.phone-number {
    color: #ffffff; 
    font-size: small;
    text-align: center; 
    text-decoration: none; 
    transition: color 0.5s ease; 
}

.phone-number:hover {
    color: #3b6894;
}
    
.intro {
    position: relative;
    height: 100vh;
    padding-top: 300px; 
    text-align: center;
    border-left: 30px solid #001f3d; 
    border-right: 30px solid #001f3d; 
}

img, video {
    max-width: 100%;
    height: auto;
}

.intro h1 {
    font-size: 2.5rem;
    margin-bottom: 20px; 
    font-weight: 100;
}

.home .intro p {
    font-size: 1rem;
    text-align: center;
    margin-top: 20px;
    white-space: nowrap;
}

.services .intro p {
    font-size: 1rem;
    text-align: center;
    margin-top: 20px;
    width: 50%; 
    margin: 0 auto; 
    word-wrap: break-word;
}

#background-video {
    width: 100%;
    height: 100vh;
    opacity: 40%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1; 
}

.intro-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.intro-text h1 {
    white-space: nowrap; 
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.get-quote-btn {
    display: inline-block;
    background-color: #fff; 
    color: #00234d; 
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: center;
    letter-spacing: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.get-quote-btn:hover {
    background-color: #d3d3d3;
    transform: scale(1.05);
}

.about-us-header {
    border: 3px solid white;
    padding: 30px;
    margin: 40px 10px;
    width: 100%;
    text-align: center;
    margin-bottom: 80px;
}

.about-us-heading {
    font-size: 2.5rem;
    font-weight: 100;
    color: white;
    margin-bottom: 30px;
    margin-top: 40px;
    text-align: center; 
    width: 100%; 
}

.about-us-description {
    font-size: 0.85rem !important; 
    color: #ffffff; 
    margin-bottom: 55px; 
    text-align: center; 
    line-height: 1.5;
}
.about {
    display: flex;
    justify-content: space-between;
    margin: 40px 20px;
    flex-wrap: wrap; 
}

.about p {
    font-size: 0.5rem;
}

.photo-box {
    width: 400px;
    height: auto;
    text-align: center;
    margin-bottom: 20px;
    margin-left: 30px;
    margin-right: 30px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    position: relative; 
}

.photo-box img {
    width: 400px;
    height: 400px; 
    object-fit: cover;
    opacity: 20%;
    transition: opacity 0.3s ease;
}

.photo-box p {
    margin-top: 10px;
    font-size: 1rem;
}

.project-description {
        position: absolute;
        top: 30%;
        transform: translate(-50%, -50%);
        text-align: center;
        color: white;
        font-size: 1.5rem;
        font-weight: 100;
        z-index: 1; 
        width: 100%;
    }

.project-description h3::after {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    background-color: white;
    margin: 15px auto;
}

.project-description p {
    font-size: 0.7rem;
    color: #ffffff; 
    line-height: 1.6; 
}

[data-aos="zoom-in"] {
    animation-duration: 1.5s; 
    animation-timing-function: ease-in-out;
}

.separator {
    width: 60%; 
    border: 0;
    border-top: 2px solid white; 
    margin: 20px auto;
}

.our-partners {
    text-align: center; 
    margin: 40px 20px;
    padding: 40px 0;
    background-color: transparent; 
    color: #001f3d;
}

.our-partners h1 {
    font-size: 2rem; 
    font-weight: 100;
    color: #ffffff; 
    margin-bottom: 40px; 
}

.partners-logos {
    display: flex;
    flex-direction: column;
    gap: 20px; 
    margin-top: 50px;
}

.logo-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 20px;
}

.partners-logos img {
    width: 70px; 
    height: auto;
    object-fit: contain;
}

.c-header {
    text-align: center;
    margin-top: 30px; 
    margin-bottom: 20px;
}

.c-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.c-header p {
    font-size: 1rem;
    margin-bottom: 60px;
}

.c-container {
    display: flex;
    justify-content: space-between;
}

.c-form {
    background-color: white;
    padding: 20px;
    border: 1px solid #ddd;
    width: 50%;
}

.c-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #00234d;
}

.c-form input,
.c-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    font-size: 1rem;
}

.c-form button {
    background-color: #00234d;
    color: white;
    padding: 15px 30px;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif; 
}

.c-form button:hover {
    background-color: #004080;
}

.c-map {
    width: 50%;
    height: 600px;
}

.c-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%);
}

.explore-button {
    display: inline-block;
    background-color: #fff; 
    color: #00234d; 
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 20px;
    text-align: center;
    letter-spacing: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.explore-button:hover {
    background-color: #d3d3d3; 
    transform: scale(1.05); 
}

.explore-services {
    text-align: center;
}

.service-summary {
    display: flex;
    justify-content: space-between;
    gap: 20px; 
    margin-top: 50px; 
    margin-bottom: 50px; 
    padding: 30px 30px;
}

.service-box {
    flex: 1;
    background-color: transparent;
    border: 2px solid white;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
    transform: scale(1.05); 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 50px;
    height: auto;
    margin-bottom: 20px;
}

.service-box h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 100;
}

.service-box p {
    font-size: 0.8rem;
    color: white;
    line-height: 1.5;
}

.service-slideshow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 500px; 
    margin-bottom: 0; 
    border-left: 30px solid #001f3d;
    border-right: 30px solid #001f3d; 
    position: relative;
}

.slideshow-container {
    display: flex;
    width: 100%;
    height: 100%;
}

@keyframes fade {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.slide {
    display: flex;
    width: 100%;
    height: 100%;
    opacity: 0;
    flex-direction: row;
    position: absolute;
    border-left: 30px #001f3d;
    border-right: 30px #001f3d;
}

.service-image-container {
    flex: 0 0 55%; 
    height: 100%; /* Ensure full height */
    padding: 0; /* No padding */
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Service name on top of the image */
.service-name {
    position: absolute;
    top: 10px;
    left: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Text box on the left */
.service-text {
    flex: 0 0 45%; /* Text takes up 45% of the width */
    padding: 20px;
    background-color: #415674;
    color: #ffffff;
    font-size: 1rem;
    text-align: left;
    height: 100%;
    overflow-y: auto;
}

.service-text h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.service-text p {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 20px;
    font-weight: 100;
}

/* Navigation Arrows for Slideshow */
.prev, .next {
    position: absolute;
    top: 50%;
    z-index: 99;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    transition: background-color 0.3s;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


.services-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px;
}

.service {
    width: 45%;
    margin-bottom: 40px;
    background-color: #22354d;
    padding: 20px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service p {
    font-size: 0.75rem;
}

.cta {
    background-color: transparent;
    color: white; /* White text */
    text-align: center; /* Center text */
    margin-top: 40px;
    margin-bottom: 60px;
}

.cta h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 100;
    letter-spacing: 4px;
}

.cta p {
    font-size: 0.8em;
    margin-bottom: 40px;
}

.cta-button {
    background-color: #ffffff; /* Yellow button */
    color: #00234d; /* Dark text color */
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 20px; /* Adds space above the button */
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #d3d3d3; /* Darker yellow on hover */
}


/* Footer */
/* Footer Section */
footer {
    background-color: #fff;
    padding: 20px;
    color: #001f3d;
    text-align: center;
}

/* Container for the footer elements */
.footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    
}

/* Contact information in the footer */
.footer-contact-info {
    text-align: left; /* Align text to the left */
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column; /* Keep items stacked vertically */
    align-items: flex-start; /* Ensure everything is aligned to the left */
    flex-wrap: wrap; /* Allow wrapping of elements */

}

.footer-contact-info h2 {
    font-size: 2rem;
    margin-bottom: 10px; /* Space between title and content */
    flex-wrap: wrap; /* Allow wrapping of elements */

}

/* Make sure links are styled without underlines */
.footer-contact-info p {
    font-size: 1rem; /* Same font size for both phone and email */
    margin: 5px 0; /* Space between phone and email */
    color: #00234d; /* Dark blue color for the text */
}

/* Ensure the links are clickable and no underline */
.footer-contact-info a {
    color: #00234d; /* Dark blue color for links */
    text-decoration: none; /* Remove underline */
    font-weight: normal;
}

.footer-contact-info p a:hover {
    text-decoration: underline; /* Underline on hover */
}

.footer-contact-info .contact-item p {
    display: flex; /* Use flex to keep items aligned horizontally */
    align-items: left; /* Align text properly */
}

.footer-contact-info .contact-item p a {
    text-decoration: none; /* Ensure no underline for links */
}



/* Vertical line separating contact information */
.vertical-line {
    width: 1px;
    background-color: #001f3d;
    height: 150px;
    margin: 0 30px;
}

/* Logos Section */
.logos-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 30px;
}

.copyright p {
    font-size: 0.75em;
    margin-top: 20px;
}



nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #00234d;
    font-weight: bold;
}

/* Hamburger Menu Styles for Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 30px;
    height: 5px;
    background-color: #001f3d;
    margin: 6px 0;
}


/* Responsive Design for Tablet and Smaller Devices */
@media screen and (max-width: 768px) {
    /* Hamburger */
    .hamburger {
        display: flex; /* Show the hamburger icon */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .hamburger div {
        width: 30px;
        height: 4px;
        background-color: #ffffff;
        margin: 5px;
        transition: 0.3s;
    }

    /* Navigation styling for mobile */
    header nav ul {
        display: none; /* Hide menu by default */
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #001f3d;
        z-index: 1000;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        padding-top: 60px; /* To give space for the "X" button */
    }

    /* When the hamburger is clicked */
    nav.active ul {
        display: flex; /* Show the menu when active */
    }

    /* Links inside the menu */
    header nav ul li {
        margin: 20px 0;
        text-align: center;
    }

    header nav ul li a {
        font-size: 1.5rem;
        color: #ffffff;
        font-weight: 100;
        text-decoration: none;
        letter-spacing: 4px;
    }

    /* Hide hamburger icon when menu is active */
    nav.active .hamburger {
        display: block;
    }


    /* Adjust text and layout for mobile */
    .intro h1 {
        font-size: 2rem; /* Adjust the font size to fit smaller screens */
        text-align: center; /* Keep the text centered */
        word-wrap: break-word; /* Ensure the text wraps to the next line */
        white-space: normal; /* Allow the text to wrap normally instead of staying on a single line */
        padding: 0 20px; /* Add padding to ensure it doesn't touch the edges */
    }


    .get-quote-btn {
        font-size: 0.8rem;
        padding: 12px 25px;
    }

    .explore-button {
            font-size: 0.8rem;
            padding: 12px 25px;
        }
     .cta-button {
        font-size: 0.8rem;
        padding: 12px 25px;
        }


    .about-us-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .photo-box {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .service-summary {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .intro {
        height: 50vh !important;    /* Shorter video height on mobile */
        padding-top: 100px !important; /* Remove desktop padding on mobile */
      }
      .intro-text {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;      /* Remove any default margins */
        padding: 0 !important;
      }
      /* Also remove top/bottom margins from h1/p if needed */
      .intro-text h1, 
      .intro-text p {
        margin: 0 !important;
      }
      
      /* Override the video height */
      #background-video {
        height: 50vh; /* Sets the video height to 50% of viewport height on mobile */
      }
     
    }

    

@media screen and (min-width: 769px) {
    /* Hide hamburger and close button on desktop */
    .hamburger {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    /* Very Small Screens (Mobile Phones) */

    .intro h1 {
        font-size: 2rem;
    }

    .intro-text h1 {
        font-size: 1.8rem;
    }

    .get-quote-btn {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .home .intro h1 {
        font-size: 1.7rem;  /* Same font size as the Home page paragraph */
        text-align: center;
        width: 80%; /* Adjust width to ensure the text wraps appropriately */
        margin: 0 auto; /* Centers the paragraph */
        word-wrap: break-word; /* Ensures words break appropriately */
    }

    .home .intro p {
        font-size: 0.7rem;
        max-width: 250px;
        text-align: center;
        margin: 20px auto;
        word-wrap: break-word; /* Ensure the text wraps to the next line */
        white-space: normal; /* Allow the text to wrap normally instead of staying on a single line */
    }

    .about-us-heading {
        font-size: 1.5rem;
    }

    .photo-box img {
        width: 100%;
        height: 300px;
    }

    .services .intro h1 {
        font-size: 1.8rem;
    }

    .services .intro p {
        font-size: 0.7rem;  /* Same font size as the Home page paragraph */
        text-align: center;
        margin-top: 20px;
        width: 80%; /* Adjust width to ensure the text wraps appropriately */
        margin: 0 auto; /* Centers the paragraph */
        word-wrap: break-word; /* Ensures words break appropriately */
    }

    .service-text p {
        font-size: 0.7rem;
        line-height: 1.5;
        margin-top: 20px;
        font-weight: 100;

}

}

@media screen and (max-width: 768px) {
    footer {
        background-color: #fff;
        padding: 10px;
        color: #001f3d;
        text-align: center;
        height: 300px;
    }
    
    /* Container for the footer elements */
    .footer-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 20px 10px;        
    }
    
    /* Contact information in the footer */
    .footer-contact-info {
        text-align: left; /* Align text to the left */
        font-family: 'Montserrat', sans-serif;
        display: flex;
        flex-direction: column; /* Keep items stacked vertically */
        align-items: flex-start; /* Ensure everything is aligned to the left */
        flex-wrap: wrap; /* Allow wrapping of elements */
    
    }
    
    .footer-contact-info {
        text-align: center;
        align-items: center;
        margin-bottom: 10px; /* Space between title and content */
        flex-wrap: wrap; /* Allow wrapping of elements */
    }

    .footer-contact-info br {
        display: none; /* Hide <br> on mobile devices */
    }

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

    .footer-contact-p {
        text-align: center;
        align-items: center;
    }
    
    /* Make sure links are styled without underlines */
    .footer-contact-info p {
        font-size: 0.7rem; /* Same font size for both phone and email */
        margin: 5px 0; /* Space between phone and email */
        color: #00234d; /* Dark blue color for the text */
    }
    
    /* Ensure the links are clickable and no underline */
    .footer-contact-info a {
        font-weight: bold;
        color: #00234d; /* Dark blue color for links */
        text-decoration: none; /* Remove underline */
        font-weight: normal;
    }
    
    .footer-contact-info p a:hover {
        text-decoration: underline; /* Underline on hover */
    }
    
    .footer-contact-info .contact-item p {
        display: flex; /* Use flex to keep items aligned horizontally */
        align-items: left; /* Align text properly */
    }
    
    .footer-contact-info .contact-item p a {
        text-decoration: none; /* Ensure no underline for links */
    }
    
    
    
    /* Vertical line separating contact information */
    .vertical-line {
      display: none;
    }
    
    /* Logos Section */
    .logos-section {
        display: flex;
        flex-wrap: wrap;
        justify-content: center; /* Center logos */
        gap: 20px; /* Space between logos */
        margin-bottom: 50px; /* Space between logos and contact info */
    }

    .partners-logos .logo-row {
        display: flex;
        justify-content: center; /* Center logos in each row */
        gap: 15px; /* Add space between logos */
    }

    .partners-logos img {
        max-width: 40px; /* Adjust logo size */
        height: auto;
    }
    
    .copyright p {
        font-size: 0.4rem;
        margin-top: 0;
        margin-bottom: 0px;
    }
}

@media screen and (max-width: 768px) {
    .slide {
        flex-direction: column; 
        align-items: center; 
        height: 700px; /* Let height adjust to content */
      }
    
      /* Image container full width */
      .service-image-container {
        width: 100%;
        height: auto; 
        order: 1; /* Place the image above the text */
      }
    
      /* Text container full width, below the image */
      .service-text {
        width: 100%;
        height: auto; 
        order: 2; /* Place the text below the image */
        /* If you need spacing around text on mobile: */
        padding: 20px; 
      }


    .cta {
        background-color: transparent;
        color: white; /* White text */
        text-align: center; /* Center text */
        margin-top: 100px;
        margin-bottom: 60px;
    }
    
    .cta h2 {
        font-size: 1.5rem;
        max-width: 300px;
        text-align: center;
        margin: 250px auto 20px;
        word-wrap: break-word; /* Ensure the text wraps to the next line */
        white-space: normal; /* Allow the text to wrap normally instead of staying on a single line */
    }
    
    .cta p {
        font-size: 0.6em;
        max-width: 300px;
        text-align: center;
        margin: 20px auto 40px;
        word-wrap: break-word; /* Ensure the text wraps to the next line */
        white-space: normal; /* Allow the text to wrap normally instead of staying on a single line */
    }    
    
}

@media screen and (max-width: 768px) {
    .c-container {
        flex-direction: column; /* Stack form and map vertically */
        align-items: center; /* Center the items */
    }

    .c-form, .c-map {
        width: 100%; /* Make both form and map full width on smaller screens */
        
    }

    .c-map {
        margin-bottom: 0px;
        }
}
