/* CSS Variables for Consistent Colors */
:root {
    --primary-color: #3F548B;  /* Dark Blue */
    --secondary-color: #DADCE3; /* Light Grey */
    --accent-color: #007BFF;    /* Blue for buttons */
    --text-color: #333;          /* Text Color */
    --background-color: #f4f4f4; /* Background Color */
  	--highlight-color: #f83d53 /* Highlight Color*/
}

/* Reset basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Spacer Section */
.spacer {
    width: 100%; /* Full width of the page */
    height: 10px; /* Adjust the height as needed */
    background-color: transparent; /* Keep it transparent */
}


body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

/* Header and Navigation Styles */
header {
    background:var(--secondary-color);
    color: var(--primary-color);
    padding: 20px 0;
    position: relative;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.logo img {
    max-width: 180px;
}

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

.nav-list li {
    margin: 0 15px;
}

.nav-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 4px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-list a:hover {
    color: var(--accent-color); /* Blue hover for contrast */
    border-bottom: 2px solid var(--accent-color);
}

.nav-list a.active {
    color: var(--highlight-color); /* Highlight the active page */
    border-bottom: 2px solid var(--highlight-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.menu-toggle i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Skyline Image */
.skyline-image {
    width: 100%;
  	height: auto;
    background-size: cover;
    overflow: hidden;
  	margin-top: 0;
    padding: 0;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 200px;
    object-fit: cover;
    object-position: middle;
}
/* Hero Section Styling */
.hero-section {
    padding: 0px;
    background-color: transparent; /* Matches the background color of the mission section */
    color: #FFFFFF;
}
.hero_header {
	color: #FFFFFF;
	text-align: center;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	letter-spacing: 4px;
}
/* Hero Section */
.hero {
	background-color: #B3B3B3;
	padding-top: 150px;
	padding-bottom: 0px;
}

/* Hero Section Styling */
.hero {
    padding: 30px;
    background-color: var(--primary-color); /* Dark blue background */
    color: #FFFFFF; /* White text color */
    text-align: center;
    margin: 20px 0;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.get-started-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px; 
    transition: background-color 0.3s;
}

.get-started-button:hover {
    background-color: #fff; /* Background on hover */
}
.enquire-banner {
    display: block; /* Change to block to stretch across the full width */
    text-align: center;
    margin: 30px auto; /* Center it horizontally */
    padding: 15px 0; /* Padding only on top and bottom */
    background-color: #0056b3; /* Update to match your site's primary color */
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none; /* Ensures no underline */
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%; /* Stretch to full width */
}

/* Hover effect */
.enquire-banner:hover {
    background-color: var(--accent-color); /* Darken slightly for the hover state */
    transform: translateY(-3px); /* Lift effect on hover */
}

.enquire-banner a {
    text-decoration: none;
    color: #fff;
    padding: 10px 20px;
    background-color: #0056b3;
    border-radius: 8px;
    margin: 10px 5px;
    transition: background-color 0.3s ease;
}

.enquire-banner a:hover {
    background-color: var(--accent-color);
}
/* About Us Section Styling */
.about-us-home {
    padding: 40px;
    background-color: var(--background-col);
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-us-home h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-us-home p {
    font-size: 1.2em;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
}

.about-us-button {
    background-color: #003d80;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.about-us-button:hover {
    background-color: var(--accent-color);
}
/* About Section */
.about {
    padding: 80px 20px;
    background: white;
    text-align: center;
}

.about h2 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
}

/* Featured Jobs */
.featured-jobs {
    padding: 2rem;
    background-color: #f8f9fa; /* Light background */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.featured-jobs-title {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

/* Our Services Section */
.our-services {
    display: grid; /* Use grid layout */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Responsive columns */
    gap: 20px; /* Space between items */
    margin: 20px; /* Add margin around the section */
}

.service-card {
    background-color: #f9f9f9; /* Light background */
    border: 1px solid #ddd; /* Border for definition */
    border-radius: 8px; /* Rounded corners */
}
.our-services {
    padding: 2rem;
    text-align: center; /* Center-align the section title */
}

.services-title {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Ensures multiple columns */
    gap: 1.5rem; /* Adds spacing between grid items */
    width: 100%; /* Ensures grid spans the container width */
    max-width: 1200px; /* Optional: limits the maximum width */
    margin: 0 auto; /* Centers the grid */
    padding: 1rem; /* Optional padding for the grid */
}

.service-card {
    background-color: #f8f9fa; /* Light background for service cards */
    border: 1px solid #ddd; /* Border around service cards */
    border-radius: 8px; /* Rounded corners */
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s; /* Animation on hover */
}

.service-card:hover {
    transform: translateY(-5px); /* Lift effect on hover */
}

.service-name {
    font-size: 1.5rem;
  /* Styles for the services section */
}

/* Grid layout for services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns */
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/* Styles for each service item */
.service-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: left;
}

.service-item:hover {
    transform: translateY(-5px); /* Lift on hover */
}

/* Styles for the services section */
#our-services {
    padding: 3rem 1rem;
    text-align: center;
    background-color: #f5f7fa;
}

#our-services h2 {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
}

/* Grid layout for services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styles for each service item */
.service-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: left;
}

.service-item:hover {
    transform: translateY(-5px);
}


/* Centered Grid Layout for Services */
.centered-service-grid {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap onto new rows */
    gap: 1.5rem; /* Space between items */
    justify-content: center; /* Center items in each row */
    max-width: 1200px; /* Limits the maximum width of the grid */
    margin: 0 auto; /* Centers the grid within the container */
    padding: 2rem; /* Adds padding around the grid */
}

/* Centered Service Card Styling */
.centered-service-item {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s; /* Hover effect */
    flex: 1 1 250px; /* Each item has a minimum width of 250px and is flexible */
    max-width: 300px; /* Optional max width to keep uniformity */
    display: flex; /* Enables flex layout for content */
    flex-direction: column; /* Stacks content vertically */
    align-items: center; /* Centers content horizontally within each item */
    text-align: center;
}

.centered-service-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

.centered-service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}


.gradient-banner {
    margin-top: 2rem;
    background: linear-gradient(180deg, #0056b3, #3F548B); /* Gradient background */
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.gradient-banner * {
    text-decoration: none; /* Removes underline from all child elements */
}

.gradient-banner:hover {
    background-color: var(--accent-color); /* Changes to accent color on hover */
    background: var(--accent-color); /* Fallback for background color */
}

/* Banner styling */
.services-banner {
    margin-top: 2rem;
    background:linear-gradient(180deg, #0056b3, #3F548B); /* Gradient background */;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
    color: #fff;
}

/* Button styling */
.banner-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.find-out-more-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.contact-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Button hover effects */
.find-out-more-btn:hover {
    background-color: #fff;
}

.contact-btn:hover {
    background-color: #fff;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .featured-jobs-title {
        font-size: 2rem; /* Adjust font size for smaller screens */
    }
}


/* Services Section */
.services {
    background-color: var(--background-color);
    padding: 80px 20px;
    text-align: center;
}

.services ul {
    list-style-type: none;
}

.services ul li {
    font-size: 1.2em;
    margin: 10px 0;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.social-links a {
    color: white;
    margin: 0 10px;
    font-size: 24px;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Style for the modal content */
.popup-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scrolling if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Black background with opacity */
}

.popup-content {
    background-color: #fff;
    margin: 15% auto; /* Center it vertically */
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px; /* Max width of the modal */
    max-height: 70vh; /* Limit height to 70% of the viewport height */
    overflow-y: auto; /* Enable vertical scroll if content exceeds max height */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
    border-radius: 10px; /* Rounded corners */
}

/* Style for close button */
.popup-content .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.popup-content .close:hover,
.popup-content .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-button {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px; 
    transition: background-color 0.3s;
}

.popup-button:hover {
    background-color: #2e3a6f; /* Darker shade for hover effect */
}

/* Jobs Container */
.jobs-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between cards */
    justify-content: center; /* Center cards */
    margin: 20px 0; /* Margin around the job listings section */
}

.job-card {
    background-color: #f9f9f9; /* Light background color */
    border: 1px solid #ddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    padding: 15px; /* Padding inside cards */
    width: 300px; /* Fixed width for uniformity */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.2s, box-shadow 0.2s; /* Smooth scaling and shadow on hover */
}

.job-card:hover {
    transform: scale(1.02); /* Scale up on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* More pronounced shadow on hover */
}

.job-title {
    font-size: 20px; /* Larger font size for job title */
    font-weight: bold; /* Bold job title */
    margin: 10px 0; /* Margin above and below title */
}

.job-description, .skills, .date-listed {
    color: #555; /* Dark gray color for text */
    margin: 5px 0; /* Space between text elements */
}

.job-button {
    display: inline-block; /* Make it a block for easier sizing */
    background-color: #0056b3; /* Bootstrap primary color */
    color: #fff; /* White text color */
    padding: 10px 15px; /* Padding for button */
    border-radius: 5px; /* Rounded button */
    text-decoration: none; /* No underline */
    transition: background-color 0.3s; /* Smooth transition for background color */
}

.job-button:hover {
    background-color: var(--accent-color); /* Darker blue on hover */
}

/* Style the application form inside the modal */
#applicationForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

#applicationForm input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

#applicationForm button {
    background-color: #0056b3;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

#applicationForm button:hover {
    background-color: var(--accent-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--background-color);
    padding: 60px 20px;
    text-align: center;
}

.contact-heading h1 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-heading p {
    font-size: 1.2em;
    color: var(--text-color);
    margin-bottom: 10px;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--primary-color);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    margin-bottom: 10px;
    box-sizing: border-box;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input[type="file"] {
    display: block;
    margin-top: 10px;
}

.file-note {
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

button[type="submit"] {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #2e3a6f;
}

/* Container for selected files in the contact form upload section */
#contactUploadFilesContainer {
    list-style-type: none; /* Remove default list styles */
    padding: 0; /* Remove default padding */
    margin: 20px 0; /* Space above and below the container */
}

/* Style for each file item in the contact form upload section */
#contactUploadFilesContainer li {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Center align items vertically */
    background-color: #f9f9f9; /* Light background for card effect */
    border: 1px solid #ddd; /* Light border */
    border-radius: 5px; /* Rounded corners */
    padding: 12px; /* Padding inside the card */
    margin-bottom: 12px; /* Space between items */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: background-color 0.3s, transform 0.3s; /* Smooth background and scaling transition */
}

/* Hover effect for each file item in the contact form upload section */
#contactUploadFilesContainer li:hover {
    background-color: #e0e0e0; /* Change background on hover */
    transform: scale(1.02); /* Slightly enlarge on hover for emphasis */
}

/* Style the checkbox for selected files in the contact form upload section */
#contactUploadFilesContainer input[type="checkbox"] {
    margin-right: 12px; /* Space between checkbox and text */
    transform: scale(1.2); /* Increase size of checkbox */
}

/* Style for file name text in the contact form upload section */
#contactUploadFilesContainer li span {
    flex-grow: 1; /* Allow text to take remaining space */
    font-size: 15px; /* Font size for file name */
    color: var(--text-color); /* Darker text color */
}

/* Style for remove button in the contact form upload section (if applicable) */
#contactUploadFilesContainer li .remove-button {
    background-color: var(--accent-color); /* Accent color for button */
    color: white; /* White text */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners */
    padding: 6px 12px; /* Padding inside the button */
    cursor: pointer; /* Pointer cursor on hover */
    transition: background-color 0.3s; /* Smooth background transition */
}

#contactUploadFilesContainer li .remove-button:hover {
    background-color: #8e97a0; /* Darker shade for hover */
}

/* About Section */
.about-section, .who-we-are, .values-section, .team, .why-choose-us, .call-to-action-banner {
    background: #ffffff;
    padding: 50px 20px;
    text-align: center;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-section img, .team-member img {
    max-width: 100%;
    border-radius: 10px;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-item {
    background: var(--background-col);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-item i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* About Page Styles */
.about-section,
.team,
.why-choose-us {
    padding: 50px 20px;
}

.about-text {
    max-width: 800px;
    margin: auto;
    text-align: left;
}

.about-text h2 {
    margin-top: 30px;
    color: var(--primary-color);
}

.team {
    text-align: center;
}

.team h2 {
    color: var(--primary-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.team-member {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.team-member img {
    max-width: 100%;
    border-radius: 50%;
}

.call-to-action {
    background: var(--accent-color);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.call-to-action .cta-button {
    background: #fff;
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.call-to-action .cta-button:hover {
    background: var(--secondary-color);
}

.footer-links {
    text-align: center;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}
/* Mission Statement Styles */
.mission-statement {
    text-align: center;
    padding: 20px;
    background-color: #f2f2f2; /* Light background for contrast */
    border-radius: 8px; /* Rounded corners */
    margin: 20px 0; /* Margin for spacing */
}

/* Our Values Section */
.our-values {
    padding: 20px;
    background-color: #ffffff; /* White background */
    border: 1px solid #dddddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    margin: 20px 0; /* Margin for spacing */
}

.our-values ul {
    list-style-type: none; /* Remove default list styling */
    padding: 0; /* Remove padding */
}

.our-values li {
    margin: 10px 0; /* Space between list items */
    font-size: 1.1em; /* Slightly larger text */
}

/* Meet Our Team Section */
.meet-our-team {
    padding: 20px;
    background-color: #f9f9f9; /* Slightly off-white for distinction */
    border: 1px solid #dddddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    margin: 20px 0; /* Margin for spacing */
}

.team-members {
    display: flex; /* Flexbox for layout */
    justify-content: space-around; /* Space between items */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
}

.team-member {
    flex: 0 1 30%; /* Flex item with a basis of 30% */
    text-align: center; /* Center text */
    margin: 10px; /* Space around team members */
    padding: 10px; /* Padding for content */
    background-color: #ffffff; /* White background for cards */
    border: 1px solid #dddddd; /* Light border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.team-member img {
    width: 100%; /* Responsive images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Circular profile picture */
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        background-color: var(--secondary-color);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        text-align: center;
    }

    .nav-list.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .job-card {
        width: 100%; /* Full width on smaller screens */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero p {
        font-size: 0.9em;
    }
}

