/* .footerMainContainer {
    display: none;
    background-color: #0d1a8c;
    padding: 1rem 0rem;
}
.footerMainContainer.show {
    display: block;
} */
.footerMainContainer {
    background-color: #0d1a8c;
    padding: 1rem 0rem 4rem 0;
    width: 100%;
    display: none;
}
/* .footerMainContainer {
    background-color: #0d1a8c;
    padding: 0;
    width: 100%;
    transform: translateY(100%);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: transform 1s ease, opacity 1s ease, max-height 1s ease, padding 1s ease;
}

.footerMainContainer.show {
    transform: translateY(0%);
    opacity: 1;
    max-height: 1000px;
    padding: 1rem 0rem;
} */

.footerSubContainer {
    background-color: #0a167b;
    padding: 1rem;
}
.footerContainerMain {
    display: flex;
    gap: 1.5rem;
}
.footerImageContainer img {
    width: 6rem;
    height: auto;
}
.footerLinksContainerMain {
    width: 100%;
}
.footerLinksSubContainer {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.footerDetailMainContainer {
    display: flex;
    gap: 3rem;
    padding-top: 3rem;
}
.footerDetailAddress {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.footerDetailAddress img,
.footerDetailPhone img,
.footerDetailEmail img {
    height: 1.25rem;
    width: auto;
    margin-top: 0.25rem;
}
.footerDetailAddress div p,
.footerDetailPhone div a,
.footerDetailEmail div a {
    font-size: 1rem;
    text-decoration: none;
    color: #fff;
    margin: 0;
}
.footerDetailPhone {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.footerDetailEmail {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.footerLinks ul li {
    list-style: none;
    color: #fff;
}
.footerLinks ul li.breakBetweenFooter {
    margin-top: 1rem;
}
.footerLinks ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 13px;
}
.footerLinks ul li a strong {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
}
.footerLinks ul li a span {
    font-size: 1rem;
}
.footerLinks ul li .fa-angles-right {
    font-size: 0.8rem;
}
.toggle_footer_section .container::before {
    display: none;
}
.toggle_footer_section .container::after {
    display: none;
}
.footerLinks ul {
    gap: 0.25rem;
    display: flex;
    flex-direction: column;
    padding-left: 0;
}
.footerSecondSection {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}
.footerSecondSection a,
.footerSecondSection p {
    color: #fff;
    text-decoration: none;
    margin: 0;
    font-size: 14px;
}
.footer_toggle_btn {
    background: #0d1a8c;
    border: 1px solid #0d1a8c;
    color: #fff;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    padding: 0.5rem;
    justify-content: center;
    position: absolute;
    top: 0rem;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}
.footer_toggle_btn .arrow-icon {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    will-change: transform; /* Optimize for animation */
}

.footer_toggle_btn.rotated .arrow-icon {
    transform: rotate(180deg);
}

.footerSecondSectionContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.toggle_footer_section {
    background: #0d1a8c;
    padding: 0;
    position: relative;
}
.toggle_footer_section .container.show {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    z-index: 3;
    position: relative;
}
.toggle_footer_section .container {
    display: none;
}
.toggle_footer_section .container p {
    margin: 0;
    font-weight: 500;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
}
@media only screen and (max-width: 1024px) {
    .footerContainerMain {
        align-items: center;
        flex-direction: column;
    }
    .footerLinksSubContainer {
        grid-template-columns: repeat(4, 1fr)
    }
    .footerMainContainer {
        padding: 1.5rem 0;
    }
    .toggle_footer_section .container p:last-child {
        display: none;
    }
    .toggle_footer_section .container.show {
        grid-template-columns: repeat(4, 1fr);
    }

}
@media only screen and (max-width: 786px) {
    .footerContainerMain {
        flex-direction: column;
        align-items: center;
    }
    .footerLinksSubContainer {
        grid-template-columns: repeat(3, 1fr)
    }
    .toggle_footer_section .container.show {
        grid-template-columns: repeat(3, 1fr);
    }
    .toggle_footer_section .container p:nth-child(4) {
        display: none;
    }
}
@media only screen and (max-width: 600px) {
    .footerMainContainer {
        padding: 1.5rem 0rem;
    }
    .footerContainerMain {
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }
    .footerLinksSubContainer {
        grid-template-columns: repeat(1, 1fr);
        padding-bottom: 2rem;
    }
    .footerDetailMainContainer {
        gap: 1rem;
        padding-top: 2rem;
        flex-direction: column;
        padding-left: 1rem;
    }
    .footerSecondSectionContainer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footerDetailAddress,
    .footerDetailPhone,
    .footerDetailEmail {
        gap: 0.75rem;
    }
    .footerLinks ul {
        padding-left: 1rem;
    }
    .footerLinksSubContainer {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .toggle_footer_section .container.show {
        grid-template-columns: repeat(1, 1fr);
    }
    .toggle_footer_section .container p {
        text-align: center;
    }
    .toggle_footer_section .container p:nth-child(4) {
        display: none;
    }
    .toggle_footer_section .container p:nth-child(3) {
        display: none;
    }
    .toggle_footer_section .container p:nth-child(2) {
        display: none;
    }
    .footerLinks ul {
        padding-left: 0;
    }
}