/* ===================================
   GNPS PROFESSIONAL FOOTER STYLES
   =================================== */

.gnps-footer {
    background: linear-gradient(135deg, #0f1c2e 0%, #1a2f4e 100%);
    color: #ffffff;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    font-family: 'Raleway', sans-serif;
}

.gnps-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #81ca00, #6ba300, #81ca00);
    animation: footer-shimmer 3s linear infinite;
    background-size: 200% 100%;
}

@keyframes footer-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.gnps-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' opacity='0.03'%3E%3Cpath fill='%2381ca00' d='M100 20 L180 100 L100 180 L20 100 Z M100 60 L140 100 L100 140 L60 100 Z'/%3E%3C/svg%3E");
    background-size: 150px;
    pointer-events: none;
}

.gnps-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.gnps-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 50px;
}

.gnps-footer-col {
    opacity: 0;
    transform: translateY(30px);
    animation: footer-fadeInUp 0.6s ease forwards;
}

.gnps-footer-col:nth-child(1) { animation-delay: 0.1s; }
.gnps-footer-col:nth-child(2) { animation-delay: 0.2s; }
.gnps-footer-col:nth-child(3) { animation-delay: 0.3s; }
.gnps-footer-col:nth-child(4) { animation-delay: 0.4s; }

@keyframes footer-fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gnps-footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.gnps-footer-logo img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #81ca00;
    padding: 5px;
    background: rgba(255,255,255,0.1);
    animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(129, 202, 0, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(129, 202, 0, 0.2); }
}

.gnps-footer-logo-text h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.gnps-footer-logo-text span {
    color: #81ca00;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gnps-footer-about {
    color: #b8c5d6;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

.gnps-footer-heading {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Quicksand', sans-serif;
}

.gnps-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #81ca00, #a3d600);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.gnps-footer-heading:hover::after {
    width: 60px;
}

.gnps-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gnps-footer-links li {
    margin-bottom: 12px;
}

.gnps-footer-links a {
    color: #b8c5d6;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.gnps-footer-links a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #81ca00;
    transition: width 0.3s ease;
}

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

.gnps-footer-links a:hover::before {
    width: 100%;
}

.gnps-footer-links a i {
    margin-right: 8px;
    color: #81ca00;
    transition: transform 0.3s ease;
}

.gnps-footer-links a:hover i {
    transform: translateX(3px);
}

.gnps-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.gnps-footer-contact-item i {
    color: #81ca00;
    font-size: 1.1rem;
    margin-top: 4px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.gnps-footer-contact-item:hover i {
    transform: scale(1.2);
    color: #a3d600;
}

.gnps-footer-contact-item span,
.gnps-footer-contact-item a {
    color: #b8c5d6;
    font-size: 0.95rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gnps-footer-contact-item a:hover {
    color: #81ca00;
}

.gnps-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.gnps-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.gnps-footer-social a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: #81ca00;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.gnps-footer-social a:hover::before {
    width: 100%;
    height: 100%;
}

.gnps-footer-social a:hover {
    color: #0f1c2e;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 0 20px rgba(129, 202, 0, 0.5);
}

.gnps-footer-social a i {
    position: relative;
    z-index: 1;
}

.gnps-footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    margin: 0;
}

.gnps-footer-bottom {
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.gnps-footer-copyright {
    color: #8a9bb0;
    font-size: 0.9rem;
    margin: 0;
}

.gnps-footer-copyright a {
    color: #81ca00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.gnps-footer-copyright a:hover {
    color: #a3d600;
}

.gnps-footer-made-by {
    color: #8a9bb0;
    font-size: 0.85rem;
}

.gnps-footer-made-by a {
    color: #81ca00;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.gnps-footer-made-by a:hover {
    color: #a3d600;
}

#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    background: linear-gradient(135deg, #81ca00, #6ba300);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(129, 202, 0, 0.4);
    animation: bounce-btn 2s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#backToTopBtn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(129, 202, 0, 0.6);
    animation: none;
}

#backToTopBtn img {
    width: 30px;
    height: 30px;
}

@keyframes bounce-btn {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gnps-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 30px;
    }

    .gnps-footer-col:nth-child(1) { grid-column: 1 / -1; }
    .gnps-footer-col:nth-child(4) { grid-column: 1 / -1; }
}

@media (max-width: 576px) {
    .gnps-footer {
        padding: 60px 0 0;
    }

    .gnps-footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .gnps-footer-col:nth-child(1),
    .gnps-footer-col:nth-child(4) {
        grid-column: auto;
    }

    .gnps-footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .gnps-footer-social {
        justify-content: center;
    }

    #backToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    #backToTopBtn img {
        width: 25px;
        height: 25px;
    }
}
