/* ===================================
   FOOTER SECTION STYLES
   =================================== */

.footer-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a252f 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 4rem 2rem 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 1;
}

.footer-section .container {
    position: relative;
    z-index: 2;
}

.footer-section h5 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 1px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Contact Icons */
.footer-section .fa-phone,
.footer-section .fa-envelope,
.footer-section .fa-map-marker {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

/* Footer Divider */
.footer-section hr {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    height: 1px;
    margin: 2rem 0;
}

/* Footer Bottom */
.footer-section > .container > .row:last-child {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section p {
    font-size: 0.95rem;
}

/* Social Icons */
.footer-section a i {
    font-size: 1.5rem;
    margin: 0 0.75rem;
    transition: var(--transition);
}

.footer-section a i:hover {
    transform: translateY(-3px) scale(1.1);
}

.footer-section .fa-facebook:hover {
    color: #3b5998;
}

.footer-section .fa-instagram:hover {
    color: #E4405F;
}

.footer-section .fa-twitter:hover {
    color: #1DA1F2;
}

.footer-section .fa-whatsapp:hover {
    color: #25D366;
}

/* Footer Columns */
.footer-section .row > div {
    margin-bottom: 2rem;
}

/* Animation */
.footer-section {
    animation: fadeInUp 0.6s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .footer-section {
        padding: 2rem 1rem 1rem;
    }

    .footer-section h5 {
        margin-bottom: 1rem;
        font-size: 1.1rem;
    }

    .footer-section .col-md-3 {
        margin-bottom: 1.5rem;
    }

    .footer-section > .container > .row:last-child {
        flex-direction: column;
        text-align: center;
    }

    .footer-section > .container > .row:last-child .col-md-6:last-child {
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .footer-section h5 {
        font-size: 1rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-section a i {
        font-size: 1.25rem;
        margin: 0 0.5rem;
    }
}

/* Hover Effect for Links */
.footer-section a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section a:hover {
    color: var(--accent-color);
}

/* Footer Text Alignment */
.footer-section .text-end {
    text-align: right;
}

/* Back to Top Button (if added) */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: slideUp 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(231, 76, 60, 0.4);
}

.back-to-top.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Copyright Text */
.footer-section > .container > .row:last-child p {
    margin: 0;
}

/* Footer Spacing */
.footer-section .container {
    margin-top: 0;
}
