/* 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: 100%;
    height: 100%;
    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 */
    }
}


.content-container {
    display: flex;
    align-items: center;
    padding: 20px;
}

.content-container img {
    width: 45%;
    height: 45%;
    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: 100%;
    height: auto;
}

/* 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: 50%;
    display: block;
}

/* Overlay style */
.overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    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;
}




footer a {
    color: #fff;
    text-align: center;
}



/* 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;
}







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;
    }
}

@media (max-width: 768px) {
    .image-overlay-container{
        margin-top:40px;
    }
    .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;
    }
}

h1{
    color:#0c2f81;
    text-align: center;
}