/* Custom Styles */
body {
    padding-top: 70px; /* Add padding to accommodate fixed navbar */
}

.logo {
    max-height: 50px;
    width: auto;
}

.carousel-container {
    margin-top: 0; /* Remove margin since padding is added to the body */
}

.carousel-inner img {
    height: 350px; /* Fixed height */
    position: relative; /* auto adjust and not crop images */
   
}

.fixed-height {
    height: 350px; /* Ensure fixed height */
    
}

.image-with-text .text-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-with-text .text-content {
    background: rgba(128, 128, 128, 0.7); /* Translucent grey */
    padding: 20px;
    border-radius: 8px;
    color: white;
    text-align: center; /* Center-align text */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.bg-translucent-grey {
    background: rgba(0, 0, 0, 0.7); /* Dark translucent grey */
    padding: 20px;
    border-radius: 8px;
    color: white;
    margin: 10px; /* Added margin for better visibility of background */
}

.no-gap {
    padding: 0;
    margin: 0;
}

.no-gap .col-md-6 {
    padding: 0;
}

.no-gap .carousel,
.no-gap .image-with-text {
    height: 310px; /* Set fixed height */
}

.dark-blue-bg {
    background-color: #003366;
}

.black-bg {
    background-color: #000;
}

.service-box {
    background: #003366; /* Dark blue background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Box shadow */
    border-radius: 8px; /* Rounded corners */
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center; /* Center-align text */
    height: 100%; /* Ensure equal height */
}

.project-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.7); /* Dark translucent grey */
    padding: 20px;
    border-radius: 8px;
    color: white;
    height: 100%; /* Ensure equal height */
}

.project-box .btn {
    margin-top: auto;
}

.partner-logo-container {
    height: 100px; /* Fixed height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.partner-logo {
    max-height: 100%;
    width: auto;
}

.footer {
    background-color: #000; /* Black background */
    color: white;
    padding-top: 30px;
    padding-bottom: 30px;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form .form-group label {
    margin-bottom: 0.5rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group button {
    width: 100%;
}

.contact-form .form-group .form-control-file {
    width: auto;
}

.contact-form .btn {
    width: auto;
}

.footer .social-media-icons a {
    display: inline-block;
    margin: 0 5px;
    overflow: hidden;
    border-radius: 8px;
}

.footer .social-media-icons a img {
    border-radius: 8px;
    height: 40px;
    width: 40px;
    background-size: cover;
    background-position: center center;
}

.footer .contact-address p {
    margin-bottom: 0.5rem;
}

.footer .cert-icon {
    margin-left: 10px;
    height: 40px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
    background-size: cover;
    background-position: center center;
}

.footer .right-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

@media (max-width: 768px) {
    .navbar-nav .nav-link {
        text-align: center;
        padding: 10px 0;
    }

    .carousel,
    .image-with-text {
        width: 100%;
        height: auto;
    }

    .carousel-inner img,
    .image-with-text img {
        width: 100%;
        height: auto;
    }

    .carousel-inner img {
        height: 300px; /* Fixed height for small screens */
        background-size: cover;
        background-position: center center;
    }

    .section {
        padding: 30px 0;
    }
    /* Ensure no gap on small screens */
    #home {
        padding: 0;
        margin: 0;
    }
}
