.footer {
    background-color: #eaf4ff;
    padding: 2.5rem;
    color: #333;
    padding-bottom: 30px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;

}

.mainlogo {
    margin-bottom: 4.5rem;
    flex: 1;
}

.footer-nav {
    padding-top: 1.25rem;padding-right: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    /* gap: 1.5rem; */
}

.footer-nav a {
    font-weight: 500;
    font-size: 1rem !important;
    text-decoration: none;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.footer-left {
    flex: 1;
    margin-right: 1.25rem;
}

.footer-logo {
    width: 5rem;
    margin-bottom: 0.6rem;
}

.footer-mission {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #000;
    font-size: 1rem;
}

.social-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    gap: 2rem;
}

.footer-services,
.footer-trainings,
.footer-investments {
    flex: 1;
    margin-right: 5px;
}
.footer-trainings ul {
    list-style: none; /* Remove default list styles */
    padding: 0;
    text-align: left; /* Align text to the left */
}

.footer-trainings li {
    margin-bottom: 5px; /* Add spacing between items */
}
.footer-services ul {
    list-style: none; /* Remove default list styles */
    padding: 0;
    text-align: left; /* Align text to the left */
}

.footer-services li {
    margin-bottom: 5px; /* Add spacing between items */
}

.dropdown1, .dropdown2 {
    text-align: left; /* Ensure dropdowns are aligned to the left */
}
.footer-investments {
    text-align: left;
}

.footer-investments ul {
    list-style: none; /* Remove bullet points */
    padding: 0;
}

.footer-investments li {
    margin-bottom: 5px; /* Add space between list items */
}

.contact-info-container {
    text-align: left;
}

.contact-info-container ul {
    list-style: none;
    padding: 0;
}

.footer-services {
    display: flex;
    justify-content: space-between;
    background-color: #e6f0fa; /* Light blue background */
    padding: 20px;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-column h3 {
    color: #007bff; /* Blue heading */
    font-size: 18px;
}

.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 8px;
}


.dropbtn1,
.dropbtn2 {
    position: relative;
}

.arrow {
    display: inline-block;
    font-size: 1.1rem;
    margin-left: 0.4rem;
    transition: transform 0.3s ease;
}

.dropbtn1:hover .arrow,
.dropbtn2:hover .arrow {
    transform: rotate(90deg);
}

h3 {
    color: #3fa9f5;
    margin-bottom: 0.3rem;
    font-size: 1.5rem;
}

ul {
    list-style: none;
    margin-bottom: 1.25rem;
}

ul li {
    margin-bottom: 0.5rem;
    text-decoration: none;
}

ul li a {
    color: #000;
    font-weight: 500;
}

ul li a:hover {
    color: #4ebdff;
}

.footer-subservices {
    margin-top: -0.6rem;
}

.footer-nav {
    text-align: center;
    display: flex;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.footer-nav a {
    margin: 0 1rem;
    font-size: 0.8rem;
    color: #000;
    text-decoration: none;
}

.footer-bottom {
    text-align: right;
    font-size: 1rem;
}

.footer-bottom .dash {
    color: #4ebdff;
}

.footer-bottom a {
    margin: 0 0.6rem;
    text-decoration: none;
    color: #4ebdff;
}

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

.footer-main .footer-services .dropdown1 .dropdown-content1 {
    display: block;
}

.footer-main .footer-services .dropdown1:hover .dropdown-content1 {
    display: block;
}

.footer-main .footer-services .dropdown2 .dropdown-content2 {
    display: none;
}

.footer-main .footer-services .dropdown2:hover .dropdown-content2 {
    display: block;
}

@media screen and (max-width: 1024px) {
    .footer-left,
    .footer-services,
    .footer-trainings,
    .footer-investments {
        margin-right: 0;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .footer-nav {
        justify-content: space-around;
        padding-bottom: 1.5rem;
    }

    .footer-bottom {
        text-align: center;
    }
}

@media screen and (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-nav {
        flex-direction: row;
        text-align: center;
        gap: 1rem;
    }

    .footer-main {
        gap: 1rem;
    }

    .footer-left,
    .footer-services,
    .footer-trainings,
    .footer-investments {
        text-align: center;
        margin-bottom: 1rem;
    }

    .social-icons {
        justify-content: space-between;
        gap: 1.5rem;
        padding-top: 2rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 480px) {
    .footer-nav a {
        font-size: 0.75rem;
    }

    .footer-left,
    .footer-services,
    .footer-trainings,
    .footer-investments {
        width: 100%;
    }

    .social-icons {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .footer-bottom {
        font-size: 0.7rem;
    }
}

.dropdown {
    position: relative;
    padding: 9px;
}

.dropdown-menu {
    display: none;
    opacity: 0; /* Start invisible */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #eaf4ff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    padding: 10px;
    min-width: 150px;
    z-index: 1000;
    animation: fadeIn 1s ease-in-out forwards; /* Apply fade-in animation */
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px); /* Start from above */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at normal position */
    }
}

.dropdown-menu a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: #000;
    white-space: nowrap;
    text-align: start;
}

.dropdown-menu a:hover {
    background-color: #aad3ff;
    border-radius: 5px;
}

.dropdown:hover .dropdown-menu {
    display: block; /* Show dropdown */
    animation: fadeIn 0.7s ease-in-out forwards; /* Trigger animation when hovering */
}

.dropdown-menu a:active {
    background-color: #eaf4ff;
}


.iframe-container h1 {
    font-weight: 600;
    font-size: 3rem;
    padding: 0.5rem;
    color: #4ebdff;
}

/* General Container Styles */
.iframeContainer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    z-index: 1000;

}

/* Toggle Button Styles */
.toggle-btn {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px 0 0 5px;
    transition: background-color 0.3s ease;
    display: none;
}
/* Close Button Styling  */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 20px;
    border-radius: 5px;
    color: black;
}
.toggle-btn:hover {
    background-color: #2980b9;
}

/* Enquiry Form Container Styles */
.iframe-container {
    position: absolute;
    top: 0;
    right: -400px;
    /* Initially hidden outside the viewport */
    width: 400px;
    /* Adjust width as needed */
    height: 100%;
    background-color: #B4DCFF;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto;
    transition: right 0.3s ease;
    /* Smooth sliding effect */
}

.iframe-container h1 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
}

/* Active State for the Sliding Form */
.iframe-container.active {
    right: 0;
    /* Slide into the viewport */
}

.contact-us-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin-top: 5rem;
}

.contat-us-container {
    background-color: #FFF;
    display: flex;
    justify-content: center;
    padding: 1rem;
    gap: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contactUs {
    margin: 1rem;
}

.contactUs h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contactUs p {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.mail-call {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1.5px solid gray;
    margin: 10px 0;
}

.mail, .call {
    display: flex;
    align-items: center;
}

.mail img, .call img {
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.emal-content, .call-content {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.emal-content h6, .call-content h6 {
    font-size: 0.8rem;
    font-weight: 500;
}

.contactUs h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 1rem;
}

.social-icons {
    margin-top: 0rem;
}

.social-icons img {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 2rem;
}

.iframe-container h1 {
    font-size: 1.5rem;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.iframe-container iframe {
    width: 25rem;
    height: 20rem;
}

@media (max-width: 768px) {
    .contat-us-container {
        margin-bottom: 2.5rem;
    }

    .iframe-container iframe {
        width: 20rem;
    }
}

@media (max-width: 425px) {
    .contat-us-container {
        flex-direction: column;
        margin-top: 22rem;
    }
}
