/* ===================================
   Modern Footer Styles
   =================================== */

/* Scroll to Top Button */
.trust-scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
    animation: slideUp 0.6s ease-out;
}

.trust-scroll-to-top.show {
    display: flex;
}

.trust-scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #0099ff 0%, #00d4ff 100%);
}

.trust-scroll-to-top:active {
    transform: translateY(-2px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Main Container */
.footer {
    background: #307596;
    color: #e0e0e0;
    padding-top: 60px;
    padding-bottom: 0;
    position: relative;
    overflow: visible;
}

/* Animated Background Elements */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(15, 52, 96, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(16, 33, 62, 0.3) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-top {
    position: relative;
    z-index: 1;
    padding-bottom: 50px;
    display: block;
    visibility: visible;
}

.trust-footer-top {
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
    display: block;
    visibility: visible;
}

/* Footer Widgets */
.trust-single-widget {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Widget Title */
.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    letter-spacing: 1px;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #00bfff 0%, #0099ff 100%);
    border-radius: 10px;
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 50px;
    }
}

/* Footer About Section */
.trust-footer-about {
    padding-right: 20px;
    display: block;
    visibility: visible;
}

.trust-footer-widget-about-description {
    display: block;
    visibility: visible;
}

.trust-footer-widget-about-description p {
    line-height: 1.8;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
    visibility: visible;
    letter-spacing: 1px;
}

/* Social Icons */
.trust-social {
    margin-top: 30px;
    display: block;
    visibility: visible;
}

.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    visibility: visible;
}

.social-icons li {
    display: inline-block;
    visibility: visible;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #e08a3e;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 2px solid rgba(0, 212, 255, 0.5);
    position: relative;
    text-decoration: none;
    visibility: visible;
    overflow: visible;
    z-index: 10;
}

.social-icons a i {
    color: #00d4ff;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
}

.social-icons a:hover i {
    color: #ffffff;
}

.social-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.social-icons a:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #ffffff;
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.social-icons a:hover::before {
    transform: scale(1);
}

.social-icons a:hover {
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    color: #ffffff;
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.social-icons a:hover::before {
    transform: scale(1);
}

/* Footer Links Section */
.trust-f-link ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 15px;
}

.trust-f-link ul li {
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.trust-f-link ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    padding-left: 0;
}

.trust-f-link ul li a::before {
    content: '→';
    margin-right: 0;
    opacity: 1;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.trust-f-link ul li a:hover {
    color: #00d4ff;
    padding-left: 8px;
}

.trust-f-link ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Footer Contact Section */
.trust-footer_contact {
    margin-bottom: 30px;
}

.address-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-mobile-number {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.footer-mobile-number i {
    color: #00d4ff;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-mobile-number a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 1px;
}

.footer-mobile-number a:hover {
    color: #00d4ff;
}

.footer-mobile-number:hover {
    padding-left: 10px;
}

/* Copyright Section */
.trust-copyright {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.trust-copyright-content {
    text-align: center;
    padding: 0px 0;
}

.trust-copyright-content p {
    color: #ffffff;
    font-size: 15px;
    margin: 0;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.trust-copyright-content p:hover {
    color: #00d4ff;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .footer {
        padding-top: 40px;
    }

    .single-widget {
        margin-bottom: 30px;
    }

    .widget-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .footer-about {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .f-link ul li {
        margin-bottom: 10px;
    }

    .footer-mobile-number {
        margin-bottom: 15px;
        gap: 12px;
    }

    .footer-mobile-number i {
        font-size: 16px;
    }

    .copyright-content p {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding-bottom: 30px;
    }

    .widget-title {
        font-size: 16px;
    }

    .widget-title::after {
        width: 40px;
        height: 2px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .f-link ul li a {
        font-size: 13px;
    }

    .footer-mobile-number a {
        font-size: 13px;
    }

    .copyright {
        padding: 20px 0;
    }

    .copyright-content {
        padding: 15px 0;
    }
}

/* ===================================
   Dark Mode Enhancement
   =================================== */

@media (prefers-color-scheme: dark) {
    .footer {
        background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 50%, #162135 100%);
    }

    .social-icons a {
        background: rgba(0, 212, 255, 0.05);
    }

    .social-icons a:hover {
        background: linear-gradient(135deg, #00d4ff 0%, #0099ff 100%);
    }
}

/* ===================================
   Scroll Animation
   =================================== */

.footer-top .row > div {
    animation: fadeInUp 0.8s ease-out forwards;
}

.footer-top .row > div:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-top .row > div:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-top .row > div:nth-child(3) {
    animation-delay: 0.3s;
}
