/* ----------------------------------- Footer ---------------------------------------- */

.footer {
    background-color: #051226;
    font-family: 'Effra'; /* Dark blue */
    color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #FF6600;
    position: relative;
    overflow: hidden;
}

/* Footer background color classes - applied by footer.js */
.footer.mobile-footer {
    background-color: #051226;
}

.footer.desktop-footer {
    background-color: #F25D0D;
}

/* Footer entrance animation */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Changed to transparent to allow the footer's own background to show */
    transform: translateY(100%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.footer.animate::before {
    
}

/* Logo animation */
.footer-logo {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.4s;
    position: relative;
    z-index: 2;
}

.footer.animate .footer-logo {
    opacity: 1;
    transform: translateY(0);
}

.footer a {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

.footer a:hover {
    color: #FF6600;
    transform: translateX(-5px);
}

/* Link columns animation */
.footer .col-md-2,
.footer .col-md-3 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    position: relative;
    z-index: 2;
}

.footer.animate .col-md-2:nth-child(3) {
    transition-delay: 0.5s;
}

.footer.animate .col-md-2:nth-child(4) {
    transition-delay: 0.6s;
}

.footer.animate .col-md-3:nth-child(5) {
    transition-delay: 0.7s;
}

.footer.animate .col-md-2:nth-child(6) {
    transition-delay: 0.8s;
}

.footer.animate .col-md-2,
.footer.animate .col-md-3 {
    opacity: 1;
    transform: translateY(0);
}

/* List item hover animation */
.footer ul li:not(:first-child) {
    transition: transform 0.3s ease;
}

.footer ul li:not(:first-child):hover {
    transform: translateX(-8px);
}

.footer-icons a {
    font-size: 20px;
    margin: 0 8px;
    color: #fff;
}

.footer-icons a:hover {
    color: #FF6600;
}

/* Social icons animation */
.social-icons {
    padding-bottom: 15px;
    border-bottom: 1px solid #FF6600;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 0.9s;
    position: relative;
    z-index: 2;
}

.footer.animate .social-icons {
    opacity: 1;
    transform: translateY(0);
}

.social-icons a {
    margin-inline-end: 8px; /* Adjust spacing between icons */
    display: inline-block;
    opacity: 0;
    transform: scale(0.8);
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.footer.animate .social-icons a {
    opacity: 1;
    transform: scale(1);
    animation: bounce-in 0.5s ease-out forwards;
}

/* Staggered animation for social icons */
.footer.animate .social-icons a:nth-child(1) { animation-delay: 1.0s; }
.footer.animate .social-icons a:nth-child(2) { animation-delay: 1.1s; }
.footer.animate .social-icons a:nth-child(3) { animation-delay: 1.2s; }
.footer.animate .social-icons a:nth-child(4) { animation-delay: 1.3s; }
.footer.animate .social-icons a:nth-child(5) { animation-delay: 1.4s; }
.footer.animate .social-icons a:nth-child(6) { animation-delay: 1.5s; }

@keyframes bounce-in {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.social-icons a:hover {
    transform: scale(1.2);
}

.social-icons a:last-child {
    margin-inline-end: 0; /* Remove margin for the last icon */
}

.clear-fix{
    clear: both;
}

.footer-bottom {
    direction: rtl;
    padding-top: 43px;
    font-weight: 300;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    letter-spacing: 0%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: 1.6s;
    position: relative;
    z-index: 2;
}

.footer.animate .footer-bottom {
    opacity: 1;
    transform: translateY(0);
}

.footer-bottom .vision-2030 {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 1.7s;
}

.footer.animate .footer-bottom .vision-2030 {
    opacity: 1;
    transform: scale(1);
}

.footer-bottom p {
    opacity: 0;
    transition: opacity 0.8s ease;
    transition-delay: 1.8s;
}

.footer.animate .footer-bottom p {
    opacity: 1;
}

.footer-hr{
    size: 1px;
    color: #FF6600;
    /* width: 1406px; */
    height: 0px;
    inset-inline-end: 1568px;
    top: 5261px;
}

.foot-pad{
    padding: 67px 0px 29px 0;
}

footer li:first-child {
    font-weight: bold;
    font-size: 20px;
}
  
li:not(:first-child) {
    font-weight: 300;
}

/* ----------------------------------- Footer ---------------------------------------- */