body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
}

/*
body, html {
    overflow-x: hidden;  Prevent horizontal scroll 
}
*/

body, html {
    scroll-behavior: smooth;
}


header {
    background-color: white;
    color: black;
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures the header is above other content */
    width: 100%; /* Ensures the header spans the full width */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow for visual separation */
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo-img {
    max-height: 70px;
    margin-right: 15px;
}

header .navbar-toggler {
    border: none;
}

header .navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><path stroke="currentColor" stroke-width="3" d="M5 7h20M5 15h20M5 23h20"/></svg>');
    background-color: white;
}

.hero .btn-success {
    font-size: 16px; /* Adjust the font size to increase the size */
}

.offcanvas {
    width: 250px;
    background-color: white;
    color: black;
}

.offcanvas-header {
    border-bottom: 1px solid #ddd;
}

.offcanvas-body {
    padding: 2rem;
}

.offcanvas-body a {
    color: black;
    text-decoration: none;
    font-size: 1.25rem;
}

.offcanvas-body a:hover {
    text-decoration: underline;
}

.offcanvas-backdrop {
    display: none; /* Hides the backdrop */
}

.hero {
    position: relative;
    height: 60vh; /* Adjust as needed */
    overflow: hidden; /* Hide any overflow from the video */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the area */
    z-index: -1; /* Ensure the video stays behind the content */
}

.hero .hero-content {
    position: relative;
    z-index: 1; /* Ensure the content stays above the video */
    background-color: #f8f9fa   ; /* Optional background for readability */
    padding: 16px; /* Adjust as needed */
    border-radius: 16px; /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.326); /* Optional shadow */
    color: rgb(255, 255, 255); /* Font color */
    max-width: 600px; /* Adjust width as needed */
    margin: auto; /* Center content */
}

.hero .hero-content h2 {
    margin: 0;
    padding: 0;
    font-weight:normal;
}

.hero .hero-content p {
    margin: 0;
}


footer {
    background: #2F4F4F;
    color: black;
    padding: 1.5rem 0;
}

footer .form-control {
    display: inline-block;
    width: auto;
}

footer .btn {
    margin-top: 0;
}

footer p {
    color: white;
}

footer h6 {
    color: white;
    font-weight: bold;
}

header .social-icon {
    display: inline-block;
    margin: 0 0.05rem !important;
}

header .social-icon img {
    width: 48px;
    height: 48px;
}

footer .social-icon {
    display: inline-block;
    margin: 0 0.05rem;
}

footer .social-icon img {
    width: 48px;
    height: 48px;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

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

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
        flex-direction: row;
    }

    .nav-item {
        margin-left: 1rem;
    }
}

h2 {
    color: #2F4F4F;
}

h5 {
    font-weight: bold;
}

button,
a.btn {
    color: white;
    background-color: #2F4F4F !important;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2F4F4F; /* Adjust the color if needed */
    margin: rem 0;
    position: relative;
    text-transform: uppercase; /* Ensures the text is uppercase */
    letter-spacing: 2px; /* Adds spacing between the letters */
}

.section-heading::before,
.section-heading::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #2F4F4F; /* Adjust the color if needed */
    margin: 0 1rem;
}

button[type="submit"] {
    padding: 12px 120px; /* Adjust the padding values to increase the size */
    font-size: 16px; /* Adjust the font size to increase the size */
}

address {
    font-size: 18px; /* Adjust the font size to increase it */
    color: #5e5e5e;
    margin-left: 10px; /* Adjust the value to your desired spacing */
    }

@media (max-width: 768px) {
        address {
            text-align: center; /* Center align for medium and smaller breakpoints */
            margin-left: 0; /* Remove left margin to align center */
            margin-right: 0; /* Remove right margin if needed */
        }
    }

.address-a p {
    font-size: 18px;
    color:#2F4F4F
}

.address-a h5 {
    font-size: 20px;
    color:black
}

.address-a h6 {
    font-size: 24px;
    color:#2F4F4F
}


p {
    font-size: 16px;
    color: #5e5e5e;
}

.accreditations .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between; /* Align images to the left */
}

.accreditations img {
    width: 40%; /* Adjust the width to fit all images closely */
    margin-right: 0; /* Ensure no extra margin between images */
}

.accreditations img:first-child {
    margin-left: 34px; /* Move the first image slightly to the right */
}


@media (max-width: 768px) {
    .accreditations .row {
        flex-wrap: wrap; /* Allow images to wrap on smaller screens */
    }
    .accreditations img {
        width: 35%; /* Adjust width for smaller screens */
        margin-bottom: 5px;
    }
}

a.btn-success {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

a.btn-success:hover {
    background-color: #28a745; /* Slightly darker green on hover */
}


/* Ensure the Enquire form Submit button takes full width of its column */
.enquire-a .btn-success {
    font-size: 18px; /* Adjust font size */
    padding: 12px; /* Adjust padding if needed */
}

@media (max-width: 768px) {
    /* Adjust padding for smaller screens if needed */
.enquire-a .btn-success{
        padding: 10px; /* Adjust padding for smaller screens */
    }
}


/* CSS class to set the dimensions of images in the Why Us section */

/* Default styles for why-us section */

.why-us-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.why-us-img {
    width: 600px; /* Adjust to fit the container */
    height: 183px;
    object-fit: cover; /* Maintain aspect ratio while filling the space */
    margin-bottom: 1rem; /* Space between image and heading */
}

.why-us-content h3 {
    margin-top: 1rem; /* Space above the heading */
    font-size: 1.5rem; /* Adjust font size as needed */
    text-align: center;
}

/* Responsive adjustments for medium and smaller screens */
@media (max-width: 768px) {
    .why-us-img {
        margin-bottom: 20px; /* Increased space below image */
    }

    .why-us-content h3 {
        margin-top: 20px; /* Increased space above heading */
    }
}

/* Our Customers Section */
#our-customers {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

.section-heading {
    font-size: 2rem;
    color: #2F4F4F;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#our-customers .carousel-item img {
    height: 100px; /* Adjust height as needed */
    width: 100%; /* Ensure the image scales to fit the column */
    object-fit: scale-down ;
    border-radius: 8px;
}

#our-customers .carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #2F4F4F; /* Adjust color as needed */
    border-radius: 50%;
    padding: 10px;
}

/*-- add background color */

.services, .contact,.our-projects
 {
  background-color: rgba(0, 0, 0, 0.02);
  padding: 1px;
}

.why-us-row:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.02); /* Even lighter shading for even rows */
    padding: 0;
}

/* Reducing margin and padding between Why Us and Accreditations sections */
.why-us {
    margin-bottom: 1rem; /* Adjust as needed to reduce space below Why Us section */
}

.accreditations {
    padding-top: 1rem; /* Reduce padding above the Accreditations section */
    margin-top: 0; /* Ensure there's no extra margin at the top */
}

/* Ensuring space adjustments are consistent */
.why-us, .accreditations {
    margin: 0;
    padding: 0;
}

#accreditations {
    padding-top: 1rem; /* Reduce padding above the Accreditations section */
    margin-top: 0; /* Ensure there's no extra margin at the top */
}

/* Remove background color and set chevron color to black */
#our-projects .carousel-control-prev,
#our-projects .carousel-control-next {
    background-color: transparent !important; /* Ensure no background color */
    border: none !important; /* Remove border */
}

#our-projects .carousel-control-prev-icon,
#our-projects .carousel-control-next-icon {
    background-color: transparent !important; /* Ensure no background color from icon containers */
    color: #000000 !important; /* Chevron color set to black */
}

/* Ensure no green color or box on hover */
#our-projects .carousel-control-prev:hover,
#our-projects .carousel-control-next:hover
#our-projects .carousel-control-prev:focus,
#our-projects .carousel-control-next:focus {
    background-color: transparent !important; /* Ensure background remains transparent on hover */
    color: #000000 !important; /* Chevron color remains black on hover */
}

/* Specific rules for carousel control icons */
#our-projects .carousel-control-prev-icon {
    border-radius: 50%; /* Optional: makes the background circle */
    background-color: transparent !important; /* Ensure no background color */
}

#our-projects .carousel-control-next-icon {
    border-radius: 50%; /* Optional: makes the background circle */
    background-color: transparent !important; /* Ensure no background color */
}

/* Remove any color changes from child elements */
#our-projects .carousel-control-prev-icon::after,
#our-projects .carousel-control-next-icon::after {
    color: #000000 !important; /* Chevron color set to black */
}

#our-projects .carousel-indicators {
    position: absolute;
    bottom: -40px; /* Move the indicators down by 20px (adjust as needed) */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px; /* Add some space above the indicators */
}

#our-projects .carousel-indicators li {
    background-color: #2F4F4F; /* Indicator color */
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

@media (max-width: 991.98px) {
    #our-projects .carousel-indicators {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
    }
}

@media (max-width: 991.98px) {
    #our-projects h3 {
        margin-bottom: 20px; /* Adjust this value as needed */
    }

    #our-projects img {
        margin-top: 20px; /* Adjust this value as needed */
    }
}


/*Accreditations grid layout*/

.grid-container {
    display: grid;
    grid-template-columns: repeat(7, 200px);
}

/* Medium breakpoint */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px; /* Gap between grid items */
    }
}

/* Small breakpoint */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px; /* Increased gap for small screens */
    }
}

/* Extra small breakpoint */
@media (max-width: 576px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 24px; /* Even more gap for extra small screens */
    }
}



/* Footer section */
.footer {
    background-color: #2F4F4F;
    color: #fff;
    padding: 20px 0;
}

.footer-center h6,
.footer-center p {
    text-align: center;
    margin: 0;
}

.footer-center h6 {
    margin-bottom: 10px; /* Add space between the company name and phone numbers */
}

.footer-center a {
    color: #fff;
    text-decoration: none;
}

.footer-center a:hover {
    text-decoration: underline;
}

.footer-left .social-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-left .social-links a {
    margin: 0 5px;
    font-size: 16px;
    color: #fff;
}

.footer-left p {
    text-align: center;
    margin: 0;
}

.footer-right .footer-nav {
    list-style: none;
    padding: 0;
    margin: 20px;
    text-align: right;
}

.footer-right .footer-nav li {
    display: inline;
    margin-left: 10px;
}

.footer-right .footer-nav a {
    color: #fff;
    text-decoration: none;
}

.footer-right .footer-nav a:hover {
    text-decoration: underline;
}

footer .social-links h6 {
    color: white;
}

/* Responsive adjustments for medium and smaller breakpoints */
@media (max-width: 768px) {
    .footer {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .footer-left {
        order: 3; /* Move social media and copyright text to the bottom */
        text-align: center;
        margin-top: 20px;
    }

    .footer-center {
        order: 2; /* Keep company name, phone, and email in the middle */
        margin-bottom: 20px; /* Add space below the email */
    }

    .footer-right {
        order: 1; /* Keep nav menu at the top */
        text-align: center;
        margin-bottom: 5px; /* Increase bottom margin for space between nav and email */
        text-decoration: underline;
    }

    .footer-left .social-links {
        margin-bottom: 10px;
    }

    .footer-right .footer-nav {
        text-align: center; /* Center the nav links */
        margin-bottom: 10px;
    }
}

/* Hover effect */

.card:hover {
    border: 3px solid #498989; /* You can change the color and width as needed */
    transition: border 0.3s ease-in-out;
}   

/* Careers Page Styles */
body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
}

/*
body, html {
    overflow-x: hidden;  Prevent horizontal scroll 
}
*/

body, html {
    scroll-behavior: smooth;
}


header {
    background-color: white;
    color: black;
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures the header is above other content */
    width: 100%; /* Ensures the header spans the full width */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional shadow for visual separation */
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo-img {
    max-height: 70px;
    margin-right: 15px;
}

header .navbar-toggler {
    border: none;
}

header .navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 30 30"><path stroke="currentColor" stroke-width="3" d="M5 7h20M5 15h20M5 23h20"/></svg>');
    background-color: white;
}

.hero .btn-success {
    font-size: 16px; /* Adjust the font size to increase the size */
}

.offcanvas {
    width: 250px;
    background-color: white;
    color: black;
}

.offcanvas-header {
    border-bottom: 1px solid #ddd;
}

.offcanvas-body {
    padding: 2rem;
}

.offcanvas-body a {
    color: black;
    text-decoration: none;
    font-size: 1.25rem;
}

.offcanvas-body a:hover {
    text-decoration: underline;
}

.offcanvas-backdrop {
    display: none; /* Hides the backdrop */
}

.hero {
    position: relative;
    height: 60vh; /* Adjust as needed */
    overflow: hidden; /* Hide any overflow from the video */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#heroVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the video covers the area */
    z-index: -1; /* Ensure the video stays behind the content */
}

.hero .hero-content {
    position: relative;
    z-index: 1; /* Ensure the content stays above the video */
    background-color: #f8f9fa   ; /* Optional background for readability */
    padding: 16px; /* Adjust as needed */
    border-radius: 16px; /* Optional rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.326); /* Optional shadow */
    color: rgb(255, 255, 255); /* Font color */
    max-width: 600px; /* Adjust width as needed */
    margin: auto; /* Center content */
}

.hero .hero-content h2 {
    margin: 0;
    padding: 0;
    font-weight:normal;
}

.hero .hero-content p {
    margin: 0;
}


footer {
    background: #2F4F4F;
    color: black;
    padding: 1.5rem 0;
}

footer .form-control {
    display: inline-block;
    width: auto;
}

footer .btn {
    margin-top: 0;
}

footer p {
    color: white;
}

footer h6 {
    color: white;
    font-weight: bold;
}

header .social-icon {
    display: inline-block;
    margin: 0 0.05rem !important;
}

header .social-icon img {
    width: 48px;
    height: 48px;
}

footer .social-icon {
    display: inline-block;
    margin: 0 0.05rem;
}

footer .social-icon img {
    width: 48px;
    height: 48px;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

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

@media (min-width: 768px) {
    .navbar-nav {
        display: flex;
        flex-direction: row;
    }

    .nav-item {
        margin-left: 1rem;
    }
}

h2 {
    color: #2F4F4F;
}

h5 {
    font-weight: bold;
}

button,
a.btn {
    color: white;
    background-color: #2F4F4F !important;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #2F4F4F; /* Adjust the color if needed */
    margin: rem 0;
    position: relative;
    text-transform: uppercase; /* Ensures the text is uppercase */
    letter-spacing: 2px; /* Adds spacing between the letters */
}

.section-heading::before,
.section-heading::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #2F4F4F; /* Adjust the color if needed */
    margin: 0 1rem;
}

button[type="submit"] {
    padding: 12px 120px; /* Adjust the padding values to increase the size */
    font-size: 16px; /* Adjust the font size to increase the size */
}

address {
    font-size: 18px; /* Adjust the font size to increase it */
    color: #5e5e5e;
    margin-left: 10px; /* Adjust the value to your desired spacing */
    }

@media (max-width: 768px) {
        address {
            text-align: center; /* Center align for medium and smaller breakpoints */
            margin-left: 0; /* Remove left margin to align center */
            margin-right: 0; /* Remove right margin if needed */
        }
    }

.address-a p {
    font-size: 18px;
    color:#2F4F4F
}

.address-a h5 {
    font-size: 20px;
    color:black
}

.address-a h6 {
    font-size: 24px;
    color:#2F4F4F
}


p {
    font-size: 16px;
    color: #5e5e5e;
}

.accreditations .row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between; /* Align images to the left */
}

.accreditations img {
    width: 40%; /* Adjust the width to fit all images closely */
    margin-right: 0; /* Ensure no extra margin between images */
}

.accreditations img:first-child {
    margin-left: 34px; /* Move the first image slightly to the right */
}


@media (max-width: 768px) {
    .accreditations .row {
        flex-wrap: wrap; /* Allow images to wrap on smaller screens */
    }
    .accreditations img {
        width: 35%; /* Adjust width for smaller screens */
        margin-bottom: 5px;
    }
}

a.btn-success {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

a.btn-success:hover {
    background-color: #28a745; /* Slightly darker green on hover */
}


/* Ensure the Enquire form Submit button takes full width of its column */
.enquire-a .btn-success {
    font-size: 18px; /* Adjust font size */
    padding: 12px; /* Adjust padding if needed */
}

@media (max-width: 768px) {
    /* Adjust padding for smaller screens if needed */
.enquire-a .btn-success{
        padding: 10px; /* Adjust padding for smaller screens */
    }
}


/* CSS class to set the dimensions of images in the Why Us section */

/* Default styles for why-us section */

.why-us-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.why-us-img {
    width: 600px; /* Adjust to fit the container */
    height: 183px;
    object-fit: cover; /* Maintain aspect ratio while filling the space */
    margin-bottom: 1rem; /* Space between image and heading */
}

.why-us-content h3 {
    margin-top: 1rem; /* Space above the heading */
    font-size: 1.5rem; /* Adjust font size as needed */
    text-align: center;
}

/* Responsive adjustments for medium and smaller screens */
@media (max-width: 768px) {
    .why-us-img {
        margin-bottom: 20px; /* Increased space below image */
    }

    .why-us-content h3 {
        margin-top: 20px; /* Increased space above heading */
    }
}

/* Our Customers Section */
#our-customers {
    padding: 3rem 0;
    background-color: #f9f9f9;
}

.section-heading {
    font-size: 2rem;
    color: #2F4F4F;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#our-customers .carousel-item img {
    height: 100px; /* Adjust height as needed */
    width: 100%; /* Ensure the image scales to fit the column */
    object-fit: scale-down ;
    border-radius: 8px;
}

#our-customers .carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #2F4F4F; /* Adjust color as needed */
    border-radius: 50%;
    padding: 10px;
}

/*-- add background color */

.services, .contact,.our-projects
 {
  background-color: rgba(0, 0, 0, 0.02);
  padding: 1px;
}

.why-us-row:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.02); /* Even lighter shading for even rows */
    padding: 0;
}

/* Reducing margin and padding between Why Us and Accreditations sections */
.why-us {
    margin-bottom: 1rem; /* Adjust as needed to reduce space below Why Us section */
}

.accreditations {
    padding-top: 1rem; /* Reduce padding above the Accreditations section */
    margin-top: 0; /* Ensure there's no extra margin at the top */
}

/* Ensuring space adjustments are consistent */
.why-us, .accreditations {
    margin: 0;
    padding: 0;
}

#accreditations {
    padding-top: 1rem; /* Reduce padding above the Accreditations section */
    margin-top: 0; /* Ensure there's no extra margin at the top */
}

/* Remove background color and set chevron color to black */
#our-projects .carousel-control-prev,
#our-projects .carousel-control-next {
    background-color: transparent !important; /* Ensure no background color */
    border: none !important; /* Remove border */
}

#our-projects .carousel-control-prev-icon,
#our-projects .carousel-control-next-icon {
    background-color: transparent !important; /* Ensure no background color from icon containers */
    color: #000000 !important; /* Chevron color set to black */
}

/* Ensure no green color or box on hover */
#our-projects .carousel-control-prev:hover,
#our-projects .carousel-control-next:hover
#our-projects .carousel-control-prev:focus,
#our-projects .carousel-control-next:focus {
    background-color: transparent !important; /* Ensure background remains transparent on hover */
    color: #000000 !important; /* Chevron color remains black on hover */
}

/* Specific rules for carousel control icons */
#our-projects .carousel-control-prev-icon {
    border-radius: 50%; /* Optional: makes the background circle */
    background-color: transparent !important; /* Ensure no background color */
}

#our-projects .carousel-control-next-icon {
    border-radius: 50%; /* Optional: makes the background circle */
    background-color: transparent !important; /* Ensure no background color */
}

/* Remove any color changes from child elements */
#our-projects .carousel-control-prev-icon::after,
#our-projects .carousel-control-next-icon::after {
    color: #000000 !important; /* Chevron color set to black */
}

#our-projects .carousel-indicators {
    position: absolute;
    bottom: -40px; /* Move the indicators down by 20px (adjust as needed) */
    left: 50%;
    transform: translateX(-50%);
    margin-top: 20px; /* Add some space above the indicators */
}

#our-projects .carousel-indicators li {
    background-color: #2F4F4F; /* Indicator color */
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

@media (max-width: 991.98px) {
    #our-projects .carousel-indicators {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
    }
}

@media (max-width: 991.98px) {
    #our-projects h3 {
        margin-bottom: 20px; /* Adjust this value as needed */
    }

    #our-projects img {
        margin-top: 20px; /* Adjust this value as needed */
    }
}


/*Accreditations grid layout*/

.grid-container {
    display: grid;
    grid-template-columns: repeat(7, 200px);
}

/* Medium breakpoint */
@media (max-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px; /* Gap between grid items */
    }
}

/* Small breakpoint */
@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px; /* Increased gap for small screens */
    }
}

/* Extra small breakpoint */
@media (max-width: 576px) {
    .grid-container {
        grid-template-columns: 1fr;
        gap: 24px; /* Even more gap for extra small screens */
    }
}



/* Footer section */
.footer {
    background-color: #2F4F4F;
    color: #fff;
    padding: 20px 0;
}

.footer-center h6,
.footer-center p {
    text-align: center;
    margin: 0;
}

.footer-center h6 {
    margin-bottom: 10px; /* Add space between the company name and phone numbers */
}

.footer-center a {
    color: #fff;
    text-decoration: none;
}

.footer-center a:hover {
    text-decoration: underline;
}

.footer-left .social-links {
    text-align: center;
    margin-bottom: 20px;
}

.footer-left .social-links a {
    margin: 0 5px;
    font-size: 16px;
    color: #fff;
}

.footer-left p {
    text-align: center;
    margin: 0;
}

.footer-right .footer-nav {
    list-style: none;
    padding: 0;
    margin: 20px;
    text-align: right;
}

.footer-right .footer-nav li {
    display: inline;
    margin-left: 10px;
}

.footer-right .footer-nav a {
    color: #fff;
    text-decoration: none;
}

.footer-right .footer-nav a:hover {
    text-decoration: underline;
}

footer .social-links h6 {
    color: white;
}

/* Responsive adjustments for medium and smaller breakpoints */
@media (max-width: 768px) {
    .footer {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .footer-left {
        order: 3; /* Move social media and copyright text to the bottom */
        text-align: center;
        margin-top: 20px;
    }

    .footer-center {
        order: 2; /* Keep company name, phone, and email in the middle */
        margin-bottom: 20px; /* Add space below the email */
    }

    .footer-right {
        order: 1; /* Keep nav menu at the top */
        text-align: center;
        margin-bottom: 5px; /* Increase bottom margin for space between nav and email */
        text-decoration: underline;
    }

    .footer-left .social-links {
        margin-bottom: 10px;
    }

    .footer-right .footer-nav {
        text-align: center; /* Center the nav links */
        margin-bottom: 10px;
    }
}

/* Hover effect */

.card:hover {
    border: 3px solid #498989; /* You can change the color and width as needed */
    transition: border 0.3s ease-in-out;
}   

/* Careers Page Styles */
/* Careers Page Styles */
/* General Styles */
.card {
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card-title {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.scroll-behavior {
    scroll-behavior: smooth;
}

/* Job Postings Section */
.job-postings-container {
    margin: 20px auto;
    max-width: 100%;
    padding: 20px;
    background-color: #f8f9fa;
}

.job-postings-title {
    color: #2F4F4F;
    font-size: 2rem;
    margin-bottom: 20px;
}

.job-postings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.job-postings-table th, .job-postings-table td {
    vertical-align: middle;
    padding: 12px;
    font-size: 0.95rem;
}

.job-postings-table th {
    background-color: #2F4F4F;
    color: white;
}

.apply-btn {
    padding: 5px 10px;
    background-color: #2F4F4F;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

/* Upload Form Section */
.upload-form-container {
    margin: 20px auto;
    max-width: 600px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.upload-form-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
    padding: 12px;
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #2F4F4F;
    color: #fff;
    border: none;
    cursor: pointer;
    max-width: 80px;
}

.submit-btn:hover {
    background-color: #1d3c3c; /* Darker shade on hover */
}

/* Job Posting Styles */
.job-posting {
    background-color: #f0f0f0; /* Grey background */
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.job-posting .row {
    display: flex;
    flex-wrap: nowrap; /* Ensure items stay in a single row */
    align-items: stretch; /* Stretch items to ensure full height alignment */
    border-right: 1px solid #ddd; /* Add a right border to the entire row */
    position: relative; /* Position for pseudo-elements */
}

.job-posting .row:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    bottom: 0;
    width: 1px;
    background-color: #ddd; /* The vertical line */
}

.job-description {
    padding-right: 10px; /* Adjust padding as needed */
    flex: 1;
    position: relative;
    z-index: 1; /* Ensure the content is above the border */
}

.apply-button {
    text-align: right;
    padding-left: 10px; /* Adjust padding as needed */
    flex: 1;
    position: relative;
    z-index: 1; /* Ensure the content is above the border */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .job-postings-table {
        border: 0;
    }

    .job-postings-table thead {
        display: none;
    }

    .job-postings-table tbody, .job-postings-table tr {
        display: block;
        width: 100%;
        border-bottom: 1px solid #ddd;
        margin-bottom: 10px;
    }

    .job-postings-table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        border: none;
        position: relative;
        font-size: 0.9rem;
        background-color: #f8f9fa; /* Ensure background color is consistent */
    }

    .job-postings-table tr:first-of-type td {
        background-color: #f0f0f0; /* Apply grey background only to the first job */
    }

    .job-postings-table td::before {
        content: attr(data-label);
        font-weight: bold;
        position: absolute;
        left: 0;
        top: 0;
        padding: 10px;
        background-color: transparent; /* Keep background transparent for the labels */
        border-right: 1px solid #ddd;
        white-space: nowrap;
        width: 40%;
        box-sizing: border-box;
    }

    .job-postings-table td {
        padding-left: 50%;
        position: relative;
    }

    .apply-btn {
        width: auto;
        margin: 10px 0;
        font-size: 1rem;
    }

    .upload-form-title {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 10px;
        font-size: 0.9rem;
    }

    .job-description, .apply-button {
        flex: 1 1 100%; /* Full width on smaller screens */
        padding: 10px 0;
        border-right: none; /* Remove border on smaller screens */
    }
}

@media (min-width: 768px) {
    .job-description, .apply-button {
        flex: 1; /* Equal width on larger screens */
    }

    .job-description:last-child {
        border-right: none; /* Remove the right border for the last column */
    }
}