/* Keyframes for slide-up animation */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Apply the slide-up animation to the text container */
.texts {
    animation: slideUp 1s ease-out;
}

/* Adjust other existing styles as needed */
body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}
















.main-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background-image: url('path_to_your_image.jpg'); /* Replace with your image path */
    background-size: cover;
    z-index: -1; /* Ensure it's behind other content */
}

nav {
    color: black;
    margin-left: 20px;
    position: relative; /* Ensure it's stacked above main image */
    z-index: 1; /* Ensure it's above the main image */
}

.menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.menu li {
    float: right;
}

.menu li a {
    display: block;
    color: #0c2f81;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.menu li a:hover {
    color: #111;
}

.nav-container {
    display: flex;
    align-items: center;
    padding: 10px;
}

.logo {
    height: 100px; 
    margin-right: auto; /* Align logo to the left */
}

.menu-toggle {
    display: none; /* Hide by default */
    background-color: #333;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.menu-toggle:focus {
    outline: none;
}

.slide-menu {
    position: fixed;
    top: 0;
    right: -250px; /* Hide offscreen */
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    transition: right 0.3s ease;
    padding-top: 60px;
    z-index: 2; /* Ensure it's above main image */
}

.slide-menu ul {
    list-style-type: none;
    padding: 0;
}

.slide-menu ul li {
    padding: 8px 16px;
}

.slide-menu ul li a {
    color: white;
    text-decoration: none;
}

.slide-menu ul li a:hover {
    background-color: #575757;
}

.slide-menu.open {
    right: 0; /* Slide in */
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.close-menu:focus {
    outline: none;
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: row; /* Keep in row direction */
        justify-content: space-between; /* Distribute space between items */
        align-items: center;
    }

    .logo {
        margin-bottom: 0; /* Remove bottom margin */
    }

    .menu {
        display: none; /* Hide menu */
    }

    .menu-toggle {
        display: block; /* Show only on mobile devices */
    }
}

.mainimage {
    height: 100%;
    width: 100%;
}

.content-container {
    display: flex;
    align-items: center;
    padding: 20px;
}

.content-container img {
    width: 700px;
    height: 350px;
    margin-left: 45px;
    padding-top: 30px;
}

.texts {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-left: 30px;
    color: #0c2f81;
}




/* Container for the row of images */
.image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    margin: 20px 0;
}

/* Each image container */
.image-container {
    flex: 1;
    margin: 10px;
    text-align: center;
    max-width: 250px;
}

/* Image styles */
.image-container img {
    width: 30%;
    height: auto;
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);

}

/* Heading and text styles */
.image-container h4 {
    margin: 10px 0;
    font-size: 1.2em;
    color: #0c2f81; /* Adjust color as needed */
}

.image-container p {
    margin: 0;
    font-size: 1em;
    color: #333; /* Adjust color as needed */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .image-container {
        flex: 1 1 45%; /* Two per row on small screens */
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .image-container {
        flex: 1 1 100%; /* One per row on very small screens */
        max-width: 100%;
    }
}


/* Container for the image and overlay */
.image-overlay-container {
    position: relative;
    display: inline-block;
    width: 100%; /* Adjust as needed */
    height: auto; /* Maintain aspect ratio */
}

/* Image style */
.image-overlay-container img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Overlay style */
.overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 100%; /* Cover 60% of the image */
    background-color: rgba(0, 0, 0, 0.6); /* Black color with 60% opacity */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 20px;
    box-sizing: border-box;
}

.overlay h4{
    color: #94b447;
}

/* Slide-up animation */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.overlay h4, .overlay p {
    animation: slideUp 1s ease-out;
    margin: 10px 0;
}

.overlay h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 1em;
    margin-top: 0;
}







/* Container for the logos */
.logo-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
    background-color: #f8f8f8; /* Optional: add a background color */
}

/* Logo styles */
.logo-row img {
    max-width: 150px; /* Adjust as needed */
    max-height: 100px; /* Adjust as needed */
    margin: 10px;
    transition: transform 0.3s ease;
}

.logo-row img:hover {
    transform: scale(1.1); /* Optional: add a hover effect */
}



.partners h2{
    padding-top: 30px;
    text-align: center;
    color: #94b447;
}





/* Container for the logos */
.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the logos */
    gap: 50px; /* Add space between logos */
    background-color: #f8f8f8; /* Optional: add a background color */
}

/* Logo styles */
.logo-row img {
    max-width: 100px; /* Adjust as needed */
    max-height: 100px; /* Adjust as needed */
    transition: transform 0.3s ease;
}

.logo-row img:hover {
    transform: scale(1.1); /* Optional: add a hover effect */
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .logo-row img {
        flex: 1 1 45%; /* Each logo takes up about half the row on tablets */
        max-width: 45%;
    }
}

@media (max-width: 480px) {
    .logo-row img {
        flex: 1 1 90%; /* Each logo takes up nearly the whole row on mobile */
        max-width: 90%;
    }
}












/* Example styles for the footer */
footer a {
    color: #fff;
    text-align: center;
}
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    margin-top: 70px;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left,
.footer-right {
    flex: 1;
    padding: 0 20px;
}

.footer-left h3,
.footer-right h3 {
    color: #fff;
}

.footer-right ul {
    list-style-type: none;
    padding: 0;
}

.footer-right ul li {
    margin-bottom: 10px;
}

.footer-right ul li a {
    color: #ccc;
    text-decoration: none;
}

.footer-right ul li a:hover {
    color: #fff;
}

.footer-bottom {
    background-color: #222;
    padding: 10px 0;
    font-size: 0.8rem;
}



@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right {
        padding: 10px 0;
    }
}


.image-container:hover img {
    transform: scale(1.1);
}


@media (max-width: 768px) {
    .content-container {
        flex-direction: column;
        text-align: center;
    }

    .content-container img {
        width: 80%;
        margin: 0 auto;
        padding-top: 20px;
    }

    .texts {
        width: 100%;
        padding-left: 0;
        padding-top: 20px;
    }
}






@media (max-width: 768px) {
    .overlay {
        width: 100%; /* Cover full width on small screens */
        height: auto; /* Adjust height as needed */
        padding: 10px;
    }

    .overlay h4 {
        font-size: 1.2em;
    }

    .overlay p {
        font-size: 0.9em;
    }
}