/* General Styles */

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: white;
    color: #293E4C;
}

h1, h2, h3, h4, h5, h6, p, a, button, input, textarea {
    font-family: 'Poppins', sans-serif;
    font-weight: lighter;
}


h2 {
    font-size: 2.5em;
}

h1 {
    font-size: 3em;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #293E4C;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.header_logo img {
    height: 120px;
}


nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}


nav li {
    margin: 0 20px;
}


nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 1.4em;
}

nav a:hover {
    color: #fbb040;
}

.portal-login {
    background-color: #488C9A;
    color: white;
    font-weight: bold;
    font-size: 1.4em;
}

.portal-login:hover {
    color: white; /* Keep white color on hover */
    background-color:#37626b;
}

/* Default Navigation Menu */


.menu-toggle {
    display: none;
    background-color: transparent;
    border: none;
    font-size: 2em;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2;
}



/* Footer Section */
footer {
    position: relative;
    text-align: left;
    padding-top: 10%; /* Adjust padding for the blue bar */
    padding-bottom: 2%;
    background-color: white;
}

.footer-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%; /* Set height to 20% of the screen */
    background-color: #293E4C; /* Primary blue color */
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 110px 150px; /* Adjust padding */
}

/* Adjust Footer Layout */
.footer-top {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    height: 125px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-left: 25px;
}

.footer-left, .footer-right {
    width: 45%;
}

.footer-left, .footer-right ul {
    margin: 10px 0;
    font-size: 1.25em;
}

.social-icon {
    height: 50px;
    margin-bottom: 10px;
}

.footer-right ul {
    list-style: none;
    padding: 0;
}

.footer-right ul li {
    margin-bottom: 10px;
    margin-left: 30px;
}

.footer-right ul li a {
    color: #293E4C; /* Link color in primary blue */
    text-decoration: none;
}

.footer-right ul li a:hover {
    text-decoration: underline;
}

.footer-left a {
    color: #293E4C; /* Set email link color to primary blue */
    text-decoration: none; /* Remove underline */
}

.footer-left a:hover {
    text-decoration: underline; /* Optional: Add underline on hover */
}


/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    color: white;
    height: 70vh; /* Set the hero section height */
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the hero section without distortion */
    position: absolute;
    top: 0;
    left: 0;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.hero-text h1 {

    margin-bottom: 10px;
    font-weight: bold;
    font-size: 3em;
}

.hero-text p {
    font-size: 1.5em;
}

.hero-text .btn {
    background-color: #488C9A;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 1.4em;
}

.hero-text .btn:hover {
    background-color: #293E4C;
}

/* Value Proposition */
.value-proposition {
    background-color: #293E4C; /* Primary blue color */
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-top: -5px; /* To remove any unwanted white space */
}

.value-proposition h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: lighter;
}

.value-proposition p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.value-proposition-icons {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1800px;
    margin: 0 auto;
}

.icon-box {
    flex: 1;
    margin: 0 20px;
    text-align: center;
}

.icon-box img {
    max-width: 175px;
    margin-bottom: 20px;
}

.icon-box h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: lighter;
}

.icon-box p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* About Us Section */
.about-us {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 80px 20px;
    background-color: white;
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
}

.about-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
}

.about-content p {
    font-size: 1.5em;
    margin-bottom: 20px;
    line-height: 1.6;
}


.about-btn {
    background-color: #488C9A;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 50px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.4em;
}

.about-btn:hover {
    background-color: #293E4C;
}

/* Services Overview */
.services-overview {
    padding: 60px 20px;
    background-color: white;
    text-align: left;
    height: auto;
    min-height: 500px;
}

.tabs {
    overflow: hidden;
    background-color: #293E4C;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.tabs .tablinks {
    background-color: inherit;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    color: white;
    font-size: 1.2em;
    flex: 1;
    text-align: center;
}

.tabs .tablinks.active {
    background-color: #488C9A;
    color: white;
    font-weight: bold;
}

.tabcontent {
    display: none;
    padding: 20px;
    background-color: #293E4C;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 500px;
}

.service-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.service-description {
    flex: 1;
    padding: 20px;
    max-width: 50%;
}

.service-description h2 {
    font-size: 2em;
    color: white;
    margin-bottom: 20px;
}

.service-description p {
    font-size: 1.6em;
}

.service-image {
    flex: 1;
    text-align: center;
    max-width: 50%;
}

.service-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-top: 50px;
}

/* Projects Section */
.our-projects {
    padding: 0;
    background-color: white;
}

.projects-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    margin: 0 auto;
    background-color: #293E4C;
}

.projects-text {
    background-color: #293E4C;
    color: white;
    padding: 40px;
    width: 35%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.our-projects h2 {
    margin-left: 20px;
}

.projects-info p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.6em;
}

.projects-btn {
    background-color: #488C9A;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    font-size: 1.4em;
    margin-left: 125px;


}

.projects-btn:hover {
    background-color: #293E4C;
}

.projects-map {
    width: 55%;
    height: auto;
    display: flex;
    align-items: center;
}

.projects-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Contact Section */
.contact-section {
    padding: 60px 20px;
    background-color: white;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #293E4C;
}


.contact-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #293E4C; /* Primary blue color */
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    text-align: center; /* Center the labels */
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #293E4C;
    text-align: center; /* Center the text */
}

.contact-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #293E4C; /* or your primary color */
    border-radius: 5px;
    font-size: 1.2em;
    background-color: white;
    color: #293E4C;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #293E4C; /* Primary blue color for the border */
    border-radius: 5px;
    font-size: 1.2em;
    box-sizing: border-box;
    background-color: white; /* Light gray background */
    color: #293E4C; /* Primary blue color for the text */
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: white; /* Placeholder text color */
}

.contact-form button {
    background-color: #488C9A; /* Secondary blue color */
    color: white;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.contact-form button:hover {
    background-color: #293E4C;
}

.form-row {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: center; 
    gap: 20px;       /* Spacing between columns */
    margin-bottom: 20px;
}

.form-column {
    flex: 1;         /* Allows each column to grow/shrink equally */
    min-width: 150px; 
}

.form-message {
    margin-top: 20px;
    font-weight: bold;
    font-size: 1.1em;
    text-align: center;
}

/* Adjusting placeholder colors if desired */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #bbb; /* something more subtle than white, if you prefer */
}
/* Responsive Navbar */
@media only screen and (max-width: 1170px) {
    nav ul.menu {
        display: none; /* Hide the original menu */
    }

    .menu-toggle {
        display: block; /* Show the menu toggle button */
    }

    .menu.show {
        display: flex; /* Show the dropdown menu when active */
        flex-direction: column;
        position: absolute;
        top: 130px;
        right: 0;
        left: 0;
        background-color: #293E4C; /* Primary blue background */
        width: 100%;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }

    .menu li {
        border-bottom: 1px solid white; /* White line separating each option */
    }

    .menu li:last-child {
        border-bottom: none;
    }

    .menu li a {
        color: white;
        padding: 15px 20px;
        text-decoration: none;
        text-align: right;
        width: 100%; /* Make the links take up the full width */
    }

    .menu .portal-login{
        display: flex; /* Show the dropdown menu when active */
        flex-direction: column;
        text-align: center;
        width: 92%;
        font-size: 1.2em;
        border-radius: 15px;
        padding: 10px 15px
    }

    h2 {
        font-size: 2em;
    }

    .hero-text {
        width: 95%; /* Increase the width slightly for smaller screens */
        height: 85%;
    }
    .hero-text h1 {
        font-size: 3em; /* Further reduce font size for smaller screens */
    }

    .hero-text p {
        font-size: 1.5em;
    }

    .hero-text .btn {
        font-size: 1.2em; /* Adjust button text size */
    }
    .value-proposition-icons {
        flex-direction: column;
    }

    .icon-box {
        margin-bottom: 30px;
    }

    /* About Us Section */
    .about-content {
        max-width: 1100px;
        margin: 0 auto;
    }
    
    .about-content h2 {
        font-size: 2.2em;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .about-content p {
        font-size: 1.2em;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    /* Services Overview */
    .services-overview {
        padding: 5px 5px; /* Adjust padding for mobile */
    }

    .service-content {
        flex-direction: column;
        align-items: center;
    }

    .service-description, .service-image {
        max-width: 100%;
        text-align: center;
    }

    .service-image img {
        display: none; 
    }

    .service-description h2 {
        font-size: 2em;
    }

    .service-description p {
        font-size: 1.3em;
    }


    /* Projects Section */
    .projects-container {
        flex-direction: column;
    }

    .projects-text, .projects-map {
        width: 100%; /* Make sections full width */
    }

    .projects-map {
        display: none;
    }
    .projects-text {
        padding: 20px;
        text-align: center;
    }

    .projects-btn {
        margin-left: 1px;
    
    
    }
    /* Contact Section */
    .contact-section {
        padding: 40px 20px; /* Adjust padding for mobile */
    }

    .contact-form {
        padding: 0 20px;
    }

    .form-row {
        flex-direction: column; /* Stack each column on mobile */
    }
    .form-column {
        width: 100%;
    }

    .footer-content {
        padding: 200px 20px; /* Reduce padding for mobile */
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
    }

    .footer-left, .footer-right {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-right ul {
        margin: 0;
    }

    .footer-right ul li {
        margin-left: 0;
    }

    .news-grid {
        grid-template-columns: 1fr; /* Stack news items vertically */
        padding: 0;
    }
}

/* Additional adjustments for very small screens */
@media only screen and (max-width: 480px) {

    .header_logo img {
        height: 110px;
        margin-left: -20px;
    }

    h2 {
        font-size: 2em;
    }

    .about-content {
        max-width: 1100px;
        margin: 0 auto;
    }
    
    .about-content h2 {
        font-size: 2em;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .about-content p {
        font-size: 1.2em;
        margin-bottom: 20px;
        line-height: 1.6;
        text-align: center;
    }

    .about-content .btn {
        font-size: 1.2em;  
    }

    .tabs .tablinks {
        font-size: 1.05em;
    }
    .service-description h2 {
        font-size: 1.7em;
        margin-top: -5px;
    }

    .service-description p {
        font-size: 1.1em;
    }

    .projects-info p {
        font-size: 1.2em;
    }

    .projects-btn {
        font-size: 1.2em;
        padding: 8px 16px;
    }

    .footer-content {
        padding: 225px 20px;
    }

    .footer-logo {
        height: 100px; /* Adjust logo size for small screens */
    }

    .footer-bottom {
        text-align: center;
    }

}

@media only screen and (max-width: 415px) {
    .menu li a {
        color: white;
        padding: 15px 20px;
        text-decoration: none;
        text-align: right;
        width: 100%; /* Make the links take up the full width */
        font-size: 1.2em;
    }

    .menu .portal-login{
        display: flex; /* Show the dropdown menu when active */
        flex-direction: column;
        text-align: center;
        width: 92%;
        font-size: 1.1em;
        border-radius: 15px;
        padding: 10px 15px
    }
}

/* Project Page*/


.hero-proj {
    position: relative;
    text-align: center;
    color: white;
    overflow: hidden; /* Ensure video doesn't overflow */
    height: 50vh; /* Take up half the screen */
}

.hero-video-proj {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the area without distortion */

}


.content {
    padding: 40px 20px;
    text-align: center;
}

.content h1 {
    font-size: 2.5em;
    color: #293E4C;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.6em;
    color: #293E4C;
    max-width: 1250px;
    margin: 0 auto;
}

.map {
    text-align: center; /* Center the map container */
    margin-top: 5px;
}

.map-container {
    margin: 0 auto;
    max-width: 65%; /* Adjust as needed to control the margins */
}

@media only screen and (max-width: 480px) {
    .content h1 {
        font-size: 2em;
        color: #293E4C;
        margin-bottom: 20px;
    }
    
    .content p {
        font-size: 1.2em;
        color: #293E4C;
        max-width: 1250px;
        margin: 0 auto;
    }
    .map-container {
        margin: 0 auto;
        max-width: 85%; /* Adjust as needed to control the margins */
    }

}

/* About Page*/



/* Hero Section */
.about-hero {
    position: relative;
    background-image: url('pictures/hero_about.jpg'); /* Replace with your hero image path */
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: left;
    justify-content: left;
}

.about-hero-overlay {
    position: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(41, 62, 76, 0.8) 0%,
        rgba(41, 62, 76, 0.8) 50%,
        rgba(72, 140, 154, 0.8) 50%,
        rgba(72, 140, 154, 0.8) 100%
    );
    clip-path: polygon(0 0, 50% 0, 0 100%);
}

.about-hero-text {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    padding: 20px;
}

.about-hero-text h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

.about-hero-text p {
    font-size: 1.2em;
    margin-top: 10px;
}

/* Company Origin Story */
.origin-story {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 150px 20px;
    background-color: #f9f9f9;
}
 
.origin-content {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
}
 
.origin-text {
    flex: 1;
    padding-right: 20px;
}
 
.origin-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
 
.origin-text p {
    font-size: 1.3em;
    line-height: 1.6;
}
 
.origin-image {
    flex: 1;
}
 
.origin-image img {
    width: 100%;
    height: 575px;
    border-radius: 10px;
    margin-top: 50px;
    margin-left: 50px;
}
 
/* Mission Statement */
.mission-statement {
    text-align: center;
    padding: 30px 20px;
    background-color: #293E4C;
    color: white;
}

.mission-statement h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    margin-top: 125px;
}

.mission-statement p {
    font-size: 1.5em;
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
}


@media only screen and (max-width: 700px) {
   
    .about-hero {

        background-image: url('pictures/hero_about_small.jpg'); /* Replace with your hero image path */
    }
    .about-hero {
        height: 40vh; /* Adjust hero section height for smaller screens */
    }
    .about-hero-text h1 {
        font-size: 2em;
        font-weight: bold;
        margin: 0;
        margin-right: 600px;
    }
    
    .about-hero-text p {
        display: none;
    }

    .origin-story {
        flex-direction: column; /* Stack the text and image vertically */
        padding: 20px; /* Adjust padding for smaller screens */
      }
    
      .origin-text {
        width: 100%; /* Make the text container take full width */
        padding-right: 0; /* Remove right padding */
        text-align: center; /* Center the text */
      }
    
      .origin-image {
        display: none; /* Hide the image on smaller screens */
      }
}

@media only screen and (max-width: 480px) {

    .about-hero-text h1 {
        font-size: 1.85em;
        font-weight: bold;
        margin: 0;
        margin-right: 300px;
        margin-left: -15px;
    }
    
}

/* Contact Page*/

/* Hero Section for Contact Page */

.contact-hero {
    position: relative;
    background-image: url('pictures/career_hero.jpg'); /* Replace with your hero image path */
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: left;
    justify-content: left;
}

.contact-hero-overlay {
    position: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(41, 62, 76, 0.8) 0%,
        rgba(41, 62, 76, 0.8) 50%,
        rgba(72, 140, 154, 0.8) 50%,
        rgba(72, 140, 154, 0.8) 100%
    );
    clip-path: polygon(0 0, 50% 0, 0 100%);
}

.contact-hero-text {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    padding: 20px;
}

.contact-hero-text h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

.required {
    color: red;
  }

@media only screen and (max-width: 700px) {
    .contact-hero {
        height: 40vh; /* Adjust hero section height for smaller screens */
    }

    .contact-hero {
        position: relative;
        background-image: url('pictures/career_hero_small.jpg'); /* Replace with your hero image path */
    }

    .contact-hero-text h1 {
        font-size: 2em;
        font-weight: bold;
        margin-right: 300px;
        text-align: center;
    }

}


/* Contact section form same as home page*/


/* Careers Page */

.careers-hero {
    position: relative;
    background-image: url('pictures/hero_image_7.jpg'); /* Replace with your hero image path */
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: left;
    justify-content: left;
}

.careers-hero-overlay {
    position: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom right,
        rgba(41, 62, 76, 0.8) 0%,
        rgba(41, 62, 76, 0.8) 50%,
        rgba(72, 140, 154, 0.8) 50%,
        rgba(72, 140, 154, 0.8) 100%
    );
    clip-path: polygon(0 0, 50% 0, 0 100%);
}

.careers-hero-text {
    position: relative;
    z-index: 2;
    text-align: left;
    color: white;
    padding: 20px;
}

.careers-hero-text h1 {
    font-size: 3em;
    font-weight: bold;
    margin: 0;
}

.careers-section {
    padding: 50px 20px;
    text-align: center;
}

.careers-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #293E4C;
}

/* Search Box */
.job-search {
    margin-bottom: 40px;
}

.search-box {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    font-size: 1.2rem;
    border: 1px solid #488C9A;
    border-radius: 5px;
}

/* Job Results */
.job-results {
    margin-top: 30px;
    color: #293E4C;
}

.job-results h3 {
    font-size: 1.8rem;
}

.job-results p {
    font-size: 1.2rem;
}


@media only screen and (max-width: 700px) {
    .careers-hero {
        height: 40vh; /* Adjust hero section height for smaller screens */
    }
    .careers-hero-text h1 {
        font-size: 1.9em;
        font-weight: bold;
        margin-right: 300px;
        text-align: left;
    }
    
    .careers-hero-text p {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .careers-hero-text h1 {
        font-size: 1.8em;
        margin-left:-15px;
    }

    .search-box {
        margin-left: -10px;
        width: 100%;
    }  

}