/* 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 */
}



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 */
    }
}




.image-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Center text horizontally */
}

.image-container img {
    max-width: 150px; /* Adjust as needed */
    max-height: 100px; /* Adjust as needed */
    margin: 10px;
    transition: transform 0.3s ease;
}

/* Add this keyframe for zoom-in animation */
@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Modify existing hover effect to include animation */
.image-container:hover img {
    animation: zoomIn 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

/* Optional: Add a smooth transition effect when not hovered */
.image-container img {
    transition: transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}


footer a {
    color: #fff;
    text-align: center;
}

.image-container h4 {
    font-size: 1em;
    margin-top: 10px; /* Adjust spacing between image and h4 */
    color: #94b447; /* Adjust color as needed */
}

.image-container a{
    text-decoration:none;
}



@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

h1 {
    animation: slide-up 0.5s ease forwards;
}


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;
    }
}


h1{
    text-align: center;
    color:#0c2f81;
}




@media (max-width: 768px) {
    
    .image-row {
        flex-direction: column;
        padding: 10px;
    }

    .image-container {
        flex: 1 1 100%;
        max-width: 100%;
    }

}


