/* ============================================
   PERFECT FOOTER DESIGN - ENHANCED
   ============================================ */

#section-quick-contact {
    position: relative;
    background: #f8f9fa;
}

.footer1 {
    position: relative;
    width: 100%;
}

/* Enhanced Footer Area with Better Background */
.footer-area {
    background: linear-gradient(135deg, #0ecc95 0%, #057b59 50%, #0bca8b 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    padding: 60px 0 30px;
    color: #ecf0f1;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Animated gradient background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Decorative overlay pattern */
.footer-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer_row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    position: relative;
    z-index: 1;
}

.footer_row>[class*="col-"] {
    padding: 0 15px;
}

/* Footer Logo Section */
.footer-content.logo-footer {
    padding-right: 20px;
}

.footer-logo {
    margin-bottom: 25px;
    background: transparent;
}

/* Enhanced Logo Styling - Remove White Background */
.footer-logo img {
    max-width: 200px;
    height: auto;
    background: transparent !important;
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.4));
    transform: scale(1.05);
}

/* Ensure logo link has no background */
.footer-black-logo {
    background: transparent !important;
    display: inline-block;
}

#logo {
    background: transparent !important;
}

/* Enhanced Footer Headings */
.footer-head h4 {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-head h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.5);
}

.footer-text p {
    color: #cbd5e0;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

/* Enhanced Membership Button */
.subs-feilds {
    margin-top: 20px;
}

.add-btn {
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.add-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.add-btn:hover::before {
    left: 100%;
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.add-btn i {
    margin-right: 8px;
}

/* Enhanced Footer Links */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

img.img-fluid {
    background: #fff;
    margin-bottom: 0px;
    width: 235px;
}

.footer-list li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
    transition: all 0.3s ease;
}

.footer-list li:before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free', 'Font Awesome 5 Free', 'FontAwesome';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #10b981;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-list li:hover:before {
    left: 3px;
    color: #fff;
}

.footer-list li a {
    color: #cbd5e0;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-list li a:hover {
    color: #fff;
    padding-left: 5px;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.footer-list-right {
    margin-top: 0;
}

/* Enhanced Contact Information */
.footer-contacts {
    margin-bottom: 25px;
}

.footer-contacts p {
    color: #cbd5e0;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.footer-contacts span {
    color: #fff;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 5px;
    font-size: 15px;
}

.footer-contacts span i {
    color: #10b981;
    margin-right: 8px;
    font-size: 16px;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.footer-contacts a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-contacts a:hover {
    color: #10b981;
    padding-left: 5px;
}

.footer-contacts a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    transition: width 0.3s ease;
}

.footer-contacts a:hover::after {
    width: 100%;
}

.reachus_mails {
    margin-top: 15px;
}

.mails_list {
    margin-top: 8px;
    padding-left: 24px;
}

.mails_list a {
    display: block;
    margin-bottom: 5px;
}

/* Enhanced Social Icons */
.footer-icons {
    margin-top: 25px;
}

.footer-icons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-icons ul li {
    margin: 0;
    padding: 0;
}

.footer-icons ul li:before {
    display: none !important;
}

.footer-icons ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-icons ul li a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.footer-icons ul li a:hover::before {
    width: 100%;
    height: 100%;
}

.footer-icons ul li a:hover {
    border-color: transparent;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.footer-icons ul li a svg,
.footer-icons ul li a i {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

/* Enhanced Footer Bottom */
.footer-area-bottom {
    background: linear-gradient(135deg, #0f0f1e 0%, #0a0a15 100%);
    padding: 20px 0;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
}

.footer-area-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #10b981, #047857, transparent);
}

.copyright {
    text-align: center;
}

.copyright p {
    color: #cbd5e0;
    font-size: 14px;
    margin: 0;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Back to Top Button Enhancement */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #10b981 0%, #047857 100%);
    color: #fff;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
    display: none;
}

#back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

#back-to-top i {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .footer_row {
        flex-direction: column;
    }

    .footer_row>[class*="col-"] {
        width: 100%;
        margin-bottom: 40px;
    }

    .footer_row>[class*="col-"]:last-child {
        margin-bottom: 0;
    }

    .footer-area {
        padding: 40px 0 20px;
    }

    .footer-head h4 {
        font-size: 18px;
    }

    .footer-logo img {
        max-width: 180px;
    }
}

@media (max-width: 767px) {
    .footer-logo img {
        max-width: 160px;
    }

    .footer-icons ul {
        gap: 10px;
    }

    .footer-icons ul li a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .footer-area {
        padding: 30px 0 15px;
    }

    .footer-text p {
        text-align: left;
    }

    #back-to-top {
        width: 40px;
        height: 40px;
        line-height: 40px;
        bottom: 20px;
        right: 20px;
    }

    #back-to-top i {
        font-size: 16px;
    }
}

/* Preloader Enhancement */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(102, 126, 234, 0.2);
    border-top: 5px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Additional Visual Enhancements */
.footer-area .container {
    position: relative;
    z-index: 1;
}

/* Smooth transitions for all interactive elements */
.footer-area * {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.footer-list li a:focus,
.footer-contacts a:focus,
.footer-icons ul li a:focus,
.add-btn:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}